repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
dotcms-legacy/core-2.x
src/com/dotmarketing/portlets/workflows/ajax/WfRoleStoreAjax.java
8847
package com.dotmarketing.portlets.workflows.ajax; import com.dotmarketing.business.APILocator; import com.dotmarketing.business.Role; import com.dotmarketing.business.RoleAPI; import com.dotmarketing.cms.factories.PublicCompanyFactory; import com.dotmarketing.exception.DotDataException; import com.dotmarketing.portlets.workflows.model.WorkflowAction; import com.dotmarketing.util.Logger; import com.dotmarketing.util.UtilMethods; import com.liferay.portal.language.LanguageException; import com.liferay.portal.language.LanguageUtil; import com.liferay.portal.model.User; import com.dotcms.repackage.org.codehaus.jackson.map.DeserializationConfig.Feature; import com.dotcms.repackage.org.codehaus.jackson.map.ObjectMapper; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.*; public class WfRoleStoreAjax extends WfBaseAction { public void action ( HttpServletRequest request, HttpServletResponse response ) throws ServletException, IOException { String searchName = request.getParameter( "searchName" ); if ( searchName == null ) searchName = ""; String roleId = request.getParameter( "roleId" ); RoleAPI rapi = APILocator.getRoleAPI(); int start = 0; int count = 20; try { start = Integer.parseInt( request.getParameter( "start" ) ); } catch ( Exception e ) { } try { count = Integer.parseInt( request.getParameter( "count" ) ); } catch ( Exception e ) { } boolean includeFake = UtilMethods.isSet(request.getParameter( "includeFake" ))&&request.getParameter( "includeFake" ).equals("true"); try { Role cmsAnon = APILocator.getRoleAPI().loadCMSAnonymousRole(); String cmsAnonName = LanguageUtil.get( getUser(), "current-user" ); cmsAnon.setName( cmsAnonName ); boolean addSystemUser = false; if ( searchName.length() > 0 && cmsAnonName.startsWith( searchName ) ) { addSystemUser = true; } List<Role> roleList = new ArrayList<Role>(); if ( UtilMethods.isSet( roleId ) ) { try { Role r = rapi.loadRoleById( roleId ); if ( r != null ) { if ( r.getId().equals( cmsAnon.getId() ) ) roleList.add( cmsAnon ); else roleList.add( r ); response.getWriter().write( rolesToJson( roleList, includeFake ) ); return; } } catch ( Exception e ) { } } while ( roleList.size() < count ) { List<Role> roles = rapi.findRolesByFilterLeftWildcard( searchName, start, count ); if ( roles.size() == 0 ) { break; } for ( Role role : roles ) { if ( role.isUser() ) { try { APILocator.getUserAPI().loadUserById( role.getRoleKey(), APILocator.getUserAPI().getSystemUser(), false ); } catch ( Exception e ) { //Logger.error(WfRoleStoreAjax.class,e.getMessage(),e); continue; } } if ( role.getId().equals( cmsAnon.getId() ) ) { role = cmsAnon; addSystemUser = false; } if ( role.isSystem() && !role.isUser() && !role.getId().equals( cmsAnon.getId() ) && !role.getId().equals( APILocator.getRoleAPI().loadCMSAdminRole().getId() ) ) { continue; } if ( role.getName().equals( searchName ) ) { roleList.add( 0, role ); } else { roleList.add( role ); } } start = start + count; } if ( addSystemUser ) { cmsAnon.setName( cmsAnonName ); roleList.add( 0, cmsAnon ); } //x = x.replaceAll("identifier", "x"); response.getWriter().write( rolesToJson( roleList, includeFake ) ); } catch ( Exception e ) { Logger.error( WfRoleStoreAjax.class, e.getMessage(), e ); } } public void assignable ( HttpServletRequest request, HttpServletResponse response ) throws ServletException, IOException { String name = request.getParameter( "name" ); boolean includeFake = UtilMethods.isSet(request.getParameter( "includeFake" ))&&request.getParameter( "includeFake" ).equals("true"); try { String actionId = request.getParameter( "actionId" ); WorkflowAction action = APILocator.getWorkflowAPI().findAction( actionId, getUser() ); Role role = APILocator.getRoleAPI().loadRoleById( action.getNextAssign() ); List<Role> roleList = new ArrayList<Role>(); List<User> userList = new ArrayList<User>(); if ( !role.isUser() ) { if ( action.isRoleHierarchyForAssign() ) { userList = APILocator.getRoleAPI().findUsersForRole( role, true ); roleList.addAll( APILocator.getRoleAPI().findRoleHierarchy( role ) ); } else { userList = APILocator.getRoleAPI().findUsersForRole( role, false ); roleList.add( role ); } } else { userList.add( APILocator.getUserAPI().loadUserById( role.getRoleKey(), APILocator.getUserAPI().getSystemUser(), false ) ); } for ( User user : userList ) { Role r = APILocator.getRoleAPI().getUserRole( user ); if ( r != null && UtilMethods.isSet( r.getId() ) ) { roleList.add( r ); } } if ( name != null ) { name = name.toLowerCase().replaceAll( "\\*", "" ); if ( UtilMethods.isSet( name ) ) { List<Role> newRoleList = new ArrayList<Role>(); for ( Role r : roleList ) { if ( r.getName().toLowerCase().startsWith( name ) ) { newRoleList.add( r ); } } roleList = newRoleList; } } response.setContentType("application/json"); response.getWriter().write( rolesToJson( roleList, includeFake ) ); } catch ( Exception e ) { Logger.error( WfRoleStoreAjax.class, e.getMessage(), e ); } } private String rolesToJson ( List<Role> roles, boolean includeFake ) throws IOException, DotDataException, LanguageException { ObjectMapper mapper = new ObjectMapper(); mapper.configure( Feature.FAIL_ON_UNKNOWN_PROPERTIES, false ); Map<String, Object> m = new LinkedHashMap<String, Object>(); List<Map<String, Object>> list = new ArrayList<Map<String, Object>>(); Map<String, Object> map = null; if(includeFake) { map = new HashMap<String, Object>(); map.put( "name", "" ); map.put( "id", 0 ); list.add( map ); } User defaultUser = APILocator.getUserAPI().getDefaultUser(); Role defaultUserRole = null; if ( defaultUser != null ) { defaultUserRole = APILocator.getRoleAPI().getUserRole( defaultUser ); } for ( Role role : roles ) { map = new HashMap<String, Object>(); //Exclude default user if ( defaultUserRole != null && role.getId().equals( defaultUserRole.getId() ) ) { continue; } //We just want to add roles that can have permissions assigned to them if ( !role.isEditPermissions() ) { continue; } //We need to exclude also the anonymous user if ( role.getName().equalsIgnoreCase( "anonymous user" ) ) { continue; } map.put( "name", role.getName() + ((role.isUser()) ? " (" + LanguageUtil.get( PublicCompanyFactory.getDefaultCompany(), "User" ) + ")" : "")); map.put( "id", role.getId() ); list.add( map ); } m.put( "identifier", "id" ); m.put( "label", "name" ); m.put( "items", list ); return mapper.defaultPrettyPrintingWriter().writeValueAsString( m ); } }
gpl-3.0
rajmahesh/magento2-master
vendor/magento/module-ui/Test/Unit/Controller/Adminhtml/Export/GridToCsvTest.php
1912
<?php /** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Ui\Test\Unit\Controller\Adminhtml\Export; use Magento\Backend\App\Action\Context; use Magento\Framework\App\Response\Http\FileFactory; use Magento\Ui\Controller\Adminhtml\Export\GridToCsv; use Magento\Ui\Model\Export\ConvertToCsv; class GridToCsvTest extends \PHPUnit_Framework_TestCase { /** * @var GridToCsv */ protected $controller; /** * @var Context | \PHPUnit_Framework_MockObject_MockObject */ protected $context; /** * @var ConvertToCsv | \PHPUnit_Framework_MockObject_MockObject */ protected $converter; /** * @var FileFactory | \PHPUnit_Framework_MockObject_MockObject */ protected $fileFactory; protected function setUp() { $this->context = $this->getMockBuilder('Magento\Backend\App\Action\Context') ->disableOriginalConstructor() ->getMock(); $this->converter = $this->getMockBuilder('Magento\Ui\Model\Export\ConvertToCsv') ->disableOriginalConstructor() ->getMock(); $this->fileFactory = $this->getMockBuilder('Magento\Framework\App\Response\Http\FileFactory') ->disableOriginalConstructor() ->getMock(); $this->controller = new GridToCsv( $this->context, $this->converter, $this->fileFactory ); } public function testExecute() { $content = 'test'; $this->converter->expects($this->once()) ->method('getCsvFile') ->willReturn($content); $this->fileFactory->expects($this->once()) ->method('create') ->with('export.csv', $content, 'var') ->willReturn($content); $this->assertEquals($content, $this->controller->execute()); } }
gpl-3.0
mcdeoliveira/NC
NCGB/Compile/src/OBSOLETE2009/OrderTeXBanner.hpp
342
// Mark Stankus 1999 (c) // OrderTeXBanner.hpp #ifndef INCLUDED_ORDERTEXBANNER_H #define INCLUDED_ORDERTEXBANNER_H class BroadCastData; class OrderTeXBanner : public Recipient { public: OrderTeXBanner() {}; virtual ~OrderTeXBanner(); virtual void action(const BroadCastData & x) const; virtual Recipient * clone() const; }; #endif
gpl-3.0
oucsaw/machinery
spec/helper/merge_users_and_groups_spec.rb
6762
# Copyright (c) 2013-2015 SUSE LLC # # This program is free software; you can redistribute it and/or # modify it under the terms of version 3 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, contact SUSE LLC. # # To contact SUSE about this file by physical or electronic mail, # you may find current contact information at www.suse.com require_relative "../unit/spec_helper" describe "merge_users_and_groups.pl" do let(:template) { ERB.new( File.read(File.join(Machinery::ROOT, "export_helpers", "merge_users_and_groups.pl.erb")) ) } before(:each) { @passwd_tempfile = Tempfile.new("passwd") @passwd_path = @passwd_tempfile.path @shadow_tempfile = Tempfile.new("shadow") @shadow_path = @shadow_tempfile.path @group_tempfile = Tempfile.new("group") @group_path = @group_tempfile.path } after(:each) { @passwd_tempfile.unlink @shadow_tempfile.unlink @group_tempfile.unlink } def run_helper(passwd_entries, group_entries) script = Tempfile.new("merge_users_and_groups.pl") script.write(template.result(binding)) script.close FileUtils.touch(@passwd_path) FileUtils.touch(@shadow_path) Cheetah.run("perl", script.path, @passwd_path, @shadow_path, @group_path, stdout: :capture) end it "adds new entries" do entries = <<-EOF ["svn:x:482:476:user for Apache Subversion svnserve:/srv/svn:/sbin/nologin", "svn:!:16058::::::"], ["nscd:x:484:478:User for nscd:/var/run/nscd:/sbin/nologin", "nscd:!:16058::::::"] EOF expected_passwd = <<EOF svn:x:482:476:user for Apache Subversion svnserve:/srv/svn:/sbin/nologin nscd:x:484:478:User for nscd:/var/run/nscd:/sbin/nologin EOF expected_shadow = <<EOF svn:!:16058:::::: nscd:!:16058:::::: EOF run_helper(entries, "") expect(File.read(@passwd_path)).to eq(expected_passwd) expect(File.read(@shadow_path)).to eq(expected_shadow) end it "preserves attributes on conflicting entries" do existing_passwd = <<-EOF svn:x:482:476:user for Apache:/srv/svn:/sbin/nologin nscd:x:484:478:User for nscd:/var/run/nscd:/sbin/nologin EOF existing_shadow = <<-EOF svn:!:16058:::::: nscd:!:16058:::::: EOF expected_passwd = <<-EOF svn:x:482:456:user for Subversion:/srv/svn_new:/bin/bash nscd:x:484:012:nscd user:/var/run/nscd_new:/bin/bash EOF expected_shadow = <<-EOF svn:!:1112:1:2:3:4:5: nscd:!:2223:5:4:3:2:1: EOF entries = <<-EOF ["svn:x:123:456:user for Subversion:/srv/svn_new:/bin/bash", "svn:!:1112:1:2:3:4:5:"], ["nscd:x:789:012:nscd user:/var/run/nscd_new:/bin/bash", "nscd:!:2223:5:4:3:2:1:"] EOF File.write(@passwd_path, existing_passwd) File.write(@shadow_path, existing_shadow) run_helper(entries, "") expect(File.read(@passwd_path)).to eq(expected_passwd) expect(File.read(@shadow_path)).to eq(expected_shadow) end it "does not reuse already existing uids and gids" do existing_passwd = <<-EOF svn:x:1:1:user for Apache Subversion svnserve:/srv/svn:/sbin/nologin nscd:x:2:2:User for nscd:/var/run/nscd:/sbin/nologin EOF expected_passwd = <<-EOF svn:x:1:1:user for Apache Subversion svnserve:/srv/svn:/sbin/nologin nscd:x:2:2:User for nscd:/var/run/nscd:/sbin/nologin nobody:x:3:13:nobody:/var/lib/nobody:/bin/bash news:x:4:14:News system:/etc/news:/bin/bash EOF entries = <<-EOF ["nobody:x:1:13:nobody:/var/lib/nobody:/bin/bash"], ["news:x:2:14:News system:/etc/news:/bin/bash"] EOF File.write(@passwd_path, existing_passwd) run_helper(entries, "") expect(File.read(@passwd_path)).to eq(expected_passwd) end it "writes groups" do group_entries = <<-EOF "users:x:100:", "uucp:x:14:" EOF expected_groups = <<EOF users:x:100: uucp:x:14: EOF run_helper("", group_entries) expect(File.read(@group_path)).to eq(expected_groups) end it "skips existing groups" do group_entries = <<-EOF "users:x:100:", "uucp:x:14:" EOF existing_groups = <<EOF users:x:90: EOF expected_groups = <<EOF users:x:90: uucp:x:14: EOF File.write(@group_path, existing_groups) run_helper("", group_entries) expect(File.read(@group_path)).to eq(expected_groups) end it "does not reuse already existing gids" do existing_group = <<-EOF users:x:100: uucp:x:101: EOF expected_group = <<-EOF users:x:100: uucp:x:101: ntp:x:102: at:x:103: EOF entries = <<-EOF "ntp:x:100:", "at:x:101:" EOF File.write(@group_path, existing_group) run_helper("", entries) expect(File.read(@group_path)).to eq(expected_group) end it "keeps passwd and group in sync when adjusting ids" do existing_passwd = <<-EOF a:x:1:1:existing user a:/home/a:/bin/bash b:x:2:2:existing user b:/home/b:/bin/bash c:x:3:100:existing user c:/home/b:/bin/bash EOF existing_group = <<-EOF a:x:1: b:x:2: users:x:100: common_group_with_different_id:x:200: common_group_with_different_id2:x:201: EOF entries = <<-EOF ["x:x:50:100:new user x:/home/x:/bin/bash"], ["y:x:51:201:new user y:/home/y:/bin/bash"], ["z:x:52:200:new user z:/home/z:/bin/bash"], EOF group_entries = <<-EOF "users_conflict:x:100:", "common_group_with_different_id:x:201:", "common_group_with_different_id2:x:200:" EOF expected_passwd = <<-EOF a:x:1:1:existing user a:/home/a:/bin/bash b:x:2:2:existing user b:/home/b:/bin/bash c:x:3:100:existing user c:/home/b:/bin/bash x:x:50:101:new user x:/home/x:/bin/bash y:x:51:200:new user y:/home/y:/bin/bash z:x:52:201:new user z:/home/z:/bin/bash EOF expected_group = <<-EOF a:x:1: b:x:2: users:x:100: common_group_with_different_id:x:200: common_group_with_different_id2:x:201: users_conflict:x:101: EOF File.write(@passwd_path, existing_passwd) File.write(@group_path, existing_group) run_helper(entries, group_entries) expect(File.read(@passwd_path)).to eq(expected_passwd) expect(File.read(@group_path)).to eq(expected_group) end it "merges the user lists of group users" do existing_group = <<-EOF users:x:100:foo,both EOF expected_group = <<-EOF users:!:100:bar,both,foo EOF entries = <<-EOF "users:!:200:bar,both", EOF File.write(@group_path, existing_group) run_helper("", entries) expect(File.read(@group_path)).to eq(expected_group) end end
gpl-3.0
mgood7123/UPM
Files/Code/perl/lib/site_perl/5.26.1/URI/_generic.pm
5848
package URI::_generic; use strict; use warnings; use parent qw(URI URI::_query); use URI::Escape qw(uri_unescape); use Carp (); our $VERSION = '1.72'; $VERSION = eval $VERSION; my $ACHAR = $URI::uric; $ACHAR =~ s,\\[/?],,g; my $PCHAR = $URI::uric; $PCHAR =~ s,\\[?],,g; sub _no_scheme_ok { 1 } sub authority { my $self = shift; $$self =~ m,^((?:$URI::scheme_re:)?)(?://([^/?\#]*))?(.*)$,os or die; if (@_) { my $auth = shift; $$self = $1; my $rest = $3; if (defined $auth) { $auth =~ s/([^$ACHAR])/ URI::Escape::escape_char($1)/ego; utf8::downgrade($auth); $$self .= "//$auth"; } _check_path($rest, $$self); $$self .= $rest; } $2; } sub path { my $self = shift; $$self =~ m,^((?:[^:/?\#]+:)?(?://[^/?\#]*)?)([^?\#]*)(.*)$,s or die; if (@_) { $$self = $1; my $rest = $3; my $new_path = shift; $new_path = "" unless defined $new_path; $new_path =~ s/([^$PCHAR])/ URI::Escape::escape_char($1)/ego; utf8::downgrade($new_path); _check_path($new_path, $$self); $$self .= $new_path . $rest; } $2; } sub path_query { my $self = shift; $$self =~ m,^((?:[^:/?\#]+:)?(?://[^/?\#]*)?)([^\#]*)(.*)$,s or die; if (@_) { $$self = $1; my $rest = $3; my $new_path = shift; $new_path = "" unless defined $new_path; $new_path =~ s/([^$URI::uric])/ URI::Escape::escape_char($1)/ego; utf8::downgrade($new_path); _check_path($new_path, $$self); $$self .= $new_path . $rest; } $2; } sub _check_path { my($path, $pre) = @_; my $prefix; if ($pre =~ m,/,) { # authority present $prefix = "/" if length($path) && $path !~ m,^[/?\#],; } else { if ($path =~ m,^//,) { Carp::carp("Path starting with double slash is confusing") if $^W; } elsif (!length($pre) && $path =~ m,^[^:/?\#]+:,) { Carp::carp("Path might look like scheme, './' prepended") if $^W; $prefix = "./"; } } substr($_[0], 0, 0) = $prefix if defined $prefix; } sub path_segments { my $self = shift; my $path = $self->path; if (@_) { my @arg = @_; # make a copy for (@arg) { if (ref($_)) { my @seg = @$_; $seg[0] =~ s/%/%25/g; for (@seg) { s/;/%3B/g; } $_ = join(";", @seg); } else { s/%/%25/g; s/;/%3B/g; } s,/,%2F,g; } $self->path(join("/", @arg)); } return $path unless wantarray; map {/;/ ? $self->_split_segment($_) : uri_unescape($_) } split('/', $path, -1); } sub _split_segment { my $self = shift; require URI::_segment; URI::_segment->new(@_); } sub abs { my $self = shift; my $base = shift || Carp::croak("Missing base argument"); if (my $scheme = $self->scheme) { return $self unless $URI::ABS_ALLOW_RELATIVE_SCHEME; $base = URI->new($base) unless ref $base; return $self unless $scheme eq $base->scheme; } $base = URI->new($base) unless ref $base; my $abs = $self->clone; $abs->scheme($base->scheme); return $abs if $$self =~ m,^(?:$URI::scheme_re:)?//,o; $abs->authority($base->authority); my $path = $self->path; return $abs if $path =~ m,^/,; if (!length($path)) { my $abs = $base->clone; my $query = $self->query; $abs->query($query) if defined $query; my $fragment = $self->fragment; $abs->fragment($fragment) if defined $fragment; return $abs; } my $p = $base->path; $p =~ s,[^/]+$,,; $p .= $path; my @p = split('/', $p, -1); shift(@p) if @p && !length($p[0]); my $i = 1; while ($i < @p) { #print "$i ", join("/", @p), " ($p[$i])\n"; if ($p[$i-1] eq ".") { splice(@p, $i-1, 1); $i-- if $i > 1; } elsif ($p[$i] eq ".." && $p[$i-1] ne "..") { splice(@p, $i-1, 2); if ($i > 1) { $i--; push(@p, "") if $i == @p; } } else { $i++; } } $p[-1] = "" if @p && $p[-1] eq "."; # trailing "/." if ($URI::ABS_REMOTE_LEADING_DOTS) { shift @p while @p && $p[0] =~ /^\.\.?$/; } $abs->path("/" . join("/", @p)); $abs; } # The opposite of $url->abs. Return a URI which is as relative as possible sub rel { my $self = shift; my $base = shift || Carp::croak("Missing base argument"); my $rel = $self->clone; $base = URI->new($base) unless ref $base; #my($scheme, $auth, $path) = @{$rel}{qw(scheme authority path)}; my $scheme = $rel->scheme; my $auth = $rel->canonical->authority; my $path = $rel->path; if (!defined($scheme) && !defined($auth)) { # it is already relative return $rel; } #my($bscheme, $bauth, $bpath) = @{$base}{qw(scheme authority path)}; my $bscheme = $base->scheme; my $bauth = $base->canonical->authority; my $bpath = $base->path; for ($bscheme, $bauth, $auth) { $_ = '' unless defined } unless ($scheme eq $bscheme && $auth eq $bauth) { # different location, can't make it relative return $rel; } for ($path, $bpath) { $_ = "/$_" unless m,^/,; } # Make it relative by eliminating scheme and authority $rel->scheme(undef); $rel->authority(undef); # This loop is based on code from Nicolai Langfeldt <[email protected]>. # First we calculate common initial path components length ($li). my $li = 1; while (1) { my $i = index($path, '/', $li); last if $i < 0 || $i != index($bpath, '/', $li) || substr($path,$li,$i-$li) ne substr($bpath,$li,$i-$li); $li=$i+1; } # then we nuke it from both paths substr($path, 0,$li) = ''; substr($bpath,0,$li) = ''; if ($path eq $bpath && defined($rel->fragment) && !defined($rel->query)) { $rel->path(""); } else { # Add one "../" for each path component left in the base path $path = ('../' x $bpath =~ tr|/|/|) . $path; $path = "./" if $path eq ""; $rel->path($path); } $rel; } 1;
gpl-3.0
cprov/snapcraft
snaps_tests/demos_tests/test_hooks.py
1341
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*- # # Copyright (C) 2017 Canonical Ltd # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License version 3 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, see <http://www.gnu.org/licenses/>. import subprocess import snaps_tests class HookCase(snaps_tests.SnapsTestCase): snap_content_dir = "hooks" def test_hooks(self): snap_path = self.build_snap(self.snap_content_dir) self.install_snap(snap_path, "hooks", "1.0") # Regular `snap set` should succeed. self.run_command_in_snappy_testbed("sudo snap set hooks foo=bar") if not snaps_tests.config.get("skip-install", False): # Setting fail=true should fail. self.assertRaises( subprocess.CalledProcessError, self.run_command_in_snappy_testbed, "sudo snap set hooks fail=true", )
gpl-3.0
MissionalDigerati/main_website
config/settings.sample.php
1675
<?php /** * This file is part of Missional Digerati Website. * * Missional Digerati Website 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. * * Missional Digerati Website 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/>. * * @author Johnathan Pulos <[email protected]> * @copyright Copyright 2012 Missional Digerati * */ /** * Basic settings for this web app * * @author Johnathan Pulos */ /** * The email settings for the website * * @var array * @author Johnathan Pulos */ $emailSettings = array( 'submit_idea' => array( 'to'=> '[email protected]', 'from' => '[email protected]', 'from_name' => 'Missional Digerati Website' ), 'contact_us' => array( 'to'=> '[email protected]', 'from' => '[email protected]', 'from_name' => 'Missional Digerati Website' ), 'volunteer' => array( 'to'=> '[email protected]', 'from' => '[email protected]', 'from_name' => 'Missional Digerati Website' ) ); ?>
gpl-3.0
salamader/ffxi-a
scripts/zones/Arrapago_Reef/mobs/Lamia_No24.lua
804
----------------------------------- -- Area: Arrapago Reef (54) -- Mob: Lamia_No24 ----------------------------------- -- require("scripts/zones/Arrapago_Reef/MobIDs"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) end; ----------------------------------- -- onMobSpawn ----------------------------------- function onMobSpawn(mob) end; ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEngaged(mob,target) end; ----------------------------------- -- onMobFight ----------------------------------- function onMobFight(mob,target) end; ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath(mob,killer) end;
gpl-3.0
ucsf-ckm/moodle
grade/export/txt/version.php
1196
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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. // // Moodle 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 Moodle. If not, see <http://www.gnu.org/licenses/>. /** * Version details * * @package gradeexport * @subpackage txt * @copyright 1999 onwards Martin Dougiamas (http://dougiamas.com) * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); $plugin->version = 2020110900; // The current plugin version (Date: YYYYMMDDXX) $plugin->requires = 2020110300; // Requires this Moodle version $plugin->component = 'gradeexport_txt'; // Full name of the plugin (used for diagnostics)
gpl-3.0
mlohbihler/BACnet4J
src/main/java/com/serotonin/bacnet4j/exception/ErrorAPDUException.java
1883
/* * ============================================================================ * GNU General Public License * ============================================================================ * * Copyright (C) 2015 Infinite Automation Software. All rights reserved. * * 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/>. * * When signing a commercial license with Infinite Automation Software, * the following extension to GPL is made. A special exception to the GPL is * included to allow you to distribute a combined work that includes BAcnet4J * without being obliged to provide the source code for any proprietary components. * * See www.infiniteautomation.com for commercial license options. * * @author Matthew Lohbihler */ package com.serotonin.bacnet4j.exception; import com.serotonin.bacnet4j.apdu.Error; import com.serotonin.bacnet4j.type.constructed.BACnetError; public class ErrorAPDUException extends BACnetException { private static final long serialVersionUID = -1; private final Error apdu; public ErrorAPDUException(Error apdu) { super(apdu.toString()); this.apdu = apdu; } public Error getApdu() { return apdu; } public BACnetError getBACnetError() { return apdu.getError().getError(); } }
gpl-3.0
cjdelisle/cjdns
doc/achievements.md
7091
It has long been speculated that a file like this would be a great thing for Hyperborian newcomers to have, but no one has ever gotten around to writing it: ...behold! # Hype Achievements Apparently people don't do things just because they're a good idea. If keeping track of achievements via some arbitrary points system makes you feel better about following best practices, who am I to argue? Each achievement will have an associated value. Your score is the sum of these points. See if you can get your score [over 9000](http://knowyourmeme.com/memes/its-over-9000)! Achievements expire, so if at any given time you don't qualify, you lose those points! 1. Generate a PGP key 2. Install Git and create a GitHub account so you can submit Pull Requests and issues. 3. Build cjdns from source 4. Successfully peer with somebody. 5. Run only the latest version of cjdns on all your nodes. 6. Extra points for every node running the latest crashey branch. 7. `nmap` yourself and close down any exposed services (unless you intend for other people to use them). 8. Create a `~/.cjdnsadmin` file for use with the admin api. 9. Launch and maintain a webserver on Hyperboria. 10. Provide an RSS feed so others can subscribe for updates. 11. Help a newb on EFNet. 12. Read everything in [the documentation repository](https://github.com/hyperboria/docs). 13. `watch` the documentation repository so you hear about updates. 14. Set up an IRC bouncer and point it at HypeIRC so you don't miss anything. Combinations of command line clients and tmux or screen are considered equivalent. 15. Contribute to the documentation repository at least once a month. 16. Make (or contribute to) a meshlocal page for your area. 17. Have a hype-enabled xmpp account. 18. Configure a persistent link between nodes independent of the internet. 19. Blag about cjdns or Project Meshnet. 20. Design some form of rich media for Project Meshnet (graphics, video, animation, audio, presentation slides). 21. Discover a bug in cjdns, and give it a memorable name. 22. Host or register a cjdns, Project Meshnet, or Mesh-local mailing list. 23. Subscribe to any of the above lists. 24. Learn HTML 25. Have someone else quote you and commit the results to a HypeIRC bot's factoid system. 26. Build cjdns on an android phone. 27. Read all of [xkcd](http://xkcd.com/). 28. Install at least one Linux distribution other than Ubuntu or Mint. 29. Erase Microsoft windows from every computer you own. 30. Host your own email server. 31. Host your own ircd. 32. _Don't_ run your irc client as root! 33. Host a show on [HypeRadio](http://radio.cynical.us/hostashow.html). 34. Cross compile cjdns for another platform. 35. Contribute to [Hyperboria's news agency](http://news.hyperboria.net/). 36. Document an undocumented function or component of cjdns. 37. Implement a function or component of cjdns in an alternate language 38. Translate an article into another language (and maintain it). 39. Update cjdns without pinging out on IRC. 40. Configure an authorizedPassword without restarting cjdns. 41. Find out whether your home router can run cjdns: [OpenWrt table of hardware](http://wiki.openwrt.org/toh/start) 42. Try out the [Meshbox firmware](https://github.com/seattlemeshnet/meshbox) on your home router. 43. Harden your cjdns OpenWrt router by building OpenWrt with cjdns from source and make sure [seccomp](http://lwn.net/Articles/475043/), [SSP](http://lwn.net/Articles/584225/) and [RELRO](http://tk-blog.blogspot.de/2009/02/relro-not-so-well-known-memory.html) are enabled. Using [musl](http://www.musl-libc.org/) instead of [uClibc](http://www.uclibc.org/) may make you sleep even better. See [buildsdk.sh](https://github.com/SeattleMeshnet/meshbox/blob/master/buildsdk.sh) to see how this can work. 44. Monitor your nodes' cjdns preformance and make pretty graphs with munin (hint: [here's a nice munin plugin to help](https://github.com/thefinn93/munin-plugins/blob/master/cjdns/cjdns_bandwidth.py)) ## Penalties *Don't do the following*, they count against your score: 1. Provide peering credentials without including a means of getting in contact, such as an email address 2. Provide peering credentials with extra information in the form of line or block comments. You should be embedding them as JSON attributes instead! 3. Provide peering credentials without the IPV6 included. (You can get by with just a password and publicKey, and your IPV6 can always be inferred from your publicKey, but it means more work to figure out who you are). ## You may have noticed some patterns... * **You need to pay attention to your nodes**. A network is an inherently social construction. Out of date, buggy nodes can actually have quite a negative effect on the nodes around them. Update often, and keep track of how different versions perform, we need feedback! * **RSS, mailing lists, and other subscription protocols are really valuable**! Improving this software (and the network built on top of it) means gathering feedback. You can't respond to questions unless you are first aware of them. * **Source code is always better**. At this point in time, the most authoritative definition of the cjdns protocol is [cjd's github repository](https://github.com/cjdelisle/cjdns). If you are using another source, it is far more likely to be out of date. * **Newest is best**. Every now and then there are intentionally breaking changes. This happens when the network is suffering because of old nodes. In such cases, modifications are made which cause up to date nodes to drop old nodes' traffic. If you don't update, you might fall off the map. If you are running a protocol in between the cutoff point and the bleeding edge, you may be the link which allows older nodes to continue participating in the network. Please update so we can all use the latest features to better diagnose bugs. * **There is no substitute for understanding**. People build tools that streamline difficult processes, but ultimately you cannot rely on software to fix all of your problems. At some point, bad behaviour has to change, and that means understanding the principles behind security, exercising discipline, and informing those around you when they are putting themselves (and possibly others) at risk. * **We cannot rely entirely on the experts**. This is closely related to [Brooks' Law](https://en.wikipedia.org/wiki/Brooks%27s_law). An expert in a subject is in an excellent position to push further, and learn those things which are out of reach of those with less experience in the subject. Unfortunately, this often means they are in the position of having to choose between learning more about the subject in question, and spending their time sharing disseminating their knowledge. It is very important to understand that when people take the time to help you understand a difficult subject, they need you to help share that information with those who know are less experienced than you. In the Hypeborian community, we've taken to referring to this method as [WTFM](http://www.roaming-initiative.com/blog/posts/wtfm).
gpl-3.0
davidlad123/spine
spine/src/com/zphinx/spine/vo/dto/SpineBean.java
8317
/** * SpineBean.java * Copyright (C) 2008 Zphinx Software Solutions * This software 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. * * THERE IS NO WARRANTY FOR THIS SOFTWARE, TO THE EXTENT PERMITTED BY * APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING WITH ZPHINX SOFTWARE SOLUTIONS * AND/OR OTHER PARTIES WHO PROVIDE THIS SOFTWARE "AS IS" WITHOUT WARRANTY * OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM * IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF * ALL NECESSARY SERVICING, REPAIR OR CORRECTION. * * IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING * WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS * THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY * GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE * USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF * DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD * PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), * EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF * SUCH DAMAGES. * * For further information, please go to http://spine.zphinx.co.uk/ * **/ package com.zphinx.spine.vo.dto; import java.util.Date; import java.util.Locale; import com.zphinx.spine.Universal; import com.zphinx.spine.security.SpinePermission; /** * <p> * SpineBean contains the base properties of all classes that can be managed by Spine. * </p> * <p> * A SpineBean contains base properties which can be used by client programmers to define subclasses and provides features which are needed by spine to identify objects which it can manipulate. * </p> * * @author David Ladapo * @version $1.0 * <p> * * Copyright &copy;Zphinx Software Solutions * </p> */ public abstract class SpineBean implements DataTransferObject { /** * The date this object was created */ private Date creationDate = null; /** * The date this object was last modified */ private Date modifiedDate = null; /** * The serial version uid of this object */ private static final long serialVersionUID = 2386166294462675683L; /** * The id of this object */ private long id = 0; /** * The name of this object */ private String name = null; /** * The description of this object */ private String description = null; /** * The SpinePermission Object associated with this user */ private SpinePermission permission = null; /** * This beans unique ID */ private String sessionId = null; /** * The Locale where this object was created */ private Locale locale = null; /** * Public Constructor */ public SpineBean() { super(); this.creationDate = new Date(); this.sessionId = Universal.getRandom(10); } /** * Gets the id of this object * * @return Returns the id. */ public long getId() { return id; } /** * Sets the id of this object * * @param id The id to set. */ public void setId(long id) { this.id = id; } /** * Gets the description of this object * * @return Returns the description. */ public String getDescription() { return description; } /** * Sets the description of this object * * @param description The description to set. */ public void setDescription(String description) { this.description = description; } /** * Gets the name of this object * * @return Returns the name. */ public String getName() { if(name == null){ name = this.getClass().getSimpleName(); } return name; } /** * Sets the name of this object * * @param name The name to set. */ public void setName(String name) { this.name = name; } /** * Gets a clone of the SpinePermission for this object.The SpinePermission can be reset if necessary but a clone is always returned so that external operations does not affect the security state of this object. * * @return SpinePermission A SpinePermission for this member object * @see SpinePermission */ public SpinePermission getPermission() { SpinePermission perm = null; if(permission == null){ PermissionFactory pf = new PermissionFactory(); if(getName() == null){ setName(this.getClass().getSimpleName()); } this.permission = pf.getPermission(getName(), " ", getId()); } try{ perm = (SpinePermission) this.permission.clone(); } catch (CloneNotSupportedException e){ e.printStackTrace(); } return perm; } /** * Set the permission object associated with this user * * @param permission The permission object associated with this user */ public void setPermission(SpinePermission permission) { this.permission = permission; } /** * A permission Factory to create a permission for use by this object, called by implementations of SpineBean to retrieve a suitable SpinePrmission * * @author David Ladapo * @version $Revision: 1.13 $ $Date: 2008/06/15 01:47:09 $ */ public class PermissionFactory { /* * Create a default permission object of this type of member @return SpinePermission the default permission object for this member */ public SpinePermission getPermission(String name, String actions, long id) { SpinePermission permission = new SpinePermission(name, actions, id + ""); setPermission(permission); return permission; } } /** * Gets this objects creation date, normally created in the constructor of this object * * @return Returns the creationDate. */ public long getCreationDate() { return creationDate.getTime(); } /** * Sets this objects creation date * * @param longDate The creationDate to set. */ public void setCreationDate(long longDate) { this.creationDate = new Date(longDate); } /** * Gets this objects last modified date * * @return Returns the modifiedDate. */ public Date getModifiedDate() { return modifiedDate; } /** * Sets this objects last modified date * * @param modifiedDate The modifiedDate to set. */ public void setModifiedDate(Date modifiedDate) { this.modifiedDate = modifiedDate; } /* * (non-Javadoc) * * @see com.zphinx.spine.vo.dto.DataTransferObject#getSessionId() */ public String getSessionId() { return sessionId; } /** * Sets this beans sessionId * * @param sessionId the sessionId to set */ public void setSessionId(String sessionId) { this.sessionId = sessionId; } /* * (non-Javadoc) * * @see com.zphinx.spine.vo.dto.DataTransferObject#getLocale() */ public Locale getLocale() { if(this.locale == null){ this.locale = Locale.getDefault(); } return locale; } /** * @param locale the locale to set */ public void setLocale(Locale locale) { this.locale = locale; } }
gpl-3.0
sebastien-villemot/workrave
common/include/Locale.hh
1664
// Locale.hh // // Copyright (C) 2008 Rob Caelers <[email protected]> // All rights reserved. // // 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/>. // #ifndef LOCALE_HH #define LOCALE_HH #include <map> #include <string> #include <glib.h> using namespace std; class Locale { public: struct Language { std::string language_name; std::string country_name; }; typedef std::map<std::string, Language> LanguageMap; typedef LanguageMap::iterator LanguageMapIter; typedef LanguageMap::const_iterator LanguageMapCIter; static bool get_language(const std::string &code, std::string &language); static bool get_country(const std::string &code, std::string &language); static void get_all_languages_in_current_locale(LanguageMap &list); static void get_all_languages_in_native_locale(LanguageMap &list); static void set_locale(const std::string &code); static std::string get_locale(); static void lookup(const string &domain, string &str); static LanguageMap languages_native_locale; private: void init(); }; #endif // LOCALE_HH
gpl-3.0
schemaanalyst-team/schemaanalyst
src/paper/ineffectivemutants/manualevaluation/mutants/NistDML182_SQLite/111.sql
1198
-- 111 -- FKCColumnPairE -- ListElementExchanger with ChainedSupplier with ForeignKeyConstraintSupplier and ForeignKeyColumnPairWithAlternativesSupplier - Exchanged Pair(CODE4, CODE4) with Pair(CODE5, CODE4) CREATE TABLE "ID_CODES" ( "CODE1" INT, "CODE2" INT, "CODE3" INT, "CODE4" INT, "CODE5" INT, "CODE6" INT, "CODE7" INT, "CODE8" INT, "CODE9" INT, "CODE10" INT, "CODE11" INT, "CODE12" INT, "CODE13" INT, "CODE14" INT, "CODE15" INT, PRIMARY KEY ("CODE1", "CODE2", "CODE3", "CODE4", "CODE5", "CODE6", "CODE7", "CODE8", "CODE9", "CODE10", "CODE11", "CODE12", "CODE13", "CODE14", "CODE15") ) CREATE TABLE "ORDERS" ( "CODE1" INT, "CODE2" INT, "CODE3" INT, "CODE4" INT, "CODE5" INT, "CODE6" INT, "CODE7" INT, "CODE8" INT, "CODE9" INT, "CODE10" INT, "CODE11" INT, "CODE12" INT, "CODE13" INT, "CODE14" INT, "CODE15" INT, "TITLE" VARCHAR(80), "COST" NUMERIC(5, 2), FOREIGN KEY ("CODE1", "CODE2", "CODE3", "CODE6", "CODE7", "CODE8", "CODE9", "CODE10", "CODE11", "CODE12", "CODE13", "CODE14", "CODE15", "CODE5") REFERENCES "ID_CODES" ("CODE1", "CODE2", "CODE3", "CODE6", "CODE7", "CODE8", "CODE9", "CODE10", "CODE11", "CODE12", "CODE13", "CODE14", "CODE15", "CODE4") )
gpl-3.0
iodoom-gitorious/thelinkers-iodoom3
neo/framework/Licensee.h
3828
/* =========================================================================== Doom 3 GPL Source Code Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. This file is part of the Doom 3 GPL Source Code ("Doom 3 Source Code"). Doom 3 Source Code 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. Doom 3 Source 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 for more details. You should have received a copy of the GNU General Public License along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>. In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below. If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. =========================================================================== */ /* =============================================================================== Definitions for information that is related to a licensee's game name and location. =============================================================================== */ #define GAME_NAME "dhewm 3" // appears on window titles and errors #define ENGINE_VERSION "dhewm 1.3.1" // printed in console // paths #ifdef ID_DEMO_BUILD #define BASE_GAMEDIR "demo" #else #define BASE_GAMEDIR "base" #endif // filenames #define CONFIG_FILE "dhewm.cfg" // base folder where the source code lives #define SOURCE_CODE_BASE_FOLDER "neo" // default idnet host address #ifndef IDNET_HOST #define IDNET_HOST "idnet.ua-corp.com" #endif // default idnet master port #ifndef IDNET_MASTER_PORT #define IDNET_MASTER_PORT "27650" #endif // default network server port #ifndef PORT_SERVER #define PORT_SERVER 27666 #endif // broadcast scan this many ports after PORT_SERVER so a single machine can run multiple servers #define NUM_SERVER_PORTS 4 // see ASYNC_PROTOCOL_VERSION // use a different major for each game #define ASYNC_PROTOCOL_MAJOR 1 // Savegame Version // Update when you can no longer maintain compatibility with previous savegames // NOTE: a seperate core savegame version and game savegame version could be useful // 16: Doom v1.1 // 17: Doom v1.2 / D3XP. Can still read old v16 with defaults for new data #define SAVEGAME_VERSION 17 // <= Doom v1.1: 1. no DS_VERSION token ( default ) // Doom v1.2: 2 #define RENDERDEMO_VERSION 2 // editor info #define EDITOR_DEFAULT_PROJECT "doom.qe4" #define EDITOR_REGISTRY_KEY "DOOMRadiant" #define EDITOR_WINDOWTEXT "DOOMEdit" // win32 info #define WIN32_CONSOLE_CLASS "dhewm 3 WinConsole" // Linux info #ifdef ID_DEMO_BUILD #define LINUX_DEFAULT_PATH "/usr/local/games/dhewm3-demo" #else #define LINUX_DEFAULT_PATH "/usr/local/games/dhewm3" #endif // CD Key file info // goes into BASE_GAMEDIR whatever the fs_game is set to // two distinct files for easier win32 installer job #define CDKEY_FILE "doomkey" #define XPKEY_FILE "xpkey" #define CDKEY_TEXT "\n// Do not give this file to ANYONE.\n" \ "// id Software or Zenimax will NEVER ask you to send this file to them.\n" #define CONFIG_SPEC "config.spec"
gpl-3.0
idega/platform2
src/se/idega/idegaweb/commune/school/data/ProcapitaSchoolBMPBean.java
2151
/* * $Id: ProcapitaSchoolBMPBean.java,v 1.1 2004/03/01 08:36:13 anders Exp $ * * Copyright (C) 2003 Agura IT. All Rights Reserved. * * This software is the proprietary information of Agura IT AB. * Use is subject to license terms. * */ package se.idega.idegaweb.commune.school.data; import com.idega.block.school.data.School; import com.idega.data.GenericEntity; import com.idega.data.IDOQuery; import java.util.Collection; import javax.ejb.FinderException; /** * Entity bean mapping school names in the Procapita system to schools in the eGov system. * <p> * Last modified: $Date: 2004/03/01 08:36:13 $ by $Author: anders $ * * @author Anders Lindman * @version $Revision: 1.1 $ */ public class ProcapitaSchoolBMPBean extends GenericEntity implements ProcapitaSchool { private static final String ENTITY_NAME = "comm_procapita_school"; private static final String COLUMN_SCHOOL_ID = "sch_school_id"; private static final String COLUMN_SCHOOL_NAME = "school_name"; /** * @see com.idega.data.GenericEntity#getEntityName() */ public String getEntityName() { return ENTITY_NAME; } /** * @see com.idega.data.GenericEntity#getIdColumnName() */ public String getIDColumnName() { return COLUMN_SCHOOL_ID; } /** * @see com.idega.data.GenericEntity#initializeAttributes() */ public void initializeAttributes() { addOneToOneRelationship(getIDColumnName(), School.class); setAsPrimaryKey (getIDColumnName(), true); addAttribute(COLUMN_SCHOOL_NAME, "Procapita school name", true, true, String.class); } public School getSchool() { return (School) getColumnValue(COLUMN_SCHOOL_ID); } public int getSchoolId() { return getIntColumnValue(COLUMN_SCHOOL_ID); } public String getSchoolName() { return getStringColumnValue(COLUMN_SCHOOL_NAME); } public void setSchoolId(int id) { setColumn(COLUMN_SCHOOL_ID, id); } public void setSchoolName(String name) { setColumn(COLUMN_SCHOOL_NAME, name); } public Collection ejbFindAll() throws FinderException { final IDOQuery query = idoQuery(); query.appendSelectAllFrom(getTableName()); return idoFindPKsByQuery(query); } }
gpl-3.0
postiffm/bibledit-desktop
src/settings.cpp
3217
/* ** Copyright (©) 2003-2013 Teus Benschop. ** ** 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, write to the Free Software ** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. ** */ #include "libraries.h" #include "settings.h" Settings::Settings(bool save_on_destroy): session(0), genconfig(save_on_destroy) /* Before this we used to retrieve every setting from the databases, every time it was needed. This made bibledit sluggish in cases where many values were needed at once. This new object is a much faster, in-memory, system for the settings. It loads a value the first time it is requested, and then keeps it in memory for the rest of the time. It will write the values back to disk on object destruction. [MAP: This last statement is true, but it is not good design. There should be a save_settings routine that is called explicitly, and object destruction should not save any settings, because we don't know when that routine will be called relative to all other object destructions, if at all (i.e. if the program terminates early). */ { event_id = g_timeout_add_full(G_PRIORITY_DEFAULT, 300000, GSourceFunc(on_timeout), gpointer(this), NULL); } Settings::~Settings() { for (unsigned int i = 0; i < projectconfigurations.size(); i++) { delete projectconfigurations[i]; } } ProjectConfiguration * Settings::projectconfig(ustring project, bool save_on_destroy) // Returns the ProjectConfiguration object for "project". { // Accomodate an empty project: Take the one currently opened. if (project.empty()) { project = genconfig.project_get(); } // If this configuration has been loaded already, return a pointer to it. for (unsigned int i = 0; i < projectconfigurations.size(); i++) { if (project == projectconfigurations[i]->project) { return projectconfigurations[i]; } } // Configuraton was not loaded yet, create a new object and return a pointer to it. ProjectConfiguration *projectconfiguration = new ProjectConfiguration(project, save_on_destroy); projectconfigurations.push_back(projectconfiguration); //return projectconfigurations[projectconfigurations.size() - 1]; return projectconfiguration; } // A good example of a repetitively-called routine that saves // settings every once in a while. void Settings::save () // Saves the configurations to disk. { genconfig.save(); for (unsigned int i = 0; i < projectconfigurations.size(); i++) { projectconfigurations[i]->save(); } } bool Settings::on_timeout(gpointer user_data) { ((Settings *) user_data)->timeout(); return true; } void Settings::timeout () { save (); }
gpl-3.0
chithubco/doctorapp
langs/pl_All.php
59528
<?php // Words that are reserved in javascript. // - delete // - new // Please, use the following format i18n('save') not i18n.save // JavaScript has reserved variables after the dot. $LANG = array( // This items are used internally by the GaiaEHR Application. 'pl_All' => 'Angielski (Stany Zjednoczone)', 'i18nExtFile' => 'ext-lang-pl.js', // End of the items 'dashboard' => 'Pulpit', 'calendar' => 'Kalendarz', 'messages' => 'Wiadomości', 'patient_search' => 'Wyszukiwanie pacjentów', 'new_patient' => 'Nowy pacjent', 'established_patient' => 'Established Patient', 'patient_summary' => 'Patient Summary', 'visits_history' => 'Historia wizyt', 'encounter' => 'Badanie', 'billing' => 'Płatność', 'checkout' => 'Checkout', 'save' => 'Zapisz', 'save_and_print' => 'Save and Print', 'services_charges' => 'Services and Charges', 'payment' => 'Płatność', 'reference' => 'Reference', 'reference_#' => 'Reference #', 'visit_checkout' => 'Visit Checkout', 'billing_manager' => 'Menedżer płatności', 'area_floor_plan' => 'Area Floor Plan', 'patient_pool_areas' => 'Patient Pool Areas', 'patient' => 'Pacjent', 'administration' => 'Administracja', 'global_settings' => 'Ustawienia globalne', 'facilities' => 'Ośrodki', 'new_facility' => 'New Facility', 'users' => 'Użytkownicy', 'user' => 'Użytkownik', 'practice' => 'Practice', 'data_manager' => 'Menedżer danych', 'preventive_care' => 'Preventive Care', 'medications' => 'Medications', 'floor_areas' => 'Floor Areas', 'roles' => 'Role', 'layouts' => 'Układy', 'lists' => 'Listy', 'event_log' => 'Dziennik zdarzeń', 'documents' => 'Dokumenty', 'external_data_loads' => 'External Data Loads', 'miscellaneous' => 'Inne', 'web_search' => 'Wyszukiwanie w sieci', 'address_book' => 'Książka adresowa', 'office_notes' => 'Notatki biurowe', 'my_settings' => 'Moje ustawienia', 'my_account' => 'Moje konto', 'support' => 'Wsparcie', 'message' => 'Wiadomość', 'was_removed' => 'został usunięty', 'calendar_events' => 'Zdarzenia kalendarza', 'add' => 'Dodaj', 'update' => 'Uaktualnij', 'delete' => 'Usuń', 'event' => 'Zdarzenie', 'was_updated' => 'został uaktualniony', 'was_deleted' => 'został usunięty', 'was_moved_to' => 'został przeniesiony do', 'service_date' => 'Service Date', 'primary_provider' => 'Primary Provider', 'encounter_provider' => 'Encounter Provider', 'insurance' => 'Ubezpieczenie', 'first_insurance' => '1st Insurance', 'second_insurance' => '2nd Insurance', 'supplemental_insurance' => 'Supplemental Insurance', 'ins?' => 'Ins?', 'billing_stage' => 'Billing Stage', 'from' => 'Od', 'to' => 'Do', 'past_due' => 'Past due', 'encounter_billing_details' => 'Szczegóły dot. płatności za badanie', 'encounter_general_info' => 'Ogólne informacje dot. badania', 'hosp_date' => 'Hosp Date', 'sec_insurance' => 'Ubezpieczenie drugorzędne', 'provider' => 'Provider', 'authorization' => 'Authorization', 'sec_authorization' => 'SecAuthorization', 'referal_by' => 'Referral By', 'encounter _icd9' => 'Encounter ICD9s', 'progress_note' => 'Nota o postępie', 'progress_history' => 'Progress History', 'encounter_progress_note' => 'Postęp badania', 'back_to_encounter_list' => 'Powrót do listy badań', 'back' => 'Wróć', 'previous_encounter_details' => 'Szczegóły poprzedniego badania', 'save_billing_details' => 'Zapisz szczegóły płatności', 'cancel' => 'Anuluj', 'cancel_and_go_back_to_encounter_list' => 'Anuluj i wróć do listy badań', 'next' => 'Dalej', 'next_encounter_details' => 'Szczegóły następnego badania', 'page' => 'Strona', 'encounter_billing_data_updated' => 'Uaktualniono dane płatności za badanie', 'encounters' => 'Badania', 'paying_entity' => 'Podmiot płacący', 'add_new_payment' => 'Dodaj nową płatność', 'no' => 'Nie', 'payment_method' => 'Metoda płatności', 'pay_to' => 'Zapłać dla', 'amount' => 'Kwota', 'post_to_date' => 'Post To Date', 'note' => 'Nota', 'reset' => 'Wyczyść', 'payment_entry_error' => 'Payment entry error', 'search' => 'Szukaj', 'add_payment' => 'Dodaj płatność', 'patient_name' => 'Imię pacjenta', 'billing_notes' => 'Noty dot. płatności', 'balance_due' => 'Balance Due', 'detail' => 'Szczegóły', 'inbox' => 'Skrzynka odbiorcza', 'status' => 'Status', 'subject' => 'Temat', 'type' => 'Typ', 'no_office_notes_to_display' => 'Brak not biurowych do wyświetlenia', 'sent' => 'Wysłane', 'trash' => 'Kosz', 'new_message' => 'Nowa wiadomość', 'reply' => 'Odpowiedz', 'no_patient_selected' => 'Nie wybrano pacjenta', 'new' => 'Nowy', 'unassigned' => 'Unassigned', 'message_sent' => 'Wiadomość została wysłana', 'please_complete_all_required_fields' => 'Proszę wypełnić wszystkie wymagane pola', 'please_confirm' => 'Proszę potwierdzić', 'are_you_sure_to_delete_this_message' => 'Czy na pewno chcesz usunąć tę wiadomość?', 'sent_to_trash' => 'Sent to Trash', 'add_or_edit_contact' => 'Dodaj lub edytuj kontakt', 'primary_info' => 'Primary Info', 'primary_address' => 'Primary Address', 'secondary_address' => 'Secondary Address', 'phone_numbers' => 'Numery telefonów', 'online_info' => 'Online Info', 'other_info' => 'Other Info', 'notes' => 'Noty', 'name' => 'Imię', 'local' => 'Local', 'specialty' => 'Specialty', 'work_phone' => 'Telefon służbowy', 'home_phone' => 'Home Phone', 'mobile' => 'Telefon komórkowy', 'fax' => 'Faks', 'email' => 'Email', 'add_contact' => 'Dodaj kontakt', 'following_data_copied_to_clipboard' => 'Następujące dane zostały skopiowane do schowka', 'personal_info' => 'Informacje osobiste', 'login_info' => 'Informacje logowania', 'change_password' => 'Zmień hasło', 'change_you_password' => 'Zmień swoje hasło', 'old_password' => 'Stare hasło', 'new_password' => 'Nowe hasło', 're_type_password' => 'Powtórz hasło', 'appearance_settings' => 'Ustawienia wyglądu', 'locale_settings' => 'Locale Settings', 'calendar_settings' => 'Ustawienia kalendarza', 'type_new_note_here' => 'Wpisz nową notę', 'hide_this_note' => 'Ukryj tę notę', 'hide_selected_office_note' => 'Ukryj wybraną notę biurową', 'date' => 'Data', 'show_only_active_notes' => 'Pokaż tylko aktywne noty', 'show_all_notes' => 'Pokaż wszystkie noty', 'search_by' => 'Search By', 'heath_topics' => 'Heath Topics', 'ICD-9-CM' => 'ICD-9-CM', 'searching' => 'Szukam', 'please_wait' => 'Proszę czekać', 'search_results' => 'Wyniki wyszukiwania', 'nothing_to_display' => 'Brak wpisów do wyświetlenia', 'blood_pressure' => 'Ciśnienie krwi', 'systolic' => 'Skurczowe', 'diastolic' => 'Rozkurczowe', 'pulse_per_min' => 'Puls (na minutę)', 'pulse' => 'Puls', 'temperature' => 'Temperatura', 'temp_fahrenheits' => 'Temperatura w Fahrenheitach', 'circumference_cm' => 'Obwód (cm)', 'height_for_age' => 'Wzrost dla wieku', 'height_inches' => 'Wzrost (cale)', 'height_centimeters' => 'Wzrost (centymetry)', 'age_years' => 'Wiek (w latach)', 'actual_growth' => 'Actual Growth', 'normal_growth' => 'Normal Growth', 'weight_for_age' => 'Waga dla wieku', 'weight_kg' => 'Waga (kg)', 'length_cm' => 'Długość (cm)', 'weight' => 'Waga', 'length_for_age_0_36_mos' => 'Length For Age ( 0 - 36 mos )Length For Age ( 0 - 36 mos )', 'age_mos' => 'Wiek (w miesiącach)', 'weight_for_age_0_36_mos' => 'Weight For Age ( 0 - 36 mos )', 'full_description' => 'Pełny opis', 'place_of_service' => 'Place Of Service', 'emergency' => 'Wypadek', 'charges' => 'Charges', 'days_of_units' => 'Days of Units', 'essdt_fam_plan' => 'ESSDT Fam. Plan', 'modifiers' => 'Modyfikatory', 'diagnosis' => 'Diagnoza', 'cpt_search' => 'CPT Search', 'cpt_quick_reference_options' => 'CPT Quick Reference Options', 'show_related_cpt_for_current_diagnostics' => 'Show related CPTs for current diagnostics', 'show_cpt_history_for_this_patient' => 'Show CPTs history for this patient', 'show_cpt_commonly_used_by_clinic' => 'Show CPTs commonly used by Clinic', 'description' => 'Opis', 'code' => 'Kod', 'encounter_cpts' => 'Encounter CPTs', 'cpt_live_sarch' => 'CPT Live Search', 'quick_reference' => 'Quick Reference', 'reload' => 'Odśwież', 'cpt_removed_from_this_encounter' => 'CPT removed from this Encounter', 'cpt_added_to_this_encounter' => 'CPT added to this Encounter', 'hcfa_1500_options' => 'HCFA 1500 Options', 'icds_live_search' => 'ICDs Live Search', 'click_to_clear_selection' => 'Click to clear selection.', 'clearable_combo_box' => 'Clearable Combo Box', 'payments' => 'Płatności', 'patient_arrival_log' => 'Patient Arrival Log', 'look_for_patient' => 'Look for Patient', 'add_new_patient' => 'Dodaj nowego pacjenta', 'remove' => 'Usuń', 'time' => 'Czas', 'record' => 'Record', 'area' => 'Obszar', 'patient_have_a_opened_encounter' => 'Pacjent posiada otwarte badanie', 'patient_have_been_removed' => 'Patient have been removed', 'vector_charts' => 'Wykresy wektorowe', 'bp_pulse_temp' => 'BP/Pulse/Temp', 'length_for_age' => 'Długość dla wieku', 'weight_for_recumbent' => 'Weight for Recumbent', 'head_circumference' => 'Obwód głowy', 'weight_for_stature' => 'Waga dla postury', 'stature_for_age' => 'Postura dla wieku', 'bmi_for_age' => 'BMI dla wieku', 'print_chart' => 'Drukuj wykres', 'weight_for_age_0_3_mos' => 'Waga dla wieku (0-3 mies.)', 'age_months' => 'Wiek (w miesiącach)', 'length_for_age_0_3_mos' => 'Długość dla wieku (0-3 mies.)', 'weight_for_recumbent_0_3_mos' => 'Weight For Recumbent ( 0 - 3 mos )', 'head_circumference_0_3_mos' => 'Obwód głowy (0-3 mies.)', 'weight_for_age_2_20_years' => 'Waga dla wieku (2-20 lat)', 'stature_for_age_2_20_years' => 'Postura dla wieku (2-20 lat)', 'stature_cm' => 'Postura (cm)', 'bmi_for_age_2_20_years' => 'BMI dla wieku (2-20 lat)', 'bmi' => 'BMI', 'documents_viewer_window' => 'Okno przeglądarki dokumentów', 'medical_window' => 'Medical Window', 'immunization' => 'Szczepionka', 'immunization_name' => 'Nazwa szczepionki', 'lot_number' => 'Numer partii', 'dosis_number' => 'Dosis Number', 'info_statement_given' => 'Info. Statement Given', 'Manufacturer' => 'Producent', 'date_administered' => 'Date Administered', 'reviewed' => 'Reviewed', 'location' => 'Lokalizacja', 'severity' => 'Severity', 'active?' => 'Aktywny?', 'active' => 'Active', 'begin_date' => 'Data rozpoczęcia', 'allergy' => 'Alergia', 'reaction' => 'Reakcja', 'end_date' => 'Data zakończenia', 'problem' => 'Problem', 'general' => 'ogólne', 'occurrence' => 'Occurrence', 'outcome' => 'Outcome', 'referred_by' => 'Referred by', 'surgery' => 'Chirurgia', 'title' => 'Tytuł', 'medication' => 'Medication', 'laboratories' => 'Laboratoria', 'laboratory_preview' => 'Laboratory Preview', 'upload' => 'Załaduj', 'scan' => 'Skanuj', 'laboratory_entry_form' => 'Laboratory Entry Form', 'sign' => 'Sign', 'allergies' => 'Alergie', 'active_problems' => 'Aktywne problemy', 'surgeries' => 'Operacje chirurgiczne', 'dental' => 'Stomatologiczne', 'add_new' => 'Dodaj nowy', 'uploading_laboratory' => 'Uploading Laboratory', 'incorrect_password' => 'Nieprawidłowe hasło', 'nothing_to_sign' => 'Nothing to sign.', 'succefully_reviewed' => 'Successfully reviewed', 'order_window' => 'Order Window', 'lab_orders' => 'Lab Orders', 'new_lab_order' => 'Nowe zlecenie laboratoryjne', 'lab' => 'Laboratorium', 'create' => 'Utwórz', 'xray' => 'X-Ray', 'xray_orders' => 'X-Ray Orders', 'xray_ct_orders' => 'X-Ray/CT Orders', 'new_xray_ct_order' => 'New X-Ray/CT Order', 'ct_vascular_studies' => 'CT Vascular Studies', 'ct' => 'CT', 'dispense' => 'Dispense', 'refill' => 'Refill', 'pharmacies' => 'Pharmacies', 'dose' => 'Dose', 'dose_mg' => 'Dose mg', 'take' => 'Take', 'route' => 'Route', 'new_medication' => 'New Medication', 'new_doctors_note' => 'Nowa nota doktora', 'preventive_care_window' => 'Preventive Care Window', 'suggestions' => 'Sugestie', 'item' => 'Item', 'reason' => 'Powód', 'observation' => 'Observation', 'dismiss_alert' => 'Dismiss Alert?', 'dismissed' => 'Dismissed', 'no_alerts_found' => 'No Alerts Found', 'new_encounter_form' => 'Nowy formularz badania', 'create_encounter' => 'Utwórz spotkanie', 'checkout_and_signing' => 'Checkout and Signing', 'services_diagnostics' => 'Services / Diagnostics', 'additional_info' => 'Dodatkowe informacje', 'messages_notes_and_reminders' => 'Wiadomości, noty oraz przypomnienia', 'reminder' => 'Przypomnienie', 'time_interval' => 'Przedział czasowy', 'warnings_alerts' => 'Warnings / Alerts', 'co_sign' => 'Co-Sign', 'vitals' => 'Vitals', 'review_of_systems' => 'Review of Systems', 'review_of_systems_checks' => 'Review of Systems Checks', 'soap' => 'SOAP', 'items_to_review' => 'Items to Review', 'administrative' => 'Administrative', 'misc_billing_options_HCFA_1500' => 'Misc. Billing Options HCFA-1500', 'current_procedural_terminology' => 'Current Procedural Terminology', 'encounter_history' => 'Historia badań', 'print_progress_note' => 'Drukuj notę o postępie', 'new_prescription' => 'Nowa recepta', 'open_encounters_found' => 'Znalezione otwarte badania', 'do_you_want_to' => 'Czy chcesz', 'continue_creating_the_new_encounters' => 'kontynuować tworzenie nowych badań?', 'click_no_to_review_encounter_history' => 'Click No to review Encounter History', 'vitals_saved' => 'Vitals Saved', 'vitals_form_is_epmty' => 'Vitals form is empty', 'encounter_updated' => 'Uaktualniono badanie', 'vitals_signed' => 'Vitals Signed', 'closed_encounter' => 'Zamknięte badanie', 'encounter_closed' => 'Badanie zamknięte', 'this_column_can_not_be_modified_because_it_has_been_signed_by' => 'This column can not be modified because it has been signed by', 'opened_encounter' => 'Otwarte badanie', 'very_severely_underweight' => 'Silna niedowaga', 'severely_underweight' => 'Znaczna niedowaga', 'underweight' => 'Niedowaga', 'normal' => 'Waga w normie', 'overweight' => 'Nadwaga', 'obese_class_1' => 'Otyłość klasy I', 'obese_class_2' => 'Otyłość klasy II', 'obese_class_3' => 'Otyłość klasy III', 'visits' => 'Wizyty', 'view_document' => 'Wyświetl dokument', 'smoking_status' => 'Status palacza', 'alcohol' => 'Alkohol?', 'pregnant' => 'W ciąży?', 'review_all' => 'Review All', 'items_to_review_save_and_review' => 'Items To Review Save and Review', 'items_to_review_entry_error' => 'Items To Review entry error', 'no_laboratory_results_to_display' => 'Brak wyników z laboratorium do wyświetlenia', 'patient_entry_form' => 'Patient Entry Form', 'demographics' => 'Demographics', 'create_new_patient' => 'Utwórz nowego pacjenta', 'created' => 'Utworzono', 'something_went_wrong_saving_the_patient' => 'Something went wrong saving the patient', 'do_you_want_to_create_a_new_patient' => 'Czy chcesz utworzyć <strong>nowego pacjenta</strong>?', 'provider_date' => 'Provider date', 'onset_date' => 'Onset Date', 'visit_category' => 'Visit Category', 'priority' => 'Priorytet', 'close_on' => 'Close On', 'brief_description' => 'Brief Description', 'review_of_system_checks' => 'Review of System Checks', 'subjective' => 'Subjective', 'objective' => 'Objective', 'assessment' => 'Assessment', 'plan' => 'Plan', 'speech_dictation' => 'Speech Dictation', 'dictation' => 'Dictation', 'additional_notes' => 'Dodatkowe noty', 'additional_billing_notes' => 'Additional Billing Notes', 'date_&_time' => 'Data i czas', 'weight_lbs' => 'Waga (lbs)', 'height_in' => 'Wzrost (cale)', 'height_cm' => 'Wzrost (cm)', 'bp_systolic' => 'BP systolic', 'bp_diastolic' => 'BP diastolic', 'respiration' => 'Respiration', 'temp_f' => 'Temperatura F', 'temp_c' => 'Temperatura C', 'temp_location' => 'Temp Location', 'oxygen_saturation' => 'Oxygen Saturation', 'head_circumference_in' => 'Head Circumference in', 'head_circumference_cm' => 'Head Circumference cm', 'waist_circumference_in' => 'Waist Circumference in', 'waist_circumference_cm' => 'Waist Circumference cm', 'bmi' => 'BMI', 'bmi_status' => 'Status BMI', 'other_notes' => 'Inne noty', 'administer' => 'Administer', 'active_medications' => 'Active Medications', 'alert' => 'Alert', 'appointments' => 'Terminy', 'add_note' => 'Dodaj notę', 'immunizations' => 'Immunizations', 'reminders' => 'Przypomnienia', 'add_reminder' => 'Dodaj przypomnienie', 'history' => 'History', 'available_documents' => 'Dostępne dokumenty', 'upload_document' => 'Załaduj dokument', 'select_a_file' => 'Wybierz plik', 'dismissed_preventive_care_alerts' => 'Dismissed Preventive Care Alerts', 'account_balance' => 'Account Balance', 'uploading_document' => 'Uploading Document', 'take_picture' => 'Zrób zdjęcie', 'print_qrcode' => 'Drukuj kod QR', 'primary_insurance' => 'Ubezpieczenie pierwszorzędne', 'secondary_insurance' => 'Ubezpieczenie drugorzędne', 'tertiary_insurance' => 'Ubezpieczenie trzeciorzędne', 'details' => 'Szczegóły', 'patient_photo_id' => 'Patient Photo Id', 'uploading_insurance' => 'Załadowuję ubezpieczenie', 'copay_payment' => 'Co-Pay / Payment', 'paid' => 'Zapłacone', 'charge' => 'Charge', 'total' => 'Total', 'subtotal' => 'Subtotal', 'tax' => 'Tax', 'amount_due' => 'Amount Due', 'payment_amount' => 'Payment Amount', 'balance' => 'Balance', 'add_service' => 'Add Service', 'add_copay' => 'Add Co-Pay', 'notes_and_reminders' => 'Noty i przypomnienia', 'note_and_reminder' => 'Nota i przypomnienie', 'followup_information' => 'Follow-Up Information', 'schedule_appointment' => 'Schedule Appointment', 'note_entry_error' => 'Wystąpił błąd przy wprowadzaniu noty', 'billing_facility' => 'Billing Facility', 'close' => 'Zamknij', 'show_details' => 'Show Details', 'new_encounter' => 'Nowe badanie', 'no_vitals_to_display' => 'No Vitals to Display', 'advance_patient_search' => 'Advance Patient Search', 'first_name' => 'Imię', 'middle_name' => 'Drugie imię', 'last_name' => 'Nazwisko', 'please_sign' => 'Proszę podpisać', 'show_patient_record' => 'Show Patient Record', 'stow_patient_record' => 'Stow Patient Record', 'check_out_patient' => 'Check Out Patient', 'visit_check_out' => 'Visit Check Out', 'payment_entry' => 'Wpis płatności', 'patient_live_search' => 'Patient Live Search', 'create_a_new_patient' => 'Utwórz nowego pacjenta', 'create_new_emergency' => 'Utwórz nowy wypadek', 'logout' => 'Wyloguj', 'arrival_log' => 'Arrival Log', 'pool_areas' => 'Pool Areas', 'floor_plans' => 'Floor Plans', 'navigation' => 'Nawigacja', 'news' => 'aktualności', 'issues' => 'issues', 'wiki' => 'wiki', 'forums' => 'fora', 'patient_image_saved' => 'Patient image saved', 'wait' => 'Czekaj', 'are_you_sure_you_want_to_create_a_new' => 'Czy na pewno chcesz utworzyć nowego', 'is_currently_working_with' => 'is currently working with', 'in' => 'in', 'override_read_mode_will_remove_the_patient_from_previous_user' => 'Override "Read Mode" will remove the patient from previous user', 'do_you_would_like_to_override_read_mode' => 'Do you would like to override "Read Mode"?', 'are_you_sure_to_quit' => 'Czy na pewno chcesz wyjść?', 'drop_here_to_open' => 'Drop Here To Open', 'current_encounter' => 'Bieżące badanie', 'access_denied' => 'Dostęp wzbroniony', 'reportable' => 'Reportable?', 'category' => 'Kategoria', 'sex' => 'Płeć', 'coding_system' => 'System kodowania', 'frequency' => 'Częstotliwość', 'age_start' => 'Age Start', 'must_be_pregnant' => 'Must be pregnant', 'times_to_perform' => 'Times to Perform', 'age_end' => 'Age End', 'perform_only_once' => 'perform only once', 'add_problem' => 'Dodaj problem', 'labs' => 'Laboratoria', 'value_name' => 'Nazwa wartości', 'less_than' => 'Mniej niż', 'greater_than' => 'Więcej niż', 'equal_to' => 'Równe z', 'short_name_alias' => 'Short Name (alias)', 'label_alias' => 'Label (alias)', 'loinc_name' => 'Loinc Name', 'loinc_number' => 'Loinc Number', 'default_unit' => 'Default Unit', 'req_opt' => 'Req / Opt', 'range_start' => 'Range Start', 'range_end' => 'Range End', 'code_type' => 'Code Type', 'short_name' => 'Short Name', 'long_name' => 'Long Name', 'show_inactive_codes_only' => 'Show Inactive Codes Only', 'ops_laboratories' => 'Sorry, Unable to add laboratories. Laboratory data are pre-loaded using<br>Logical Observation Identifiers Names and Codes (LOINC)<br>visit <a href="http://loinc.org/" target="_blank">loinc.org</a> for more info.', 'patient_full_name' => 'Pełne imię pacjenta', 'patient_mothers_maiden_name' => 'Nazwisko panieńskie matki pacjenta', 'patient_last_name' => 'Nazwisko pacjenta', 'patient_birthdate' => 'Data urodzenia pacjenta', 'patient_marital_status' => 'Stan cywilny pacjenta', 'patient_home_phone' => 'Telefon domowy pacjenta', 'patient_mobile_phone' => 'Telefon komórkowy pacjenta', 'patient_work_phone' => 'Telefon służbowy pacjenta', 'patient_email' => 'Adres email pacjenta', 'patient_social_security' => 'Patient Social Security', 'patient_sex' => 'Płeć pacjenta', 'patient_age' => 'Wiek pacjenta', 'patient_city' => 'Miejscowość zamieszkania pacjenta', 'patient_state' => 'Patient State', 'patient_home_address_line_1' => 'Adres zamieszkania pacjenta', 'patient_home_address_line_2' => 'Adres zamieszkania pacjenta (cd.)', 'patient_home_address_zip_code' => 'Kod pocztowy miejsca zamieszkania pacjenta', 'patient_home_address_city' => 'Patient Home Address City', 'patient_home_address_state' => 'Patient Home Address State', 'patient_postal_address_line_1' => 'Patient Postal Address Line 1', 'patient_postal_address_line_2' => 'Patient Postal Address Line 2', 'patient_postal_address_zip_code' => 'Patient Postal Address Zip Code', 'patient_postal_address_city' => 'Patient Postal Address City', 'patient_postal_address_state' => 'Patient Postal Address State', 'patient_tabacco' => 'Patient Tobacco', 'patient_alcohol' => 'Patient Alcohol', 'patient_drivers_license' => 'Patient Drivers License', 'patient_employeer' => 'Pracodawca pacjenta', 'patient_first_emergency_contact' => 'Osoba, którą powiadomić w razie wypadku', 'patient_referral' => 'Patient Referral', 'patient_date_referred' => 'Patient Date Referred', 'patient_balance' => 'Patient Balance', 'patient_picture' => 'Zdjęcie pacjenta', 'patient_primary_plan' => 'Patient Primary Plan', 'patient_primary_plan_insured_person' => 'Patient Primary Plan Insured Person', 'patient_primary_plan_contract_number' => 'Patient Primary Plan Contract Number', 'patient_primary_plan_expiration_date' => 'Patient Primary Plan Expiration Date', 'patient_secondary_plan' => 'Patient Secondary Plan', 'patient_secondary_insured_person' => 'Patient Secondary Insured Person', 'patient_secondary_plan_contract_number'=> 'Patient Secondary Plan Contract Number', 'patient_secondary_plan_expiration_date'=> 'Patient Secondary Plan Expiration Date', 'patient_referral_details' => 'Patient Referral details', 'patient_referral_reason' => 'Patient Referral reason', 'patient_head_circumference' => 'Patient Head Circumference', 'patient_height' => 'Wzrost pacjenta', 'patient_pulse' => 'Puls pacjenta', 'patient_respiratory_rate' => 'Patient Respiratory Rate', 'patient_temperature' => 'Temperatura pacjenta', 'patient_weight' => 'Waga pacjenta', 'patient_pulse_oximeter' => 'Patient Pulse Oximeter', 'patient_blood_preasure' => 'Ciśnienie krwi pacjenta', 'patient_body_mass_index' => 'BMI pacjenta', 'patient_active_allergies_list' => 'Patient Active Allergies List', 'patient_inactive_allergies_list' => 'Patient Inactive Allergies List', 'patient_active_medications_list' => 'Patient Active Medications List', 'patient_inactive_medications_list' => 'Patient Inactive Medications List', 'patient_active_problems_list' => 'Patient Active Problems List', 'patient_inactive_problems_list' => 'Patient Inactive Problems List', 'patient_active_immunizations_list' => 'Patient Active Immunizations List', 'patient_inactive_immunizations_list' => 'Patient Inactive Immunizations List', 'patient_active_dental_list' => 'Patient Active Dental List', 'patient_inactive_dental_list' => 'Patient Inactive Dental List', 'patient_active_surgery_list' => 'Patient Active Surgery List', 'patient_inactive_surgery_list' => 'Patient Inactive Surgery List', 'encounter_date' => 'Data badania', 'encounter_subjective_part' => 'Encounter Subjective Part', 'encounter_assesment' => 'Encounter Assessment', 'encounter_assesment_list' => 'Encounter Assessment List', 'encounter_assesment_code_list' => 'Encounter Assessment Code List', 'encounter_assesment_full_list' => 'Encounter Assessment Full List', 'encounter_plan' => 'Plan badania', 'encounter_medications' => 'Zastosowane leki', 'encounter_immunizations' => 'Encounter Immunizations', 'encounter_allergies' => 'Alergie', 'encounter_active_problems' => 'Aktywne problemy badania', 'encounter_surgeries' => 'Operacje chirurgiczne', 'encounter_dental' => 'Stomatologiczne', 'encounter_laboratories' => 'Laboratoria', 'encounter_procedures_terms' => 'Zasady procedur', 'encounter_cpt_codes_list' => 'Encounter CPT Codes List', 'encounter_signature' => 'Sygnatura badania', 'procedure' => 'Procedure', 'procedures' => 'Procedures', 'orders_laboratories' => 'Zlecenia laboratoryjne', 'orders_x_rays' => 'Zlecenia prześwietleń', 'orders_referral' => 'Orders Referral', 'orders_other' => 'Orders Other', 'current_date' => 'Current Date', 'current_time' => 'Current Time', 'current_user_name' => 'Current User Name', 'current_user_full_name' => 'Current User Full Name', 'current_user_license_number' => 'Current User License Number', 'current_user_dea_license_number' => 'Current User DEA License Number', 'current_user_dm_license_number' => 'Current User DM License Number', 'current_user_npi_license_number' => 'Current User NPI License Number', 'header_footer_templates' => 'Szablony nagłówków i stopek', 'documents_defaults' => 'Documents Defaults', 'document_templates' => 'Szablony dokumentów', 'document_editor' => 'Edytor dokumentów', 'available_tokens' => 'Available Tokens', 'new_document' => 'Nowy dokument', 'new_defaults' => 'New Defaults', 'new_header_or_footer' => 'Nowy nagłówek lub stopka', 'update_icd9' => 'Uaktualnij ICD9', 'update_icd10' => 'Uaktualnij ICD10', 'update_rxnorm' => 'Uaktualnij RxNorm', 'update_snomed' => 'Uaktualnij SNOMED', 'update_hcpcs' => 'Update HCPCS', 'current_version_installed' => 'Current Version Installed', 'no_data_installed' => 'Brak zainstalowanych danych', 'revision_name' => 'Revision Name', 'document_template_editor' => 'Edytor szablonów dokumentów', 'revision_number' => 'Numer rewizji', 'revision_version' => 'Wersja rewizji', 'revision_date' => 'Data rewizji', 'imported_on' => 'Zaimportowano', 'installation' => 'Instalacja', 'data_file' => 'Plik danych', 'version' => 'Wersja', 'file' => 'Plik', 'uploading_and_updating_code_database' => 'Uploading And Updating Code Database', 'installing_database_please_wait' => 'Instaluję bazę danych, proszę czekać', 'new_database_installed' => 'Zainstalowano nową bazę danych', 'facilities_active' => 'Facilities (Active)', 'phone' => 'Telefon', 'city' => 'Miejscowość', 'add_new_facility' => 'Add New Facility', 'show_active_facilities' => 'Show Active Facilities', 'show_inactive_facilities' => 'Show Inactive Facilities', 'edit_facility' => 'Edit Facility', 'street' => 'Ulica', 'state' => 'State', 'postal_code' => 'Kod pocztowy', 'country_code' => 'Kod kraju', 'tax_id' => 'Identyfikator podatkowy', 'service_location' => 'Service Location', 'billing_location' => 'Billing Location', 'accepts_assignment' => 'Accepts assignment', 'pos_code' => 'POS Code', 'billing_attn' => 'Billing Attn', 'clia_number' => 'CLIA Number', 'facility_npi' => 'Facility NPI', 'floor_plan_editor' => 'Floor Plan Editor', 'add_floor' => 'Dodaj poziom', 'floor_plan' => 'Floor Plan', 'add_zone' => 'Add Zone', 'new_zone' => 'New Zone', 'zone_name' => 'Zone Name', 'new_floor' => 'Nowy poziom', 'remove_floor' => 'Usuń poziom', 'last_first_middle' => 'Last, First Middle', 'first_middle_last' => 'First Middle Last', 'main_navigation_menu_left' => 'Main Navigation Menu (left)', 'main_navigation_menu_right' => 'Main Navigation Menu (right)', 'grey_default' => 'Szary (domyślny)', 'blue' => 'Niebieski', 'access' => 'Access', 'oldstyle_static_form_without_search_or_duplication_check' => 'Old-style static form without search or duplication check', 'all_demographics_fields_with_search_and_duplication_check' => 'All demographics fields, with search and duplication check', 'mandatory_or_specified_fields_only_search_and_dup_check' => 'Mandatory or specified fields only, search and dup check', 'mandatory_or_specified_fields_only_dup_check_no_search' => 'Mandatory or specified fields only, dup check, no search', 'encounter_statistics' => 'Statystyki badania', 'mandatory_and_specified_fields' => 'Mandatory and specified fields', 'show_both_us_and_metric_main_unit_is_us)' => 'Show both US and metric (main unit is US)', 'show_both_us_and_metric_main_unit_is_metric' => 'Show both US and metric (main unit is metric)', 'show_us_only' => 'Show US only', 'show_metric_only' => 'Show metric only', 'yyyy_mm_dd' => 'YYYY-MM-DD', 'mm_dd_yyyy' => 'MM/DD/YYYY', 'dd_mm_yyyy' => 'DD/MM/YYYY', '24_hr' => '24 hr', '12 hr' => '12 hr', '0' => '0', '1' => '1', '2' => '2', 'comma' => 'Comma', 'period' => 'Period', 'text_field' => 'Text field', 'single_selection_list' => 'Single-selection list', 'single_selection_list_with_ability_to_add_to_the_list' => 'Single-selection list with ability to add to the list', 'option_1' => 'Option 1', 'option_2' => 'Option 2', 'option_3' => 'Option 3', 'option_4' => 'Option 4', 'option_5' => 'Option 5', 'option_6' => 'Option 6', 'option_7' => 'Option 7', 'appearance' => 'Appearance', 'main_top_pane_screen' => 'Main Top Pane Screen', 'layout_style' => 'Layout Style', 'theme' => 'Theme', 'navigation_area_width' => 'Szerokość obszaru nawigacji', 'application_title' => 'Tytuł aplikacji', 'new_patient_form' => 'Nowy formularz pacjenta', 'patient_search_resuls_style' => 'Styl wyszukiwarki pacjentów', 'simplified_prescriptions' => 'Simplified Prescriptions', 'simplified_demographics' => 'Simplified Demographics', 'simplified_copay' => 'Simplified Co-Pay', 'user_charges_panel' => 'User Charges Panel', 'online_support_link' => 'Online Support Link', 'fullname_format' => 'Full Name Format', 'default_language' => 'Język domyślny', 'all_language_allowed' => 'Wszystkie języki dozwolone', 'allowed_languages' => 'Dozwolone języki', 'allow_debuging_language' => 'Allow Debugging Language', 'translate_layouts' => 'Translate Layouts', 'translate_list' => 'Translate List', 'translate_access_control_roles' => 'Translate Access Control Roles', 'translate_patient_note_titles' => 'Translate Patient Note Titles', 'translate_documents_categoies' => 'Translate Documents Categories', 'translate_appointment_categories' => 'Translate Appointment Categories', 'units_for_visits_forms' => 'Units for Visits Forms', 'disable_old_metric_vitals_form' => 'Disable Old Metric Vitals Form', 'telephone_country_code' => 'Numer kierunkowy kraju', 'date_display_format' => 'Format wyświetlania daty', 'time_display_format' => 'Format wyświetlania czasu', 'currency_decimal_places' => 'Ilość miejsc po przecinku dla waluty', 'currency_decimal_point_symbol' => 'Znak separatora waluty', 'currency_thousands_separator' => 'Separator tysięcy', 'currency_designator' => 'Currency Designator', 'specific_application' => 'Specific Application', 'drugs_and_prodructs' => 'Leki i produkty', 'disable_chart_tracker' => 'Disable Chart Tracker', 'disable_immunizations' => 'Disable Immunizations', 'disable_prescriptions' => 'Disable Prescriptions', 'omit_employers' => 'Omit Employers', 'support_multiprovider_events' => 'Support Multi-Provider Events', 'disable_user_groups' => 'Disable User Groups', 'skip_authorization_of_patient_notes' => 'Skip Authorization of Patient Notes', 'allow_encounters_claims' => 'Allow Encounters Claims', 'advance_directives_warning' => 'Advance Directives Warning', 'configuration_export_import' => 'Configuration Export/Import', 'restrict_users_to_facilities' => 'Restrict Users to Facilities', 'remember_selected_facility' => 'Remember Selected Facility', 'discounts_as_monetary_ammounts' => 'Discounts as monetary Amounts', 'referral_source_for_encounters' => 'Referral Source for Encounters', 'maks_for_patients_ids' => 'Mask for Patients IDs', 'mask_of_invoice_numbers' => 'Mask of Invoice Numbers', 'mask_for_product_ids' => 'Mask for Product IDs', 'force_billing_widget_open' => 'Force Billing Widget Open', 'actiate_ccr_ccd_reporting' => 'Activate CCR/CCD Reporting', 'hide_encryption_decryption_options_in_document_managment' => 'Hide Encryption/Decryption Options in Document Management', 'disable_calendar' => 'Wyłącz kalendarz', 'calendar_starting_hour' => 'Godzina początkowa kalendarza', 'calendar_ending_hour' => 'Godzina końcowa kalendarza', 'calendar_interval' => 'Calendar Interval', 'appointment_display_style' => 'Styl wyświetlania terminów', 'provider_see_entire_calendar' => 'Provider See Entire Calendar', 'auto_create_new_encounters' => 'Automatycznie twórz nowe spotkania', 'appointment_event_color' => 'Kolor terminów/zdarzeń', 'idle_session_timeout_seconds' => 'Idle Session Timeout Seconds', 'require_strong_passwords' => 'Wymagaj silnych haseł', 'require_unique_passwords' => 'Wymagaj unikalnych haseł', 'defaults_password_expiration_days' => 'Defaults Password Expiration Days', 'password_expiration_grace_period' => 'Okres ważności hasła', 'enable_clients_ssl' => 'Enable Clients SSL', 'notification_email_address' => 'Adres email dla powiadomień', 'notifications' => 'Powiadomienia', 'email_transport_method' => 'Email Transport Method', 'smpt_server_hostname' => 'SMPT Server Hostname', 'smpt_server_port_number' => 'SMPT Server Port Number', 'smpt_user_for_authentication' => 'SMPT User for Authentication', 'smpt_password_for_authentication' => 'SMPT Password for Authentication', 'email_notification_hours' => 'Godziny powiadomień email', 'sms_notification_hours' => 'Godziny powiadomień SMS', 'sms_gateway_usarname' => 'SMS Gateway Username', 'sms_gateway_password' => 'SMS Gateway Password', 'sms_gateway_api_Key' => 'SMS Gateway API Key', 'logging' => 'Logging', 'enable_audit_logging' => 'Enable Audit Logging', 'audit_logging_patient_record' => 'Audit Logging Patient Record', 'audid_logging_scheduling' => 'Audit Logging Scheduling', 'audid_logging_order' => 'Audit Logging Order', 'audid_logging_security_administration' => 'Audit Logging Security Administration', 'audid_logging_backups' => 'Audit Logging Backups', 'audid_logging_miscellaeous' => 'Audit Logging Miscellaneous', 'audid_logging_select_query' => 'Audit Logging SELECT Query', 'enable_atna_auditing' => 'Enable ATNA Auditing', 'atna_audit_host' => 'ATNA audit host', 'atna_audit_post' => 'ATNA audit post', 'atna_audit_local_certificate' => 'ATNA audit local certificate', 'atna_audit_ca_certificate' => 'ATNA audit CA certificate', 'path_to_mysql_binaries' => 'Path to MySQL Binaries', 'path_to_perl_binaries' => 'Path to Perl Binaries', 'path_to_temporary_files' => 'Path to Temporary Files', 'path_for_event_log_backup' => 'Path for Event Log Backup', 'state_data_type' => 'State Data Type', 'state_list' => 'State List', 'state_list_widget_custom_fields' => 'State List Widget Custom Fields', 'country_data_type' => 'Country Data Type', 'country_list' => 'Country list', 'print_command' => 'Print Command', 'default_reason_for_visit' => 'Default Reason for Visit', 'default_encounter_form_id' => 'Domyślny identyfikator formularza badania', 'patient_id_category_name' => 'Patient ID Category Name', 'patient_photo_category_name' => 'Patient Photo Category name', 'medicare_referrer_is_renderer' => 'Medicare Referrer is Renderer', 'final_close_date_yyy_mm_dd' => 'Final Close Date (yyy-mm-dd)', 'enable_hylafax_support' => 'Enable Hylafax Support', 'hylafax_server' => 'Hylafax Server', 'hylafax_directory' => 'Hylafax Directory', 'hylafax_enscript_command' => 'Hylafax Enscript Command', 'enable_scanner_support' => 'Enable Scanner Support', 'scanner_directory' => 'Scanner Directory', 'connectors' => 'Connectors', 'enable_lab_exchange' => 'Enable Lab Exchange', 'lab_exchange_site_id' => 'Lab Exchange Site ID', 'lab_exchange_token_id' => 'Lab Exchange Token ID', 'lab_exchange_site_address' => 'Lab Exchange Site Address', 'save_configuration' => 'Save Configuration', 'new_global_configuration_saved' => 'New Global Configuration Saved', 'refresh_the_application' => 'For some settings to take place you will have to refresh the application.', 'value' => 'Value', 'pos' => 'pos', 'form_id' => 'form_id', 'child_of' => 'Child Of', 'aditional_properties' => 'Właściwości dodatkowe', 'field_label' => 'Etykieta pola', 'box_label' => 'Etykieta kontenera', 'label_width' => 'Szerokość etykiety', 'hide_label' => 'Ukryj etykietę', 'empty_text' => 'Empty Text', 'layout' => 'Układ', 'input_value' => 'Input Value', 'width' => 'Szerokość', 'height' => 'Wysokość', 'anchor' => 'Anchor', 'flex' => 'Flex', 'collapsible' => 'Zwijalny', 'checkbox_toggle' => 'Checkbox Toggle', 'collapsed' => 'Zwinięty', 'margin' => 'Margines', 'column_width' => 'Szerokość kolumny', 'is_required' => 'Jest wymagany', 'max_value' => 'Wartość maksymalna', 'min_value' => 'Wartość minimalna', 'grow' => 'Grow', 'grow_min' => 'Grow Min', 'grow_max' => 'Grow Max', 'increment' => 'Increment', 'list_options' => 'Opcje listy', 'field_configuration' => 'Konfiguracja pola', 'add_child' => 'Add Child', 'form_preview' => 'Podgląd formularza', 'field_editor_demographics' => 'Field editor (Demographics)', 'field_type' => 'Typ pola', 'label' => 'Etykieta', 'form_list' => 'Lista formularzy', 'delete_this_field' => 'Czy na pewno chcesz usunąć to pole', 'field_deleted' => 'Pole usunięte', 'form_fields_sorted' => 'Posortowano pola formularza', 'field_editor' => 'Edytor pól', 'or_select_a_field_to_update' => 'Click "Add New" or Select a field to update', 'select_list_options' => 'Wybierz opcje listy', 'select_lists' => 'Wybierz listy', 'in_use' => 'W użyciu?', 'new_list' => 'Nowa lista', 'delete_list' => 'Usuń listę', 'can_be_disable' => 'Lists currently in used by forms can NOT be deleted, but they can be disabled', 'drag_and_drop_reorganize' => 'Przeciągnij i upuść, aby reorganizować', 'option_title' => 'Tytuł opcji', 'option_value' => 'Wartość opcji', 'add_option' => 'Dodaj opcję', 'delete_this_record' => 'Are you sure to delete this record?', 'list' => 'Lista', 'unable_to_delete' => 'Nie można usunąć', 'list_currently_used_forms' => 'Ta lista jest aktualnie używana przed jeden lub więcej formularzy', 'event_history_log' => 'Dziennik historii zdarzeń', 'view_log_event_details' => 'View Log Event Details', 'log_event_details' => 'Log Event Details', 'number' => 'Numer', 'active_component' => 'Active Component', 'dosage' => 'Dosage', 'unit' => 'Jednostka', 'dosis' => 'Dosis', 'practice_settings' => 'Practice Settings', 'address' => 'Adres', 'address_cont' => 'Adres (cd.)', 'city_state_zip' => 'Miejscowość, kod pocztowy', 'default_method' => 'Default Method', 'cms_id' => 'CMS ID', 'payer_type' => 'Payer Type', 'pharmacy_name' => 'Pharmacy Name', 'add_new_pharmacy' => 'Add New Pharmacy', 'insurance_companies' => 'Firmy ubezpieczeniowe', 'insurance_name' => 'Nazwa ubezpieczenia', 'default_x12_partner' => 'Default X12 Partner', 'add_new_insurance' => 'Dodaj nowe ubezpieczenie', 'x12_partners_clearing_houses' => 'X12 Partners (clearing houses)', 'sender_id' => 'Identyfikator nadawcy', 'receiver_id' => 'Identyfikator odbiorcy', 'hl7_viewer' => 'HL7 Viewer', 'clear_hl7_data' => 'Clear HL7 Data', 'parse_hl7' => 'Parse HL7', 'greater_than_1_or_just_check_perform_once' => 'Please enter a number greater than 1 or just check "Perform once"', 'add_labs' => 'Dodaj Laboratoria', 'roles_and_permissions' => 'Role i uprawnienia', 'permission' => 'Uprawnienie', 'front_office' => 'Front Office', 'auditors' => 'Auditors', 'clinician' => 'Clinician', 'physician' => 'Physician', 'administrator' => 'Administrator', 'saving_roles' => 'Zapisuję role, proszę czekać', 'roles_updated' => 'Role zostały uaktualnione', 'loading' => 'Ładuję', 'loading...' => 'Loading...', 'aditional_info' => 'Dodatkowe informacje', 'authorized' => 'Authorized?', 'calendar_q' => 'Kalendarz?', 'edit_user' => 'Edytuj użytkownika', 'add_new_user' => 'Dodaj nowego użytkownika', 'username' => 'Nazwa użytkownika', 'password' => 'Hasło', 'default_facility' => 'Default Facility', 'authorizations' => 'Authorizations', 'access_control' => 'Access Control', 'taxonomy' => 'Taxonomy', 'federal_tax_id' => 'Federal Tax ID', 'fed_drug_id' => 'Fed Drug ID', 'upin' => 'UPIN', 'npi' => 'NPI', 'job_description' => 'Job Description', 'password_currently_used' => 'This password is currently in used, or has been used before.<br>Please use a different password.', 'remove_patient' => 'Remove Patient', 'successfully_moved' => 'successfully moved', 'sent_to' => 'sent to', 'working' => 'Working', 'reports' => 'Reports', 'reportCenter' => 'Report Center', 'national_library' => 'National Library of Medicine Search', 'add_appointment' => 'Add Appointment', 'edit_appointment' => 'Edit Appointment', 'when' => 'When', 'web_link' => 'Web Link', 'repeats' => 'Repeats', 'edit_details' => 'Edit Details', 'saving_changes' => 'Saving changes', 'deleting_appointment' => 'Deleting appointment', 'select' => 'Select', 'all' => 'All', 'other_hcfa' => 'Other HCFA', 'medicare_part_b' => 'Medicare Part B', 'medicaid' => 'Medicaid', 'champusva' => 'ChampUSVA', 'champus' => 'ChampUS', 'blue_cross_blue_shield' => 'Blue Cross Blue Shield', 'feca' => 'FECA', 'self_pay' => 'Self Pay', 'central_certification' => 'Central Certification', 'other_nonfederal_programs' => 'Other Non-Federal Programs', 'ppo' => 'Preferred Provider Organization (PPO)', 'epo' => 'Exclusive Provider Organization (EPO)', 'indemnity_insurance' => 'Indemnity Insurance', 'hmo' => 'Health Maintenance Organization (HMO) Medicare Risk', 'automobile_medical' => 'Automobile Medical', 'commercial_insurance' => 'Commercial Insurance Co.', 'disability' => 'Disability', 'health_maintenance_organization' => 'Health Maintenance Organization', 'liability' => 'Liability', 'liability_medical' => 'Liability Medical', 'other_federal_program' => 'Other Federal Program', 'title_v' => 'Title V', 'veterans_administration_plan' => 'Veterans Administration Plan', 'workers_compensation_health_plan' => 'Workers Compensation Health Plan', 'mutually_defined' => 'Mutually Defined', 'select_existing_observation' => 'Select Existing Observation', 'threshold' => 'Threshold', 'help_message' => 'Help Message', 'errors' => 'Errors', 'commit_cancel_your_changes' => 'You need to commit or cancel your changes', 'unable_to_locate_address' => 'Unable to Locate Address', 'unable_locate_address_provided' => 'Unable to Locate the Address you provided', 'address_accuracy' => 'Address Accuracy', 'address_provided_low_accuracy' => 'The address provided has a low accuracy.', 'accuracy' => 'Accuracy', 'exact_match' => 'Dokładne trafienie', 'vague_match' => 'Niepewne trafienie', 'error_returned' => 'Błąd', 'nothing_found' => 'Nic nie znaleziono', 'find_previous_row' => 'Find Previous Row', 'find_next_row' => 'Find Next Row', 'regular_expression' => 'Regular expression', 'case_sensitive' => 'Uwzględnij wielkość liter', 'matches_found' => 'trafień.', 'config_required_not_defined' => 'config is required and is not defined.', 'the' => 'The', 'of' => 'of', 'close_other_tabs' => 'Zamknij inne karty', 'close_all_tabs' => 'Zamknij wszystkie karty', 'form_has_errors' => 'Formularz zawiera błędy (kliknij, aby dowiedzieć się szczegółów...)', 'click_again_hide_the_error_list' => 'Kliknij ponownie, aby ukryć listę błędów', 'saving' => 'Zapisuję', 'copyright_notice' => 'Nota prawna', 'select_patient_patient_live_search' => 'Please select a patient using the <strong>"Patient Live Search"</strong> or <strong>"Patient Pool Area"</strong>', 'password_verification' => 'Weryfikacja hasła', 'please_enter_your_password' => 'Wprowadź swoje hasło', 'search_for_a_immunizations' => 'Search for a Immunizations', 'search_for_a_medication' => 'Search for a Medication', 'search_for_a_surgery' => 'Search for a Surgery', 'frames_are_disabled' => 'Frames are disabled', 'capture' => 'Capture', 'read_only' => 'Tylko odczyt', 'vtype_empty_3chr' => 'To pole musi zawierać więcej niż 3 znaki i nie może pozostać puste.', 'vtype_empty_7chr' => 'To pole musi zawierać więcej niż 7 znaków i nie może pozostać puste.', 'vtype_empty' => 'To pole nie może być puste.', 'vtype_ssn' => 'Social Security Numbers, must no be empty or in the wrong format. (555-55-5555).', 'vtype_dateVal' => 'Nieprawidłowy format daty (RRRR-MM-DD).', 'vtype_checkEmail' => 'To pole powinno zawierać adres email w formacie uż[email protected]', 'vtype_ipaddress' => 'To pole powinno zawierać adres IP w formacie 192.168.0.1', 'vtype_phoneNumber' => 'This field should be an valid PHONE number, in the format (000)-000-0000', 'vtype_postalCode' => 'This field should be an valid Postal Code number, it can by Canadian or US', 'vtype_password' => 'Hasła nie pokrywają się', 'vtype_mysqlField' => 'Pole zawiera niedozwolone znaki', 'patient_visits_history' => 'Patient Visits History', 'source' => 'Źródło', 'path_to_ca_certificate_file' => 'Path to CA Certificate File', 'path_to_ca_key_file' => 'Path to CA Key File', 'client_certificate_expiration_days' => 'Client Certificate Expiration Days', 'emergency_login_email_address' => 'Emergency Login Email Address', 'layout_form_editor' => 'Layout Form Editor', 'facility' => 'Facility', 'comments' => 'Komentarze', 'user_notes' => 'user Notes', 'patient_id' => 'Identyfikator pacjenta', 'success' => 'Powodzenie', 'check_sum' => 'Suma kontrolna', 'crt_user' => 'CRT USER', 'read_mode' => 'Tryb odczytu', 'day_s' => 'dzień/dni', 'event_form' => 'Event Form', 'close_tab' => 'Zamknij kartę', 'items' => 'Items', 'modules' => 'Moduły', 'report_center' => 'Report Center Basic', 'patient_reports' => 'Patient Reports', 'patient_list' => 'Lista pacjentów', 'prescriptions_and_dispensations' => 'Prescriptions and Dispensations', 'clinical' => 'Clinical', 'referrals' => 'Referrals', 'immunization_registry' => 'Immunization Registry', 'clinic_reports' => 'Clinic Reports', 'standard_measures' => 'Standard Measures', 'clinical_quality_measures_cqm' => 'Clinical Quality Measures (CQM)', 'automated_measure_calculations_amc' => 'Automated Measure Calculations (AMC)', 'automated_measure_calculations_tracking' => 'Automated Measure Calculations (AMC) Tracking', 'client_list_report' => 'Client List Report', 'filter' => 'Filtr', 'create_report' => 'Utwórz raport', 'create_pdf' => 'Utwórz PDF', 'create_html' => 'Utwórz HTML', 'last_visit' => 'Ostatnia wizyta', 'id' => 'Identyfikator', 'zipcode' => 'Kod pocztowy', 'visit_reports' => 'Visit Reports', 'super_bill' => 'Super Billing', 'patient_data' => 'Dane pacjenta', 'social_security' => 'Social Security', 'date_of_birth' => 'Data urodzenia', 'zip' => 'Kod pocztowy', 'mobile_phone' => 'Telefon komórkowy', 'emer_phone' => 'Emergency Phone', 'emer_contact' => 'Emergency Contact', 'insurance_data' => 'Dane ubezpieczenia', 'plan_name' => 'Plan Name', 'policy_number' => 'Policy Number', 'group_number' => 'Numer grupy', 'subscriber_name' => 'Subscriber Name', 'relationship' => 'Relationship', 'subscriber_employer' => 'Subscriber Employer', 'subscriber_address' => 'Subscriber Address', 'employer_address' => 'Employer Address', 'effective_date' => 'Effective Date', 'primary' => 'Primary', 'secondary' => 'Secondary', 'tertiary' => 'Tertiary', 'billing_information' => 'Billing Information', 'image_forms' => 'Image Forms', 'disclosure' => 'Disclosure', 'disclosures' => 'Disclosures', 'rx' => 'Rx', 'drug' => 'Drug', 'recipient_name' => 'Recipient Name', 'generate_x12' => 'Generate x12', 'generate_cms1500_pdf' => 'Generate CMS 1500 PDF format', 'generate_cms1500_text' => 'Generate CMS 1500 TXT format', 'utilities' => 'Utilities', 'drug_name' => 'Drug Name', 'units' => 'Units', 'drugs' => 'Drugs', 'end' => 'End', 'age_from' => 'Age From', 'date_from' => 'Date From', 'age_to' => 'Age To', 'date_to' => 'Date To', 'immunization_code' => 'Immunization Code', 'instructed' => 'Instructed', 'Administered' => 'Administered', 'race' => 'Race', 'ethnicity' => 'Ethnicity', 'problem_dx' => 'Problem DX', 'search_for_a_patient' => 'Search for a Patient', 'manufacturer' => 'Producent', 'autosave_forms' => 'Auto Save Forms', 'autosave' => 'Auto Save', 'generate' => 'Generate', 'generate_report' => 'Generate Report', 'pdf' => 'PDF', 'get_pdf' => 'Get PDF', 'generate_pdf' => 'Generate PDF', 'patient_btn_drag' => 'Click for Summary or Drag to Send Patient to Another Pool Area', 'username_exist_alert' => 'Username exist, please try a unique username', 'record_saved' => 'Record Saved', 'record_removed' => 'Record Removed', 'zone_editor' => 'Zone Editor', 'bg_color' => 'Background Color', 'border_color' => 'Kolor ramki', 'show_priority_color' => 'Pokaż kolor priorytetu', 'show_patient_preview' => 'Pokaż podgląd pacjenta', '30+' => '30+', '60+' => '60+', '120+' => '120+', '180+' => '180+', 'applications' => 'Aplikacje', 'private_key' => 'Klucz prywatny', 'administered_date' => 'Administered Date', 'immunization_id' => 'Immunization Id', 'instructions' => 'Instructions', 'clone_prescription' => 'Clone Prescription', 'template' => 'Template', 'create_doctors_notes' => 'Create Doctors Notes', 'prescriptions' => 'Prescriptions', 'prescription' => 'Prescription', 'add_medication' => 'Add Medication', 'encounter_icd9' => 'Badanie ICD9', 'signed_by' => 'Podpisane przez', 'key_if_required' => 'Key (if required)', 'enabled?' => 'Enabled?', 'related_dx' => 'Related Dx', 'live_styles' => 'Live Styles', 'administered_by' => 'Administered by', 'loinc' => 'LOINC', 'new_order' => 'New Order', 'add_item' => 'Add Item', 'new_item' => 'New Item', 'other' => 'Other', 'other_order_item_help_text' => 'Use commas (,) if more than one. ei: X-RAY Thoracic Spine, X-RAY Skull 3 View', 'form' => 'Form', 'templates' => 'Templates', 'snippets' => 'Snippets', 'complete_snippet' => 'Complete Snippet', 'done' => 'Done', 'ok' => 'Ok', 'submit' => 'Submit', 'shift_enter_submit' => 'Shift + Enter to Submit', 'add_category' => 'Add Category', 'add_snippet' => 'Add Snippet', 'service' => 'Service', 'added' => 'Added', 'copay' => 'Co-Pay', 'add_new_laboratory' => 'Add New Laboratory' );
gpl-3.0
ikarago/Unigram
Unigram/Unigram/Controls/Views/EditYourAboutView.xaml.cs
1250
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Controls.Primitives; using Windows.UI.Xaml.Data; using Windows.UI.Xaml.Input; using Windows.UI.Xaml.Media; using Windows.UI.Xaml.Navigation; namespace Unigram.Controls.Views { public sealed partial class EditYourAboutView : ContentDialog { public EditYourAboutView(string bio) { this.InitializeComponent(); FieldAbout.Text = bio; Title = Strings.Resources.UserBio; PrimaryButtonText = Strings.Resources.OK; SecondaryButtonText = Strings.Resources.Cancel; } public string About { get { return FieldAbout.Text; } } private void ContentDialog_PrimaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args) { } private void ContentDialog_SecondaryButtonClick(ContentDialog sender, ContentDialogButtonClickEventArgs args) { } } }
gpl-3.0
k0smik0/FaCRI
Analyzer/faci-gui/readme.md
120
#### a gui for faci it is still in development, but I do not have so much time to spend on it.. so, if you would... ;D
gpl-3.0
DragonZX/fdm
Gecko.SDK/22/include/AccessibleEditableText_i.c
1856
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */ /* link this file in with the server and any clients */ /* File created by MIDL compiler version 8.00.0595 */ /* at Tue May 14 18:38:12 2013 */ /* Compiler settings for e:/builds/moz2_slave/rel-m-beta-xr_w32_bld-00000000/build/other-licenses/ia2/AccessibleEditableText.idl: Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.00.0595 protocol : dce , ms_ext, app_config, c_ext, robust error checks: allocation ref bounds_check enum stub_data VC __declspec() decoration level: __declspec(uuid()), __declspec(selectany), __declspec(novtable) DECLSPEC_UUID(), MIDL_INTERFACE() */ /* @@MIDL_FILE_HEADING( ) */ #pragma warning( disable: 4049 ) /* more than 64k source lines */ #ifdef __cplusplus extern "C"{ #endif #include <rpc.h> #include <rpcndr.h> #ifdef _MIDL_USE_GUIDDEF_ #ifndef INITGUID #define INITGUID #include <guiddef.h> #undef INITGUID #else #include <guiddef.h> #endif #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \ DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) #else // !_MIDL_USE_GUIDDEF_ #ifndef __IID_DEFINED__ #define __IID_DEFINED__ typedef struct _IID { unsigned long x; unsigned short s1; unsigned short s2; unsigned char c[8]; } IID; #endif // __IID_DEFINED__ #ifndef CLSID_DEFINED #define CLSID_DEFINED typedef IID CLSID; #endif // CLSID_DEFINED #define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \ const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}} #endif !_MIDL_USE_GUIDDEF_ MIDL_DEFINE_GUID(IID, IID_IAccessibleEditableText,0xA59AA09A,0x7011,0x4b65,0x93,0x9D,0x32,0xB1,0xFB,0x55,0x47,0xE3); #undef MIDL_DEFINE_GUID #ifdef __cplusplus } #endif
gpl-3.0
UnSpiraTive/radio
node_modules/eventemitter2/eventemitter2.d.ts
2291
export type eventNS = string[]; export interface ConstructorOptions { /** * @default false * @description set this to `true` to use wildcards. */ wildcard?: boolean, /** * @default '.' * @description the delimiter used to segment namespaces. */ delimiter?: string, /** * @default true * @description set this to `true` if you want to emit the newListener events. */ newListener?: boolean, /** * @default 10 * @description the maximum amount of listeners that can be assigned to an event. */ maxListeners?: number /** * @default false * @description show event name in memory leak message when more than maximum amount of listeners is assigned, default false */ verboseMemoryLeak?: boolean; } export interface Listener { (...values: any[]): void; } export interface EventAndListener { (event: string | string[], ...values: any[]): void; } export declare class EventEmitter2 { constructor(options?: ConstructorOptions) emit(event: string | string[], ...values: any[]): boolean; emitAsync(event: string | string[], ...values: any[]): Promise<any[]>; addListener(event: string, listener: Listener): this; on(event: string | string[], listener: Listener): this; prependListener(event: string | string[], listener: Listener): this; once(event: string | string[], listener: Listener): this; prependOnceListener(event: string | string[], listener: Listener): this; many(event: string | string[], timesToListen: number, listener: Listener): this; prependMany(event: string | string[], timesToListen: number, listener: Listener): this; onAny(listener: EventAndListener): this; prependAny(listener: EventAndListener): this; offAny(listener: Listener): this; removeListener(event: string | string[], listener: Listener): this; off(event: string, listener: Listener): this; removeAllListeners(event?: string | eventNS): this; setMaxListeners(n: number): void; eventNames(): string[]; listeners(event: string | string[]): () => {}[] // TODO: not in documentation by Willian listenersAny(): () => {}[] // TODO: not in documentation by Willian }
gpl-3.0
GibbonEdu/core
modules/System Admin/services_manageProcess.php
1825
<?php /* Gibbon, Flexible & Open School System Copyright (C) 2010, Ross Parker 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/>. */ use Gibbon\Domain\System\SettingGateway; use Gibbon\Data\Validator; require_once '../../gibbon.php'; $_POST = $container->get(Validator::class)->sanitize($_POST); $URL = $session->get('absoluteURL').'/index.php?q=/modules/System Admin/services_manage.php'; if (isActionAccessible($guid, $connection2, '/modules/System Admin/services_manage.php') == false) { $URL .= '&return=error0'; header("Location: {$URL}"); } else { //Proceed! $partialFail = false; $settingGateway = $container->get(SettingGateway::class); $settingsToUpdate = [ 'System' => [ 'gibboneduComOrganisationName', 'gibboneduComOrganisationKey', ] ]; foreach ($settingsToUpdate as $scope => $settings) { foreach ($settings as $name) { $value = $_POST[$name] ?? ''; $updated = $settingGateway->updateSettingByScope($scope, $name, $value); $partialFail &= !$updated; } } getSystemSettings($guid, $connection2); $URL .= $partialFail ? '&return=error2' : '&return=success0'; header("Location: {$URL}"); }
gpl-3.0
Tmaxsoft-Compiler/OFASM-test
Mtest/UNKNOWN/ALY01/Makefile
522
target = ALY01 OFASMC = $(OFASM_HOME)/bin/ofasmc OFASMPP = $(OFASM_HOME)/bin/ofasmpp LDFLAGS += -L$(OFASM_HOME)/lib -lofasmVM -L$(TMAXDIR)/lib -lcli CFLAGS += -g all: $(target) $(target): main.cpp ALY01.asmo libALY01.so g++ $(CFLAGS) -o $@ main.cpp -L./ -lALY01 $(LDFLAGS) libALY01.so: g++ -shared -fPIC $(CFLAGS) -o $@ ALY01_interface.cpp ALY01.asmo: ALY01.asmi $(OFASMC) -i ALY01.asmi -o $@ ALY01.asmi: ALY01.asm $(OFASMPP) -i ALY01.asm -o $@ clean: $(RM) $(target) *.so *.asmo *.asmi install: cp *.so ./
gpl-3.0
Fdepraetre/Handmouse
Software/Handmouse_STM/Lib_DL/STM32Cube_FW_F0_V1.8.0/Projects/STM32F042K6-Nucleo/Templates/Src/stm32f0xx_hal_msp.c
3344
/** ****************************************************************************** * @file Templates/Src/stm32f0xx_hal_msp.c * @author MCD Application Team * @brief HAL MSP module. ****************************************************************************** * @attention * * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2> * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * 2. 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. * 3. Neither the name of STMicroelectronics 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 HOLDER 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. * ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ #include "main.h" /** @addtogroup STM32F0xx_HAL_Examples * @{ */ /** @addtogroup Templates * @{ */ /* Private typedef -----------------------------------------------------------*/ /* Private define ------------------------------------------------------------*/ /* Private macro -------------------------------------------------------------*/ /* Private variables ---------------------------------------------------------*/ /* Private function prototypes -----------------------------------------------*/ /* Private functions ---------------------------------------------------------*/ /** @defgroup HAL_MSP_Private_Functions * @{ */ /** * @brief Initializes the Global MSP. * @param None * @retval None */ void HAL_MspInit(void) { } /** * @brief DeInitializes the Global MSP. * @param None * @retval None */ void HAL_MspDeInit(void) { } /** * @brief Initializes the PPP MSP. * @param None * @retval None */ /*void HAL_PPP_MspInit(void) {*/ /*}*/ /** * @brief DeInitializes the PPP MSP. * @param None * @retval None */ /*void HAL_PPP_MspDeInit(void) {*/ /*}*/ /** * @} */ /** * @} */ /** * @} */ /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
gpl-3.0
crafti5/Unigram
Unigram/Unigram.Api/Services/MTProtoService.DHKeyExchange.cs
23396
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Numerics; using System.Text; using Org.BouncyCastle.Security; using Telegram.Api.Helpers; using Telegram.Api.TL; using Telegram.Api.TL.Methods; namespace Telegram.Api.Services { public class AuthKeyItem { public long AutkKeyId { get; set; } public byte[] AuthKey { get; set; } } public partial class MTProtoService { /// <summary> /// Список имеющихся ключей авторизации /// </summary> private static readonly Dictionary<long, AuthKeyItem> _authKeys = new Dictionary<long, AuthKeyItem>(); private static readonly object _authKeysRoot = new object(); private void ReqPQAsync(TLInt128 nonce, Action<TLResPQ> callback, Action<TLRPCError> faultCallback = null) { var obj = new TLReqPQ{ Nonce = nonce }; SendNonEncryptedMessage("req_pq", obj, callback, faultCallback); } private void ReqDHParamsAsync(TLInt128 nonce, TLInt128 serverNonce, byte[] p, byte[] q, long publicKeyFingerprint, byte[] encryptedData, Action<TLServerDHParamsBase> callback, Action<TLRPCError> faultCallback = null) { var obj = new TLReqDHParams { Nonce = nonce, ServerNonce = serverNonce, P = p, Q = q, PublicKeyFingerprint = publicKeyFingerprint, EncryptedData = encryptedData }; SendNonEncryptedMessage("req_DH_params", obj, callback, faultCallback); } public void SetClientDHParamsAsync(TLInt128 nonce, TLInt128 serverNonce, byte[] encryptedData, Action<TLSetClientDHParamsAnswerBase> callback, Action<TLRPCError> faultCallback = null) { var obj = new TLSetClientDHParams { Nonce = nonce, ServerNonce = serverNonce, EncryptedData = encryptedData }; SendNonEncryptedMessage("set_client_DH_params", obj, callback, faultCallback); } private TimeSpan _authTimeElapsed; public void InitAsync(Action<Tuple<byte[], long?, long?>> callback, Action<TLRPCError> faultCallback = null) { var authTime = Stopwatch.StartNew(); var newNonce = TLInt256.Random(); #if LOG_REGISTRATION TLUtils.WriteLog("Start ReqPQ"); #endif var nonce = TLInt128.Random(); ReqPQAsync(nonce, resPQ => { var serverNonce = resPQ.ServerNonce; if (nonce != resPQ.Nonce) { var error = new TLRPCError { ErrorCode = 404, ErrorMessage = "incorrect nonce" }; #if LOG_REGISTRATION TLUtils.WriteLog("Stop ReqPQ with error " + error); #endif if (faultCallback != null) faultCallback(error); TLUtils.WriteLine(error.ToString()); } #if LOG_REGISTRATION TLUtils.WriteLog("Stop ReqPQ"); #endif TimeSpan calcTime; Tuple<ulong, ulong> pqPair; var innerData = GetInnerData(resPQ, newNonce, out calcTime, out pqPair); var encryptedInnerData = GetEncryptedInnerData(innerData); #if LOG_REGISTRATION var pq = BitConverter.ToUInt64(resPQ.PQ.Data.Reverse().ToArray(), 0); var logPQString = new StringBuilder(); logPQString.AppendLine("PQ Counters"); logPQString.AppendLine(); logPQString.AppendLine("pq: " + pq); logPQString.AppendLine("p: " + pqPair.Item1); logPQString.AppendLine("q: " + pqPair.Item2); logPQString.AppendLine("encrypted_data length: " + encryptedInnerData.Data.Length); TLUtils.WriteLog(logPQString.ToString()); TLUtils.WriteLog("Start ReqDHParams"); #endif ReqDHParamsAsync( resPQ.Nonce, resPQ.ServerNonce, innerData.P, innerData.Q, resPQ.ServerPublicKeyFingerprints[0], encryptedInnerData, serverDHParams => { if (nonce != serverDHParams.Nonce) { var error = new TLRPCError { ErrorCode = 404, ErrorMessage = "incorrect nonce" }; #if LOG_REGISTRATION TLUtils.WriteLog("Stop ReqDHParams with error " + error); #endif if (faultCallback != null) faultCallback(error); TLUtils.WriteLine(error.ToString()); } if (serverNonce != serverDHParams.ServerNonce) { var error = new TLRPCError { ErrorCode = 404, ErrorMessage = "incorrect server_nonce" }; #if LOG_REGISTRATION TLUtils.WriteLog("Stop ReqDHParams with error " + error); #endif if (faultCallback != null) faultCallback(error); TLUtils.WriteLine(error.ToString()); } #if LOG_REGISTRATION TLUtils.WriteLog("Stop ReqDHParams"); #endif var random = new SecureRandom(); var serverDHParamsOk = serverDHParams as TLServerDHParamsOk; if (serverDHParamsOk == null) { var error = new TLRPCError { ErrorCode = 404, ErrorMessage = "Incorrect serverDHParams " + serverDHParams.GetType() }; if (faultCallback != null) faultCallback(error); TLUtils.WriteLine(error.ToString()); #if LOG_REGISTRATION TLUtils.WriteLog("ServerDHParams " + serverDHParams); #endif return; } var aesParams = GetAesKeyIV(resPQ.ServerNonce.ToArray(), newNonce.ToArray()); var decryptedAnswerWithHash = Utils.AesIge(serverDHParamsOk.EncryptedAnswer, aesParams.Item1, aesParams.Item2, false); //var position = 0; //var serverDHInnerData = (TLServerDHInnerData)new TLServerDHInnerData().FromBytes(decryptedAnswerWithHash.Skip(20).ToArray(), ref position); var serverDHInnerData = TLFactory.From<TLServerDHInnerData>(decryptedAnswerWithHash.Skip(20).ToArray()); var sha1 = Utils.ComputeSHA1(serverDHInnerData.ToArray()); if (!TLUtils.ByteArraysEqual(sha1, decryptedAnswerWithHash.Take(20).ToArray())) { var error = new TLRPCError { ErrorCode = 404, ErrorMessage = "incorrect sha1 TLServerDHInnerData" }; #if LOG_REGISTRATION TLUtils.WriteLog("Stop ReqDHParams with error " + error); #endif if (faultCallback != null) faultCallback(error); TLUtils.WriteLine(error.ToString()); } if (!TLUtils.CheckPrime(serverDHInnerData.DHPrime, serverDHInnerData.G)) { var error = new TLRPCError { ErrorCode = 404, ErrorMessage = "incorrect (p, q) pair" }; #if LOG_REGISTRATION TLUtils.WriteLog("Stop ReqDHParams with error " + error); #endif if (faultCallback != null) faultCallback(error); TLUtils.WriteLine(error.ToString()); } if (!TLUtils.CheckGaAndGb(serverDHInnerData.GA, serverDHInnerData.DHPrime)) { var error = new TLRPCError { ErrorCode = 404, ErrorMessage = "incorrect g_a" }; #if LOG_REGISTRATION TLUtils.WriteLog("Stop ReqDHParams with error " + error); #endif if (faultCallback != null) faultCallback(error); TLUtils.WriteLine(error.ToString()); } var bBytes = new byte[256]; //big endian B random.NextBytes(bBytes); var gbBytes = GetGB(bBytes, serverDHInnerData.G, serverDHInnerData.DHPrime); var clientDHInnerData = new TLClientDHInnerData { Nonce = resPQ.Nonce, ServerNonce = resPQ.ServerNonce, RetryId = 0, GB = gbBytes }; var encryptedClientDHInnerData = GetEncryptedClientDHInnerData(clientDHInnerData, aesParams); #if LOG_REGISTRATION TLUtils.WriteLog("Start SetClientDHParams"); #endif SetClientDHParamsAsync(resPQ.Nonce, resPQ.ServerNonce, encryptedClientDHInnerData, dhGen => { if (nonce != dhGen.Nonce) { var error = new TLRPCError { ErrorCode = 404, ErrorMessage = "incorrect nonce" }; #if LOG_REGISTRATION TLUtils.WriteLog("Stop SetClientDHParams with error " + error); #endif if (faultCallback != null) faultCallback(error); TLUtils.WriteLine(error.ToString()); } if (serverNonce != dhGen.ServerNonce) { var error = new TLRPCError { ErrorCode = 404, ErrorMessage = "incorrect server_nonce" }; #if LOG_REGISTRATION TLUtils.WriteLog("Stop SetClientDHParams with error " + error); #endif if (faultCallback != null) faultCallback(error); TLUtils.WriteLine(error.ToString()); } var dhGenOk = dhGen as TLDHGenOk; if (dhGenOk == null) { var error = new TLRPCError { ErrorCode = 404, ErrorMessage = "Incorrect dhGen " + dhGen.GetType() }; if (faultCallback != null) faultCallback(error); TLUtils.WriteLine(error.ToString()); #if LOG_REGISTRATION TLUtils.WriteLog("DHGen result " + serverDHParams); #endif return; } _authTimeElapsed = authTime.Elapsed; #if LOG_REGISTRATION TLUtils.WriteLog("Stop SetClientDHParams"); #endif var getKeyTimer = Stopwatch.StartNew(); var authKey = GetAuthKey(bBytes, serverDHInnerData.GA.ToBytes(), serverDHInnerData.DHPrime.ToBytes()); var logCountersString = new StringBuilder(); logCountersString.AppendLine("Auth Counters"); logCountersString.AppendLine(); logCountersString.AppendLine("pq factorization time: " + calcTime); logCountersString.AppendLine("calc auth key time: " + getKeyTimer.Elapsed); logCountersString.AppendLine("auth time: " + _authTimeElapsed); #if LOG_REGISTRATION TLUtils.WriteLog(logCountersString.ToString()); #endif //newNonce - little endian //authResponse.ServerNonce - little endian var salt = GetSalt(newNonce.ToArray(), resPQ.ServerNonce.ToArray()); var sessionId = new byte[8]; random.NextBytes(sessionId); TLUtils.WriteLine("Salt " + BitConverter.ToInt64(salt, 0) + " (" + BitConverter.ToString(salt) + ")"); TLUtils.WriteLine("Session id " + BitConverter.ToInt64(sessionId, 0) + " (" + BitConverter.ToString(sessionId) + ")"); callback(new Tuple<byte[], long?, long?>(authKey, BitConverter.ToInt64(salt, 0), BitConverter.ToInt64(sessionId, 0))); }, error => { #if LOG_REGISTRATION TLUtils.WriteLog("Stop SetClientDHParams with error " + error.ToString()); #endif if (faultCallback != null) faultCallback(error); TLUtils.WriteLine(error.ToString()); }); }, error => { #if LOG_REGISTRATION TLUtils.WriteLog("Stop ReqDHParams with error " + error.ToString()); #endif if (faultCallback != null) faultCallback(error); TLUtils.WriteLine(error.ToString()); }); }, error => { #if LOG_REGISTRATION TLUtils.WriteLog("Stop ReqPQ with error " + error.ToString()); #endif if (faultCallback != null) faultCallback(error); TLUtils.WriteLine(error.ToString()); }); } private static TLPQInnerData GetInnerData(TLResPQ resPQ, TLInt256 newNonce, out TimeSpan calcTime, out Tuple<ulong, ulong> pqPair) { var pq = BitConverter.ToUInt64(resPQ.PQ.Reverse().ToArray(), 0); //NOTE: add Reverse here TLUtils.WriteLine("pq: " + pq); var pqCalcTime = Stopwatch.StartNew(); try { pqPair = Utils.GetFastPQ(pq); pqCalcTime.Stop(); calcTime = pqCalcTime.Elapsed; TLUtils.WriteLineAtBegin("Pq Fast calculation time: " + pqCalcTime.Elapsed); TLUtils.WriteLine("p: " + pqPair.Item1); TLUtils.WriteLine("q: " + pqPair.Item2); } catch (Exception e) { pqCalcTime = Stopwatch.StartNew(); pqPair = Utils.GetPQPollard(pq); pqCalcTime.Stop(); calcTime = pqCalcTime.Elapsed; TLUtils.WriteLineAtBegin("Pq Pollard calculation time: " + pqCalcTime.Elapsed); TLUtils.WriteLine("p: " + pqPair.Item1); TLUtils.WriteLine("q: " + pqPair.Item2); } var p = pqPair.Item1.FromUInt64(); var q = pqPair.Item2.FromUInt64(); var innerData1 = new TLPQInnerData { NewNonce = newNonce, Nonce = resPQ.Nonce, P = p, Q = q, PQ = resPQ.PQ, ServerNonce = resPQ.ServerNonce }; return innerData1; } private static byte[] GetEncryptedClientDHInnerData(TLClientDHInnerData clientDHInnerData, Tuple<byte[], byte[]> aesParams) { var random = new Random(); var client_DH_inner_data = clientDHInnerData.ToArray(); var client_DH_inner_dataWithHash = Utils.ComputeSHA1(client_DH_inner_data).Concat(client_DH_inner_data).ToArray(); var addedBytesLength = 16 - (client_DH_inner_dataWithHash.Length % 16); if (addedBytesLength > 0 && addedBytesLength < 16) { var addedBytes = new byte[addedBytesLength]; random.NextBytes(addedBytes); client_DH_inner_dataWithHash = client_DH_inner_dataWithHash.Concat(addedBytes).ToArray(); //TLUtils.WriteLine(string.Format("Added {0} bytes", addedBytesLength)); } var aesEncryptClientDHInnerDataWithHash = Utils.AesIge(client_DH_inner_dataWithHash, aesParams.Item1, aesParams.Item2, true); return aesEncryptClientDHInnerDataWithHash; } public static byte[] GetEncryptedInnerData(TLPQInnerData innerData) { var innerDataBytes = innerData.ToArray(); #if LOG_REGISTRATION var sb = new StringBuilder(); sb.AppendLine(); sb.AppendLine("pq " + innerData.PQ.ToBytes().Length); sb.AppendLine("p " + innerData.P.ToBytes().Length); sb.AppendLine("q " + innerData.Q.ToBytes().Length); sb.AppendLine("nonce " + innerData.Nonce.ToBytes().Length); sb.AppendLine("serverNonce " + innerData.ServerNonce.ToBytes().Length); sb.AppendLine("newNonce " + innerData.NewNonce.ToBytes().Length); sb.AppendLine("innerData length " + innerDataBytes.Length); TLUtils.WriteLog(sb.ToString()); #endif var sha1 = Utils.ComputeSHA1(innerDataBytes); var dataWithHash = TLUtils.Combine(sha1, innerDataBytes); //116 #if LOG_REGISTRATION TLUtils.WriteLog("innerData+hash length " + dataWithHash.Length); #endif var data255 = new byte[255]; var random = new Random(); random.NextBytes(data255); Array.Copy(dataWithHash, data255, dataWithHash.Length); var reverseRSABytes = Utils.GetRSABytes(data255); // NOTE: remove Reverse here // TODO: verify //var encryptedData = new string { Data = reverseRSABytes }; //return encryptedData; return reverseRSABytes; } public static byte[] GetSalt(byte[] newNonce, byte[] serverNonce) { var newNonceBytes = newNonce.Take(8).ToArray(); var serverNonceBytes = serverNonce.Take(8).ToArray(); var returnBytes = new byte[8]; for (int i = 0; i < returnBytes.Length; i++) { returnBytes[i] = (byte)(newNonceBytes[i] ^ serverNonceBytes[i]); } return returnBytes; } // return big-endian authKey public static byte[] GetAuthKey(byte[] bBytes, byte[] g_aData, byte[] dhPrimeData) { var b = new BigInteger(bBytes.Reverse().Concat(new byte[] { 0x00 }).ToArray()); var dhPrime = TLFactory.From<byte[]>(dhPrimeData).ToBigInteger(); // TODO: I don't like this. var g_a = TLFactory.From<byte[]>(g_aData).ToBigInteger(); var authKey = BigInteger.ModPow(g_a, b, dhPrime).ToByteArray(); // little endian + (may be) zero last byte //remove last zero byte if (authKey[authKey.Length - 1] == 0x00) { authKey = authKey.SubArray(0, authKey.Length - 1); } authKey = authKey.Reverse().ToArray(); if (authKey.Length > 256) { #if DEBUG var authKeyInfo = new StringBuilder(); authKeyInfo.AppendLine("auth_key length > 256: " + authKey.Length); authKeyInfo.AppendLine("g_a=" + g_a); authKeyInfo.AppendLine("b=" + b); authKeyInfo.AppendLine("dhPrime=" + dhPrime); Execute.ShowDebugMessage(authKeyInfo.ToString()); #endif var correctedAuth = new byte[256]; Array.Copy(authKey, authKey.Length - 256, correctedAuth, 0, 256); authKey = correctedAuth; } else if (authKey.Length < 256) { #if DEBUG var authKeyInfo = new StringBuilder(); authKeyInfo.AppendLine("auth_key length < 256: " + authKey.Length); authKeyInfo.AppendLine("g_a=" + g_a); authKeyInfo.AppendLine("b=" + b); authKeyInfo.AppendLine("dhPrime=" + dhPrime); Execute.ShowDebugMessage(authKeyInfo.ToString()); #endif var correctedAuth = new byte[256]; Array.Copy(authKey, 0, correctedAuth, 256 - authKey.Length, authKey.Length); for (var i = 0; i < 256 - authKey.Length; i++) { authKey[i] = 0; } authKey = correctedAuth; } return authKey; } // b - big endian bytes // g - serialized data // dhPrime - serialized data // returns big-endian G_B public static byte[] GetGB(byte[] bData, int? gData, byte[] pString) { //var bBytes = new byte[256]; // big endian bytes //var random = new Random(); //random.NextBytes(bBytes); var g = new BigInteger(gData.Value); var p = pString.ToBigInteger(); var b = new BigInteger(bData.Reverse().Concat(new byte[] { 0x00 }).ToArray()); var gb = BigInteger.ModPow(g, b, p).ToByteArray(); // little endian + (may be) zero last byte //remove last zero byte if (gb[gb.Length - 1] == 0x00) { gb = gb.SubArray(0, gb.Length - 1); } var length = gb.Length; var result = new byte[length]; for (int i = 0; i < length; i++) { result[length - i - 1] = gb[i]; } return result; } //public BigInteger ToBigInteger() //{ // var data = new List<byte>(Data); // while (data[0] == 0x00) // { // data.RemoveAt(0); // } // return new BigInteger(Data.Reverse().Concat(new byte[] { 0x00 }).ToArray()); //NOTE: add reverse here //} public static Tuple<byte[], byte[]> GetAesKeyIV(byte[] serverNonce, byte[] newNonce) { var newNonceServerNonce = newNonce.Concat(serverNonce).ToArray(); var serverNonceNewNonce = serverNonce.Concat(newNonce).ToArray(); var key = Utils.ComputeSHA1(newNonceServerNonce) .Concat(Utils.ComputeSHA1(serverNonceNewNonce).SubArray(0, 12)); var im = Utils.ComputeSHA1(serverNonceNewNonce).SubArray(12, 8) .Concat(Utils.ComputeSHA1(newNonce.Concat(newNonce).ToArray())) .Concat(newNonce.SubArray(0, 4)); return new Tuple<byte[], byte[]>(key.ToArray(), im.ToArray()); } } }
gpl-3.0
rranz/meccano4j_vaadin
javalego/javalego_office/src/main/java/com/javalego/excel/ExcelWorkbookWriter.java
715
package com.javalego.excel; import java.io.File; import java.io.OutputStream; /** * Crear ficheros de excel. * * @author ROBERTO RANZ * */ public interface ExcelWorkbookWriter extends ExcelWriter { /** * Define el fichero de salida. * @param fileName * @return */ public abstract ExcelWorkbookWriter setFile(String fileName) throws Exception; /** * Define el fichero de salida. * @param fileName * @return */ public abstract ExcelWorkbookWriter setFile(File file) throws Exception; /** * Define el fichero de salida. * @param fileName * @return */ public abstract ExcelWorkbookWriter setFile(OutputStream stream) throws Exception; }
gpl-3.0
schemaanalyst/schemaanalyst
src/paper/ineffectivemutants/manualevaluation/mutants/CustomerOrder_SQLite/166.sql
1954
-- 166 -- PKCColumnA -- ListElementAdder with ChainedSupplier with PrimaryKeyConstraintSupplier and PrimaryKeyColumnsWithAlternativesSupplier - Added role_id CREATE TABLE "db_category" ( "id" VARCHAR(9) PRIMARY KEY NOT NULL, "name" VARCHAR(30) NOT NULL, "parent_id" VARCHAR(9) CONSTRAINT "db_category_parent_fk" REFERENCES "db_category" ("id") ) CREATE TABLE "db_product" ( "ean_code" VARCHAR(13) PRIMARY KEY NOT NULL, "name" VARCHAR(30) NOT NULL, "category_id" VARCHAR(9) CONSTRAINT "db_product_category_fk" REFERENCES "db_category" ("id") NOT NULL, "price" DECIMAL(8, 2) NOT NULL, "manufacturer" VARCHAR(30) NOT NULL, "notes" VARCHAR(256), "description" VARCHAR(256) ) CREATE TABLE "db_role" ( "name" VARCHAR(16) PRIMARY KEY NOT NULL ) CREATE TABLE "db_user" ( "id" INT NOT NULL, "name" VARCHAR(30) NOT NULL, "email" VARCHAR(50) NOT NULL, "password" VARCHAR(16) NOT NULL, "role_id" VARCHAR(16) CONSTRAINT "db_user_role_fk" REFERENCES "db_role" ("name") NOT NULL, "active" SMALLINT NOT NULL, PRIMARY KEY ("id", "role_id"), CONSTRAINT "active_flag" CHECK ("active" IN (0, 1)) ) CREATE TABLE "db_customer" ( "id" INT PRIMARY KEY CONSTRAINT "db_customer_user_fk" REFERENCES "db_user" ("id") NOT NULL, "category" CHAR(1) NOT NULL, "salutation" VARCHAR(10), "first_name" VARCHAR(30) NOT NULL, "last_name" VARCHAR(30) NOT NULL, "birth_date" DATE ) CREATE TABLE "db_order" ( "id" INT PRIMARY KEY NOT NULL, "customer_id" INT CONSTRAINT "db_order_customer_fk" REFERENCES "db_customer" ("id") NOT NULL, "total_price" DECIMAL(8, 2) NOT NULL, "created_at" TIMESTAMP NOT NULL ) CREATE TABLE "db_order_item" ( "id" INT PRIMARY KEY NOT NULL, "order_id" INT CONSTRAINT "db_order_item_order_fk" REFERENCES "db_order" ("id") NOT NULL, "number_of_items" INT NOT NULL, "product_ean_code" VARCHAR(13) CONSTRAINT "db_order_item_product_fk" REFERENCES "db_product" ("ean_code") NOT NULL, "total_price" DECIMAL(8, 2) NOT NULL )
gpl-3.0
zerowindow/x64_dbg
x64_dbg_gui/Project/Src/Gui/CPUWidget.cpp
4554
#include "CPUWidget.h" #include "ui_CPUWidget.h" CPUWidget::CPUWidget(QWidget* parent) : QWidget(parent), ui(new Ui::CPUWidget) { ui->setupUi(this); setDefaultDisposition(); mDisas = new CPUDisassembly(0); mSideBar = new CPUSideBar(mDisas); connect(mDisas, SIGNAL(tableOffsetChanged(int_t)), mSideBar, SLOT(changeTopmostAddress(int_t))); connect(mDisas, SIGNAL(viewableRows(int)), mSideBar, SLOT(setViewableRows(int))); connect(mDisas, SIGNAL(repainted()), mSideBar, SLOT(repaint())); connect(mDisas, SIGNAL(selectionChanged(int_t)), mSideBar, SLOT(setSelection(int_t))); connect(Bridge::getBridge(), SIGNAL(dbgStateChanged(DBGSTATE)), mSideBar, SLOT(debugStateChangedSlot(DBGSTATE))); connect(Bridge::getBridge(), SIGNAL(updateSideBar()), mSideBar, SLOT(repaint())); QSplitter* splitter = new QSplitter(this); splitter->addWidget(mSideBar); splitter->addWidget(mDisas); splitter->setChildrenCollapsible(false); splitter->setHandleWidth(1); ui->mTopLeftUpperFrameLayout->addWidget(splitter); mInfo = new CPUInfoBox(); ui->mTopLeftLowerFrameLayout->addWidget(mInfo); int height = mInfo->getHeight(); ui->mTopLeftLowerFrame->setMinimumHeight(height + 2); ui->mTopLeftLowerFrame->setMaximumHeight(height + 2); connect(mDisas, SIGNAL(selectionChanged(int_t)), mInfo, SLOT(disasmSelectionChanged(int_t))); mGeneralRegs = new RegistersView(0); mGeneralRegs->setFixedWidth(1000); mGeneralRegs->setFixedHeight(1400); mGeneralRegs->ShowFPU(true); QScrollArea* scrollArea = new QScrollArea; scrollArea->setWidget(mGeneralRegs); scrollArea->horizontalScrollBar()->setStyleSheet("QScrollBar:horizontal{border:1px solid grey;background:#f1f1f1;height:10px}QScrollBar::handle:horizontal{background:#aaa;min-width:20px;margin:1px}QScrollBar::add-line:horizontal,QScrollBar::sub-line:horizontal{width:0;height:0}"); scrollArea->verticalScrollBar()->setStyleSheet("QScrollBar:vertical{border:1px solid grey;background:#f1f1f1;width:10px}QScrollBar::handle:vertical{background:#aaa;min-height:20px;margin:1px}QScrollBar::add-line:vertical,QScrollBar::sub-line:vertical{width:0;height:0}"); QPushButton* button_changeview = new QPushButton(""); mGeneralRegs->SetChangeButton(button_changeview); button_changeview->setStyleSheet("Text-align:left;padding: 4px;padding-left: 10px;"); QFont font = QFont("Lucida Console"); font.setStyleHint(QFont::Monospace); font.setPointSize(8); button_changeview->setFont(font); connect(button_changeview, SIGNAL(clicked()), mGeneralRegs, SLOT(onChangeFPUViewAction())); ui->mTopRightFrameLayout->addWidget(button_changeview); ui->mTopRightFrameLayout->addWidget(scrollArea); mDump = new CPUDump(0); //dump widget ui->mBotLeftFrameLayout->addWidget(mDump); mStack = new CPUStack(0); //stack widget ui->mBotRightFrameLayout->addWidget(mStack); } CPUWidget::~CPUWidget() { delete ui; } void CPUWidget::setDefaultDisposition(void) { QList<int> sizesList; int wTotalSize; // Vertical Splitter wTotalSize = ui->mVSplitter->widget(0)->size().height() + ui->mVSplitter->widget(1)->size().height(); sizesList.append(wTotalSize * 70 / 100); sizesList.append(wTotalSize - wTotalSize * 70 / 100); ui->mVSplitter->setSizes(sizesList); // Top Horizontal Splitter wTotalSize = ui->mTopHSplitter->widget(0)->size().height() + ui->mTopHSplitter->widget(1)->size().height(); sizesList.append(wTotalSize * 70 / 100); sizesList.append(wTotalSize - wTotalSize * 70 / 100); ui->mTopHSplitter->setSizes(sizesList); // Bottom Horizontal Splitter wTotalSize = ui->mBotHSplitter->widget(0)->size().height() + ui->mBotHSplitter->widget(1)->size().height(); sizesList.append(wTotalSize * 70 / 100); sizesList.append(wTotalSize - wTotalSize * 70 / 100); ui->mBotHSplitter->setSizes(sizesList); } QVBoxLayout* CPUWidget::getTopLeftUpperWidget(void) { return ui->mTopLeftUpperFrameLayout; } QVBoxLayout* CPUWidget::getTopLeftLowerWidget(void) { return ui->mTopLeftLowerFrameLayout; } QVBoxLayout* CPUWidget::getTopRightWidget(void) { return ui->mTopRightFrameLayout; } QVBoxLayout* CPUWidget::getBotLeftWidget(void) { return ui->mBotLeftFrameLayout; } QVBoxLayout* CPUWidget::getBotRightWidget(void) { return ui->mBotRightFrameLayout; }
gpl-3.0
blinkenrocket/firmware
src/Hamming/HammingCalculateParityFast.c
2841
/* Hamming Error-Correcting Code (ECC) Optimized for avr-gcc 4.8.1 in Atmel AVR Studio 6.2 August 12, 2014 You should include Hamming.c, Hamming.h, and only one of the other Hamming files in your project. The other Hamming files implement the same methods in different ways, that may be better or worse for your needs. This was created for LoFi in the TheHackadayPrize contest. http://hackaday.io/project/1552-LoFi Copyright 2014 David Cook RobotRoom.com 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. */ #include <avr/pgmspace.h> #include "Hamming.h" // This contains all of the precalculated parity values for a byte (8 bits). // This is very fast, but takes up more program space than calculating on the fly. static const byte _hammingCalculateParityFast128[256] PROGMEM = { 0, 3, 5, 6, 6, 5, 3, 0, 7, 4, 2, 1, 1, 2, 4, 7, 9, 10, 12, 15, 15, 12, 10, 9, 14, 13, 11, 8, 8, 11, 13, 14, 10, 9, 15, 12, 12, 15, 9, 10, 13, 14, 8, 11, 11, 8, 14, 13, 3, 0, 6, 5, 5, 6, 0, 3, 4, 7, 1, 2, 2, 1, 7, 4, 11, 8, 14, 13, 13, 14, 8, 11, 12, 15, 9, 10, 10, 9, 15, 12, 2, 1, 7, 4, 4, 7, 1, 2, 5, 6, 0, 3, 3, 0, 6, 5, 1, 2, 4, 7, 7, 4, 2, 1, 6, 5, 3, 0, 0, 3, 5, 6, 8, 11, 13, 14, 14, 13, 11, 8, 15, 12, 10, 9, 9, 10, 12, 15, 12, 15, 9, 10, 10, 9, 15, 12, 11, 8, 14, 13, 13, 14, 8, 11, 5, 6, 0, 3, 3, 0, 6, 5, 2, 1, 7, 4, 4, 7, 1, 2, 6, 5, 3, 0, 0, 3, 5, 6, 1, 2, 4, 7, 7, 4, 2, 1, 15, 12, 10, 9, 9, 10, 12, 15, 8, 11, 13, 14, 14, 13, 11, 8, 7, 4, 2, 1, 1, 2, 4, 7, 0, 3, 5, 6, 6, 5, 3, 0, 14, 13, 11, 8, 8, 11, 13, 14, 9, 10, 12, 15, 15, 12, 10, 9, 13, 14, 8, 11, 11, 8, 14, 13, 10, 9, 15, 12, 12, 15, 9, 10, 4, 7, 1, 2, 2, 1, 7, 4, 3, 0, 6, 5, 5, 6, 0, 3, }; // Given a byte to transmit, this returns the parity as a nibble nibble HammingCalculateParity128(byte value) { return pgm_read_byte(&(_hammingCalculateParityFast128[value])); } // Given two bytes to transmit, this returns the parity // as a byte with the lower nibble being for the first byte, // and the upper nibble being for the second byte. byte HammingCalculateParity2416(byte first, byte second) { return (pgm_read_byte(&(_hammingCalculateParityFast128[second]))<<4) | pgm_read_byte(&(_hammingCalculateParityFast128[first])); }
gpl-3.0
rajmahesh/magento2-master
vendor/magento/framework/Search/Test/Unit/Adapter/Mysql/ScoreBuilderTest.php
2111
<?php /** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Search\Test\Unit\Adapter\Mysql; use Magento\Framework\Search\Adapter\Mysql\ScoreBuilder; use Magento\Framework\TestFramework\Unit\Helper\ObjectManager; class ScoreBuilderTest extends \PHPUnit_Framework_TestCase { public function testBuild() { /** @var \Magento\Framework\Search\Adapter\Mysql\ScoreBuilder $builder */ $builder = (new ObjectManager($this))->getObject('Magento\Framework\Search\Adapter\Mysql\ScoreBuilder'); $builder->startQuery(); // start one query $builder->addCondition('someCondition1'); $builder->startQuery(); // start two query $builder->addCondition('someCondition2'); $builder->addCondition('someCondition3'); $builder->startQuery(); // start three query $builder->addCondition('someCondition4'); $builder->addCondition('someCondition5'); $builder->endQuery(10.1); // end three query $builder->startQuery(); // start four query $builder->addCondition('someCondition6'); $builder->addCondition('someCondition7'); $builder->endQuery(10.2); // end four query $builder->endQuery(10.3); // start two query $builder->endQuery(10.4); // start one query $builder->startQuery(); $builder->endQuery(1); $result = $builder->build(); $weightExpression = 'POW(2, ' . ScoreBuilder::WEIGHT_FIELD . ')'; $expected = '((LEAST((someCondition1), 1000000) * %1$s + (LEAST((someCondition2), 1000000) * %1$s' . ' + LEAST((someCondition3), 1000000) * %1$s + ' . '(LEAST((someCondition4), 1000000) * %1$s + LEAST((someCondition5), 1000000) * %1$s) * 10.1' . ' + (LEAST((someCondition6), 1000000) * %1$s + ' . 'LEAST((someCondition7), 1000000) * %1$s) * 10.2) * 10.3) * 10.4 + (0)) AS ' . $builder->getScoreAlias(); $expected = sprintf($expected, $weightExpression); $this->assertEquals($expected, $result); } }
gpl-3.0
bas-t/descrambler
sc/PLUGINS/src/systems/viaccess/st20.c
11049
/* * Softcam plugin to VDR (C++) * * This code 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 2 * of the License, or (at your option) any later version. * * 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 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. * Or, point your browser to http://www.gnu.org/copyleft/gpl.html */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <ffdecsawrapper/tools.h> #include "log-viaccess.h" #include "st20.h" #include "helper.h" #include "misc.h" //#define SAVE_DEBUG // add some (slow) failsafe checks and stricter emulation #define INVALID_VALUE 0xCCCCCCCC #define ERRORVAL 0xDEADBEEF #define MININT 0x7FFFFFFF #define MOSTPOS 0x7FFFFFFF #define MOSTNEG 0x80000000 #ifndef SAVE_DEBUG #define POP() stack[(sptr++)&STACKMASK] #else #define POP() ({ int __t=stack[sptr&STACKMASK]; stack[(sptr++)&STACKMASK]=INVALID_VALUE; __t; }) #endif #define PUSH(v) do { int __v=(v); stack[(--sptr)&STACKMASK]=__v; } while(0) #define DROP(n) sptr+=n #define AAA stack[sptr&STACKMASK] #define BBB stack[(sptr+1)&STACKMASK] #define CCC stack[(sptr+2)&STACKMASK] #define GET_OP() operand|=op1&0x0F #define CLEAR_OP() operand=0 #define JUMP(x) Iptr+=(x) #define POP64() ({ unsigned int __b=POP(); ((unsigned long long)POP()<<32)|__b; }) #define PUSHPOP(op,val) do { int __a=val; AAA op##= (__a); } while(0) #ifndef SAVE_DEBUG #define RB(off) UINT8_LE(Addr(off)) #define RW(off) UINT32_LE(Addr(off)) #define WW(off,val) BYTE4_LE(Addr(off),val) #else #define RB(off) ReadByte(off) #define RW(off) ReadWord(off) #define WW(off,val) WriteWord(off,val) #endif #define LOG_OP(op) do { if(v) LogOp(op); } while(0) // -- cST20 -------------------------------------------------------------------- cST20::cST20(void) { flash=ram=0; loglb=new cLineBuff(128); } cST20::~cST20() { free(flash); free(ram); delete loglb; } void cST20::SetFlash(unsigned char *m, int len) { free(flash); flash=MALLOC(unsigned char,len); if(flash && m) memcpy(flash,m,len); else memset(flash,0,len); flashSize=len; } void cST20::SetRam(unsigned char *m, int len) { free(ram); ram=MALLOC(unsigned char,len); if(ram && m) memcpy(ram,m,len); else memset(ram,0,len); ramSize=len; } void cST20::Init(unsigned int IPtr, unsigned int WPtr) { Wptr=WPtr; Iptr=IPtr; memset(stack,INVALID_VALUE,sizeof(stack)); sptr=STACKMAX-3; memset(iram,0,sizeof(iram)); verbose=LOG(L_SYS_DISASM); } void cST20::SetCallFrame(unsigned int raddr, int p1, int p2, int p3) { Wptr-=16; WriteWord(Wptr,raddr); // RET WriteWord(Wptr+4,0); WriteWord(Wptr+8,0); WriteWord(Wptr+12,p1); WriteWord(Wptr+16,p2); WriteWord(Wptr+20,p3); SetReg(AREG,raddr); // RET } unsigned int cST20::GetReg(int reg) const { switch(reg) { case IPTR: return Iptr; case WPTR: return Wptr; case AREG: return AAA; case BREG: return BBB; case CREG: return CCC; default: PRINTF(L_SYS_ST20,"getreg: unknown reg"); return ERRORVAL; } } void cST20::SetReg(int reg, unsigned int val) { switch(reg) { case IPTR: Iptr=val; return; case WPTR: Wptr=val; return; case AREG: AAA=val; return; case BREG: BBB=val; return; case CREG: CCC=val; return; default: PRINTF(L_SYS_ST20,"setreg: unknown reg"); return; } } unsigned char *cST20::Addr(unsigned int off) { if(off>=FLASHS && off<=FLASHE) { #ifndef SAVE_DEBUG return &flash[off-FLASHS]; #else off-=FLASHS; if(off<flashSize && flash) return &flash[off]; break; #endif } else if(off>=RAMS && off<=RAME) { #ifndef SAVE_DEBUG return &ram[off-RAMS]; #else off-=RAMS; if(off<ramSize && ram) return &ram[off]; break; #endif } else if(off>=IRAMS && off<=IRAME) return &iram[off-IRAMS]; #ifndef SAVE_DEBUG invalid=ERRORVAL; return (unsigned char *)&invalid; #else return 0; #endif } unsigned int cST20::ReadWord(unsigned int off) { #ifndef SAVE_DEBUG return UINT32_LE(Addr(off)); #else unsigned char *addr=Addr(off); return addr ? UINT32_LE(addr) : ERRORVAL; #endif } unsigned short cST20::ReadShort(unsigned int off) { #ifndef SAVE_DEBUG return UINT16_LE(Addr(off)); #else unsigned char *addr=Addr(off); return addr ? UINT16_LE(addr) : ERRORVAL>>16; #endif } unsigned char cST20::ReadByte(unsigned int off) { #ifndef SAVE_DEBUG return UINT8_LE(Addr(off)); #else unsigned char *addr=Addr(off); return addr ? UINT8_LE(addr) : ERRORVAL>>24; #endif } void cST20::WriteWord(unsigned int off, unsigned int val) { #ifndef SAVE_DEBUG BYTE4_LE(Addr(off),val); #else unsigned char *addr=Addr(off); if(addr) BYTE4_LE(addr,val); #endif } void cST20::WriteShort(unsigned int off, unsigned short val) { #ifndef SAVE_DEBUG BYTE2_LE(Addr(off),val); #else unsigned char *addr=Addr(off); if(addr) BYTE2_LE(addr,val); #endif } void cST20::WriteByte(unsigned int off, unsigned char val) { #ifndef SAVE_DEBUG BYTE1_LE(Addr(off),val); #else unsigned char *addr=Addr(off); if(addr) BYTE1_LE(addr,val); #endif } #define OP_COL 20 void cST20::LogOpOper(int op, int oper) { const static char *cmds[] = { "j","ldlp",0,"ldnl","ldc","ldnlp",0,"ldl","adc","call","cj","ajw","eqc","stl","stnl",0 }; const static char flags[] = { 3, 0, 0, 0, 1, 0, 0, 0, 1, 3, 3, 0, 1, 0, 0, 0 }; if(oper==0) loglb->Printf("%08X %02X",Iptr-1,op); else loglb->Printf("%02X",op); oper|=op&0xF; op>>=4; if(!cmds[op]) return; int n=loglb->Length(); if(flags[op]&2) oper+=Iptr; if(flags[op]&1) loglb->Printf("%*s%-5s $%-8X ",max(OP_COL-n,1)," ",cmds[op],oper); else loglb->Printf("%*s%-5s %-8d ",max(OP_COL-n,1)," ",cmds[op],oper); } void cST20::LogOp(const char *op) { int n=loglb->Length(); loglb->Printf("%*s%-15s ",max(OP_COL-n,1)," ",op); } int cST20::Decode(int count) { int operand; bool v=verbose; CLEAR_OP(); while(Iptr!=0) { int a, op1=RB(Iptr++); if(v) LogOpOper(op1,operand); GET_OP(); switch(op1>>4) { case 0x0: // j / jump #ifdef SAVE_DEBUG POP(); POP(); POP(); #endif JUMP(operand); CLEAR_OP(); break; case 0x1: // ldlp PUSH(Wptr+(operand*4)); CLEAR_OP(); break; case 0x2: // positive prefix operand<<=4; break; case 0x3: // ldnl AAA=RW(AAA+(operand*4)); CLEAR_OP(); break; case 0x4: // ldc PUSH(operand); CLEAR_OP(); break; case 0x5: // ldnlp PUSHPOP(+,operand*4); CLEAR_OP(); break; case 0x6: // negative prefix operand=(~operand)<<4; break; case 0x7: // ldl PUSH(RW(Wptr+(operand*4))); CLEAR_OP(); break; case 0x8: // adc PUSHPOP(+,operand); CLEAR_OP(); break; case 0x9: // call Wptr-=16; WW(Wptr,Iptr); WW(Wptr+4,POP()); WW(Wptr+8,POP()); WW(Wptr+12,POP()); PUSH(Iptr); JUMP(operand); CLEAR_OP(); break; case 0xA: // cj / conditional jump if(AAA) DROP(1); else JUMP(operand); CLEAR_OP(); break; case 0xB: // ajw / adjust workspace Wptr+=operand*4; CLEAR_OP(); break; case 0xC: // eqc / equals constant AAA=(operand==AAA ? 1 : 0); CLEAR_OP(); break; case 0xD: // stl WW(Wptr+(operand*4),POP()); CLEAR_OP(); break; case 0xE: // stnl a=POP(); WW(a+(operand*4),POP()); CLEAR_OP(); break; case 0xF: // opr (secondary ins) switch(operand) { case 0x00: LOG_OP("rev"); a=AAA; AAA=BBB; BBB=a; break; case 0x01: LOG_OP("lb"); AAA=RB(AAA); break; case 0x02: LOG_OP("bsub"); PUSHPOP(+,POP()); break; case 0x04: LOG_OP("diff"); PUSHPOP(-,POP()); break; case 0x05: LOG_OP("add"); PUSHPOP(+,POP()); break; case 0x06: LOG_OP("gcall"); a=AAA; AAA=Iptr; Iptr=a; break; case 0x08: LOG_OP("prod"); PUSHPOP(*,POP()); break; case 0x09: LOG_OP("gt"); a=POP(); AAA=(AAA>a); break; case 0x0A: LOG_OP("wsub"); a=POP(); AAA=a+(AAA*4); break; case 0x0C: LOG_OP("sub"); PUSHPOP(-,POP()); break; case 0x1B: LOG_OP("ldpi"); PUSHPOP(+,Iptr); break; case 0x20: LOG_OP("ret"); Iptr=RW(Wptr); Wptr=Wptr+16; break; case 0x2C: LOG_OP("div"); PUSHPOP(/,POP()); break; case 0x32: LOG_OP("not"); AAA=~AAA; break; case 0x33: LOG_OP("xor"); PUSHPOP(^,POP()); break; case 0x34: LOG_OP("bcnt"); PUSHPOP(*,4); break; case 0x3B: LOG_OP("sb"); a=POP(); WriteByte(a,POP()); break; case 0x3F: LOG_OP("wcnt"); a=POP(); PUSH(a&3); PUSH((unsigned int)a>>2); break; case 0x40: LOG_OP("shr"); a=POP(); AAA=(unsigned int)AAA>>a; break; case 0x41: LOG_OP("shl"); a=POP(); AAA=(unsigned int)AAA<<a; break; case 0x42: LOG_OP("mint"); PUSH(MOSTNEG); break; case 0x46: LOG_OP("and"); PUSHPOP(&,POP()); break; case 0x4A: LOG_OP("move"); { a=POP(); int b=POP(); int c=POP(); while(a--) WriteByte(b++,ReadByte(c++)); } break; case 0x4B: LOG_OP("or"); PUSHPOP(|,POP()); break; case 0x53: LOG_OP("mul"); PUSHPOP(*,POP()); break; case 0x5A: LOG_OP("dup"); PUSH(AAA); break; case 0x5F: LOG_OP("gtu"); a=POP(); AAA=((unsigned int)AAA>(unsigned int)a); break; case 0x1D: LOG_OP("xdble"); CCC=BBB; BBB=(AAA>=0 ? 0:-1); break; case 0x1A: LOG_OP("ldiv"); { a=POP(); unsigned long long ll=POP64(); PUSH(ll%(unsigned int)a); PUSH(ll/(unsigned int)a); } break; case 0x1F: LOG_OP("rem"); PUSHPOP(%,POP()); break; case 0x35: LOG_OP("lshr"); { a=POP(); unsigned long long ll=POP64()>>a; PUSH((ll>>32)&0xFFFFFFFF); PUSH(ll&0xFFFFFFFF); } break; case 0xCA: LOG_OP("ls"); AAA=ReadShort(AAA); break; case 0xCD: LOG_OP("gintdis"); break; case 0xCE: LOG_OP("gintenb"); break; case -0x40: LOG_OP("nop"); break; default: if(verbose) PUTLB(L_SYS_DISASM,loglb); PRINTF(L_SYS_ST20,"unknown opcode %X",operand); return ERR_ILL_OP; } CLEAR_OP(); break; } if(v && operand==0) { loglb->Printf("%08X %08X %08X W:%08X",AAA,BBB,CCC,Wptr); PUTLB(L_SYS_DISASM,loglb); } if(--count<=0 && operand==0) { PRINTF(L_SYS_ST20,"instruction counter exceeded"); return ERR_CNT; } } return 0; }
gpl-3.0
vijaysebastian/bill
public/plugins/dhtmlxSuite_v50_std/sources/dhtmlxDataStore/codebase/datastore.js
94389
/* Product Name: dhtmlxSuite Version: 5.0 Edition: Standard License: content of this file is covered by GPL. Usage outside GPL terms is prohibited. To obtain Commercial or Enterprise license contact [email protected] Copyright UAB Dinamenta http://www.dhtmlx.com */ (function(){ var dhx = {}; //check some rule, show message as error if rule is not correct dhx.assert = function(test, message){ if (!test){ dhx.assert_error(message); } }; dhx.assert_error = function(message){ dhx.log("error",message); if (dhx.message && typeof message == "string") dhx.message({ type:"debug", text:message, expire:-1 }); if (dhx.debug !== false) eval("debugger;"); }; //entry point for analitic scripts dhx.assert_core_ready = function(){ if (window.dhx_on_core_ready) dhx_on_core_ready(); }; /* Common helpers */ dhx.codebase="./"; dhx.name = "Core"; //coding helpers dhx.clone = function(source){ var f = dhx.clone._function; f.prototype = source; return new f(); }; dhx.clone._function = function(){}; //copies methods and properties from source to the target dhx.extend = function(base, source, force){ dhx.assert(base,"Invalid mixing target"); dhx.assert(source,"Invalid mixing source"); if (base._dhx_proto_wait){ dhx.PowerArray.insertAt.call(base._dhx_proto_wait, source,1); return base; } //copy methods, overwrite existing ones in case of conflict for (var method in source) if (!base[method] || force) base[method] = source[method]; //in case of defaults - preffer top one if (source.defaults) dhx.extend(base.defaults, source.defaults); //if source object has init code - call init against target if (source.$init) source.$init.call(base); return base; }; //copies methods and properties from source to the target from all levels dhx.copy = function(source){ dhx.assert(source,"Invalid mixing target"); if(arguments.length>1){ var target = arguments[0]; source = arguments[1]; } else var target = (dhx.isArray(source)?[]:{}); for (var method in source){ if(source[method] && typeof source[method] == "object" && !dhx.isDate(source[method])){ target[method] = (dhx.isArray(source[method])?[]:{}); dhx.copy(target[method],source[method]); }else{ target[method] = source[method]; } } return target; }; dhx.single = function(source){ var instance = null; var t = function(config){ if (!instance) instance = new source({}); if (instance._reinit) instance._reinit.apply(instance, arguments); return instance; }; return t; }; dhx.protoUI = function(){ if (dhx.debug_proto) dhx.log("UI registered: "+arguments[0].name); var origins = arguments; var selfname = origins[0].name; var t = function(data){ if (!t) return dhx.ui[selfname].prototype; var origins = t._dhx_proto_wait; if (origins){ var params = [origins[0]]; for (var i=1; i < origins.length; i++){ params[i] = origins[i]; if (params[i]._dhx_proto_wait) params[i] = params[i].call(dhx, params[i].name); if (params[i].prototype && params[i].prototype.name) dhx.ui[params[i].prototype.name] = params[i]; } dhx.ui[selfname] = dhx.proto.apply(dhx, params); if (t._dhx_type_wait) for (var i=0; i < t._dhx_type_wait.length; i++) dhx.Type(dhx.ui[selfname], t._dhx_type_wait[i]); t = origins = null; } if (this != dhx) return new dhx.ui[selfname](data); else return dhx.ui[selfname]; }; t._dhx_proto_wait = Array.prototype.slice.call(arguments, 0); return dhx.ui[selfname]=t; }; dhx.proto = function(){ if (dhx.debug_proto) dhx.log("Proto chain:"+arguments[0].name+"["+arguments.length+"]"); var origins = arguments; var compilation = origins[0]; var has_constructor = !!compilation.$init; var construct = []; dhx.assert(compilation,"Invalid mixing target"); for (var i=origins.length-1; i>0; i--) { dhx.assert(origins[i],"Invalid mixing source"); if (typeof origins[i]== "function") origins[i]=origins[i].prototype; if (origins[i].$init) construct.push(origins[i].$init); if (origins[i].defaults){ var defaults = origins[i].defaults; if (!compilation.defaults) compilation.defaults = {}; for (var def in defaults) if (dhx.isUndefined(compilation.defaults[def])) compilation.defaults[def] = defaults[def]; } if (origins[i].type && compilation.type){ for (var def in origins[i].type) if (!compilation.type[def]) compilation.type[def] = origins[i].type[def]; } for (var key in origins[i]){ if (!compilation[key]) compilation[key] = origins[i][key]; } } if (has_constructor) construct.push(compilation.$init); compilation.$init = function(){ for (var i=0; i<construct.length; i++) construct[i].apply(this, arguments); }; var result = function(config){ this.$ready=[]; dhx.assert(this.$init,"object without init method"); this.$init(config); if (this._parseSettings) this._parseSettings(config, this.defaults); for (var i=0; i < this.$ready.length; i++) this.$ready[i].call(this); }; result.prototype = compilation; compilation = origins = null; return result; }; //creates function with specified "this" pointer dhx.bind=function(functor, object){ return function(){ return functor.apply(object,arguments); }; }; //loads module from external js file dhx.require=function(module, callback, master){ if (typeof module != "string"){ var count = module.length||0; var callback_origin = callback; if (!count){ for (var file in module) count++; callback = function(){ count--; if (count === 0) callback_origin.apply(this, arguments); }; for (var file in module) dhx.require(file, callback, master); } else { callback = function(){ if (count){ count--; dhx.require(module[module.length - count - 1], callback, master); } else return callback_origin.apply(this, arguments); }; callback(); } return; } if (dhx._modules[module] !== true){ if (module.substr(-4) == ".css") { var link = dhx.html.create("LINK",{ type:"text/css", rel:"stylesheet", href:dhx.codebase+module}); document.head.appendChild(link); if (callback) callback.call(master||window); return; } var step = arguments[4]; //load and exec the required module if (!callback){ //sync mode dhx.exec( dhx.ajax().sync().get(dhx.codebase+module).responseText ); dhx._modules[module]=true; } else { if (!dhx._modules[module]){ //first call dhx._modules[module] = [[callback, master]]; dhx.ajax(dhx.codebase+module, function(text){ dhx.exec(text); //evaluate code var calls = dhx._modules[module]; //callbacks dhx._modules[module] = true; for (var i=0; i<calls.length; i++) calls[i][0].call(calls[i][1]||window, !i); //first callback get true as parameter }); } else //module already loading dhx._modules[module].push([callback, master]); } } }; dhx._modules = {}; //hash of already loaded modules //evaluate javascript code in the global scoope dhx.exec=function(code){ if (window.execScript) //special handling for IE window.execScript(code); else window.eval(code); }; dhx.wrap = function(code, wrap){ if (!code) return wrap; return function(){ var result = code.apply(this, arguments); wrap.apply(this,arguments); return result; }; }; //check === undefined dhx.isUndefined=function(a){ return typeof a == "undefined"; }; //delay call to after-render time dhx.delay=function(method, obj, params, delay){ return window.setTimeout(function(){ var ret = method.apply(obj,(params||[])); method = obj = params = null; return ret; },delay||1); }; //common helpers //generates unique ID (unique per window, nog GUID) dhx.uid = function(){ if (!this._seed) this._seed=(new Date).valueOf(); //init seed with timestemp this._seed++; return this._seed; }; //resolve ID as html object dhx.toNode = function(node){ if (typeof node == "string") return document.getElementById(node); return node; }; //adds extra methods for the array dhx.toArray = function(array){ return dhx.extend((array||[]),dhx.PowerArray, true); }; //resolve function name dhx.toFunctor=function(str){ return (typeof(str)=="string") ? eval(str) : str; }; /*checks where an object is instance of Array*/ dhx.isArray = function(obj) { return Array.isArray?Array.isArray(obj):(Object.prototype.toString.call(obj) === '[object Array]'); }; dhx.isDate = function(obj){ return obj instanceof Date; }; //dom helpers //hash of attached events dhx._events = {}; //attach event to the DOM element dhx.event=function(node,event,handler,master){ node = dhx.toNode(node); var id = dhx.uid(); if (master) handler=dhx.bind(handler,master); dhx._events[id]=[node,event,handler]; //store event info, for detaching //use IE's of FF's way of event's attaching if (node.addEventListener) node.addEventListener(event, handler, false); else if (node.attachEvent) node.attachEvent("on"+event, handler); return id; //return id of newly created event, can be used in eventRemove }; //remove previously attached event dhx.eventRemove=function(id){ if (!id) return; dhx.assert(this._events[id],"Removing non-existing event"); var ev = dhx._events[id]; //browser specific event removing if (ev[0].removeEventListener) ev[0].removeEventListener(ev[1],ev[2],false); else if (ev[0].detachEvent) ev[0].detachEvent("on"+ev[1],ev[2]); delete this._events[id]; //delete all traces }; //debugger helpers //anything starting from error or log will be removed during code compression //add message in the log dhx.log = function(type,message,details){ if (arguments.length == 1){ message = type; type = "log"; } /*jsl:ignore*/ if (window.console && console.log){ type=type.toLowerCase(); if (window.console[type]) window.console[type](message||"unknown error"); else window.console.log(type +": "+message); if (details) window.console.log(details); } /*jsl:end*/ }; //register rendering time from call point dhx.log_full_time = function(name){ dhx._start_time_log = new Date(); dhx.log("Timing start ["+name+"]"); window.setTimeout(function(){ var time = new Date(); dhx.log("Timing end ["+name+"]:"+(time.valueOf()-dhx._start_time_log.valueOf())/1000+"s"); },1); }; //register execution time from call point dhx.log_time = function(name){ var fname = "_start_time_log"+name; if (!dhx[fname]){ dhx[fname] = new Date(); dhx.log("Info","Timing start ["+name+"]"); } else { var time = new Date(); dhx.log("Info","Timing end ["+name+"]:"+(time.valueOf()-dhx[fname].valueOf())/1000+"s"); dhx[fname] = null; } }; dhx.debug_code = function(code){ code.call(dhx); }; //event system dhx.EventSystem={ $init:function(){ if (!this._evs_events){ this._evs_events = {}; //hash of event handlers, name => handler this._evs_handlers = {}; //hash of event handlers, ID => handler this._evs_map = {}; } }, //temporary block event triggering blockEvent : function(){ this._evs_events._block = true; }, //re-enable event triggering unblockEvent : function(){ this._evs_events._block = false; }, mapEvent:function(map){ dhx.extend(this._evs_map, map, true); }, on_setter:function(config){ if(config){ for(var i in config){ if(typeof config[i] == 'function') this.attachEvent(i, config[i]); } } }, //trigger event callEvent:function(type,params){ if (this._evs_events._block) return true; type = type.toLowerCase(); var event_stack =this._evs_events[type.toLowerCase()]; //all events for provided name var return_value = true; if (dhx.debug) //can slowdown a lot dhx.log("info","["+this.name+"] event:"+type,params); if (event_stack) for(var i=0; i<event_stack.length; i++){ /* Call events one by one If any event return false - result of whole event will be false Handlers which are not returning anything - counted as positive */ if (event_stack[i].apply(this,(params||[]))===false) return_value=false; } if (this._evs_map[type] && !this._evs_map[type].callEvent(type,params)) return_value = false; return return_value; }, //assign handler for some named event attachEvent:function(type,functor,id){ dhx.assert(functor, "Invalid event handler for "+type); type=type.toLowerCase(); id=id||dhx.uid(); //ID can be used for detachEvent functor = dhx.toFunctor(functor); //functor can be a name of method var event_stack=this._evs_events[type]||dhx.toArray(); //save new event handler event_stack.push(functor); this._evs_events[type]=event_stack; this._evs_handlers[id]={ f:functor,t:type }; return id; }, //remove event handler detachEvent:function(id){ if(!this._evs_handlers[id]){ return; } var type=this._evs_handlers[id].t; var functor=this._evs_handlers[id].f; //remove from all collections var event_stack=this._evs_events[type]; event_stack.remove(functor); delete this._evs_handlers[id]; }, hasEvent:function(type){ type=type.toLowerCase(); return this._evs_events[type]?true:false; } }; dhx.extend(dhx, dhx.EventSystem); //array helper //can be used by dhx.toArray() dhx.PowerArray={ //remove element at specified position removeAt:function(pos,len){ if (pos>=0) this.splice(pos,(len||1)); }, //find element in collection and remove it remove:function(value){ this.removeAt(this.find(value)); }, //add element to collection at specific position insertAt:function(data,pos){ if (!pos && pos!==0) //add to the end by default this.push(data); else { var b = this.splice(pos,(this.length-pos)); this[pos] = data; this.push.apply(this,b); //reconstruct array without loosing this pointer } }, //return index of element, -1 if it doesn't exists find:function(data){ for (var i=0; i<this.length; i++) if (data==this[i]) return i; return -1; }, //execute some method for each element of array each:function(functor,master){ for (var i=0; i < this.length; i++) functor.call((master||this),this[i]); }, //create new array from source, by using results of functor map:function(functor,master){ for (var i=0; i < this.length; i++) this[i]=functor.call((master||this),this[i]); return this; }, filter:function(functor, master){ for (var i=0; i < this.length; i++) if (!functor.call((master||this),this[i])){ this.splice(i,1); i--; } return this; } }; dhx.env = {}; // dhx.env.transform // dhx.env.transition (function(){ if (navigator.userAgent.indexOf("Mobile")!=-1) dhx.env.mobile = true; if (dhx.env.mobile || navigator.userAgent.indexOf("iPad")!=-1 || navigator.userAgent.indexOf("Android")!=-1) dhx.env.touch = true; if (navigator.userAgent.indexOf('Opera')!=-1) dhx.env.isOpera=true; else{ //very rough detection, but it is enough for current goals dhx.env.isIE=!!document.all; dhx.env.isFF=!document.all; dhx.env.isWebKit=(navigator.userAgent.indexOf("KHTML")!=-1); dhx.env.isSafari=dhx.env.isWebKit && (navigator.userAgent.indexOf('Mac')!=-1); } if(navigator.userAgent.toLowerCase().indexOf("android")!=-1) dhx.env.isAndroid = true; dhx.env.transform = false; dhx.env.transition = false; var options = {}; options.names = ['transform', 'transition']; options.transform = ['transform', 'WebkitTransform', 'MozTransform', 'OTransform', 'msTransform']; options.transition = ['transition', 'WebkitTransition', 'MozTransition', 'OTransition', 'msTransition']; var d = document.createElement("DIV"); for(var i=0; i<options.names.length; i++) { var coll = options[options.names[i]]; for (var j=0; j < coll.length; j++) { if(typeof d.style[coll[j]] != 'undefined'){ dhx.env[options.names[i]] = coll[j]; break; } } } d.style[dhx.env.transform] = "translate3d(0,0,0)"; dhx.env.translate = (d.style[dhx.env.transform])?"translate3d":"translate"; var prefix = ''; // default option var cssprefix = false; if(dhx.env.isOpera){ prefix = '-o-'; cssprefix = "O"; } if(dhx.env.isFF) prefix = '-Moz-'; if(dhx.env.isWebKit) prefix = '-webkit-'; if(dhx.env.isIE) prefix = '-ms-'; dhx.env.transformCSSPrefix = prefix; dhx.env.transformPrefix = cssprefix||(dhx.env.transformCSSPrefix.replace(/-/gi, "")); dhx.env.transitionEnd = ((dhx.env.transformCSSPrefix == '-Moz-')?"transitionend":(dhx.env.transformPrefix+"TransitionEnd")); })(); dhx.env.svg = (function(){ return document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1"); })(); //html helpers dhx.html={ _native_on_selectstart:0, denySelect:function(){ if (!dhx._native_on_selectstart) dhx._native_on_selectstart = document.onselectstart; document.onselectstart = dhx.html.stopEvent; }, allowSelect:function(){ if (dhx._native_on_selectstart !== 0){ document.onselectstart = dhx._native_on_selectstart||null; } dhx._native_on_selectstart = 0; }, index:function(node){ var k=0; //must be =, it is not a comparation! /*jsl:ignore*/ while (node = node.previousSibling) k++; /*jsl:end*/ return k; }, _style_cache:{}, createCss:function(rule){ var text = ""; for (var key in rule) text+= key+":"+rule[key]+";"; var name = this._style_cache[text]; if (!name){ name = "s"+dhx.uid(); this.addStyle("."+name+"{"+text+"}"); this._style_cache[text] = name; } return name; }, addStyle:function(rule){ var style = document.createElement("style"); style.setAttribute("type", "text/css"); style.setAttribute("media", "screen"); /*IE8*/ if (style.styleSheet) style.styleSheet.cssText = rule; else style.appendChild(document.createTextNode(rule)); document.getElementsByTagName("head")[0].appendChild(style); }, create:function(name,attrs,html){ attrs = attrs || {}; var node = document.createElement(name); for (var attr_name in attrs) node.setAttribute(attr_name, attrs[attr_name]); if (attrs.style) node.style.cssText = attrs.style; if (attrs["class"]) node.className = attrs["class"]; if (html) node.innerHTML=html; return node; }, //return node value, different logic for different html elements getValue:function(node){ node = dhx.toNode(node); if (!node) return ""; return dhx.isUndefined(node.value)?node.innerHTML:node.value; }, //remove html node, can process an array of nodes at once remove:function(node){ if (node instanceof Array) for (var i=0; i < node.length; i++) this.remove(node[i]); else if (node && node.parentNode) node.parentNode.removeChild(node); }, //insert new node before sibling, or at the end if sibling doesn't exist insertBefore: function(node,before,rescue){ if (!node) return; if (before && before.parentNode) before.parentNode.insertBefore(node, before); else rescue.appendChild(node); }, //return custom ID from html element //will check all parents starting from event's target locate:function(e,id){ if (e.tagName) var trg = e; else { e=e||event; var trg=e.target||e.srcElement; } while (trg){ if (trg.getAttribute){ //text nodes has not getAttribute var test = trg.getAttribute(id); if (test) return test; } trg=trg.parentNode; } return null; }, //returns position of html element on the page offset:function(elem) { if (elem.getBoundingClientRect) { //HTML5 method var box = elem.getBoundingClientRect(); var body = document.body; var docElem = document.documentElement; var scrollTop = window.pageYOffset || docElem.scrollTop || body.scrollTop; var scrollLeft = window.pageXOffset || docElem.scrollLeft || body.scrollLeft; var clientTop = docElem.clientTop || body.clientTop || 0; var clientLeft = docElem.clientLeft || body.clientLeft || 0; var top = box.top + scrollTop - clientTop; var left = box.left + scrollLeft - clientLeft; return { y: Math.round(top), x: Math.round(left) }; } else { //fallback to naive approach var top=0, left=0; while(elem) { top = top + parseInt(elem.offsetTop,10); left = left + parseInt(elem.offsetLeft,10); elem = elem.offsetParent; } return {y: top, x: left}; } }, //returns relative position of event posRelative:function(ev){ ev = ev || event; if (!dhx.isUndefined(ev.offsetX)) return { x:ev.offsetX, y:ev.offsetY }; //ie, webkit else return { x:ev.layerX, y:ev.layerY }; //firefox }, //returns position of event pos:function(ev){ ev = ev || event; if(ev.pageX || ev.pageY) //FF, KHTML return {x:ev.pageX, y:ev.pageY}; //IE var d = ((dhx.env.isIE)&&(document.compatMode != "BackCompat"))?document.documentElement:document.body; return { x:ev.clientX + d.scrollLeft - d.clientLeft, y:ev.clientY + d.scrollTop - d.clientTop }; }, //prevent event action preventEvent:function(e){ if (e && e.preventDefault) e.preventDefault(); return dhx.html.stopEvent(e); }, //stop event bubbling stopEvent:function(e){ (e||event).cancelBubble=true; return false; }, //add css class to the node addCss:function(node,name){ node.className+=" "+name; }, //remove css class from the node removeCss:function(node,name){ node.className=node.className.replace(RegExp(" "+name,"g"),""); } }; dhx.ready = function(code){ if (this._ready) code.call(); else this._ready_code.push(code); }; dhx._ready_code = []; //autodetect codebase folder (function(){ var temp = document.getElementsByTagName("SCRIPT"); //current script, most probably dhx.assert(temp.length,"Can't locate codebase"); if (temp.length){ //full path to script temp = (temp[temp.length-1].getAttribute("src")||"").split("/"); //get folder name temp.splice(temp.length-1, 1); dhx.codebase = temp.slice(0, temp.length).join("/")+"/"; } dhx.event(window, "load", function(){ dhx4.callEvent("onReady",[]); dhx.delay(function(){ dhx._ready = true; for (var i=0; i < dhx._ready_code.length; i++) dhx._ready_code[i].call(); dhx._ready_code=[]; }); }); })(); dhx.locale=dhx.locale||{}; dhx.assert_core_ready(); dhx.ready(function(){ dhx.event(document.body,"click", function(e){ dhx4.callEvent("onClick",[e||event]); }); }); /*DHX:Depend core/bind.js*/ /*DHX:Depend core/dhx.js*/ /*DHX:Depend core/config.js*/ /* Behavior:Settings @export customize config */ /*DHX:Depend core/template.js*/ /* Template - handles html templates */ /*DHX:Depend core/dhx.js*/ (function(){ var _cache = {}; var newlines = new RegExp("(\\r\\n|\\n)","g"); var quotes = new RegExp("(\\\")","g"); dhx.Template = function(str){ if (typeof str == "function") return str; if (_cache[str]) return _cache[str]; str=(str||"").toString(); if (str.indexOf("->")!=-1){ str = str.split("->"); switch(str[0]){ case "html": //load from some container on the page str = dhx.html.getValue(str[1]); break; default: //do nothing, will use template as is break; } } //supported idioms // {obj.attr} => named attribute or value of sub-tag in case of xml str=(str||"").toString(); str=str.replace(newlines,"\\n"); str=str.replace(quotes,"\\\""); str=str.replace(/\{obj\.([^}?]+)\?([^:]*):([^}]*)\}/g,"\"+(obj.$1?\"$2\":\"$3\")+\""); str=str.replace(/\{common\.([^}\(]*)\}/g,"\"+(common.$1||'')+\""); str=str.replace(/\{common\.([^\}\(]*)\(\)\}/g,"\"+(common.$1?common.$1.apply(this, arguments):\"\")+\""); str=str.replace(/\{obj\.([^}]*)\}/g,"\"+(obj.$1)+\""); str=str.replace("{obj}","\"+obj+\""); str=str.replace(/#([^#'";, ]+)#/gi,"\"+(obj.$1)+\""); try { _cache[str] = Function("obj","common","return \""+str+"\";"); } catch(e){ dhx.assert_error("Invalid template:"+str); } return _cache[str]; }; dhx.Template.empty=function(){ return ""; }; dhx.Template.bind =function(value){ return dhx.bind(dhx.Template(value),this); }; /* adds new template-type obj - object to which template will be added data - properties of template */ dhx.Type=function(obj, data){ if (obj._dhx_proto_wait){ if (!obj._dhx_type_wait) obj._dhx_type_wait = []; obj._dhx_type_wait.push(data); return; } //auto switch to prototype, if name of class was provided if (typeof obj == "function") obj = obj.prototype; if (!obj.types){ obj.types = { "default" : obj.type }; obj.type.name = "default"; } var name = data.name; var type = obj.type; if (name) type = obj.types[name] = dhx.clone(data.baseType?obj.types[data.baseType]:obj.type); for(var key in data){ if (key.indexOf("template")===0) type[key] = dhx.Template(data[key]); else type[key]=data[key]; } return name; }; })(); /*DHX:Depend core/dhx.js*/ dhx.Settings={ $init:function(){ /* property can be accessed as this.config.some in same time for inner call it have sense to use _settings because it will be minified in final version */ this._settings = this.config= {}; }, define:function(property, value){ if (typeof property == "object") return this._parseSeetingColl(property); return this._define(property, value); }, _define:function(property,value){ //method with name {prop}_setter will be used as property setter //setter is optional var setter = this[property+"_setter"]; return this._settings[property]=setter?setter.call(this,value,property):value; }, //process configuration object _parseSeetingColl:function(coll){ if (coll){ for (var a in coll) //for each setting this._define(a,coll[a]); //set value through config } }, //helper for object initialization _parseSettings:function(obj,initial){ //initial - set of default values var settings = {}; if (initial) settings = dhx.extend(settings,initial); //code below will copy all properties over default one if (typeof obj == "object" && !obj.tagName) dhx.extend(settings,obj, true); //call config for each setting this._parseSeetingColl(settings); }, _mergeSettings:function(config, defaults){ for (var key in defaults) switch(typeof config[key]){ case "object": config[key] = this._mergeSettings((config[key]||{}), defaults[key]); break; case "undefined": config[key] = defaults[key]; break; default: //do nothing break; } return config; }, debug_freid_c_id:true, debug_freid_a_name:true }; /*DHX:Depend core/datastore.js*/ /*DHX:Depend core/load.js*/ /* ajax operations can be used for direct loading as dhx.ajax(ulr, callback) or dhx.ajax().item(url) dhx.ajax().post(url) */ /*DHX:Depend core/dhx.js*/ dhx.ajax = function(url,call,master){ //if parameters was provided - made fast call if (arguments.length!==0){ var http_request = new dhx.ajax(); if (master) http_request.master=master; return http_request.get(url,null,call); } if (!this.getXHR) return new dhx.ajax(); //allow to create new instance without direct new declaration return this; }; dhx.ajax.count = 0; dhx.ajax.prototype={ master:null, //creates xmlHTTP object getXHR:function(){ if (dhx.env.isIE) return new ActiveXObject("Microsoft.xmlHTTP"); else return new XMLHttpRequest(); }, /* send data to the server params - hash of properties which will be added to the url call - callback, can be an array of functions */ send:function(url,params,call){ var x=this.getXHR(); if (!dhx.isArray(call)) call = [call]; //add extra params to the url if (typeof params == "object"){ var t=[]; for (var a in params){ var value = params[a]; if (value === null || value === dhx.undefined) value = ""; t.push(a+"="+encodeURIComponent(value));// utf-8 escaping } params=t.join("&"); } if (params && this.request==='GET'){ url=url+(url.indexOf("?")!=-1 ? "&" : "?")+params; params=null; } x.open(this.request,url,!this._sync); if (this.request === 'POST') x.setRequestHeader('Content-type','application/x-www-form-urlencoded'); //async mode, define loading callback var self=this; x.onreadystatechange= function(){ if (!x.readyState || x.readyState == 4){ if (dhx.debug_time) dhx.log_full_time("data_loading"); //log rendering time dhx.ajax.count++; if (call && self){ for (var i=0; i < call.length; i++) //there can be multiple callbacks if (call[i]){ var method = (call[i].success||call[i]); if (x.status >= 400 || (!x.status && !x.responseText)) method = call[i].error; if (method) method.call((self.master||self),x.responseText,x.responseXML,x); } } if (self) self.master=null; call=self=null; //anti-leak } }; x.send(params||null); return x; //return XHR, which can be used in case of sync. mode }, //GET request get:function(url,params,call){ if (arguments.length == 2){ call = params; params = null; } this.request='GET'; return this.send(url,params,call); }, //POST request post:function(url,params,call){ this.request='POST'; return this.send(url,params,call); }, //PUT request put:function(url,params,call){ this.request='PUT'; return this.send(url,params,call); }, //POST request del:function(url,params,call){ this.request='DELETE'; return this.send(url,params,call); }, sync:function(){ this._sync = true; return this; }, bind:function(master){ this.master = master; return this; } }; /*submits values*/ dhx.send = function(url, values, method, target){ var form = dhx.html.create("FORM",{ "target":(target||"_self"), "action":url, "method":(method||"POST") },""); for (var k in values) { var field = dhx.html.create("INPUT",{"type":"hidden","name": k,"value": values[k]},""); form.appendChild(field); } form.style.display = "none"; document.body.appendChild(form); form.submit(); document.body.removeChild(form); }; dhx.AtomDataLoader={ $init:function(config){ //prepare data store this.data = {}; if (config){ this._settings.datatype = config.datatype||"json"; this.$ready.push(this._load_when_ready); } }, _load_when_ready:function(){ this._ready_for_data = true; if (this._settings.url) this.url_setter(this._settings.url); if (this._settings.data) this.data_setter(this._settings.data); }, url_setter:function(value){ if (!this._ready_for_data) return value; this.load(value, this._settings.datatype); return value; }, data_setter:function(value){ if (!this._ready_for_data) return value; this.parse(value, this._settings.datatype); return true; }, debug_freid_c_datatype:true, debug_freid_c_dataFeed:true, //loads data from external URL load:function(url,call){ if (url.$proxy) { url.load(this, typeof call == "string" ? call : "json"); return; } this.callEvent("onXLS",[]); if (typeof call == "string"){ //second parameter can be a loading type or callback //we are not using setDriver as data may be a non-datastore here this.data.driver = dhx.DataDriver[call]; call = arguments[2]; } else if (!this.data.driver) this.data.driver = dhx.DataDriver.json; //load data by async ajax call //loading_key - can be set by component, to ignore data from old async requests var callback = [{ success: this._onLoad, error: this._onLoadError }]; if (call){ if (dhx.isArray(call)) callback.push.apply(callback,call); else callback.push(call); } return dhx.ajax(url,callback,this); }, //loads data from object parse:function(data,type){ this.callEvent("onXLS",[]); this.data.driver = dhx.DataDriver[type||"json"]; this._onLoad(data,null); }, //default after loading callback _onLoad:function(text,xml,loader,key){ var driver = this.data.driver; var data = driver.toObject(text,xml); if (data){ var top = driver.getRecords(data)[0]; this.data=(driver?driver.getDetails(top):text); } else this._onLoadError(text,xml,loader); this.callEvent("onXLE",[]); }, _onLoadError:function(text, xml, xhttp){ this.callEvent("onXLE",[]); this.callEvent("onLoadError",arguments); dhx4.callEvent("onLoadError", [text, xml, xhttp, this]); }, _check_data_feed:function(data){ if (!this._settings.dataFeed || this._ignore_feed || !data) return true; var url = this._settings.dataFeed; if (typeof url == "function") return url.call(this, (data.id||data), data); url = url+(url.indexOf("?")==-1?"?":"&")+"action=get&id="+encodeURIComponent(data.id||data); this.callEvent("onXLS",[]); dhx.ajax(url, function(text,xml,loader){ this._ignore_feed=true; var data = dhx.DataDriver.toObject(text, xml); if (data) this.setValues(data.getDetails(data.getRecords()[0])); else this._onLoadError(text,xml,loader); this._ignore_feed=false; this.callEvent("onXLE",[]); }, this); return false; } }; /* Abstraction layer for different data types */ dhx.DataDriver={}; dhx.DataDriver.json={ //convert json string to json object if necessary toObject:function(data){ if (!data) data="[]"; if (typeof data == "string"){ try{ eval ("dhx.temp="+data); } catch(e){ dhx.assert_error(e); return null; } data = dhx.temp; } if (data.data){ var t = data.data.config = {}; for (var key in data) if (key!="data") t[key] = data[key]; data = data.data; } return data; }, //get array of records getRecords:function(data){ if (data && !dhx.isArray(data)) return [data]; return data; }, //get hash of properties for single record getDetails:function(data){ if (typeof data == "string") return { id:dhx.uid(), value:data }; return data; }, //get count of data and position at which new data need to be inserted getInfo:function(data){ var cfg = data.config; if (!cfg) return {}; return { _size:(cfg.total_count||0), _from:(cfg.pos||0), _parent:(cfg.parent||0), _config:(cfg.config), _key:(cfg.dhx_security) }; }, child:"data" }; dhx.DataDriver.html={ /* incoming data can be - collection of nodes - ID of parent container - HTML text */ toObject:function(data){ if (typeof data == "string"){ var t=null; if (data.indexOf("<")==-1) //if no tags inside - probably its an ID t = dhx.toNode(data); if (!t){ t=document.createElement("DIV"); t.innerHTML = data; } return t.getElementsByTagName(this.tag); } return data; }, //get array of records getRecords:function(node){ var data = []; for (var i=0; i<node.childNodes.length; i++){ var child = node.childNodes[i]; if (child.nodeType == 1) data.push(child); } return data; }, //get hash of properties for single record getDetails:function(data){ return dhx.DataDriver.xml.tagToObject(data); }, //dyn loading is not supported by HTML data source getInfo:function(data){ return { _size:0, _from:0 }; }, tag: "LI" }; dhx.DataDriver.jsarray={ //eval jsarray string to jsarray object if necessary toObject:function(data){ if (typeof data == "string"){ eval ("dhx.temp="+data); return dhx.temp; } return data; }, //get array of records getRecords:function(data){ return data; }, //get hash of properties for single record, in case of array they will have names as "data{index}" getDetails:function(data){ var result = {}; for (var i=0; i < data.length; i++) result["data"+i]=data[i]; return result; }, //dyn loading is not supported by js-array data source getInfo:function(data){ return { _size:0, _from:0 }; } }; dhx.DataDriver.csv={ //incoming data always a string toObject:function(data){ return data; }, //get array of records getRecords:function(data){ return data.split(this.row); }, //get hash of properties for single record, data named as "data{index}" getDetails:function(data){ data = this.stringToArray(data); var result = {}; for (var i=0; i < data.length; i++) result["data"+i]=data[i]; return result; }, //dyn loading is not supported by csv data source getInfo:function(data){ return { _size:0, _from:0 }; }, //split string in array, takes string surrounding quotes in account stringToArray:function(data){ data = data.split(this.cell); for (var i=0; i < data.length; i++) data[i] = data[i].replace(/^[ \t\n\r]*(\"|)/g,"").replace(/(\"|)[ \t\n\r]*$/g,""); return data; }, row:"\n", //default row separator cell:"," //default cell separator }; dhx.DataDriver.xml={ _isValidXML:function(data){ if (!data || !data.documentElement) return null; if (data.getElementsByTagName("parsererror").length) return null; return data; }, //convert xml string to xml object if necessary toObject:function(text,xml){ if (this._isValidXML(data)) return data; if (typeof text == "string") var data = this.fromString(text.replace(/^[\s]+/,"")); else data = text; if (this._isValidXML(data)) return data; return null; }, //get array of records getRecords:function(data){ return this.xpath(data,this.records); }, records:"/*/item", child:"item", config:"/*/config", //get hash of properties for single record getDetails:function(data){ return this.tagToObject(data,{}); }, //get count of data and position at which new data_loading need to be inserted getInfo:function(data){ var config = this.xpath(data, this.config); if (config.length) config = this.assignTypes(this.tagToObject(config[0],{})); else config = null; return { _size:(data.documentElement.getAttribute("total_count")||0), _from:(data.documentElement.getAttribute("pos")||0), _parent:(data.documentElement.getAttribute("parent")||0), _config:config, _key:(data.documentElement.getAttribute("dhx_security")||null) }; }, //xpath helper xpath:function(xml,path){ if (window.XPathResult){ //FF, KHTML, Opera var node=xml; if(xml.nodeName.indexOf("document")==-1) xml=xml.ownerDocument; var res = []; var col = xml.evaluate(path, node, null, XPathResult.ANY_TYPE, null); var temp = col.iterateNext(); while (temp){ res.push(temp); temp = col.iterateNext(); } return res; } else { var test = true; try { if (typeof(xml.selectNodes)=="undefined") test = false; } catch(e){ /*IE7 and below can't operate with xml object*/ } //IE if (test) return xml.selectNodes(path); else { //Google hate us, there is no interface to do XPath //use naive approach var name = path.split("/").pop(); return xml.getElementsByTagName(name); } } }, assignTypes:function(obj){ for (var k in obj){ var test = obj[k]; if (typeof test == "object") this.assignTypes(test); else if (typeof test == "string"){ if (test === "") continue; if (test == "true") obj[k] = true; else if (test == "false") obj[k] = false; else if (test == test*1) obj[k] = obj[k]*1; } } return obj; }, //convert xml tag to js object, all subtags and attributes are mapped to the properties of result object tagToObject:function(tag,z){ z=z||{}; var flag=false; //map attributes var a=tag.attributes; if(a && a.length){ for (var i=0; i<a.length; i++) z[a[i].name]=a[i].value; flag = true; } //map subtags var b=tag.childNodes; var state = {}; for (var i=0; i<b.length; i++){ if (b[i].nodeType==1){ var name = b[i].tagName; if (typeof z[name] != "undefined"){ if (!dhx.isArray(z[name])) z[name]=[z[name]]; z[name].push(this.tagToObject(b[i],{})); } else z[b[i].tagName]=this.tagToObject(b[i],{}); //sub-object for complex subtags flag=true; } } if (!flag) return this.nodeValue(tag); //each object will have its text content as "value" property z.value = z.value||this.nodeValue(tag); return z; }, //get value of xml node nodeValue:function(node){ if (node.firstChild) return node.firstChild.data; //FIXME - long text nodes in FF not supported for now return ""; }, //convert XML string to XML object fromString:function(xmlString){ try{ if (window.DOMParser) // FF, KHTML, Opera return (new DOMParser()).parseFromString(xmlString,"text/xml"); if (window.ActiveXObject){ // IE, utf-8 only var temp=new ActiveXObject("Microsoft.xmlDOM"); temp.loadXML(xmlString); return temp; } } catch(e){ dhx.assert_error(e); return null; } dhx.assert_error("Load from xml string is not supported"); } }; /*DHX:Depend core/dhx.js*/ /* Behavior:DataLoader - load data in the component @export load parse */ dhx.DataLoader=dhx.proto({ $init:function(config){ //prepare data store config = config || ""; //list of all active ajax requests this._ajax_queue = dhx.toArray(); this.data = new dhx.DataStore(); this.data.attachEvent("onClearAll",dhx.bind(this._call_onclearall,this)); this.data.attachEvent("onServerConfig", dhx.bind(this._call_on_config, this)); this.data.feed = this._feed; }, _feed:function(from,count,callback){ //allow only single request at same time if (this._load_count) return this._load_count=[from,count,callback]; //save last ignored request else this._load_count=true; this._feed_last = [from, count]; this._feed_common.call(this, from, count, callback); }, _feed_common:function(from, count, callback){ var url = this.data.url; if (from<0) from = 0; this.load(url+((url.indexOf("?")==-1)?"?":"&")+(this.dataCount()?("continue=true&"):"")+"start="+from+"&count="+count,[ this._feed_callback, callback ]); }, _feed_callback:function(){ //after loading check if we have some ignored requests var temp = this._load_count; var last = this._feed_last; this._load_count = false; if (typeof temp =="object" && (temp[0]!=last[0] || temp[1]!=last[1])) this.data.feed.apply(this, temp); //load last ignored request }, //loads data from external URL load:function(url,call){ var ajax = dhx.AtomDataLoader.load.apply(this, arguments); this._ajax_queue.push(ajax); //prepare data feed for dyn. loading if (!this.data.url) this.data.url = url; }, //load next set of data rows loadNext:function(count, start, callback, url, now){ if (this._settings.datathrottle && !now){ if (this._throttle_request) window.clearTimeout(this._throttle_request); this._throttle_request = dhx.delay(function(){ this.loadNext(count, start, callback, url, true); },this, 0, this._settings.datathrottle); return; } if (!start && start !== 0) start = this.dataCount(); this.data.url = this.data.url || url; if (this.callEvent("onDataRequest", [start,count,callback,url]) && this.data.url) this.data.feed.call(this, start, count, callback); }, _maybe_loading_already:function(count, from){ var last = this._feed_last; if(this._load_count && last){ if (last[0]<=from && (last[1]+last[0] >= count + from )) return true; } return false; }, //default after loading callback _onLoad:function(text,xml,loader){ //ignore data loading command if data was reloaded this._ajax_queue.remove(loader); var data = this.data.driver.toObject(text,xml); if (data) this.data._parse(data); else return this._onLoadError(text, xml, loader); //data loaded, view rendered, call onready handler this._call_onready(); this.callEvent("onXLE",[]); }, removeMissed_setter:function(value){ return this.data._removeMissed = value; }, scheme_setter:function(value){ this.data.scheme(value); }, dataFeed_setter:function(value){ this.data.attachEvent("onBeforeFilter", dhx.bind(function(text, value){ if (this._settings.dataFeed){ var filter = {}; if (!text && !value) return; if (typeof text == "function"){ if (!value) return; text(value, filter); } else filter = { text:value }; this.clearAll(); var url = this._settings.dataFeed; var urldata = []; if (typeof url == "function") return url.call(this, value, filter); for (var key in filter) urldata.push("dhx_filter["+key+"]="+encodeURIComponent(filter[key])); this.load(url+(url.indexOf("?")<0?"?":"&")+urldata.join("&"), this._settings.datatype); return false; } },this)); return value; }, debug_freid_c_ready:true, debug_freid_c_datathrottle:true, _call_onready:function(){ if (this._settings.ready && !this._ready_was_used){ var code = dhx.toFunctor(this._settings.ready); if (code) dhx.delay(code, this, arguments); this._ready_was_used = true; } }, _call_onclearall:function(){ for (var i = 0; i < this._ajax_queue.length; i++) this._ajax_queue[i].abort(); this._ajax_queue = dhx.toArray(); }, _call_on_config:function(config){ this._parseSeetingColl(config); } },dhx.AtomDataLoader); /* DataStore is not a behavior, it standalone object, which represents collection of data. Call provideAPI to map data API @export exists idByIndex indexById get set refresh dataCount sort filter next previous clearAll first last */ dhx.DataStore = function(){ this.name = "DataStore"; dhx.extend(this, dhx.EventSystem); this.setDriver("json"); //default data source is an this.pull = {}; //hash of IDs this.order = dhx.toArray(); //order of IDs this._marks = {}; }; dhx.DataStore.prototype={ //defines type of used data driver //data driver is an abstraction other different data formats - xml, json, csv, etc. setDriver:function(type){ dhx.assert(dhx.DataDriver[type],"incorrect DataDriver"); this.driver = dhx.DataDriver[type]; }, //process incoming raw data _parse:function(data,master){ this.callEvent("onParse", [this.driver, data]); if (this._filter_order) this.filter(); //get size and position of data var info = this.driver.getInfo(data); if (info._key) dhx.securityKey = info._key; if (info._config) this.callEvent("onServerConfig",[info._config]); //get array of records var recs = this.driver.getRecords(data); this._inner_parse(info, recs); //in case of tree store we may want to group data if (this._scheme_group && this._group_processing) this._group_processing(this._scheme_group); //optional data sorting if (this._scheme_sort){ this.blockEvent(); this.sort(this._scheme_sort); this.unblockEvent(); } this.callEvent("onStoreLoad",[this.driver, data]); //repaint self after data loading this.refresh(); }, _inner_parse:function(info, recs){ var from = (info._from||0)*1; var subload = true; var marks = false; if (from === 0 && this.order[0]){ //update mode if (this._removeMissed){ //update mode, create kill list marks = {}; for (var i=0; i<this.order.length; i++) marks[this.order[i]]=true; } subload = false; from = this.order.length; } var j=0; for (var i=0; i<recs.length; i++){ //get hash of details for each record var temp = this.driver.getDetails(recs[i]); var id = this.id(temp); //generate ID for the record if (!this.pull[id]){ //if such ID already exists - update instead of insert this.order[j+from]=id; j++; } else if (subload && this.order[j+from]) j++; if(this.pull[id]){ dhx.extend(this.pull[id],temp,true);//add only new properties if (this._scheme_update) this._scheme_update(this.pull[id]); //update mode, remove item from kill list if (marks) delete marks[id]; } else{ this.pull[id] = temp; if (this._scheme_init) this._scheme_init(temp); } } //update mode, delete items which are not existing in the new xml if (marks){ this.blockEvent(); for (var delid in marks) this.remove(delid); this.unblockEvent(); } if (!this.order[info._size-1]) this.order[info._size-1] = dhx.undefined; }, //generate id for data object id:function(data){ return data.id||(data.id=dhx.uid()); }, changeId:function(old, newid){ //dhx.assert(this.pull[old],"Can't change id, for non existing item: "+old); if(this.pull[old]) this.pull[newid] = this.pull[old]; this.pull[newid].id = newid; this.order[this.order.find(old)]=newid; if (this._filter_order) this._filter_order[this._filter_order.find(old)]=newid; if (this._marks[old]){ this._marks[newid] = this._marks[old]; delete this._marks[old]; } this.callEvent("onIdChange", [old, newid]); if (this._render_change_id) this._render_change_id(old, newid); delete this.pull[old]; }, //get data from hash by id item:function(id){ return this.pull[id]; }, //assigns data by id update:function(id,data){ if (dhx.isUndefined(data)) data = this.item(id); if (this._scheme_update) this._scheme_update(data); if (this.callEvent("onBeforeUpdate", [id, data]) === false) return false; this.pull[id]=data; this.callEvent("onStoreUpdated",[id, data, "update"]); }, //sends repainting signal refresh:function(id){ if (this._skip_refresh) return; if (id) this.callEvent("onStoreUpdated",[id, this.pull[id], "paint"]); else this.callEvent("onStoreUpdated",[null,null,null]); }, silent:function(code, master){ this._skip_refresh = true; code.call(master||this); this._skip_refresh = false; }, //converts range IDs to array of all IDs between them getRange:function(from,to){ //if some point is not defined - use first or last id //BEWARE - do not use empty or null ID if (from) from = this.indexById(from); else from = (this.$min||this.startOffset)||0; if (to) to = this.indexById(to); else { to = Math.min(((this.$max||this.endOffset)||Infinity),(this.dataCount()-1)); if (to<0) to = 0; //we have not data in the store } if (from>to){ //can be in case of backward shift-selection var a=to; to=from; from=a; } return this.getIndexRange(from,to); }, //converts range of indexes to array of all IDs between them getIndexRange:function(from,to){ to=Math.min((to||Infinity),this.dataCount()-1); var ret=dhx.toArray(); //result of method is rich-array for (var i=(from||0); i <= to; i++) ret.push(this.item(this.order[i])); return ret; }, //returns total count of elements dataCount:function(){ return this.order.length; }, //returns truy if item with such ID exists exists:function(id){ return !!(this.pull[id]); }, //nextmethod is not visible on component level, check DataMove.move //moves item from source index to the target index move:function(sindex,tindex){ dhx.assert(sindex>=0 && tindex>=0, "DataStore::move","Incorrect indexes"); var id = this.idByIndex(sindex); var obj = this.item(id); this.order.removeAt(sindex); //remove at old position //if (sindex<tindex) tindex--; //correct shift, caused by element removing this.order.insertAt(id,Math.min(this.order.length, tindex)); //insert at new position //repaint signal this.callEvent("onStoreUpdated",[id,obj,"move"]); }, scheme:function(config){ this._scheme = {}; this._scheme_init = config.$init; this._scheme_update = config.$update; this._scheme_serialize = config.$serialize; this._scheme_group = config.$group; this._scheme_sort = config.$sort; //ignore $-starting properties, as they have special meaning for (var key in config) if (key.substr(0,1) != "$") this._scheme[key] = config[key]; }, sync:function(source, filter, silent){ if (typeof source == "string") source = $$("source"); if (typeof filter != "function"){ silent = filter; filter = null; } if (dhx.debug_bind){ this.debug_sync_master = source; dhx.log("[sync] "+this.debug_bind_master.name+"@"+this.debug_bind_master._settings.id+" <= "+this.debug_sync_master.name+"@"+this.debug_sync_master._settings.id); } this._backbone_source = false; if (source.name != "DataStore"){ if (source.data && source.data.name == "DataStore") source = source.data; else this._backbone_source = true; } var sync_logic = dhx.bind(function(mode, record, data){ if (this._backbone_source){ //ignore first call for backbone sync if (!mode) return; //data changing if (mode.indexOf("change") === 0){ if (mode == "change"){ this.pull[record.id] = record.attributes; this.refresh(record.id); return; } else return; //ignoring property change event } //we need to access global model, it has different position for different events if (mode == "reset") data = record; //fill data collections from backbone model this.order = []; this.pull = {}; this._filter_order = null; for (var i=0; i<data.models.length; i++){ var id = data.models[i].id; this.order.push(id); this.pull[id] = data.models[i].attributes; } } else { this._filter_order = null; this.order = dhx.toArray([].concat(source.order)); this.pull = source.pull; } if (filter) this.silent(filter); if (this._on_sync) this._on_sync(); if (dhx.debug_bind) dhx.log("[sync:request] "+this.debug_sync_master.name+"@"+this.debug_sync_master._settings.id + " <= "+this.debug_bind_master.name+"@"+this.debug_bind_master._settings.id); this.callEvent("onSyncApply",[]); if (!silent) this.refresh(); else silent = false; }, this); if (this._backbone_source) source.bind('all', sync_logic); else this._sync_events = [ source.attachEvent("onStoreUpdated", sync_logic), source.attachEvent("onIdChange", dhx.bind(function(old, nid){ this.changeId(old, nid); }, this)) ]; sync_logic(); }, //adds item to the store add:function(obj,index){ //default values if (this._scheme) for (var key in this._scheme) if (dhx.isUndefined(obj[key])) obj[key] = this._scheme[key]; if (this._scheme_init) this._scheme_init(obj); //generate id for the item var id = this.id(obj); //in case of treetable order is sent as 3rd parameter var order = arguments[2]||this.order; //by default item is added to the end of the list var data_size = order.length; if (dhx.isUndefined(index) || index < 0) index = data_size; //check to prevent too big indexes if (index > data_size){ dhx.log("Warning","DataStore:add","Index of out of bounds"); index = Math.min(order.length,index); } if (this.callEvent("onBeforeAdd", [id, obj, index]) === false) return false; dhx.assert(!this.exists(id), "Not unique ID"); this.pull[id]=obj; order.insertAt(id,index); if (this._filter_order){ //adding during filtering //we can't know the location of new item in full dataset, making suggestion //put at end by default var original_index = this._filter_order.length; //put at start only if adding to the start and some data exists if (!index && this.order.length) original_index = 0; this._filter_order.insertAt(id,original_index); } this.callEvent("onAfterAdd",[id,index]); //repaint signal this.callEvent("onStoreUpdated",[id,obj,"add"]); return id; }, //removes element from datastore remove:function(id){ //id can be an array of IDs - result of getSelect, for example if (dhx.isArray(id)){ for (var i=0; i < id.length; i++) this.remove(id[i]); return; } if (this.callEvent("onBeforeDelete",[id]) === false) return false; dhx.assert(this.exists(id), "Not existing ID in remove command"+id); var obj = this.item(id); //save for later event //clear from collections this.order.remove(id); if (this._filter_order) this._filter_order.remove(id); delete this.pull[id]; if (this._marks[id]) delete this._marks[id]; this.callEvent("onAfterDelete",[id]); //repaint signal this.callEvent("onStoreUpdated",[id,obj,"delete"]); }, //deletes all records in datastore clearAll:function(){ //instead of deleting one by one - just reset inner collections this.pull = {}; this.order = dhx.toArray(); //this.feed = null; this._filter_order = this.url = null; this.callEvent("onClearAll",[]); this.refresh(); }, //converts id to index idByIndex:function(index){ if (index>=this.order.length || index<0) dhx.log("Warning","DataStore::idByIndex Incorrect index"); return this.order[index]; }, //converts index to id indexById:function(id){ var res = this.order.find(id); //slower than idByIndex if (!this.pull[id]) dhx.log("Warning","DataStore::indexById Non-existing ID: "+ id); return res; }, //returns ID of next element next:function(id,step){ return this.order[this.indexById(id)+(step||1)]; }, //returns ID of first element first:function(){ return this.order[0]; }, //returns ID of last element last:function(){ return this.order[this.order.length-1]; }, //returns ID of previous element previous:function(id,step){ return this.order[this.indexById(id)-(step||1)]; }, /* sort data in collection by - settings of sorting or by - sorting function dir - "asc" or "desc" or by - property dir - "asc" or "desc" as - type of sortings Sorting function will accept 2 parameters and must return 1,0,-1, based on desired order */ sort:function(by, dir, as){ var sort = by; if (typeof by == "function") sort = {as:by, dir:dir}; else if (typeof by == "string") sort = {by:by.replace(/#/g,""), dir:dir, as:as}; var parameters = [sort.by, sort.dir, sort.as]; if (!this.callEvent("onBeforeSort",parameters)) return; this._sort_core(sort); //repaint self this.refresh(); this.callEvent("onAfterSort",parameters); }, _sort_core:function(sort){ if (this.order.length){ var sorter = this._sort._create(sort); //get array of IDs var neworder = this.getRange(this.first(), this.last()); neworder.sort(sorter); this.order = neworder.map(function(obj){ dhx.assert(obj, "Client sorting can't be used with dynamic loading"); return this.id(obj); },this); } }, /* Filter datasource text - property, by which filter value - filter mask or text - filter method Filter method will receive data object and must return true or false */ _filter_reset:function(preserve){ //remove previous filtering , if any if (this._filter_order && !preserve){ this.order = this._filter_order; delete this._filter_order; } }, _filter_core:function(filter, value, preserve){ var neworder = dhx.toArray(); for (var i=0; i < this.order.length; i++){ var id = this.order[i]; if (filter(this.item(id),value)) neworder.push(id); } //set new order of items, store original if (!preserve || !this._filter_order) this._filter_order = this.order; this.order = neworder; }, filter:function(text,value,preserve){ if (!this.callEvent("onBeforeFilter", [text, value])) return; this._filter_reset(preserve); if (!this.order.length) return; //if text not define -just unfilter previous state and exit if (text){ var filter = text; value = value||""; if (typeof text == "string"){ text = text.replace(/#/g,""); if (typeof value == "function") filter = function(obj){ return value(obj[text]); }; else{ value = value.toString().toLowerCase(); filter = function(obj,value){ //default filter - string start from, case in-sensitive dhx.assert(obj, "Client side filtering can't be used with dynamic loading"); return (obj[text]||"").toString().toLowerCase().indexOf(value)!=-1; }; } } this._filter_core(filter, value, preserve, this._filterMode); } //repaint self this.refresh(); this.callEvent("onAfterFilter", []); }, /* Iterate through collection */ each:function(method,master){ for (var i=0; i<this.order.length; i++) method.call((master||this), this.item(this.order[i])); }, _methodPush:function(object,method){ return function(){ return object[method].apply(object,arguments); }; }, addMark:function(id, mark, css, value){ var obj = this._marks[id]||{}; this._marks[id] = obj; if (!obj[mark]){ obj[mark] = value||true; if (css){ this.item(id).$css = (this.item(id).$css||"")+" "+mark; this.refresh(id); } } return obj[mark]; }, removeMark:function(id, mark, css){ var obj = this._marks[id]; if (obj && obj[mark]) delete obj[mark]; if (css){ var current_css = this.item(id).$css; if (current_css){ this.item(id).$css = current_css.replace(mark, ""); this.refresh(id); } } }, hasMark:function(id, mark){ var obj = this._marks[id]; return (obj && obj[mark]); }, /* map inner methods to some distant object */ provideApi:function(target,eventable){ this.debug_bind_master = target; if (eventable){ this.mapEvent({ onbeforesort: target, onaftersort: target, onbeforeadd: target, onafteradd: target, onbeforedelete: target, onafterdelete: target, onbeforeupdate: target/*, onafterfilter: target, onbeforefilter: target*/ }); } var list = ["sort","add","remove","exists","idByIndex","indexById","item","update","refresh","dataCount","filter","next","previous","clearAll","first","last","serialize","sync","addMark","removeMark","hasMark"]; for (var i=0; i < list.length; i++) target[list[i]] = this._methodPush(this,list[i]); }, /* serializes data to a json object */ serialize: function(){ var ids = this.order; var result = []; for(var i=0; i< ids.length;i++) { var el = this.pull[ids[i]]; if (this._scheme_serialize){ el = this._scheme_serialize(el); if (el===false) continue; } result.push(el); } return result; }, _sort:{ _create:function(config){ return this._dir(config.dir, this._by(config.by, config.as)); }, _as:{ "date":function(a,b){ a=a-0; b=b-0; return a>b?1:(a<b?-1:0); }, "int":function(a,b){ a = a*1; b=b*1; return a>b?1:(a<b?-1:0); }, "string_strict":function(a,b){ a = a.toString(); b=b.toString(); return a>b?1:(a<b?-1:0); }, "string":function(a,b){ if (!b) return 1; if (!a) return -1; a = a.toString().toLowerCase(); b=b.toString().toLowerCase(); return a>b?1:(a<b?-1:0); } }, _by:function(prop, method){ if (!prop) return method; if (typeof method != "function") method = this._as[method||"string"]; dhx.assert(method, "Invalid sorting method"); return function(a,b){ return method(a[prop],b[prop]); }; }, _dir:function(prop, method){ if (prop == "asc" || !prop) return method; return function(a,b){ return method(a,b)*-1; }; } } }; //UI interface dhx.BaseBind = { debug_freid_ignore:{ "id":true }, bind:function(target, rule, format){ if (typeof target == 'string') target = dhx.ui.get(target); if (target._initBindSource) target._initBindSource(); if (this._initBindSource) this._initBindSource(); if (!target.getBindData) dhx.extend(target, dhx.BindSource); if (!this._bind_ready){ var old_render = this.render; if (this.filter){ var key = this._settings.id; this.data._on_sync = function(){ target._bind_updated[key] = false; }; } this.render = function(){ if (this._in_bind_processing) return; this._in_bind_processing = true; var result = this.callEvent("onBindRequest"); this._in_bind_processing = false; return old_render.apply(this, ((result === false)?arguments:[])); }; if (this.getValue||this.getValues) this.save = function(){ if (this.validate && !this.validate()) return; target.setBindData((this.getValue?this.getValue:this.getValues()),this._settings.id); }; this._bind_ready = true; } target.addBind(this._settings.id, rule, format); if (dhx.debug_bind) dhx.log("[bind] "+this.name+"@"+this._settings.id+" <= "+target.name+"@"+target._settings.id); var target_id = this._settings.id; //FIXME - check for touchable is not the best solution, to detect necessary event this.attachEvent(this.touchable?"onAfterRender":"onBindRequest", function(){ return target.getBindData(target_id); }); //we want to refresh list after data loading if it has master link //in same time we do not want such operation for dataFeed components //as they are reloading data as response to the master link if (!this._settings.dataFeed && this.loadNext) this.data.attachEvent("onStoreLoad", function(){ target._bind_updated[target_id] = false; }); if (this.isVisible(this._settings.id)) this.refresh(); }, unbind:function(target){ return this._unbind(target); }, _unbind:function(target){ target.removeBind(this._settings.id); var events = (this._sync_events||(this.data?this.data._sync_events:0)); if (events && target.data) for (var i=0; i<events.length; i++) target.data.detachEvent(events[i]); } }; //bind interface dhx.BindSource = { $init:function(){ this._bind_hash = {}; //rules per target this._bind_updated = {}; //update flags this._ignore_binds = {}; //apply specific bind extension this._bind_specific_rules(this); }, saveBatch:function(code){ this._do_not_update_binds = true; code.call(this); this._do_not_update_binds = false; this._update_binds(); }, setBindData:function(data, key){ if (key) this._ignore_binds[key] = true; if (dhx.debug_bind) dhx.log("[bind:save] "+this.name+"@"+this._settings.id+" <= "+"@"+key); if (this.setValue) this.setValue(data); else if (this.setValues) this.setValues(data); else { var id = this.getCursor(); if (id){ data = dhx.extend(this.item(id), data, true); this.update(id, data); } } this.callEvent("onBindUpdate", [data, key, id]); if (this.save) this.save(); if (key) this._ignore_binds[key] = false; }, //fill target with data getBindData:function(key, update){ //fire only if we have data updates from the last time if (this._bind_updated[key]) return false; var target = dhx.ui.get(key); //fill target only when it visible if (target.isVisible(target._settings.id)){ this._bind_updated[key] = true; if (dhx.debug_bind) dhx.log("[bind:request] "+this.name+"@"+this._settings.id+" => "+target.name+"@"+target._settings.id); this._bind_update(target, this._bind_hash[key][0], this._bind_hash[key][1]); //trigger component specific updating logic if (update && target.filter) target.refresh(); } }, //add one more bind target addBind:function(source, rule, format){ this._bind_hash[source] = [rule, format]; }, removeBind:function(source){ delete this._bind_hash[source]; delete this._bind_updated[source]; delete this._ignore_binds[source]; }, //returns true if object belong to "collection" type _bind_specific_rules:function(obj){ if (obj.filter) dhx.extend(this, dhx.CollectionBind); else if (obj.setValue) dhx.extend(this, dhx.ValueBind); else dhx.extend(this, dhx.RecordBind); }, //inform all binded objects, that source data was updated _update_binds:function(){ if (!this._do_not_update_binds) for (var key in this._bind_hash){ if (this._ignore_binds[key]) continue; this._bind_updated[key] = false; this.getBindData(key, true); } }, //copy data from source to the target _bind_update_common:function(target, rule, data){ if (target.setValue) target.setValue(data?data[rule]:data); else if (!target.filter){ if (!data && target.clear) target.clear(); else { if (target._check_data_feed(data)) target.setValues(dhx.clone(data)); } } else { target.data.silent(function(){ this.filter(rule,data); }); } target.callEvent("onBindApply", [data,rule,this]); } }; //pure data objects dhx.DataValue = dhx.proto({ name:"DataValue", isVisible:function(){ return true; }, $init:function(config){ this.data = ""||config; var id = (config&&config.id)?config.id:dhx.uid(); this._settings = { id:id }; dhx.ui.views[id] = this; }, setValue:function(value){ this.data = value; this.callEvent("onChange", [value]); }, getValue:function(){ return this.data; }, refresh:function(){ this.callEvent("onBindRequest"); } }, dhx.EventSystem, dhx.BaseBind); dhx.DataRecord = dhx.proto({ name:"DataRecord", isVisible:function(){ return true; }, $init:function(config){ this.data = config||{}; var id = (config&&config.id)?config.id:dhx.uid(); this._settings = { id:id }; dhx.ui.views[id] = this; }, getValues:function(){ return this.data; }, setValues:function(data){ this.data = data; this.callEvent("onChange", [data]); }, refresh:function(){ this.callEvent("onBindRequest"); } }, dhx.EventSystem, dhx.BaseBind, dhx.AtomDataLoader, dhx.Settings); dhx.DataCollection = dhx.proto({ name:"DataCollection", isVisible:function(){ if (!this.data.order.length && !this.data._filter_order && !this._settings.dataFeed) return false; return true; }, $init:function(config){ this.data.provideApi(this, true); var id = (config&&config.id)?config.id:dhx.uid(); this._settings.id =id; dhx.ui.views[id] = this; this.data.attachEvent("onStoreLoad", dhx.bind(function(){ this.callEvent("onBindRequest",[]); }, this)); }, refresh:function(){ this.callEvent("onBindRequest",[]); } }, dhx.DataLoader, dhx.EventSystem, dhx.BaseBind, dhx.Settings); dhx.ValueBind={ $init:function(){ this.attachEvent("onChange", this._update_binds); }, _bind_update:function(target, rule, format){ var data = this.getValue()||""; if (format) data = format(data); if (target.setValue) target.setValue(data); else if (!target.filter){ var pod = {}; pod[rule] = data; if (target._check_data_feed(data)) target.setValues(pod); } else{ target.data.silent(function(){ this.filter(rule,data); }); } target.callEvent("onBindApply", [data,rule,this]); } }; dhx.RecordBind={ $init:function(){ this.attachEvent("onChange", this._update_binds); }, _bind_update:function(target, rule){ var data = this.getValues()||null; this._bind_update_common(target, rule, data); } }; dhx.CollectionBind={ $init:function(){ this._cursor = null; this.attachEvent("onSelectChange", function(data){ var sel = this.getSelected(); this.setCursor(sel?(sel.id||sel):null); }); this.attachEvent("onAfterCursorChange", this._update_binds); this.data.attachEvent("onStoreUpdated", dhx.bind(function(id, data, mode){ if (id && id == this.getCursor() && mode != "paint") this._update_binds(); },this)); this.data.attachEvent("onClearAll", dhx.bind(function(){ this._cursor = null; },this)); this.data.attachEvent("onIdChange", dhx.bind(function(oldid, newid){ if (this._cursor == oldid) this._cursor = newid; },this)); }, setCursor:function(id){ if (id == this._cursor || (id !== null && !this.item(id))) return; this.callEvent("onBeforeCursorChange", [this._cursor]); this._cursor = id; this.callEvent("onAfterCursorChange",[id]); }, getCursor:function(){ return this._cursor; }, _bind_update:function(target, rule){ var data = this.item(this.getCursor())|| this._settings.defaultData || null; this._bind_update_common(target, rule, data); } }; /*DHX:Depend core/legacy_bind.js*/ /*DHX:Depend core/dhx.js*/ /*DHX:Depend core/bind.js*/ /*jsl:ignore*/ if (!dhx.ui) dhx.ui = {}; if (!dhx.ui.views){ dhx.ui.views = {}; dhx.ui.get = function(id){ if (id._settings) return id; return dhx.ui.views[id]; }; } if (window.dhtmlx) dhtmlx.BaseBind = dhx.BaseBind; dhtmlXDataStore = function(config){ var obj = new dhx.DataCollection(config); var name = "_dp_init"; obj[name]=function(dp){ //map methods var varname = "_methods"; dp[varname]=["dummy","dummy","changeId","dummy"]; this.data._old_names = { "add":"inserted", "update":"updated", "delete":"deleted" }; this.data.attachEvent("onStoreUpdated",function(id,data,mode){ if (id && !dp._silent) dp.setUpdated(id,true,this._old_names[mode]); }); varname = "_getRowData"; //serialize item's data in URL dp[varname]=function(id,pref){ var ev=this.obj.data.item(id); var data = { id:id }; data[this.action_param] = this.obj.getUserData(id); if (ev) for (var a in ev){ data[a]=ev[a]; } return data; }; this.changeId = function(oldid, newid){ this.data.changeId(oldid, newid); dp._silent = true; this.data.callEvent("onStoreUpdated", [newid, this.item(newid), "update"]); dp._silent = false; }; varname = "_clearUpdateFlag"; dp[varname]=function(){}; this._userdata = {}; }; obj.dummy = function(){}; obj.setUserData=function(id,name,value){ this._userdata[id]=value; }; obj.getUserData=function(id,name){ return this._userdata[id]; }; obj.dataFeed=function(obj){ this.define("dataFeed", obj); }; dhx.extend(obj, dhx.BindSource); return obj; }; if (window.dhtmlXDataView) dhtmlXDataView.prototype._initBindSource=function(){ this.isVisible = function(){ if (!this.data.order.length && !this.data._filter_order && !this._settings.dataFeed) return false; return true; }; var settings = "_settings"; this._settings = this._settings || this[settings]; if (!this._settings.id) this._settings.id = dhx.uid(); this.unbind = dhx.BaseBind.unbind; this.unsync = dhx.BaseBind.unsync; dhx.ui.views[this._settings.id] = this; }; if (window.dhtmlXChart) dhtmlXChart.prototype._initBindSource=function(){ this.isVisible = function(){ if (!this.data.order.length && !this.data._filtered_state && !this._settings.dataFeed) return false; return true; }; var settings = "_settings"; this._settings = this._settings || this[settings]; if (!this._settings.id) this._settings.id = dhx.uid(); this.unbind = dhx.BaseBind.unbind; this.unsync = dhx.BaseBind.unsync; dhx.ui.views[this._settings.id] = this; }; dhx.BaseBind.unsync = function(target){ return dhx.BaseBind._unbind.call(this, target); } dhx.BaseBind.unbind = function(target){ return dhx.BaseBind._unbind.call(this, target); } dhx.BaseBind.legacyBind = function(){ return dhx.BaseBind.bind.apply(this, arguments); }; dhx.BaseBind.legacySync = function(source, rule){ if (this._initBindSource) this._initBindSource(); if (source._initBindSource) source._initBindSource(); this.attachEvent("onAfterEditStop", function(id){ this.save(id); return true; }); this.attachEvent("onDataRequest", function(start, count){ for (var i=start; i<start+count; i++) if (!source.data.order[i]){ source.loadNext(count, start); return false; } }); this.save = function(id){ if (!id) id = this.getCursor(); var sobj = this.item(id); var tobj = source.item(id); for (var key in sobj) if (key.indexOf("$")!==0) tobj[key] = sobj[key]; source.refresh(id); }; if (source && source.name == "DataCollection") return source.data.sync.apply(this.data, arguments); else return this.data.sync.apply(this.data, arguments); }; if (window.dhtmlXForm){ dhtmlXForm.prototype.bind = function(target){ dhx.BaseBind.bind.apply(this, arguments); target.getBindData(this._settings.id); }; dhtmlXForm.prototype.unbind = function(target){ dhx.BaseBind._unbind.call(this,target); }; dhtmlXForm.prototype._initBindSource = function(){ if (dhx.isUndefined(this._settings)){ this._settings = { id: dhx.uid(), dataFeed:this._server_feed }; dhx.ui.views[this._settings.id] = this; } }; dhtmlXForm.prototype._check_data_feed = function(data){ if (!this._settings.dataFeed || this._ignore_feed || !data) return true; var url = this._settings.dataFeed; if (typeof url == "function") return url.call(this, (data.id||data), data); url = url+(url.indexOf("?")==-1?"?":"&")+"action=get&id="+encodeURIComponent(data.id||data); this.load(url); return false; }; dhtmlXForm.prototype.setValues = dhtmlXForm.prototype.setFormData; dhtmlXForm.prototype.getValues = function(){ return this.getFormData(false, true); }; dhtmlXForm.prototype.dataFeed = function(value){ if (this._settings) this._settings.dataFeed = value; else this._server_feed = value; }; dhtmlXForm.prototype.refresh = dhtmlXForm.prototype.isVisible = function(value){ return true; }; } if (window.scheduler){ if (!window.Scheduler) window.Scheduler = {}; Scheduler.$syncFactory=function(scheduler){ scheduler.sync = function(source, rule){ if (this._initBindSource) this._initBindSource(); if (source._initBindSource) source._initBindSource(); var process = "_process_loading"; var insync = function(ignore){ scheduler.clearAll(); var order = source.data.order; var pull = source.data.pull; var evs = []; for (var i=0; i<order.length; i++){ if (rule && rule.copy) evs[i]=dhx.clone(pull[order[i]]); else evs[i]=pull[order[i]]; } scheduler[process](evs); scheduler.callEvent("onSyncApply",[]); }; this.save = function(id){ if (!id) id = this.getCursor(); var data = this.item(id); var olddat = source.item(id); if (this.callEvent("onStoreSave", [id, data, olddat])){ dhx.extend(source.item(id),data, true); source.update(id); } }; this.item = function(id){ return this.getEvent(id); }; this._sync_events=[ source.data.attachEvent("onStoreUpdated", function(id, data, mode){ insync.call(this); }), source.data.attachEvent("onIdChange", function(oldid, newid){ combo.changeOptionId(oldid, newid); }) ]; this.attachEvent("onEventChanged", function(id){ this.save(id); }); this.attachEvent("onEventAdded", function(id, data){ if (!source.data.pull[id]) source.add(data); }); this.attachEvent("onEventDeleted", function(id){ if (source.data.pull[id]) source.remove(id); }); insync(); }; scheduler.unsync = function(target){ dhx.BaseBind._unbind.call(this,target); } scheduler._initBindSource = function(){ if (!this._settings) this._settings = { id:dhx.uid() }; } } Scheduler.$syncFactory(window.scheduler); } if (window.dhtmlXCombo){ dhtmlXCombo.prototype.bind = function(){ dhx.BaseBind.bind.apply(this, arguments); }; dhtmlXCombo.prototype.unbind = function(target){ dhx.BaseBind._unbind.call(this,target); } dhtmlXCombo.prototype.unsync = function(target){ dhx.BaseBind._unbind.call(this,target); } dhtmlXCombo.prototype.dataFeed = function(value){ if (this._settings) this._settings.dataFeed = value; else this._server_feed = value; }; dhtmlXCombo.prototype.sync = function(source, rule){ if (this._initBindSource) this._initBindSource(); if (source._initBindSource) source._initBindSource(); var combo = this; var insync = function(ignore){ combo.clearAll(); combo.addOption(this.serialize()); combo.callEvent("onSyncApply",[]); }; //source.data.attachEvent("onStoreLoad", insync); this._sync_events=[ source.data.attachEvent("onStoreUpdated", function(id, data, mode){ insync.call(this); }), source.data.attachEvent("onIdChange", function(oldid, newid){ combo.changeOptionId(oldid, newid); }) ]; insync.call(source); }; dhtmlXCombo.prototype._initBindSource = function() { if (dhx.isUndefined(this._settings)){ this._settings = { id: dhx.uid(), dataFeed:this._server_feed }; dhx.ui.views[this._settings.id] = this; this.data = { silent:dhx.bind(function(code){ code.call(this); },this)}; dhx4._eventable(this.data); this.attachEvent("onChange", function() { this.callEvent("onSelectChange", [this.getSelectedValue()]); }); this.attachEvent("onXLE", function(){ this.callEvent("onBindRequest",[]); }); } }; dhtmlXCombo.prototype.item = function(id) { return this.getOption(id); }; dhtmlXCombo.prototype.getSelected = function() { return this.getSelectedValue(); }; dhtmlXCombo.prototype.isVisible = function() { if (!this.optionsArr.length && !this._settings.dataFeed) return false; return true; }; dhtmlXCombo.prototype.refresh = function() { this.render(true); }; } if (window.dhtmlXGridObject){ dhtmlXGridObject.prototype.bind = function(source, rule, format) { dhx.BaseBind.bind.apply(this, arguments); }; dhtmlXGridObject.prototype.unbind = function(target){ dhx.BaseBind._unbind.call(this,target); } dhtmlXGridObject.prototype.unsync = function(target){ dhx.BaseBind._unbind.call(this,target); } dhtmlXGridObject.prototype.dataFeed = function(value){ if (this._settings) this._settings.dataFeed = value; else this._server_feed = value; }; dhtmlXGridObject.prototype.sync = function(source, rule){ if (this._initBindSource) this._initBindSource(); if (source._initBindSource) source._initBindSource(); var grid = this; var parsing = "_parsing"; var parser = "_parser"; var locator = "_locator"; var parser_func = "_process_store_row"; var locator_func = "_get_store_data"; this.save = function(id){ if (!id) id = this.getCursor(); dhx.extend(source.item(id),this.item(id), true); source.update(id); }; var insync = function(ignore){ var cursor = grid.getCursor?grid.getCursor():null; var from = 0; if (grid._legacy_ignore_next){ from = grid._legacy_ignore_next; grid._legacy_ignore_next = false; } else { grid.clearAll(); } var count = this.dataCount(); if (count){ grid[parsing]=true; for (var i = from; i < count; i++){ var id = this.order[i]; if (!id) continue; if (from && grid.rowsBuffer[i]) continue; grid.rowsBuffer[i]={ idd: id, data: this.pull[id] }; grid.rowsBuffer[i][parser] = grid[parser_func]; grid.rowsBuffer[i][locator] = grid[locator_func]; grid.rowsAr[id]=this.pull[id]; } if (!grid.rowsBuffer[count-1]){ grid.rowsBuffer[count-1] = dhtmlx.undefined; grid.xmlFileUrl = grid.xmlFileUrl||this.url; } if (grid.pagingOn) grid.changePage(); else { if (grid._srnd && grid._fillers) grid._update_srnd_view(); else{ grid.render_dataset(); grid.callEvent("onXLE",[]); } } grid[parsing]=false; } if (cursor && grid.setCursor) grid.setCursor(grid.rowsAr[cursor]?cursor:null); grid.callEvent("onSyncApply",[]); }; //source.data.attachEvent("onStoreLoad", insync); this._sync_events=[ source.data.attachEvent("onStoreUpdated", function(id, data, mode){ if (mode == "delete"){ grid.deleteRow(id); grid.data.callEvent("onStoreUpdated",[id, data, mode]); } else if (mode == "update"){ grid.callEvent("onSyncUpdate", [data, mode]); grid.update(id, data); grid.data.callEvent("onStoreUpdated",[id, data, mode]); } else if (mode == "add"){ grid.callEvent("onSyncUpdate", [data, mode]); grid.add(id, data, this.indexById(id)); grid.data.callEvent("onStoreUpdated",[id,data,mode]); } else insync.call(this); }), source.data.attachEvent("onStoreLoad", function(driver, data){ grid.xmlFileUrl = source.data.url; grid._legacy_ignore_next = driver.getInfo(data)._from; }), source.data.attachEvent("onIdChange", function(oldid, newid){ grid.changeRowId(oldid, newid); }) ]; grid.attachEvent("onDynXLS", function(start, count){ for (var i=start; i<start+count; i++) if (!source.data.order[i]){ source.loadNext(count, start); return false; } grid._legacy_ignore_next = start; insync.call(source.data); }); insync.call(source.data); grid.attachEvent("onEditCell", function(stage, id, ind, value, oldvalue){ if (stage==2 && value != oldvalue) this.save(id); return true; }); grid.attachEvent("onClearAll",function(){ var name = "_f_rowsBuffer"; this[name]=null; }); if (rule && rule.sort) grid.attachEvent("onBeforeSorting", function(ind, type, dir){ if (type == "connector") return false; var id = this.getColumnId(ind); source.sort("#"+id+"#", (dir=="asc"?"asc":"desc"), (type=="int"?type:"string")); grid.setSortImgState(true, ind, dir); return false; }); if (rule && rule.filter){ grid.attachEvent("onFilterStart", function(cols, values){ var name = "_con_f_used"; if (grid[name] && grid[name].length) return false; source.data.silent(function(){ source.filter(); for (var i=0; i<cols.length; i++){ if (values[i] == "") continue; var id = grid.getColumnId(cols[i]); source.filter("#"+id+"#", values[i], i!=0); } }); source.refresh(); return false; }); grid.collectValues = function(index){ var id = this.getColumnId(index); return (function(id){ var values = []; var checks = {}; this.data.each(function(obj){ var value = obj[id]; if (!checks[value]){ checks[value] = true; values.push(value); } }); values.sort(); return values; }).call(source, id); }; } if (rule && rule.select) grid.attachEvent("onRowSelect", function(id){ source.setCursor(id); }); grid.clearAndLoad = function(url){ source.clearAll(); source.load(url); }; }; dhtmlXGridObject.prototype._initBindSource = function() { if (dhx.isUndefined(this._settings)){ this._settings = { id: dhx.uid(), dataFeed:this._server_feed }; dhx.ui.views[this._settings.id] = this; this.data = { silent:dhx.bind(function(code){ code.call(this); },this)}; dhx4._eventable(this.data); var name = "_cCount"; for (var i=0; i<this[name]; i++) if (!this.columnIds[i]) this.columnIds[i] = "cell"+i; this.attachEvent("onSelectStateChanged", function(id) { this.callEvent("onSelectChange", [id]); }); this.attachEvent("onSelectionCleared", function() { this.callEvent("onSelectChange", [null]); }); this.attachEvent("onEditCell", function(stage,rId) { if (stage === 2 && this.getCursor) { if (rId && rId == this.getCursor()) this._update_binds(); } return true; }); this.attachEvent("onXLE", function(){ this.callEvent("onBindRequest",[]); }); } }; dhtmlXGridObject.prototype.item = function(id) { if (id === null) return null; var source = this.getRowById(id); if (!source) return null; var name = "_attrs"; var data = dhx.copy(source[name]); data.id = id; var length = this.getColumnsNum(); for (var i = 0; i < length; i++) { data[this.columnIds[i]] = this.cells(id, i).getValue(); } return data; }; dhtmlXGridObject.prototype.update = function(id,data){ for (var i=0; i<this.columnIds.length; i++){ var key = this.columnIds[i]; if (!dhx.isUndefined(data[key])) this.cells(id, i).setValue(data[key]); } var name = "_attrs"; var attrs = this.getRowById(id)[name]; for (var key in data) attrs[key] = data[key]; this.callEvent("onBindUpdate",[data, null, id]); }; dhtmlXGridObject.prototype.add = function(id,data,index){ var ar_data = []; for (var i=0; i<this.columnIds.length; i++){ var key = this.columnIds[i]; ar_data[i] = dhx.isUndefined(data[key])?"":data[key]; } this.addRow(id, ar_data, index); var name = "_attrs"; this.getRowById(id)[name] = dhx.copy(data); }; dhtmlXGridObject.prototype.getSelected = function() { return this.getSelectedRowId(); }; dhtmlXGridObject.prototype.isVisible = function() { var name = "_f_rowsBuffer"; if (!this.rowsBuffer.length && !this[name] && !this._settings.dataFeed) return false; return true; }; dhtmlXGridObject.prototype.refresh = function() { this.render_dataset(); }; dhtmlXGridObject.prototype.filter = function(callback, master){ //if (!this.rowsBuffer.length && !this._f_rowsBuffer) return; if (this._settings.dataFeed){ var filter = {}; if (!callback && !master) return; if (typeof callback == "function"){ if (!master) return; callback(master, filter); } else if (dhx.isUndefined(callback)) filter = master; else filter[callback] = master; this.clearAll(); var url = this._settings.dataFeed; if (typeof url == "function") return url.call(this, master, filter); var urldata = []; for (var key in filter) urldata.push("dhx_filter["+key+"]="+encodeURIComponent(filter[key])); this.load(url+(url.indexOf("?")<0?"?":"&")+urldata.join("&")); return false; } if (master === null) { return this.filterBy(0, function(){ return false; }); } this.filterBy(0, function(value, id){ return callback.call(this, id, master); }); }; } if (window.dhtmlXTreeObject){ dhtmlXTreeObject.prototype.bind = function() { dhx.BaseBind.bind.apply(this, arguments); }; dhtmlXTreeObject.prototype.unbind = function(target){ dhx.BaseBind._unbind.call(this,target); } dhtmlXTreeObject.prototype.dataFeed = function(value){ if (this._settings) this._settings.dataFeed = value; else this._server_feed = value; }; dhtmlXTreeObject.prototype._initBindSource = function() { if (dhx.isUndefined(this._settings)){ this._settings = { id: dhx.uid(), dataFeed:this._server_feed }; dhx.ui.views[this._settings.id] = this; this.data = { silent:dhx.bind(function(code){ code.call(this); },this)}; dhx4._eventable(this.data); this.attachEvent("onSelect", function(id) { this.callEvent("onSelectChange", [id]); }); this.attachEvent("onEdit", function(stage,rId) { if (stage === 2) { if (rId && rId == this.getCursor()) this._update_binds(); } return true; }); } }; dhtmlXTreeObject.prototype.item = function(id) { if (id === null) return null; return { id: id, text:this.getItemText(id)}; }; dhtmlXTreeObject.prototype.getSelected = function() { return this.getSelectedItemId(); }; dhtmlXTreeObject.prototype.isVisible = function() { return true; }; dhtmlXTreeObject.prototype.refresh = function() { //dummy placeholder }; dhtmlXTreeObject.prototype.filter = function(callback, master){ //dummy placeholder, because tree doesn't support filtering if (this._settings.dataFeed){ var filter = {}; if (!callback && !master) return; if (typeof callback == "function"){ if (!master) return; callback(master, filter); } else if (dhx.isUndefined(callback)) filter = master; else filter[callback] = master; this.deleteChildItems(0); var url = this._settings.dataFeed; if (typeof url == "function") return url.call(this, [(data.id||data), data]); var urldata = []; for (var key in filter) urldata.push("dhx_filter["+key+"]="+encodeURIComponent(filter[key])); this.loadXML(url+(url.indexOf("?")<0?"?":"&")+urldata.join("&")); return false; } }; dhtmlXTreeObject.prototype.update = function(id,data){ if (!dhx.isUndefined(data.text)) this.setItemText(id, data.text); }; } /*jsl:end*/ })();
gpl-3.0
wdzhou/mantid
Framework/CurveFitting/inc/MantidCurveFitting/Functions/BackToBackExponential.h
3728
#ifndef MANTID_CURVEFITTING_BACKTOBACKEXPONENTIAL_H_ #define MANTID_CURVEFITTING_BACKTOBACKEXPONENTIAL_H_ //---------------------------------------------------------------------- // Includes //---------------------------------------------------------------------- #include "MantidAPI/IPeakFunction.h" namespace Mantid { namespace CurveFitting { namespace Functions { /** Provide BackToBackExponential peak shape function interface to IPeakFunction. That is the function: I*(A*B/(A+B)/2)*(exp(A/2*(A*S^2+2*(x-X0)))*erfc((A*S^2+(x-X0))/sqrt(2*S^2))+exp(B/2*(B*S^2-2*(x-X0)))*erfc((B*S^2-(x-X0))/sqrt(2*S^2))). Function parameters: <UL> <LI> I - Integrated intensity of peak (default 0.0)</LI> <LI> A - exponential constant of rising part of neutron pulse (default 1.0)</LI> <LI> B - exponential constant of decaying part of neutron pulse (default 0.05)</LI> <LI> X0 - peak position (default 0.0)</LI> <LI> S - standard deviation of gaussian part of peakshape function (default 1.0)</LI> </UL> @author Anders Markvardsen, ISIS, RAL @date 9/11/2009 Copyright &copy; 2007-8 ISIS Rutherford Appleton Laboratory, NScD Oak Ridge National Laboratory & European Spallation Source This file is part of Mantid. Mantid 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. Mantid 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/>. File change history is stored at: <https://github.com/mantidproject/mantid> Code Documentation is available at: <http://doxygen.mantidproject.org> */ class DLLExport BackToBackExponential : public API::IPeakFunction { public: /// Default constructor. BackToBackExponential() : API::IPeakFunction() {} /// overwrite IPeakFunction base class methods double centre() const override { return getParameter("X0"); } void setCentre(const double c) override { setParameter("X0", c); } double height() const override; void setHeight(const double h) override; double fwhm() const override; void setFwhm(const double w) override; double intensity() const override { return getParameter("I"); } void setIntensity(const double newIntensity) override { setParameter("I", newIntensity); } /// overwrite IFunction base class methods std::string name() const override { return "BackToBackExponential"; } const std::string category() const override { return "Peak"; } void function1D(double *out, const double *xValues, const size_t nData) const override; void functionDeriv1D(API::Jacobian *jacobian, const double *xValues, const size_t nData) override; protected: /// overwrite IFunction base class method, which declare function parameters void init() override; /// Function evaluation method to be implemented in the inherited classes void functionLocal(double *, const double *, const size_t) const override {} /// Derivative evaluation method to be implemented in the inherited classes void functionDerivLocal(API::Jacobian *, const double *, const size_t) override {} double expWidth() const; }; typedef boost::shared_ptr<BackToBackExponential> BackToBackExponential_sptr; } // namespace Functions } // namespace CurveFitting } // namespace Mantid #endif /*MANTID_CURVEFITTING_BACKTOBACKEXPONENTIAL_H_*/
gpl-3.0
ldjebran/robottelo
tests/foreman/api/test_classparameters.py
25724
# -*- encoding: utf-8 -*- """Test class for Smart/Puppet Class Parameter :Requirement: Classparameters :CaseAutomation: Automated :CaseLevel: Component :CaseComponent: Puppet :TestType: Functional :Upstream: No """ import json from random import choice from fauxfactory import gen_boolean, gen_integer, gen_string from nailgun import entities from requests import HTTPError from robottelo.api.utils import delete_puppet_class, publish_puppet_module from robottelo.constants import CUSTOM_PUPPET_REPO from robottelo.datafactory import filtered_datapoint from robottelo.decorators import ( run_in_one_thread, tier1, tier2, upgrade ) from robottelo.test import APITestCase @filtered_datapoint def valid_sc_parameters_data(): """Returns a list of valid smart class parameter types and values""" return [ { u'sc_type': 'string', u'value': gen_string('utf8'), }, { u'sc_type': 'boolean', u'value': choice(['0', '1']), }, { u'sc_type': 'integer', u'value': gen_integer(min_value=1000), }, { u'sc_type': 'real', u'value': -123.0, }, { u'sc_type': 'array', u'value': "['{0}', '{1}', '{2}']".format( gen_string('alpha'), gen_integer(), gen_boolean()), }, { u'sc_type': 'hash', u'value': '{{"{0}": "{1}"}}'.format( gen_string('alpha'), gen_string('alpha')), }, { u'sc_type': 'yaml', u'value': 'name=>XYZ', }, { u'sc_type': 'json', u'value': '{"name": "XYZ"}', }, ] @filtered_datapoint def invalid_sc_parameters_data(): """Returns a list of invalid smart class parameter types and values""" return [ { u'sc_type': 'boolean', u'value': gen_string('alphanumeric'), }, { u'sc_type': 'integer', u'value': gen_string('utf8'), }, { u'sc_type': 'real', u'value': gen_string('alpha'), }, { u'sc_type': 'array', u'value': '0', }, { u'sc_type': 'hash', u'value': 'a:test', }, { u'sc_type': 'yaml', u'value': '{a:test}', }, { u'sc_type': 'json', u'value': gen_string('alpha'), }, ] @run_in_one_thread class SmartClassParametersTestCase(APITestCase): """Implements Smart Class Parameter tests in API""" @classmethod def setUpClass(cls): """Import some parametrized puppet classes. This is required to make sure that we have smart class variable available. Read all available smart class parameters for imported puppet class to be able to work with unique entity for each specific test. """ super(SmartClassParametersTestCase, cls).setUpClass() cls.puppet_modules = [ {'author': 'robottelo', 'name': 'api_test_classparameters'}, ] cls.org = entities.Organization().create() cv = publish_puppet_module( cls.puppet_modules, CUSTOM_PUPPET_REPO, cls.org) cls.env = entities.Environment().search( query={'search': u'content_view="{0}"'.format(cv.name)} )[0].read() cls.puppet_class = entities.PuppetClass().search(query={ 'search': u'name = "{0}" and environment = "{1}"'.format( cls.puppet_modules[0]['name'], cls.env.name) })[0] cls.sc_params_list = entities.SmartClassParameters().search( query={ 'search': 'puppetclass="{0}"'.format(cls.puppet_class.name), 'per_page': 1000 }) @classmethod def tearDownClass(cls): """Removes puppet class.""" super(SmartClassParametersTestCase, cls).tearDownClass() delete_puppet_class(cls.puppet_class.name) def setUp(self): """Checks that there is at least one not overridden smart class parameter before executing test. """ super(SmartClassParametersTestCase, self).setUp() if len(self.sc_params_list) == 0: raise Exception("Not enough smart class parameters. Please " "update puppet module.") @tier1 @upgrade def test_positive_update_parameter_type(self): """Positive Parameter Update for parameter types - Valid Value. Types - string, boolean, integer, real, array, hash, yaml, json :id: 1140c3bf-ab3b-4da6-99fb-9c508cefbbd1 :steps: 1. Set override to True. 2. Update the Key Type to any of available. 3. Set a 'valid' default Value. :expectedresults: Parameter Updated with a new type successfully. :CaseImportance: Medium """ sc_param = self.sc_params_list.pop() for data in valid_sc_parameters_data(): with self.subTest(data): sc_param.override = True sc_param.parameter_type = data['sc_type'] sc_param.default_value = data['value'] sc_param.update( ['override', 'parameter_type', 'default_value'] ) sc_param = sc_param.read() if data['sc_type'] == 'boolean': self.assertEqual( sc_param.default_value, True if data['value'] == '1' else False ) elif data['sc_type'] == 'array': string_list = [ str(element) for element in sc_param.default_value] self.assertEqual(str(string_list), data['value']) elif data['sc_type'] in ('json', 'hash'): self.assertEqual( sc_param.default_value, # convert string to dict json.loads(data['value']) ) else: self.assertEqual(sc_param.default_value, data['value']) @tier1 def test_negative_update_parameter_type(self): """Negative Parameter Update for parameter types - Invalid Value. Types - string, boolean, integer, real, array, hash, yaml, json :id: 7f0ab885-5520-4431-a916-f739c0498a5b :steps: 1. Set override to True. 2. Update the Key Type. 3. Attempt to set an 'Invalid' default Value. :expectedresults: 1. Parameter not updated with string type for invalid value. 2. Error raised for invalid default value. :CaseImportance: Medium """ sc_param = self.sc_params_list.pop() for test_data in invalid_sc_parameters_data(): with self.subTest(test_data): with self.assertRaises(HTTPError) as context: sc_param.override = True sc_param.parameter_type = test_data['sc_type'] sc_param.default_value = test_data['value'] sc_param.update( ['override', 'parameter_type', 'default_value']) self.assertNotEqual( sc_param.read().default_value, test_data['value']) self.assertRegexpMatches( context.exception.response.text, "Validation failed: Default value is invalid" ) @tier1 def test_positive_validate_default_value_required_check(self): """No error raised for non-empty default Value - Required check. :id: 92977eb0-92c2-4734-84d9-6fda8ff9d2d8 :steps: 1. Set override to True. 2. Set some default value, Not empty. 3. Set 'required' to true. 4. Create a matcher for Parameter for some attribute. 5. Set some Value for matcher. :expectedresults: No error raised for non-empty default value :CaseImportance: Medium """ sc_param = self.sc_params_list.pop() sc_param.parameter_type = 'boolean' sc_param.default_value = True sc_param.override = True sc_param.required = True sc_param.update( ['parameter_type', 'default_value', 'override', 'required'] ) sc_param = sc_param.read() self.assertEqual(sc_param.required, True) self.assertEqual(sc_param.default_value, True) entities.OverrideValue( smart_class_parameter=sc_param, match='domain=example.com', value=False, ).create() sc_param.update(['override', 'required']) sc_param = sc_param.read() self.assertEqual(sc_param.required, True) self.assertEqual(sc_param.override_values[0]['value'], False) @tier1 def test_negative_validate_matcher_value_required_check(self): """Error is raised for blank matcher Value - Required check. :id: 49de2c9b-40f1-4837-8ebb-dfa40d8fcb89 :steps: 1. Set override to True. 2. Create a matcher for Parameter for some attribute. 3. Set no value for matcher. Keep blank. 4. Set 'required' to true. :expectedresults: Error raised for blank matcher value. :CaseImportance: Medium """ sc_param = self.sc_params_list.pop() sc_param.override = True sc_param.required = True sc_param.update(['override', 'required']) with self.assertRaises(HTTPError) as context: entities.OverrideValue( smart_class_parameter=sc_param, match='domain=example.com', value='', ).create() self.assertRegexpMatches( context.exception.response.text, "Validation failed: Value can't be blank" ) @tier1 def test_negative_validate_default_value_with_regex(self): """Error is raised for default value not matching with regex. :id: 99628b78-3037-4c20-95f0-7ce5455093ac :steps: 1. Set override to True. 2. Set default value that doesn't matches the regex of step 3. 3. Validate this value with regex validator type and rule. :expectedresults: Error raised for default value not matching with regex. :CaseImportance: Low """ value = gen_string('alpha') sc_param = self.sc_params_list.pop() sc_param.override = True sc_param.default_value = value sc_param.validator_type = 'regexp' sc_param.validator_rule = '[0-9]' with self.assertRaises(HTTPError) as context: sc_param.update([ 'override', 'default_value', 'validator_type', 'validator_rule' ]) self.assertRegexpMatches( context.exception.response.text, "Validation failed: Default value is invalid" ) self.assertNotEqual(sc_param.read().default_value, value) @tier1 def test_positive_validate_default_value_with_regex(self): """Error is not raised for default value matching with regex. :id: d5df7804-9633-4ef8-a065-10807351d230 :steps: 1. Set override to True. 2. Set default value that matches the regex of step 3. 3. Validate this value with regex validator type and rule. 4. Create a matcher with value that matches the regex of step 3. 5. Validate this value with regex validator type and rule. :expectedresults: Error not raised for default value matching with regex. :CaseImportance: Low """ # validate default value value = gen_string('numeric') sc_param = self.sc_params_list.pop() sc_param.override = True sc_param.default_value = value sc_param.validator_type = 'regexp' sc_param.validator_rule = '[0-9]' sc_param.update( ['override', 'default_value', 'validator_type', 'validator_rule'] ) sc_param = sc_param.read() self.assertEqual(sc_param.default_value, value) self.assertEqual(sc_param.validator_type, 'regexp') self.assertEqual(sc_param.validator_rule, '[0-9]') # validate matcher value entities.OverrideValue( smart_class_parameter=sc_param, match='domain=test.com', value=gen_string('numeric'), ).create() sc_param.update( ['override', 'default_value', 'validator_type', 'validator_rule'] ) self.assertEqual(sc_param.read().default_value, value) @tier1 def test_negative_validate_matcher_value_with_list(self): """Error is raised for matcher value not in list. :id: a5e89e86-253f-4254-9ebb-eefb3dc2c2ab :steps: 1. Set override to True. 2. Create a matcher with value that doesn't match the list of step 3. Validate this value with list validator type and rule. :expectedresults: Error raised for matcher value not in list. :CaseImportance: Medium """ sc_param = self.sc_params_list.pop() entities.OverrideValue( smart_class_parameter=sc_param, match='domain=example.com', value='myexample', ).create() sc_param.override = True sc_param.default_value = 50 sc_param.validator_type = 'list' sc_param.validator_rule = '25, example, 50' with self.assertRaises(HTTPError) as context: sc_param.update([ 'override', 'default_value', 'validator_type', 'validator_rule', ]) self.assertRegexpMatches( context.exception.response.text, "Validation failed: Lookup values is invalid" ) self.assertNotEqual(sc_param.read().default_value, 50) @tier1 def test_positive_validate_matcher_value_with_list(self): """Error is not raised for matcher value in list. :id: 05c1a0bb-ba27-4842-bb6a-8420114cffe7 :steps: 1. Set override to True. 2. Create a matcher with value that matches the list of step 3. 3. Validate this value with list validator type and rule. :expectedresults: Error not raised for matcher value in list. :CaseImportance: Medium """ sc_param = self.sc_params_list.pop() entities.OverrideValue( smart_class_parameter=sc_param, match='domain=example.com', value=30, ).create() sc_param.override = True sc_param.default_value = 'example' sc_param.validator_type = 'list' sc_param.validator_rule = 'test, example, 30' sc_param.update( ['override', 'default_value', 'validator_type', 'validator_rule'] ) self.assertEqual(sc_param.read().default_value, 'example') @tier1 def test_positive_validate_matcher_value_with_default_type(self): """No error for matcher value of default type. :id: 77b6e90d-e38a-4973-98e3-c698eae5c534 :steps: 1. Set override to True. 2. Update parameter default type with valid value. 3. Create a matcher with value that matches the default type. :expectedresults: Error not raised for matcher value of default type. :CaseImportance: Medium """ sc_param = self.sc_params_list.pop() sc_param.override = True sc_param.parameter_type = 'boolean' sc_param.default_value = True sc_param.update(['override', 'parameter_type', 'default_value']) entities.OverrideValue( smart_class_parameter=sc_param, match='domain=example.com', value=False, ).create() sc_param = sc_param.read() self.assertEqual(sc_param.override_values[0]['value'], False) self.assertEqual( sc_param.override_values[0]['match'], 'domain=example.com') @tier1 def test_negative_validate_matcher_and_default_value(self): """Error for invalid default and matcher value is raised both at a time. :id: e46a12cb-b3ea-42eb-b1bb-b750655b6a4a :steps: 1. Set override to True. 2. Update parameter default type with Invalid value. 3. Create a matcher with value that doesn't matches the default type. :expectedresults: Error raised for invalid default and matcher value both. :CaseImportance: Medium """ sc_param = self.sc_params_list.pop() entities.OverrideValue( smart_class_parameter=sc_param, match='domain=example.com', value=gen_string('alpha'), ).create() with self.assertRaises(HTTPError) as context: sc_param.parameter_type = 'boolean' sc_param.default_value = gen_string('alpha') sc_param.update(['parameter_type', 'default_value']) self.assertRegexpMatches( context.exception.response.text, "Validation failed: Default value is invalid, " "Lookup values is invalid" ) @tier1 def test_positive_create_and_remove_matcher_puppet_default_value(self): """Create matcher for attribute in parameter where value is puppet default value. :id: 2b205e9c-e50c-48cd-8ebb-3b6bea09be77 :steps: 1. Set override to True. 2. Set some default Value. 3. Create matcher with valid attribute type, name and puppet default value. 4. Remove matcher afterwards :expectedresults: The matcher has been created and removed successfully. :CaseImportance: Medium """ sc_param = self.sc_params_list.pop() value = gen_string('alpha') sc_param.override = True sc_param.default_value = gen_string('alpha') override = entities.OverrideValue( smart_class_parameter=sc_param, match='domain=example.com', value=value, use_puppet_default=True, ).create() sc_param = sc_param.read() self.assertEqual( sc_param.override_values[0]['use_puppet_default'], True) self.assertEqual( sc_param.override_values[0]['match'], 'domain=example.com') self.assertEqual(sc_param.override_values[0]['value'], value) override.delete() self.assertEqual(len(sc_param.read().override_values), 0) @tier1 def test_positive_enable_merge_overrides_default_checkboxes(self): """Enable Merge Overrides, Merge Default checkbox for supported types. :id: ae1c8e2d-c15d-4325-9aa6-cc6b091fb95a :steps: Set parameter type to array/hash. :expectedresults: The Merge Overrides, Merge Default checks are enabled to check. :CaseImportance: Medium """ sc_param = self.sc_params_list.pop() sc_param.override = True sc_param.parameter_type = 'array' sc_param.default_value = "[{0}, {1}]".format( gen_string('alpha'), gen_string('alpha')) sc_param.merge_overrides = True sc_param.merge_default = True sc_param.update([ 'override', 'parameter_type', 'default_value', 'merge_overrides', 'merge_default', ]) sc_param = sc_param.read() self.assertEqual(sc_param.merge_overrides, True) self.assertEqual(sc_param.merge_default, True) @tier1 def test_negative_enable_merge_overrides_default_checkboxes(self): """Disable Merge Overrides, Merge Default checkboxes for non supported types. :id: d7b1c336-bd9f-40a3-a573-939f2a021cdc :steps: Set parameter type other than array/hash. :expectedresults: The Merge Overrides, Merge Default checks are not enabled to check. :CaseImportance: Medium """ sc_param = self.sc_params_list.pop() sc_param.override = True sc_param.parameter_type = 'string' sc_param.default_value = gen_string('alpha') sc_param.merge_overrides = True sc_param.merge_default = True with self.assertRaises(HTTPError) as context: sc_param.update([ 'override', 'parameter_type', 'default_value', 'merge_overrides', ]) self.assertRegexpMatches( context.exception.response.text, "Validation failed: Merge overrides can only be set for " "array or hash" ) with self.assertRaises(HTTPError) as context: sc_param.update([ 'override', 'parameter_type', 'default_value', 'merge_default', ]) self.assertRegexpMatches( context.exception.response.text, "Validation failed: Merge default can only be set when merge " "overrides is set" ) sc_param = sc_param.read() self.assertEqual(sc_param.merge_overrides, False) self.assertEqual(sc_param.merge_default, False) @tier1 def test_positive_enable_avoid_duplicates_checkbox(self): """Enable Avoid duplicates checkbox for supported type- array. :id: 80bf52df-e678-4384-a4d5-7a88928620ce :steps: 1. Set parameter type to array. 2. Set 'merge overrides' to True. :expectedresults: The Avoid Duplicates is enabled to set to True. :CaseImportance: Medium """ sc_param = self.sc_params_list.pop() sc_param.override = True sc_param.parameter_type = 'array' sc_param.default_value = "[{0}, {1}]".format( gen_string('alpha'), gen_string('alpha')) sc_param.merge_overrides = True sc_param.avoid_duplicates = True sc_param.update([ 'override', 'parameter_type', 'default_value', 'merge_overrides', 'avoid_duplicates', ]) self.assertEqual(sc_param.read().avoid_duplicates, True) @tier1 def test_negative_enable_avoid_duplicates_checkbox(self): """Disable Avoid duplicates checkbox for non supported types. :id: 11d75f6d-7105-4ee8-b147-b8329cae4156 :steps: Set parameter type other than array. :expectedresults: 1. The Merge Overrides checkbox is only enabled to check for type hash other than array. 2. The Avoid duplicates checkbox not enabled to check for any type than array. :CaseImportance: Medium """ sc_param = self.sc_params_list.pop() sc_param.override = True sc_param.parameter_type = 'string' sc_param.default_value = gen_string('alpha') sc_param.avoid_duplicates = True with self.assertRaises(HTTPError) as context: sc_param.update([ 'override', 'parameter_type', 'default_value', 'avoid_duplicates' ]) self.assertRegexpMatches( context.exception.response.text, "Validation failed: Avoid duplicates can only be set for arrays " "that have merge_overrides set to true" ) self.assertEqual(sc_param.read().avoid_duplicates, False) @tier2 def test_positive_impact_parameter_delete_attribute(self): """Impact on parameter after deleting associated attribute. :id: 3ffbf403-dac9-4172-a586-82267765abd8 :steps: 1. Set the parameter to True and create a matcher for some attribute. 2. Delete the attribute. 3. Recreate the attribute with same name as earlier. :expectedresults: 1. The matcher for deleted attribute removed from parameter. 2. On recreating attribute, the matcher should not reappear in parameter. :CaseImportance: Medium :BZ: 1374253 """ sc_param = self.sc_params_list.pop() hostgroup_name = gen_string('alpha') match = 'hostgroup={0}'.format(hostgroup_name) match_value = gen_string('alpha') hostgroup = entities.HostGroup( name=hostgroup_name, environment=self.env, ).create() hostgroup.add_puppetclass( data={'puppetclass_id': self.puppet_class.id}) entities.OverrideValue( smart_class_parameter=sc_param, match=match, value=match_value, ).create() sc_param = sc_param.read() self.assertEqual(sc_param.override_values[0]['match'], match) self.assertEqual(sc_param.override_values[0]['value'], match_value) hostgroup.delete() self.assertEqual(len(sc_param.read().override_values), 0) hostgroup = entities.HostGroup( name=hostgroup_name, environment=self.env, ).create() hostgroup.add_puppetclass( data={'puppetclass_id': self.puppet_class.id}) self.assertEqual(len(sc_param.read().override_values), 0)
gpl-3.0
jasonzou/journal.calaijol.org
tools/plugins/generic/customBlockManager/CustomBlockEditForm.inc.php
3356
<?php /** * @file plugins/generic/customBlockManager/CustomBlockEditForm.inc.php * * Copyright (c) 2013-2015 Simon Fraser University Library * Copyright (c) 2003-2015 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * @package plugins.generic.customBlockManager * @class CustomBlockEditForm * * Form for journal managers to create and modify sidebar blocks * */ import('lib.pkp.classes.form.Form'); class CustomBlockEditForm extends Form { /** @var $journalId int */ var $journalId; /** @var $plugin object */ var $plugin; /** $var $errors string */ var $errors; /** * Constructor * @param $journalId int */ function CustomBlockEditForm(&$plugin, $journalId) { parent::Form($plugin->getTemplatePath() . 'editCustomBlockForm.tpl'); $this->journalId = $journalId; $this->plugin =& $plugin; $this->addCheck(new FormValidatorPost($this)); $this->addCheck(new FormValidator($this, 'blockContent', 'required', 'plugins.generic.customBlock.contentRequired')); } /** * Initialize form data from current group group. */ function initData() { $journalId = $this->journalId; $plugin =& $this->plugin; // add the tiny MCE script $this->addTinyMCE(); $this->setData('blockContent', $plugin->getSetting($journalId, 'blockContent')); } /** * Add the tinyMCE script for editing sidebar blocks with a WYSIWYG editor */ function addTinyMCE() { $journalId = $this->journalId; $plugin =& $this->plugin; $templateMgr =& TemplateManager::getManager(); // Enable TinyMCE with specific params $additionalHeadData = $templateMgr->get_template_vars('additionalHeadData'); import('classes.file.JournalFileManager'); $publicFileManager = new PublicFileManager(); $tinyMCE_script = ' <script language="javascript" type="text/javascript" src="'.Request::getBaseUrl().'/'.TINYMCE_JS_PATH.'/tiny_mce.js"></script> <script language="javascript" type="text/javascript"> tinyMCE.init({ mode : "textareas", plugins : "style,paste,jbimages", theme : "advanced", theme_advanced_buttons1 : "formatselect,fontselect,fontsizeselect", theme_advanced_buttons2 : "bold,italic,underline,separator,strikethrough,justifyleft,justifycenter,justifyright, justifyfull,bullist,numlist,undo,redo,link,unlink", theme_advanced_buttons3 : "cut,copy,paste,pastetext,pasteword,|,cleanup,help,code,jbimages", theme_advanced_toolbar_location : "bottom", theme_advanced_toolbar_align : "left", content_css : "' . Request::getBaseUrl() . '/styles/common.css", relative_urls : false, document_base_url : "'. Request::getBaseUrl() .'/'.$publicFileManager->getJournalFilesPath($journalId) .'/", extended_valid_elements : "span[*], div[*]" }); </script>'; $templateMgr->assign('additionalHeadData', $additionalHeadData."\n".$tinyMCE_script); } /** * Assign form data to user-submitted data. */ function readInputData() { $this->readUserVars(array('blockContent')); } /** * Get the names of localized fields * @return array */ function getLocaleFieldNames() { return array('blockContent'); } /** * Save page into DB */ function save() { $plugin =& $this->plugin; $journalId = $this->journalId; $plugin->updateSetting($journalId, 'blockContent', $this->getData('blockContent')); } } ?>
gpl-3.0
vovochka404/eiskaltdcpp
dcpp/LogManager.h
1901
/* * Copyright (C) 2001-2012 Jacek Sieka, arnetheduck on gmail point 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 2 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, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #pragma once #include "typedefs.h" #include "CriticalSection.h" #include "Singleton.h" #include "Speaker.h" #include "LogManagerListener.h" namespace dcpp { class LogManager : public Singleton<LogManager>, public Speaker<LogManagerListener> { public: typedef pair<time_t, string> Pair; typedef deque<Pair> List; enum Area { CHAT, PM, DOWNLOAD, FINISHED_DOWNLOAD, UPLOAD, SYSTEM, STATUS, SPY, CMD_DEBUG, LAST }; enum { FILE, FORMAT }; void log(Area area, StringMap& params) noexcept; void message(const string& msg); List getLastLogs(); string getPath(Area area, StringMap& params) const; string getPath(Area area) const; const string& getSetting(int area, int sel) const; void saveSetting(int area, int sel, const string& setting); private: void log(const string& area, const string& msg) noexcept; friend class Singleton<LogManager>; CriticalSection cs; List lastLogs; int options[LAST][2]; LogManager(); virtual ~LogManager(); }; #define LOG(area, msg) LogManager::getInstance()->log(area, msg) } // namespace dcpp
gpl-3.0
kotsios5/openclassifieds2
oc/vendor/Instagram-API/vendor/valga/fbns-react/src/AuthInterface.php
576
<?php namespace Fbns\Client; interface AuthInterface { /** * @return string */ public function getClientId(); /** * @return string */ public function getClientType(); /** * @return int */ public function getUserId(); /** * @return string */ public function getPassword(); /** * @return string */ public function getDeviceId(); /** * @return string */ public function getDeviceSecret(); /** * @return string */ public function __toString(); }
gpl-3.0
kyuscho/globalhack6
index3.html
24242
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <meta name="description" content=""> <meta name="author" content=""> <link rel="icon" href="../../favicon.ico"> <title>Angel Lift</title> <script src="jquery-3.1.1.min.js"></script> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="/bootstrap-3.3.7-dist/css/bootstrap.min.css" > <!-- Optional theme --> <link rel="stylesheet" href="/bootstrap-3.3.7-dist/css/bootstrap-theme.min.css" > <!-- Latest compiled and minified JavaScript --> <script src="/bootstrap-3.3.7-dist/js/bootstrap.js" ></script> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> <script> var inputData; $(document).ready(function(){ $.ajax({ url: "/get_request_list.php" }).done(function( data ) { if ( console && console.log ) { console.log( "Sample of data:", data ); //ex. var obj = jQuery.parseJSON( '{ "name": "John" }' ); inputData = $.parseJSON(data); //alert(""+inputData[0].address); // date.getHours() + ":" + //date.getMinutes(); $(inputData).each(function(key){ var dateWoTime = new Date(parseInt(inputData[key].receivedtime.substr(6))); var min = ""; var hour = ""; var suffix = ""; if(dateWoTime.getMinutes() < "10"){ min = "0".concat(dateWoTime.getMinutes()); }else{ min = dateWoTime.getMinutes(); } if(dateWoTime.getHours() > "12"){ hour = dateWoTime.getHours() - 12; suffix = "pm"; }else{ hour = dateWoTime.getHours(); suffix = "am"; } $("#pickupAddress").append("<a><li id='aid"+ key +"' class='list-group-item aidAll'>There was a request for shelter at "+ inputData[key].address +" at "+ hour + ":" + min + " " + suffix +". That is approximently "+ inputData[key].distance +" miles away from you. Will you pick this person/people up? </li></a>"); $("#aid" + key).click(function() { $(".aidAll").removeClass("active"); $("#aid" + key).addClass("active"); }); });//each } }); $("#begin").show(); $("#register").hide(); $("#answer").hide(); $("#pickup").hide(); $("#confirm").hide(); $("#qualify").hide(); $("#shelterOptions").hide(); $("#shelterLoc").hide(); $("#congrats").hide(); $("#beginNext").click(function() { <!--$("#pgBar").attr("aria-valuenow","10");--> $("#begin").hide(); $("#register").show(); $("#answer").hide(); $("#pickup").hide(); $("#confirm").hide(); $("#qualify").hide(); $("#shelterOptions").hide(); $("#shelterLoc").hide(); $("#congrats").hide(); }); $("#registerNext").click(function() { $("#begin").hide(); $("#register").hide(); $("#answer").show(); $("#pickup").hide(); $("#confirm").hide(); $("#qualify").hide(); $("#shelterOptions").hide(); $("#shelterLoc").hide(); $("#congrats").hide(); }); $("#answerNext").click(function() { $("#begin").hide(); $("#register").hide(); $("#answer").hide(); $("#pickup").show(); $("#confirm").hide(); $("#qualify").hide(); $("#shelterOptions").hide(); $("#shelterLoc").hide(); $("#congrats").hide(); $("#pickAddressForMap").html(inputData[0].address); initMap(); }); $("#pickupNext").click(function() { $("#begin").hide(); $("#register").hide(); $("#answer").hide(); $("#pickup").hide(); $("#confirm").show(); $("#qualify").hide(); $("#shelterOptions").hide(); $("#shelterLoc").hide(); $("#congrats").hide(); }); $("#confirmNext").click(function() { $("#begin").hide(); $("#register").hide(); $("#answer").hide(); $("#pickup").hide(); $("#confirm").hide(); $("#qualify").show(); $("#shelterOptions").hide(); $("#shelterLoc").hide(); $("#congrats").hide(); }); $("#qualifyNext").click(function() { $("#begin").hide(); $("#register").hide(); $("#answer").hide(); $("#pickup").hide(); $("#confirm").hide(); $("#qualify").hide(); $("#shelterOptions").show(); $("#shelterLoc").hide(); $("#congrats").hide(); }); $("#shelterOptionsNext").click(function() { $("#begin").hide(); $("#register").hide(); $("#answer").hide(); $("#pickup").hide(); $("#confirm").hide(); $("#qualify").hide(); $("#shelterOptions").hide(); $("#shelterLoc").show(); $("#congrats").hide(); initMap2(); }); $("#shelterLocNext").click(function() { $("#begin").hide(); $("#register").hide(); $("#answer").hide(); $("#pickup").hide(); $("#confirm").hide(); $("#qualify").hide(); $("#shelterOptions").hide(); $("#shelterLoc").hide(); $("#congrats").show(); }); $("#congratsNext").click(function() { $("#begin").hide(); $("#register").show(); $("#answer").hide(); $("#pickup").hide(); $("#confirm").hide(); $("#qualify").hide(); $("#shelterOptions").hide(); $("#shelterLoc").hide(); $("#congrats").hide(); }); $("#registerPrevious").click(function() { $("#begin").show(); $("#register").hide(); $("#answer").hide(); $("#pickup").hide(); $("#confirm").hide(); $("#qualify").hide(); $("#shelterOptions").hide(); $("#shelterLoc").hide(); $("#congrats").hide(); }); $("#answerPrevious").click(function() { $("#begin").hide(); $("#register").show(); $("#answer").hide(); $("#pickup").hide(); $("#confirm").hide(); $("#qualify").hide(); $("#shelterOptions").hide(); $("#shelterLoc").hide(); $("#congrats").hide(); }); $("#pickupPrevious").click(function() { $("#begin").hide(); $("#register").hide(); $("#answer").show(); $("#pickup").hide(); $("#confirm").hide(); $("#qualify").hide(); $("#shelterOptions").hide(); $("#shelterLoc").hide(); $("#congrats").hide(); }); $("#confirmPrevious").click(function() { $("#begin").hide(); $("#register").hide(); $("#answer").hide(); $("#pickup").show(); $("#confirm").hide(); $("#qualify").hide(); $("#shelterOptions").hide(); $("#shelterLoc").hide(); $("#congrats").hide(); }); $("#qualifyPrevious").click(function() { $("#begin").hide(); $("#register").hide(); $("#answer").hide(); $("#pickup").hide(); $("#confirm").show(); $("#qualify").hide(); $("#shelterOptions").hide(); $("#shelterLoc").hide(); $("#congrats").hide(); }); $("#shelterOptionsPrevious").click(function() { $("#begin").hide(); $("#register").hide(); $("#answer").hide(); $("#pickup").hide(); $("#confirm").hide(); $("#qualify").show(); $("#shelterOptions").hide(); $("#shelterLoc").hide(); $("#congrats").hide(); }); $("#shelterLocPrevious").click(function() { $("#begin").hide(); $("#register").hide(); $("#answer").hide(); $("#pickup").hide(); $("#confirm").hide(); $("#qualify").hide(); $("#shelterOptions").show(); $("#shelterLoc").hide(); $("#congrats").hide(); }); $("#affirmitive").click(function() { $("#affirmitive").addClass("active"); $("#negative").removeClass("active"); }); $("#negative").click(function() { $("#negative").addClass("active"); $("#affirmitive").removeClass("active"); }); $("#male").click(function() { $("#male").addClass("active"); $("#female").removeClass("active"); }); $("#female").click(function() { $("#female").addClass("active"); $("#male").removeClass("active"); }); $("#familyYes").click(function() { $("#familyYes").addClass("active"); $("#familyNo").removeClass("active"); }); $("#familyNo").click(function() { $("#familyNo").addClass("active"); $("#familyYes").removeClass("active"); }); $("#id1").click(function() { $("#id1").addClass("active"); $("#id2").removeClass("active"); $("#id3").removeClass("active"); }); $("#id2").click(function() { $("#id2").addClass("active"); $("#id3").removeClass("active"); $("#id1").removeClass("active"); }); $("#id3").click(function() { $("#id3").addClass("active"); $("#id2").removeClass("active"); $("#id1").removeClass("active"); }); $("#smsOn").click(function() { $("#smsOn").addClass("active"); $("#smsOff").removeClass("active"); }); $("#smsOff").click(function() { $("#smsOff").addClass("active"); $("#smsOn").removeClass("active"); }); }); </script> <style> #map { height: 400px; width: 100%; } #map2 { height: 400px; width: 100%; } </style> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> </head> <body style="background-color: #C1DAF0;"> <nav class="navbar-fixed-top" style="background-color: #5273D6 !important; color: white !important; max-height:80px"> <div class="container"> <div class="navbar-header" > <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <div style="text-align:center;"> <img src="logo.png" alt="AngeLift logo" style="width:20%;float:left;"><a class="navbar-brand" style="color: white !important; align:left; font-size=30px;"><p style="margin-top:10%; font-size:20px;">AngeLift</p></a> </div> </div> <!-- <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" >Angel Drive</a> </div> <div id="navbar" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li class="active"><a href="#begin">Begin</a></li> <li><a href="#sub">Subscribe </a></li> <li><a href="#rr">Answer </a></li> <li><a href="#pickup">Pick-Up </a></li> <li><a href="#confirm">Confirm </a></li> <li><a href="#qualify">Qualify </a></li> <li><a href="#deliver">Shelter Directions </a></li> </ul> </div> --> </div> </nav> <br> <div class="container" > <div class="starter-template"> <br> </div> </div> <div class="container" id="begin"> <div class="starter-template" style="margin-top: 15%"> <div class="progress"> <div id="pgBar" class="progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" style="width:12%"> <span class="sr-only">12% Complete</span> </div> </div> <h1>Begin </h1> <p class="lead">Thank you for using Angel Lift. The concept is simple. Offer people needing shelter a ride to shelters that will accept them. The world depends on generosity.</p> <ol> <li><b>Answer</b> the request for help. We will provide a list of people needing rides in your area. Right now there a [insert number here] people needing rides withing [insert miles here] miles from you. </li> <li><b>Pick-up </b> the people requesting shelter. We will give you the address of there location that they requested from. </li> <li><b>Confirm</b> that there is acutally a person to pick up. Yes, it is possible that people request help and not actually be there. Angel Lift can limit these false requests, but not prevent them entirely. If there is a false request just let us know. If this happens too many times we will not allow this number to request rides. </li> <li><b>Qualify</b> the person for the available shelters in the area. Some shelters accept only minors, men, women, or families. Just each riders name, age, and gender. </li> <li><b>Deliver</b> these person(s) to the selected shelter. Angel Lift will provide you an address and map to the one your request. </li> </ol> </div> <ul class="pager"> <li class="next" ><a id="beginNext">Next</a></li> </ul> </div><!-- /.container --> <div class="container" id="register"> <div class="starter-template"> <div class="progress" style="margin-top: 15%"> <div id="pgBar" class="progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" style="width:24%"> <span class="sr-only">24% Complete</span> </div> </div> <h1>Are you ready to recieve calls:</h1> <p class="lead">Turn Text Message Notifications on or off.</p> <div class="list-group" align="center"> <a id="registerNext" style="width:30%"><li class="list-group-item" style="width:30%">Yes</li></a> <br> <a id="registerPrevious"><li class="list-group-item" style="width:30%">No</li></a> </div> <br> </div> <ul class="pager"> <!--<li class="previous"><a id="registerPrevious">Previous</a></li> <li class="next"><a id="registerNext">Next</a></li>--> </ul> </div><!-- /.container --> <div class="container" id="answer"> <div class="starter-template"> <div class="progress" style="margin-top: 15%"> <div id="pgBar" class="progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" style="width:36%"> <span class="sr-only">36% Complete</span> </div> </div> <h1>Answer the Call</h1> <p class="lead">Here is the list of people needing the ride.</p> <span id="pickupAddress"></span> <!--<a><li id="aid1"class="list-group-item">There was a request for shelter at <span id="pickupAddress"></span> for [1 bed] at [5:20 pm]. That is approximently [five] miles away from you. Will you pick this person/people up? </li></a> <a><li id="aid2"class="list-group-item">There was a request for shelter at [111 Park Drive, Maplewood, MO 55555] for [1 bed] at [4:06 pm]. That is approximently [one] miles away from you. Will you pick this person/people up? </li></a> <a> <li id="aid3" class="list-group-item">There was a request for shelter at [201 Forest Park Drive, Kirkwood, MO 44444] for [3 beds] at [2:00 pm]. That is approximently [ten] miles away from you. Will you pick this person/people up? </li></a>--> </div> <ul class="pager"> <li class="previous"><a id="answerPrevious">Previous</a></li> <li class="next"><a id="answerNext">Accept Person</a></li> </ul> </div><!-- /.container --> <div class="container" id="pickup"> <div class="starter-template"> <div class="progress" style="margin-top: 15%"> <div id="pgBar" class="progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" style="width:48%"> <span class="sr-only">48% Complete</span> </div> </div> <h1>Pick-Up Directions</h1> <p class="lead">Here is the address and map to locate the person that needs to get picked up: </p> <center> <p> <span id="pickAddressForMap"></span> </p> <br> <div id="map" style="width:85%" ></div> <script src="google_maps_api.js"></script> <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD_xeFIY6WUG3Fnl9M-QCGyJucEKT_PmVQ&callback=initMap"> </script> <br> </center> <br> </div> <ul class="pager"> <li class="previous"><a id="pickupPrevious">Cancel Request</a></li> <li class="next"><a id="pickupNext">Next</a></li> </ul> </div><!-- /.container --> <div class="container" id="confirm"> <div class="starter-template"> <div class="progress" style="margin-top: 15%"> <div id="pgBar" class="progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" style="width:60%"> <span class="sr-only">60% Complete</span> </div> </div> <h1>Pickup Confirmation</h1> <p class="lead">Please let us know if there is actually a person that needs to be picked up. Did you find a person at the location we sent you to? </p> <center> <div class="list-group"> <a ><li id="affirmitive" class="list-group-item" style="width:30%">Yes </li></a> <a ><li id="negative" class="list-group-item" style="width:30%">No </li></a> </div> </center> </div> <ul class="pager"> <li class="previous"><a id="confirmPrevious">Previous</a></li> <li class="next"><a id="confirmNext">Next</a></li> </ul> </div><!-- /.container --> <div class="container" id="qualify"> <div class="starter-template"> <div class="progress" style="margin-top: 15%"> <div id="pgBar" class="progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" style="width:72%"> <span class="sr-only">72% Complete</span> </div> </div> <h1>Qualify</h1> <p>Let us help find them an accepting shelter</p> <center> <div class="form-group" align="center"> <label for="usr">What is the gender of the person being picked up?</label> <ul class="list-group"> <a ><li id="male" class="list-group-item" style="width:30%">Male </li></a> <a ><li id="female" class="list-group-item" style="width:30%">Female </li></a> </ul> <div class="form-group"> <input type="text" class="form-control" placeholder="Enter Age" id="age" style="width:30%"> </div> <label for="usr">Is this a family?</label> <ul class="list-group"> <a ><li id="familyYes" class="list-group-item" style="width:30%">Yes </li></a> <a ><li id="familyNo" class="list-group-item" style="width:30%">No </li></a> </ul> </div> </center> </div> <ul class="pager"> <li class="previous"><a id="qualifyPrevious">Previous</a></li> <li class="next"><a id="qualifyNext">Next</a></li> </ul> </div><!-- /.container --> <div class="container" id="shelterOptions"> <div class="starter-template"> <div class="progress" style="margin-top: 15%"> <div id="pgBar" class="progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" style="width:80%"> <span class="sr-only">80% Complete</span> </div> </div> <h1>Shelter Options</h1> <p>Here are the places that satisfies your request:</p> <center> <center> <a ><li id="id1" class="list-group-item">[Shelter Name] is a shelter accepting [males] that has [one] bed available only [6 miles away] at [111 Park Avenue, Maryland Heights, MO 88888]. Would you like to deliver to this location? </li></a> <a ><li id="id2" class="list-group-item">[Shelter Name] is a shelter accepting [males] that has [one] bed available only [6 miles away] at [111 Park Avenue, Maryland Heights, MO 88888]. Would you like to deliver to this location? </li></a> <a ><li id="id3" class="list-group-item">[Shelter Name] is a shelter accepting [males] that has [one] bed available only [6 miles away] at [111 Park Avenue, Maryland Heights, MO 88888]. Would you like to deliver to this location? </li></a> </center> </div> <ul class="pager"> <li class="previous"><a id="shelterOptionsPrevious">Previous</a></li> <li class="next"><a id="shelterOptionsNext">Get Directions</a></li> </ul> </div><!-- /.container --> <div class="container" id="shelterLoc"> <div class="starter-template"> <div class="progress" style="margin-top: 15%"> <div id="pgBar" class="progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" style="width:90%"> <span class="sr-only">90% Complete</span> </div> </div> <h1>Delivers Location </h1> <p class="lead">Here is the address of the location you chose. </p> <center> <p> 111 Park Drive, Maplewood, MO 55555 </p> <br> <div id="map2" align="left" style="width:85%"></div> <!--<script src="google_maps_api.js"></script> <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD_xeFIY6WUG3Fnl9M-QCGyJucEKT_PmVQ&callback=initMap"> </script>--> <br> </center> <br> </div> <ul class="pager"> <li class="previous"><a id="shelterLocPrevious">Previous</a></li> <li class="next"><a id="shelterLocNext">Person has been dropped off.</a></li> </ul> </div><!-- /.container --> <div class="container" id="congrats"> <div class="starter-template"> <div class="progress" style="margin-top: 15%"> <div id="pgBar" class="progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" style="width:100%"> <span class="sr-only">100% Complete</span> </div> </div> <br> <br> <br> <br> <div class="container"> <div class="vertical-center-row" style="vertical-align: middle;"> <div align="center"> <h1 style="text-align: center ">Congrats </h1> <p style="text-align: center" >Thank You! Please see if you can take someone else.</p> </div> </div> </div> </div> <ul class="pager"> <li class="next"><a id="congratsNext">New Person</a></li> </ul> </div><!-- /.container --> <!-- Bootstrap core JavaScript ================================================== --> <!-- Placed at the end of the document so the pages load faster --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script> <script src="../../dist/js/bootstrap.min.js"></script> <!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script> </body> </html>
gpl-3.0
platenspeler/LamPI-3.x
gh-pages/DeveloperGuide/Rules_Manual/index.html
20277
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Rules Editor</title> </head> <body> <h1>LamPI Rules Function</h1> <h2>Introduction</h2> <p>Starting with LamPI release 3.3, we offer another method for invoking devices based on time, alarms or other events. With the new rules engine which is based on Google's blockly developers kit it is possible to create your own rules for LamPI and have them evaluated and executed every 2 seconds.</p> <h2>Screen Layout</h2> <p>The editor screen has the following layout: At the right - or anywhere else if defined by the CSS file in use- is the menu area. There are 5 standard commands recognized:</p> <ol> <li><img src="menu/menu_run_01.JPG" width="112" height="38"> - Run a rule on the local editor system. Since the editor does not always have the same functions available as the daemon (LamPI-node.js runs without a GUI) some functions may not run&nbsp;as expected or not run at all. For initial debugging this function is OK.<br> <br> </li> <li><img src="menu/menu_activate_01.JPG" width="110" height="39"> - This buttons will activate or de-activate the current rule (the current rule is always&nbsp;yellow or otherwise colored by the hover css attribute). So in the example below you can see that &quot;effe&quot; is active. If you want to de-activate &quot;effe&quot;, first make it the current rule to work on (click on &quot;effe&quot;) and then click on &quot;Activate&quot; to de-activate the rule. When activating or de-activating the rule, the whole rule will be backed-up to the MySQL database.<br> <br> </li> <li><img src="menu/menu_store_01.JPG" width="113" height="40"> - Store the current rule to the database. When pressing the store button the system will show a popup window with the current generated jrule and the brule generated that are&nbsp;stored in the database. If you want to load the rule whene (re-)initializing the database, make sure to cut and paste these 2 values in the &quot;~/config/database.cfg&quot; json database file.<br> <br> </li> <li><img src="menu/menu_new_01.JPG" width="113" height="42"> - Make a new rule and put it an the end of the header list. Please remember to save your work in the current rule first before making a new rule or the work on the screen you're working on will be lost.<br> <br> </li> <li><img src="menu/menu_delete_01.JPG" width="111" height="41"> -&nbsp;Delete the curent rule.</li> </ol> <p>In the header section all rules that are defined are displayed. In the example below that is &quot;cv-room&quot;, &quot;console&quot; and &quot;effe&quot;. By pressing one of these buttons, the active screen loads with the corresponding rule. The yellow hover defines which rule is visible on the screen at that moment and being worked on. The red border outline of a button tells us that the corresponding rule is active in the LamPI-node.js daemon.</p> <h2>How to start the Rules Editor</h2> <p>The rules editor can be change from the LamPI Gui by visiting the config section and then select &quot;rules&quot; from the header menu bar. Alternatively the user can also start the rules editor directly from the browse by the following URL: &quot;http://&lt;Your-IP&gt;/rules&quot;.</p> <p>On the screen below you see that the active rule is &quot;cv-room&quot; and there is only one active rule: &quot;effe&quot;.</p> <p><img src="screenshots/sensor_1.JPG" width="1254" height="785"></p> <p>&nbsp;</p> <p>Every rule that is made on the screen will translate in two fields in our rules array: The jrule field which is displayed in the message area of the screen contains the Javascript representation of the rule as it is executed by the daemon if we activate that rule in LamPI. The brule field of the rules object contains the internal rule definition which is used by blockly to build up all visible elements of the rules so that we can change the rule, delete it or store the rule in the database for later use.</p> <p>The &quot;cv-room&quot; rule defined in our example has the following jrule field for the rule in the database. I have used a pretty print method which makes the rules readible:</p> <p><code>if (config['sensors'][14]['sensor']['temperature']['val'] &gt; 28) { <br> &nbsp;&nbsp; console.log('Warmer, switch Lampi ');<br> &nbsp;&nbsp; queueDevices(0,'10','00:00:0:00',0,1); <br> }<br> else { <br> &nbsp;&nbsp; console.log('colder'); <br> &nbsp;&nbsp; queueDevices(0,'off','00:00:0:00',0,1); <br> }</code></p> <h2>Blocks Available</h2> <p>The blockly interface as defined by Goggle offers a set of standard block elements to use in your own rules. However, not all rules make sense in a Home Automation (HA) environment, and some are missing. Therefore, some element have been created that are useful&nbsp;when creating your own rules.</p> <p>The following LamPI building blocks are available to build your rules:</p> <h3>controls</h3> <p>&nbsp;</p> <table width="800" border="0"> <tr> <td width="216"><img src="blocks/if_01.JPG" width="87" height="82"></td> <td width="574">This is a standard block, optionally, by clicking the * the user may specify &quot;else&quot; and &quot;else if&quot; conditions</td> </tr> <tr> <td><img src="blocks/repeat_01.JPG" width="162" height="93"></td> <td>This is a standard block</td> </tr> <tr> <td><img src="blocks/repeat_02.JPG" width="158" height="78"></td> <td>This is a standard block</td> </tr> <tr> <td><img src="blocks/freq_1.JPG" width="201" height="55"></td> <td>This is a LamPI block.</td> </tr> <tr> <td><img src="blocks/controls_stoprule_01.JPG" width="99" height="38"></td> <td>Stop Rule, Will stop execution of the rule (indefinately)</td> </tr> <tr> <td><img src="blocks/controls_timeout_01.JPG" width="249" height="40"></td> <td>Timeout, a LamPI block. It will suspend the rule for the coming period of time as specified by the hh:mm:ss specification</td> </tr> </table> <h3>logic</h3> <table width="800" border="0"> <tr> <td width="220"><img src="blocks/logic_value_1.JPG" width="48" height="34"></td> <td width="570">This is a standard block. It takes an integer or float value specified by the user</td> </tr> <tr> <td><img src="blocks/logic_cond_1.JPG" width="129" height="43"></td> <td>This is a standard block.</td> </tr> <tr> <td><img src="blocks/logic_oper_1.JPG" width="134" height="43"></td> <td>This is a standard block.</td> </tr> </table> <p>&nbsp;</p> <h3>text</h3> <p>&nbsp;</p> <table width="800" border="0"> <tr> <td width="219"><img src="blocks/text_quote_1.JPG" width="93" height="31"></td> <td width="571">This is a standard block</td> </tr> <tr> <td><img src="blocks/text_print_1.JPG" width="70" height="39"></td> <td>This is a standard block</td> </tr> <tr> <td><img src="blocks/text_console_1.JPG" width="102" height="41"></td> <td>This is a LamPI block. This element takes a string as input and displays it on the console.</td> </tr> <tr> <td><img src="blocks/text_alert_1.JPG" width="77" height="39"></td> <td>This is a LamPI block. Similar to the console element, this block will display the string as an alert message on the GUI(s).</td> </tr> <tr> <td><img src="blocks/text_length_1.JPG" width="110" height="31"></td> <td>This is a standard block. This element will take a string as input on the right and return the length of this string to the left.</td> </tr> <tr> <td><img src="blocks/text_append_1.JPG" width="210" height="38"></td> <td>This is a standard block</td> </tr> </table> <p>&nbsp;</p> <h3>sensors</h3> <p>Sensors are read-only&nbsp;(by the program) in principle. There are several types of sensors possible, the most well known being the tenperature and humidity sensors.</p> <table width="800" border="0"> <tr> <td width="213"><img src="blocks/sensors_temperature_1.JPG" width="163" height="37"></td> <td width="577">This is a LamPI block to lookup the last known value of a temperature sensor and pass it to the left (to use in a condition)</td> </tr> <tr> <td><img src="blocks/sensors_humidity_1.JPG" width="156" height="33"></td> <td>This is a LamPI block to lookup the last known value of a humidity sensor and pass it to the left (to use in a condition)</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </table> <h3>devices</h3> <p>Well known devices are switches, dimmers and thermostats. Values of these three type of devices can be read and changed.</p> <table width="800" border="0"> <tr> <td width="213"><img src="blocks/devices_get_1.JPG" width="199" height="36"></td> <td width="577">&nbsp;This is a LamPI block used in conditions&nbsp;and can be used to pass the value of the device to&nbsp;the condition.</td> </tr> <tr> <td><img src="blocks/devices_set_1.JPG" width="161" height="43"></td> <td>This is a LamPI block used to set the value of a device to a particular value. The device can be selected using the drop down menu, the value must be passed on the right side.</td> </tr> <tr> <td>&nbsp;</td> <td>&nbsp;</td> </tr> </table> <p>&nbsp;</p> <h3>times</h3> <table width="800" border="0"> <tr> <td width="214"><img src="blocks/times_time_1.JPG" alt="" width="68" height="35"></td> <td width="576">This is a LamPI block. The current time in milliseconds from 1 jan 1970 is output to the left element.</td> </tr> <tr> <td><img src="blocks/times_sunrise_1.JPG" alt="" width="93" height="37"></td> <td>This is a LamPI block. The sunrise time of today is output in milliseconds</td> </tr> <tr> <td><img src="blocks/times_sunset_1.JPG" alt="" width="88" height="35"></td> <td>This is a LamPI block. The sunset time of today is output in milliseconds</td> </tr> <tr> <td><img src="blocks/times_hhmmss_1.JPG" alt="" width="154" height="33"></td> <td>This is a LamPI block. The number of hours, minutes and seconds is output in milliseconds.</td> </tr> </table> <p>&nbsp;</p> <h2>And what happens under the hood?</h2> <p>Under the hood we use the standard available blockly functions provided by Google and we also have our own blockly defnitions put in a dedicated file: /home/pi/www/rules/myBlocks.js. For every custom Blockly element we have to define two functions: (1) a definition file to support the editor in creating our object and (2) a generator file to help generating the right javascript code once we include our own blockly in LamPI.</p> <p><code>// ------------------------------------------------------------<br> // 3.<br> Blockly.Blocks['devices_set'] = {<br> &nbsp; init: function() {<br> &nbsp;&nbsp;&nbsp; this.setHelpUrl('http://www.westenberg.org/');<br> &nbsp;&nbsp;&nbsp; this.setColour(280);<br> &nbsp; &nbsp; var str = [];<br> &nbsp; &nbsp; for (var i=0; i&lt;devices.length;i++) {<br> &nbsp;&nbsp; &nbsp;&nbsp; str.push( [ devices[i]['name'], devices[i]['name']+&quot;&quot; ] );<br> &nbsp; &nbsp; }<br> &nbsp;&nbsp;&nbsp; this.appendValueInput(&quot;dev_set&quot;)<br> &nbsp;&nbsp;&nbsp; &nbsp; .setCheck(&quot;String&quot;) // Only if type is not appendDummyInput<br> &nbsp;&nbsp;&nbsp; &nbsp; .appendField(&quot;set: &quot;)<br> &nbsp;&nbsp;&nbsp; &nbsp; .appendField(new Blockly.FieldDropdown( str ), &quot;set_1&quot;)<br> &nbsp;&nbsp;&nbsp; this.setPreviousStatement(true, &quot;String&quot;);<br> &nbsp;&nbsp;&nbsp; this.setNextStatement(true, &quot;String&quot;);<br> &nbsp;&nbsp;&nbsp; // this.setOutput(true, &quot;String&quot;);<br> &nbsp;&nbsp;&nbsp;&nbsp; this.setTooltip('Set device value');<br> &nbsp; }<br> };</code></p> <p><code>Blockly.JavaScript['devices_set'] = function(block) {<br> &nbsp;&nbsp; var dropdown_set_1 = block.getFieldValue('set_1');<br> &nbsp;&nbsp; var value_dev_set = Blockly.JavaScript.valueToCode(block, 'dev_set', Blockly.JavaScript.ORDER_ATOMIC);<br> &nbsp;&nbsp; var code = '';<br> &nbsp;&nbsp; var i = lookupDeviceByName(dropdown_set_1);<br> &nbsp;&nbsp; if (i&gt;=0) {<br> &nbsp;&nbsp;&nbsp; //code=&quot;config['devices'][&quot;+i+&quot;]['val']=&quot;+value_dev_set; <br> &nbsp;&nbsp;&nbsp;&nbsp; code=&quot;queueDevice( &quot;+i+&quot;, &quot;+value_dev_set+&quot;, '00:00:00', 0, 1); &quot;;<br> &nbsp;&nbsp; }<br> &nbsp;&nbsp; return code;<br> };</code></p> <p>In the two functions above you can see that I added code to read my &quot;device&quot; object and use the available array members for a drop down list n the screen. In the generator file (Blockly.Javascript) you can see that I read the dropdown entry with lookupDeviceByName (a&nbsp;function made by me and also in the myBlocks.js file) and generate the queueDevice command that is availabl in my main LamPI-node.js daemon file. So once the code is &quot;eval()&quot;-uated by LamPI-node it will call that well-known function and the command will be executed.</p> <p>Note: The queueDevice() function contains some more parameters than just the index of the device&nbsp;(in the config['devices'] array and its SET value. The other parameters are for future extension and will allow execution of the command after a certain time and/or repeating the action for a number of times.</p> <p>The functions found above define my custom LamPI blocks, and are found in the myBlocks.js file in ~/rules directory. Google suggests that there are 2 separate code pieces tat may live in two separate files. Well, since we use Javascript for the screen definitions and also generate Javascript code, we have put both functions in the same myBlocks.js file. This is much better for the readibility of the code and allows easy debugging, changing etc in order to make your code work.<br> </p> <h2>Making your own custom&nbsp;Block elements</h2> <p>If you want to create your own custom block elements, it is adviced tat you use the provided Google Block&nbsp;Factory as a starting point. The block factory allows you to create the visual part of the new custom block without too much trouble after which you only need to provide parts of the code to interface wich your own application. The Block Factory shows the block you are working on, its block interface (see above for devices_set) and the javascript code that is being created (se also above for an example). </p> <p>Just cut and paste the code pieces to your own myRules.js file and make sure that file is &quot;sourced&quot; when you execute your own html/js program. And do not forget to make an entry in the blockly toolbox definition to include your new block and attach it to the menu.</p> <h1>Making a rule ...</h1> <p>This section explains how to make a new rule using the visible editor.</p> <h2>Adding&nbsp;your rule to the database.cfg file</h2> <p>Every rule that you make is stored in the database. So it is protected against restarts of both client and server. But what if for whatever reason we need to re-initialize the daemon, we would loose all our rules? The solution is to add our precious rules to the &quot;~/config/database.cfg&quot; file so upon an init we would load thee rules to the system.</p> <p>The best way to do this is to print&nbsp;the configuration on the screen. You can do thsi from the &quot;config&quot; menu, choose &quot;console&quot; and then print the config. The other method is to use the following url: &quot;http://&lt;your-IP&gt;:8080/config&quot;. The configuration is output to the GUI, but more importantly it is also output to the console file &quot;~/log/PI-node.log&quot;.</p> <p>Go to this file and add the complete JSON string to the &quot;~/config/database.cfg&quot; file in the rules section.</p> <h1>Notes</h1> <p>Although rules work OK in most circumstances, there are situations or things to be careful about.</p> <ul> <li>Be careful to make rules for devices that you will remove. The rule wil still be executed, even when the device or sensor is long&nbsp;gone.</li> <li>The editor environment is NOT the run-time environment. Keep in mind that some functions, variables etc are only present in one environment but might not be present in the other. The XML definitions used on define the blocks on the screen are stored together with the excutable code in the database. If you create new block elements we do not know what happens with the ones already reated and whether they are influenced.</li> </ul> <h1>Examples</h1> <p>This chapter explains how to build your own rule, ranging from a simple console logging to a complicated timing example. Each example can be started with &quot;http://&lt;your-IP&gt;/rules.</p> <h2>Example 1:</h2> <p>The first example is a simple temperature sensing example&nbsp;for a rule called &quot;ardeche&quot;. We have a temperature sensor&nbsp;lm75-3 defined in the database.cfg file, and when the temperature measured exceeds the 28 degrees (celcius) we &quot;do&quot; the following jrule: write to the console the text: &quot;More than 28 degrees&quot;, and otherwise write to the console the text: &quot;Less than 28 degrees&quot;.</p> <p><img src="examples/example_1_01.JPG" width="409" height="153"></p> <p>What you will find that the use of this rule is rather limited. The rule will only write to the console and apart from the administrator nobody will read the console of the LamPI-node.js daemon too often.</p> <h2>Example 2:</h2> <p>Using the example above, there are circumstances where we want to take another type of action than just a console message when the temperature reaches a predefined level. This example exmplains to to swich a device on when the temperature reaches a certain value.<br> Please do not question yourself whether it makes senso to switch lightbulbs as a function of measured temperature ... thisexample merely shows the possibilities of the rule editor and the run-time environment. </p> <p><img src="examples/example_2_01.JPG" width="402" height="205"></p> <p>The example above works as desired: As soon as the temperature measure by sensor &quot;Outside&quot; exceeds 28 degrees Celcius the console will displa a message and the &quot;lamp left&quot; is switched on with value 14 (It is a dimmer).</p> <h2>Example 3:</h2> <p>However, although the example above works as desired, it has a major drawback; Every time the rules is evaluated - and this is once every 2 seconds - the outcome will make that a 433MHz message is sent to switch the lamp on or off. This may be our intention, but normally we would only like to send a message when the lamp should change state, so once when the temperature increases and once when it drops below 28 degress Celcius.</p> <p>So let's make the same example but only send messages to the 433 devices when we need to change status (we left the console messages out):</p> <p><img src="examples/example_3_01.JPG" width="494" height="282"></p> <p>So when using the rule above, the amount of transmissions over the air is reduced significantly, and apart from doing some &quot;eval&quot; uations we use no critical resources of the computer.</p> <h2>Example 4:</h2> <p>Switching on the lights in your room when it becomes dark is one of the most used rules in LamPI. Of course it is possible to use the LamPI timers for his purpose, but rules work equally well.</p> <p><img src="screenshots/sunset_2.JPG" width="533" height="302"></p> <p>And there is a little variation on the &quot;stop rule&quot; action thich is shown below: The Timout action will specify a period of time in which the rule will NOT be active and will be activated again after that period of time. In the situation below, the rule will be disabled for a period of 2 minute, and then enable again (followed be a period of 2 minutes timeout etc etc etc).</p> <p><img src="screenshots/sunset_3.JPG" width="525" height="299"></p> <p>In this case, the &quot;else&quot; part should have been omitted and it is there for the sole purpose of showing any progress on the console. The &quot;Timout&quot; rule however is NOT constrained to be used in the &quot;do&quot; clause only, although in most cases one would not need to use the &quot;else&quot; clause in these kind of rules</p> <h2>Example 5:</h2> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <h5>last updated:</h5> <p>July 05, 2015</p> </body> </html>
gpl-3.0
ftomei/CRITERIA3D
mapGraphics/guts/MapTileGraphicsObject.cpp
6441
#include "MapTileGraphicsObject.h" #include <QPainter> #include <QtDebug> MapTileGraphicsObject::MapTileGraphicsObject(quint16 tileSize) { this->setTileSize(tileSize); _tile = nullptr; _tileX = 0; _tileY = 0; _tileZoom = 0; _initialized = false; _havePendingRequest = false; //Default z-value is important --- used in MapGraphicsView this->setZValue(-1.0); } MapTileGraphicsObject::~MapTileGraphicsObject() { if (_tile != nullptr) { delete _tile; _tile = nullptr; } } QRectF MapTileGraphicsObject::boundingRect() const { const quint16 size = this->tileSize(); return QRectF(-1 * size / 2.0, -1 * size / 2.0, size, size); } void MapTileGraphicsObject::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) { Q_UNUSED(option) Q_UNUSED(widget) //If we've got a tile, draw it. Otherwise, show a loading or "No tile source" message if (_tile != nullptr) painter->drawPixmap(this->boundingRect().toRect(), *_tile); else { QString string; if (_tileSource.isNull()) string = " No tile source defined"; else string = " Loading..."; painter->drawText(this->boundingRect(), string, QTextOption(Qt::AlignCenter)); } } quint16 MapTileGraphicsObject::tileSize() const { return _tileSize; } void MapTileGraphicsObject::setTileSize(quint16 tileSize) { if (tileSize == _tileSize) return; _tileSize = tileSize; } void MapTileGraphicsObject::setTile(quint32 x, quint32 y, quint8 z, bool force) { //Don't re-request the same tile we're already displaying unless force=true or _initialized=false if (_tileX == x && _tileY == y && _tileZoom == z && !force && _initialized) return; //Get rid of the old tile if (_tile != nullptr) { delete _tile; _tile = nullptr; } //Store information for the tile we're requesting _tileX = x; _tileY = y; _tileZoom = z; _initialized = true; //If we have a null tile source, there's not much more to do! if (_tileSource.isNull()) return; //If our tile source is good, connect to the signal we'll need to get the result after requesting connect(_tileSource.data(), SIGNAL(tileRetrieved(quint32,quint32,quint8)), this, SLOT(handleTileRetrieved(quint32,quint32,quint8))); //Make sure we know that we're requesting a tile _havePendingRequest = true; //Request the tile from tileSource, which will emit tileRetrieved when finished //qDebug() << this << "requests" << x << y << z; _tileSource->requestTile(x,y,z); } QSharedPointer<MapTileSource> MapTileGraphicsObject::tileSource() const { return _tileSource; } void MapTileGraphicsObject::setTileSource(QSharedPointer<MapTileSource> nSource) { //Disconnect from the old source, if applicable if (!_tileSource.isNull()) { QObject::disconnect(_tileSource.data(), SIGNAL(tileRetrieved(quint32,quint32,quint8)), this, SLOT(handleTileRetrieved(quint32,quint32,quint8))); QObject::disconnect(_tileSource.data(), SIGNAL(allTilesInvalidated()), this, SLOT(handleTileInvalidation())); } //Set the new source QSharedPointer<MapTileSource> oldSource = _tileSource; _tileSource = nSource; //Connect signals if approprite if (!_tileSource.isNull()) { connect(_tileSource.data(), SIGNAL(allTilesInvalidated()), this, SLOT(handleTileInvalidation())); //We connect/disconnect the "tileRetrieved" signal as needed and don't do it here! } //Force a refresh from the new source this->handleTileInvalidation(); } //private slot void MapTileGraphicsObject::handleTileRetrieved(quint32 x, quint32 y, quint8 z) { //If we don't care about retrieved tiles (i.e., we haven't requested a tile), return //This shouldn't actually happen as the signal/slot should get disconnected if (!_havePendingRequest) return; //If this isn't the tile we're looking for, return else if (_tileX != x || _tileY != y || _tileZoom != z) return; //Now we know that our tile has been retrieved by the MapTileSource. We just need to get it. _havePendingRequest = false; //Make sure some mischevious person hasn't set our MapTileSource to null while we weren't looking... if (_tileSource.isNull()) return; QImage * image = _tileSource->getFinishedTile(x,y,z); //Make sure someone didn't snake us to grabbing our tile if (image == nullptr) { qWarning() << "Failed to get tile" << x << y << z << "from MapTileSource"; return; } //Convert the QImage to a QPixmap //We have to do this here since we can't use QPixmaps in non-GUI threads (i.e., MapTileSource) QPixmap * tile = new QPixmap(); *tile = QPixmap::fromImage(*image); //Delete the QImage delete image; image = nullptr; //Make sure that the old tile has been disposed of. If it hasn't, do it //In reality, it should have been, so display a warning if (_tile != nullptr) { qWarning() << "Tile should be null, but isn't"; delete _tile; _tile = nullptr; } //Set the new tile and force a redraw _tile = tile; this->update(); //Disconnect our signal/slot connection with MapTileSource until we need to do another request //It remains to be seen if it's better to continually connect/reconnect or just to filter events QObject::disconnect(_tileSource.data(), SIGNAL(tileRetrieved(quint32,quint32,quint8)), this, SLOT(handleTileRetrieved(quint32,quint32,quint8))); } //private slot void MapTileGraphicsObject::handleTileInvalidation() { //If we haven't been initialized with a proper tile coordinate to fetch yet, don't force a refresh if (!_initialized) return; //Call setTile with force=true so that it forces a refresh this->setTile(_tileX,_tileY,_tileZoom,true); }
gpl-3.0
hzlf/openbroadcast
website/apps/importer/migrations/0009_auto__add_field_importfile_results_acoustid__add_field_importfile_resu.py
8507
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'ImportFile.results_acoustid' db.add_column('importer_importfile', 'results_acoustid', self.gf('django.db.models.fields.TextField')(default='{}', null=True, blank=True), keep_default=False) # Adding field 'ImportFile.results_acoustid_status' db.add_column('importer_importfile', 'results_acoustid_status', self.gf('django.db.models.fields.PositiveIntegerField')(default=0), keep_default=False) def backwards(self, orm): # Deleting field 'ImportFile.results_acoustid' db.delete_column('importer_importfile', 'results_acoustid') # Deleting field 'ImportFile.results_acoustid_status' db.delete_column('importer_importfile', 'results_acoustid_status') models = { 'actstream.action': { 'Meta': {'ordering': "('-timestamp',)", 'object_name': 'Action'}, 'action_object_content_type': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'action_object'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}), 'action_object_object_id': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), 'actor_content_type': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'actor'", 'to': "orm['contenttypes.ContentType']"}), 'actor_object_id': ('django.db.models.fields.CharField', [], {'max_length': '255'}), 'data': ('jsonfield.fields.JSONField', [], {'null': 'True', 'blank': 'True'}), 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'target_content_type': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'target'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}), 'target_object_id': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), 'timestamp': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), 'verb': ('django.db.models.fields.CharField', [], {'max_length': '255'}) }, 'auth.group': { 'Meta': {'object_name': 'Group'}, 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) }, 'auth.permission': { 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) }, 'auth.user': { 'Meta': {'object_name': 'User'}, 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) }, 'contenttypes.contenttype': { 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) }, 'importer.import': { 'Meta': {'ordering': "('-created',)", 'object_name': 'Import'}, 'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'status': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), 'type': ('django.db.models.fields.CharField', [], {'default': "'web'", 'max_length': "'10'"}), 'updated': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'blank': 'True'}), 'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'import_user'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}) }, 'importer.importfile': { 'Meta': {'ordering': "('-created',)", 'object_name': 'ImportFile'}, 'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'blank': 'True'}), 'file': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}), 'filename': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'import_session': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'files'", 'null': 'True', 'to': "orm['importer.Import']"}), 'mimetype': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), 'results_acoustid': ('django.db.models.fields.TextField', [], {'default': "'{}'", 'null': 'True', 'blank': 'True'}), 'results_acoustid_status': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), 'results_discogs': ('django.db.models.fields.TextField', [], {'default': "'{}'", 'null': 'True', 'blank': 'True'}), 'results_discogs_status': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), 'results_musicbrainz': ('django.db.models.fields.TextField', [], {'default': "'{}'", 'null': 'True', 'blank': 'True'}), 'results_tag': ('django.db.models.fields.TextField', [], {'default': "'{}'", 'null': 'True', 'blank': 'True'}), 'results_tag_status': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), 'status': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}), 'updated': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'blank': 'True'}) } } complete_apps = ['importer']
gpl-3.0
pojome/elementor
modules/elements-color-picker/assets/js/editor/module.js
271
import Component from './component'; export default class ElementsColorPicker extends elementorModules.ViewModule { /** * Initialize the Eye-Dropper module. * * @returns {void} */ onInit() { super.onInit(); $e.components.register( new Component() ); } }
gpl-3.0
jamesafoster/CompSkillsF16
Lecture Notes/2016-09-08.md
2441
latex input: mmd-article-header latex input: ftp-metadata Title: Comp Skills lecture for 2016-08-30, lecture 3 Date: 2016-09-08 Base Header Level: 2 latex mode: article Keywords: MultiMarkdown, Markdown, XML, XHTML, XSLT, PDF copyright: 2016 James A. Foster This work is licensed under a Creative Commons License. http: //creativecommons.org/licenses/by-nc-sa/3.0/ htmlheader: <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> latex input: mmd-natbib-plain latex input: mmd-article-begin-doc latex footer: mmd-article-footer # Notes for 2016-09-08 # Plan for course is: * lecture for 30 minutes or less on iPython, TextWrangler, Python basic datatypes * 10 minutes to play and ask questions * if there is time, move on to grep ## Objectives * learn more about iPython + TextWrangler environment * learn more about python * learn more about TextWrangler * learn *grep* ## iPython ## 1. Magic commands a. %run% b. %paste% 2. Use with TextWrangler open a. syntax highlighting b. tab to spaces c. show invisibles ## Python ## 1. space 2. comments 3. indexing lists, strings 3. boolean comparisons 4. if/else 5. while ## Regular expressions and grep (if time permits)## Sample files in tmp: grep_example.txt and grep2_example.txt * grep for strings in a file or bunch of files: * grep "THIS" grep_example.txt * grep "THIS" grep\* * case insensitive * grep -i "THIS" grep_example.txt * Using patterns * grep 197? grep_example.txt * grep 19\* grep_example.txt * rep B* grep_example.txt * grep i. grep_example.txt (period for single character) * Sets * grep [Bb].* grep_example.txt (character sets) * Using pattern modifiers * grep [aA]nd grep_example.txt * grep ^[aA]nd grep_example.txt (^ as beginning marker) * grep e.$ grep_example.txt ($ as end marker) * grep ^$ grep_example.txt * useful flags * grep -c (count) * grep -n (show line number) * grep -w (limit match to full words) * grep -i (ignore case) ### Putting It All Together ### tmp/sequences_milk.fasta has 5,379,622 DNA sequences (a **small** HiSeq run) show comment format. Includes: person's name, which gene this is for, primers, and more. * How many sequences for FUT2 gene? * How many people from Ghana (GN*) * How many records for person GN531? * How many FUT2 genes were sequenced from Ghana? Do grep. pipe to wc, less, grep -c, etc.
gpl-3.0
rcalderong/userscripts
Letterboxd_Backdrop_Remover.user.js
1478
// ==UserScript== // @name Letterboxd Backdrop Remover // @namespace https://github.com/emg/userscripts // @description Removes backdrop image from film pages // @copyright 2014+, Ramón Guijarro (http://soyguijarro.com) // @homepageURL https://github.com/soyguijarro/userscripts // @supportURL https://github.com/soyguijarro/userscripts/issues // @updateURL https://raw.githubusercontent.com/soyguijarro/userscripts/master/Letterboxd_Backdrop_Remover.user.js // @icon https://raw.githubusercontent.com/soyguijarro/userscripts/master/img/letterboxd_icon.png // @license GPLv3; http://www.gnu.org/licenses/gpl.html // @version 1.3 // @include *://letterboxd.com/film/* // @include *://letterboxd.com/film/*/crew/* // @include *://letterboxd.com/film/*/studios/* // @include *://letterboxd.com/film/*/genres/* // @exclude *://letterboxd.com/film/*/views/* // @exclude *://letterboxd.com/film/*/lists/* // @exclude *://letterboxd.com/film/*/likes/* // @exclude *://letterboxd.com/film/*/fans/* // @exclude *://letterboxd.com/film/*/ratings/* // @exclude *://letterboxd.com/film/*/reviews/* // @grant none // ==/UserScript== var containerElt = document.getElementById("content"), backdropElt = document.getElementById("backdrop"), contentElt = backdropElt.getElementsByClassName("content-wrap")[0]; containerElt.replaceChild(contentElt, backdropElt); containerElt.classList.remove("has-backdrop");
gpl-3.0
OpenQBMM/OpenQBMM-dev
src/quadratureMethods/hermiteQuadrature/hermiteQuadrature.C
6271
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | OpenQBMM - www.openqbmm.org \\/ M anipulation | ------------------------------------------------------------------------------- Code created 2010-2014 by Bo Kong and 2015-2018 by Alberto Passalacqua Contributed 2018-07-31 to the OpenFOAM Foundation Copyright (C) 2018 OpenFOAM Foundation Copyright (C) 2019-2020 Alberto Passalacqua ------------------------------------------------------------------------------- License This file is derivative work of OpenFOAM. OpenFOAM 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. OpenFOAM 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 OpenFOAM. If not, see <http://www.gnu.org/licenses/>. \*----------------------------------------------------------------------------*/ #include "hermiteQuadrature.H" #include "scalar.H" #include "scalarMatrices.H" #include "EigenMatrix.H" // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // const Foam::scalar Foam::hermiteQuadrature::thetaLimit_ = 1.0E-7; Foam::hermiteQuadrature::hermiteQuadrature ( const label& nDim, const label& nOrder ) : nDim_(nDim), nOrder_(nOrder), nTolNodes_(pow(nOrder_, nDim)), origWei_(nTolNodes_, Zero), origAbs_(nTolNodes_, Zero), resAbs_(nTolNodes_, Zero) { if((nOrder_ <= 0)) { FatalErrorIn("Foam::hermiteQuadrature\n" ) << "parameter(s) out of range ! " << abort(FatalError); } scalarRectangularMatrix ab(nOrder_, 2, scalar(0)); for(label i = 0; i < nOrder_; i++) { ab[i][1]= scalar(i); } scalarSquareMatrix z(nOrder_, Zero); for (label i = 0; i < nOrder_ - 1; i++) { z[i][i] = ab[i][0]; z[i][i+1] = Foam::sqrt(ab[i+1][1]); z[i+1][i] = z[i][i+1]; } z[nOrder_-1][nOrder_-1] = ab[nOrder_-1][0]; EigenMatrix<scalar> zEig(z); scalarList herWei_(nOrder_, Zero); scalarList herAbs_(nOrder_, Zero); forAll(herWei_,i) { herWei_[i] = sqr(zEig.EVecs()[0][i]); herAbs_[i] = zEig.EValsRe()[i]; } scalar wtotal = sum(herWei_) ; forAll(herWei_,i) { herWei_[i] = herWei_[i]/wtotal; } if (nDim_ == 1) { forAll(origWei_,i) { origWei_[i] = herWei_[i]; origAbs_[i] = vector(herAbs_[i], 0, 0); } } maxAbs_ = max(herAbs_); if (nDim_ == 2) { for(label i = 0; i < nOrder_; i++) { for(label j = 0; j < nOrder_; j++) { label p = i*nOrder_ + j; origWei_[p] = herWei_[i]*herWei_[j]; origAbs_[p] = vector(herAbs_[i], herAbs_[j], 0); } } } if (nDim_ == 3) { for(label i = 0; i < nOrder_; i++) { for(label j = 0; j < nOrder_; j++) { for(label k = 0; k < nOrder_; k++) { label p = i*nOrder_*nOrder_ + j*nOrder_ + k; origWei_[p] = herWei_[i]*herWei_[j]*herWei_[k]; origAbs_[p] = vector(herAbs_[i], herAbs_[j], herAbs_[k]); } } } } return ; } void Foam::hermiteQuadrature::calcHermiteQuadrature ( const vector& mu, const symmTensor& Pp ) { if (tr(Pp) > thetaLimit_) { tensor spM(tensor::zero); if( nDim_ == 3) { scalarSquareMatrix z(3, Zero); z[0][0] = Pp.xx(); z[0][1] = Pp.xy(); z[0][2] = Pp.xz(); z[1][0] = Pp.xy(); z[1][1] = Pp.yy(); z[1][2] = Pp.yz(); z[2][0] = Pp.xz(); z[2][1] = Pp.yz(); z[2][2] = Pp.zz(); EigenMatrix<scalar> zEig(z); const scalarDiagonalMatrix& e(zEig.EValsRe()); const scalarSquareMatrix& ev(zEig.EVecs()); scalarSquareMatrix E(3, Zero); forAll(e,i) { if(e[i] >= 0) { E[i][i] = sqrt(e[i]); } else { E[i][i] = 0.0; } } z = Zero; multiply(z, ev, E); forAll(spM,i) spM[i] = z[label(i/3)][i % 3]; } else { if(nDim_==2) { scalarSquareMatrix z(2, Zero); z[0][0] = Pp.xx(); z[0][1] = Pp.xy(); z[1][0] = Pp.xy(); z[1][1] = Pp.yy(); EigenMatrix<scalar> zEig(z); const scalarDiagonalMatrix& e(zEig.EValsRe()); const scalarSquareMatrix& ev(zEig.EVecs()); scalarSquareMatrix E(2,Zero); forAll(e, i) { if(e[i] >=0) { E[i][i] = sqrt(e[i]); } else { E[i][i] = 0.0; } } z = Zero; multiply(z, ev, E); spM.xx() = z[0][0]; spM.xy() = z[0][1]; spM.yx() = z[1][0]; spM.yy() = z[1][1]; } else { spM.xx() = sqrt(Pp.xx()); } } resAbs_ = (spM & origAbs_) + mu; } else { resAbs_ = mu ; } return ; } // ************************************************************************* //
gpl-3.0
zteifel/roboloid
lib/DynamixelSDK/c/example/protocol_combined/linux32/Makefile
2710
################################################## # PROJECT: DXL ProtocolCombined Example Makefile # AUTHOR : ROBOTIS Ltd. ################################################## #--------------------------------------------------------------------- # Makefile template for projects using DXL SDK # # Please make sure to follow these instructions when setting up your # own copy of this file: # # 1- Enter the name of the target (the TARGET variable) # 2- Add additional source files to the SOURCES variable # 3- Add additional static library objects to the OBJECTS variable # if necessary # 4- Ensure that compiler flags, INCLUDES, and LIBRARIES are # appropriate to your needs # # # This makefile will link against several libraries, not all of which # are necessarily needed for your project. Please feel free to # remove libaries you do not need. #--------------------------------------------------------------------- # *** ENTER THE TARGET NAME HERE *** TARGET = protocol_combined # important directories used by assorted rules and other variables DIR_DXL = ../.. DIR_OBJS = .objects # compiler options CC = gcc CX = g++ CCFLAGS = -O2 -O3 -DLINUX -D_GNU_SOURCE -Wall $(INCLUDES) $(FORMAT) -g CXFLAGS = -O2 -O3 -DLINUX -D_GNU_SOURCE -Wall $(INCLUDES) $(FORMAT) -g LNKCC = $(CX) LNKFLAGS = $(CXFLAGS) #-Wl,-rpath,$(DIR_THOR)/lib FORMAT = -m32 #--------------------------------------------------------------------- # Core components (all of these are likely going to be needed) #--------------------------------------------------------------------- INCLUDES += -I$(DIR_DXL)/include LIBRARIES += -ldxl_x86_c LIBRARIES += -lrt #--------------------------------------------------------------------- # Files #--------------------------------------------------------------------- SOURCES = protocol_combined.c \ # *** OTHER SOURCES GO HERE *** OBJECTS = $(addsuffix .o,$(addprefix $(DIR_OBJS)/,$(basename $(notdir $(SOURCES))))) #OBJETCS += *** ADDITIONAL STATIC LIBRARIES GO HERE *** #--------------------------------------------------------------------- # Compiling Rules #--------------------------------------------------------------------- $(TARGET): make_directory $(OBJECTS) $(LNKCC) $(LNKFLAGS) $(OBJECTS) -o $(TARGET) $(LIBRARIES) all: $(TARGET) clean: rm -rf $(TARGET) $(DIR_OBJS) core *~ *.a *.so *.lo make_directory: mkdir -p $(DIR_OBJS)/ $(DIR_OBJS)/%.o: ../%.c $(CC) $(CCFLAGS) -c $? -o $@ $(DIR_OBJS)/%.o: ../%.cpp $(CX) $(CXFLAGS) -c $? -o $@ #--------------------------------------------------------------------- # End of Makefile #---------------------------------------------------------------------
gpl-3.0
razuevMax/QWinSCard
docs/windows/functions_rela.html
3602
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.12"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>QWinSCard: Class Members - Related Functions</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">QWinSCard </div> <div id="projectbrief">This project offers WinSCard API in Qt5, which supports PC/SC reader in Windows/Linux platform</div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.12 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); </script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('functions_rela.html','');}); </script> <div id="doc-content"> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="contents"> &#160;<ul> <li>WinSCard : <a class="el" href="class_smartcards_1_1_readers_states.html#a39e4a4b1b27f8c75dc888881e4ecd761">Smartcards::ReadersStates</a> </li> </ul> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li> </ul> </div> </body> </html>
gpl-3.0
nacjm/MatterOverdrive
src/main/java/matteroverdrive/data/matter/MatterEntryAbstract.java
1512
package matteroverdrive.data.matter; import matteroverdrive.api.matter.IMatterEntry; import net.minecraft.nbt.NBTTagCompound; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; /** * Created by Simeon on 1/18/2016. */ public abstract class MatterEntryAbstract<KEY, MAT> implements IMatterEntry<KEY, MAT> { protected final List<IMatterEntryHandler<MAT>> handlers; protected KEY key; public MatterEntryAbstract() { this.handlers = new ArrayList<>(); } public MatterEntryAbstract(KEY key) { this(); this.key = key; } @Override public int getMatter(MAT key) { int matter = 0; for (IMatterEntryHandler handler : handlers) { matter = handler.modifyMatter(key, matter); if (handler.finalModification(key)) { return matter; } } return matter; } public abstract void writeTo(DataOutput output) throws IOException; public abstract void writeTo(NBTTagCompound tagCompound); public abstract void readFrom(DataInput input) throws IOException; public abstract void readFrom(NBTTagCompound tagCompound); public abstract void readKey(String data); public abstract String writeKey(); public abstract boolean hasCached(); @Override public void addHandler(IMatterEntryHandler<MAT> handler) { handlers.add(handler); Collections.sort(handlers); } public void clearHandlers() { handlers.clear(); } public KEY getKey() { return key; } }
gpl-3.0
GPCsolutions/gandi.cli
gandi/cli/tests/commands/base.py
1238
from click.testing import CliRunner from gandi.cli.core.base import GandiModule from ..compat import unittest, mock from ..fixtures.api import Api from ..fixtures.mocks import MockObject class CommandTestCase(unittest.TestCase): base_mocks = [ ('gandi.cli.core.base.GandiModule.save', MockObject.blank_func), ('gandi.cli.core.base.GandiModule.execute', MockObject.execute), ] mocks = [] def setUp(self): self.runner = CliRunner() self.mocks = self.mocks + self.base_mocks self.mocks = [mock.patch(*mock_args) for mock_args in self.mocks] for dummy in self.mocks: dummy.start() GandiModule._api = Api() GandiModule._conffiles = {'global': {'api': {'env': 'test', 'key': 'apikey0001'}}} def tearDown(self): GandiModule._api = None GandiModule._conffiles = {} for dummy in reversed(self.mocks): dummy.stop() def invoke_with_exceptions(self, cli, args, catch_exceptions=False, **kwargs): return self.runner.invoke(cli, args, catch_exceptions=catch_exceptions, **kwargs)
gpl-3.0
kastnerkyle/python-rl
pyrl/environments/mdptetris/src/last_move_info.h
1622
/** * @defgroup last_move_info Last move info * @ingroup api * @brief Information about the last move * * This module stores some information about the last move made. * This information is actually used by some features: indeed, several features * evaluate the last action instead of the current state itself. * * @{ */ #ifndef LAST_MOVE_INFO_H #define LAST_MOVE_INFO_H #include <stdio.h> #include "types.h" /** * @brief Information about the last action. */ typedef struct LastMoveInfo { /** * @name Effect of the action on the board */ int removed_lines; /**< Number of rows completed during the move * (also used to cancel a move). */ int landing_height_bottom; /**< Index of the row where the bottom part * of the piece is put. */ int eliminated_bricks_in_last_piece; /**< Number of cells of the last piece put * that were part of rows completed. */ /** * @name The action made */ int column; /**< Column where the last piece was put * (\c 1 to \c w where \c w is the board size). */ int orientation; /**< Orientation of the last piece (\c 0 to * <code>n - 1</code> where \c n is the number of * possible orientations of the piece. */ PieceOrientation *oriented_piece; /* The last piece put. */ int nb_steps; /* The number of steps (RLC mode) */ } LastMoveInfo; /** * @name Displaying * @{ */ void print_last_move_info(FILE *out, LastMoveInfo *last_move_info); /** * @} */ #endif /** * @} */
gpl-3.0
erawhctim/powertabeditor
test/actions/test_removetextitem.cpp
1274
/* * Copyright (C) 2014 Cameron White * * 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/>. */ #include <catch.hpp> #include <actions/removetextitem.h> #include <score/score.h> TEST_CASE("Actions/RemoveTextItem", "") { Score score; System system; TextItem text(7, "foo"); system.insertTextItem(text); score.insertSystem(system); ScoreLocation location(score, 0, 0, 7); RemoveTextItem action(location); action.redo(); REQUIRE(location.getSystem().getTextItems().empty()); action.undo(); REQUIRE(location.getSystem().getTextItems().size() == 1); REQUIRE(location.getSystem().getTextItems().front() == text); }
gpl-3.0
matzefratze123/heavyspleef-example-addon
src/main/java/de/matzefratze123/exampleaddon/ExampleExtension.java
8246
package de.matzefratze123.exampleaddon; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.World; import org.bukkit.block.Block; import org.bukkit.event.player.PlayerInteractEvent; import de.matzefratze123.heavyspleef.commands.base.Command; import de.matzefratze123.heavyspleef.commands.base.CommandContext; import de.matzefratze123.heavyspleef.commands.base.CommandException; import de.matzefratze123.heavyspleef.commands.base.CommandValidate; import de.matzefratze123.heavyspleef.commands.base.PlayerOnly; import de.matzefratze123.heavyspleef.core.HeavySpleef; import de.matzefratze123.heavyspleef.core.PlayerPostActionHandler.PostActionCallback; import de.matzefratze123.heavyspleef.core.event.GameStateChangeEvent; import de.matzefratze123.heavyspleef.core.event.Subscribe; import de.matzefratze123.heavyspleef.core.extension.Extension; import de.matzefratze123.heavyspleef.core.extension.GameExtension; import de.matzefratze123.heavyspleef.core.game.Game; import de.matzefratze123.heavyspleef.core.game.GameManager; import de.matzefratze123.heavyspleef.core.game.GameState; import de.matzefratze123.heavyspleef.core.i18n.Messages; import de.matzefratze123.heavyspleef.core.player.SpleefPlayer; import de.matzefratze123.heavyspleef.lib.dom4j.Element; /* * Every extension must be annotated with @Extension, declaring * an internal name and wether there are command methods declared * inside the class or not */ @SuppressWarnings("deprecation") @Extension(name = "example-extension", hasCommands = true) public class ExampleExtension extends GameExtension { /* For a reference to data values see * http://minecraft.gamepedia.com/Data_values#Wool.2C_Stained_Clay.2C_Stained_Glass_and_Carpet */ private static final byte RED_CLAY = (byte) 14; private static final byte LIME_CLAY = (byte) 5; /* * Defining a command for adding the extension to a game */ @Command(name = "addgameindicator", usage = "/spleef addgameindicator <game>", minArgs = 1, permission = "heavyspleef.admin.addgameindicator", description = "Adds an indicator block to a game") @PlayerOnly public static void onExampleExtensionAddCommand(CommandContext context, HeavySpleef heavySpleef, ExampleAddon addon) throws CommandException { //As the sender can only be a player, get a SpleefPlayer instance by calling //HeavySpleef#getSpleefPlayer(Object) final SpleefPlayer player = heavySpleef.getSpleefPlayer(context.getSender()); String gameName = context.getString(0); //Get an instance of the GameManager GameManager manager = heavySpleef.getGameManager(); //This throws a CommandException if the game does not exist with the specified message CommandValidate.isTrue(manager.hasGame(gameName), addon.getI18n().getString(Messages.Command.GAME_DOESNT_EXIST)); //Get the game Game game = manager.getGame(gameName); //Handle a block click after executing this command applyPostAction(heavySpleef, player, game, false); player.sendMessage(ChatColor.GRAY + "Click on a block to add it as an indicator."); } /* * Defining a command removing an indiciator block from a game */ @Command(name = "removegameindicator", usage = "/spleef removegameindicator", permission = "heavyspleef.admin.removegameindicator", description = "Removes an indicator block") @PlayerOnly public static void onExampleExtensionRemoveCommand(CommandContext context, HeavySpleef heavySpleef, ExampleAddon addon) { //As the sender can only be a player, get a SpleefPlayer instance by calling //HeavySpleef#getSpleefPlayer(Object) final SpleefPlayer player = heavySpleef.getSpleefPlayer(context.getSender()); //Handle a block click after executing this command applyPostAction(heavySpleef, player, null, true); player.sendMessage(ChatColor.GRAY + "Click on an existing indicator block to remove it."); } /* * Method called when a player executed a remove/add command */ private static void applyPostAction(final HeavySpleef heavySpleef, SpleefPlayer player, final Game game, final boolean remove) { //Wait until the player clicked a block (this block will be added) heavySpleef.getPostActionHandler().addPostAction(player, PlayerInteractEvent.class, new PostActionCallback<PlayerInteractEvent>() { /* * This is called one time when the player interacts */ public void onPostAction(PlayerInteractEvent event, SpleefPlayer player, Object cookie) { //Check if the player clicked a block Block block = event.getClickedBlock(); if (block == null) { player.sendMessage(ChatColor.RED + "You must click on a block to continue!"); return; } if (remove) { //Remove any extensions found at this location boolean removed = false; for (Game game : heavySpleef.getGameManager().getGames()) { for (ExampleExtension ext : game.getExtensionsByType(ExampleExtension.class)) { if (!ext.location.equals(block.getLocation())) { continue; } game.removeExtension(ext); removed = true; } } if (removed) { player.sendMessage(ChatColor.GRAY + "Game indicator removed!"); } else { player.sendMessage(ChatColor.RED + "No game indicators found where you clicked"); } } else { //Add a new extension to the game ExampleExtension extension = new ExampleExtension(block.getLocation()); //Actually add the extension to the game game.addExtension(extension); //Update and set the block extension.updateBlock(game.getGameState()); player.sendMessage(ChatColor.GRAY + "Indicator added!"); } } }); } /* In this example we are storing a location whose block is either * red stained clay for game running, or green stained clay for joinable */ private Location location; /* Mandatory empty constructor for construction when deserializing/unmarshalling */ @SuppressWarnings("unused") private ExampleExtension() {} /* A constructor taking the location attribute as a parameter */ public ExampleExtension(Location where) { this.location = where; } /* * This methods stores all attributes of your extension in * a XML element (dom4j). */ public void marshal(Element element) { //Create a new child element for the location Element locationElement = element.addElement("location"); //Store the world, x, y and z in separate child elements of locationElement locationElement.addElement("world").setText(location.getWorld().getName()); locationElement.addElement("x").setText(String.valueOf(location.getBlockX())); locationElement.addElement("y").setText(String.valueOf(location.getBlockY())); locationElement.addElement("z").setText(String.valueOf(location.getBlockZ())); } /* * This methods restores all attributes of your extension from * a XML element previously created by #marshal(Element) */ public void unmarshal(Element element) { //Gets our previously stored location element Element locationElement = element.element("location"); //Restore all values that uniquely identify the location World world = Bukkit.getWorld(locationElement.elementText("world")); int x = Integer.parseInt(locationElement.elementText("x")); int y = Integer.parseInt(locationElement.elementText("y")); int z = Integer.parseInt(locationElement.elementText("z")); //Finally create a new location and assign it to our field this.location = new Location(world, x, y, z); } /* * Listening for game state changes as we want to set the block * to a specified color indicating the game state * * This listens only for events of the game this extension has been * applied to. */ @Subscribe public void onGameStateChange(GameStateChangeEvent event) { //Getting the new game state GameState state = event.getNewState(); //Calling a method to actually change the block updateBlock(state); } public void updateBlock(GameState newState) { Block block = location.getBlock(); block.setType(Material.STAINED_CLAY); if (newState == GameState.INGAME || newState == GameState.DISABLED) { block.setData(RED_CLAY); } else { block.setData(LIME_CLAY); } } }
gpl-3.0
gatieme/LDD-LinuxDeviceDrivers
books/21cnbao/simple/本书代码/第16章 触摸屏设备驱动程序/s3c2410_ts.c
8976
/* * 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 2 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, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Copyright (c) 2004 Arnaud Patard <[email protected]> * iPAQ H1940 touchscreen support * * ChangeLog * * 2004-09-05: Herbert Pötzl <[email protected]> * - added clock (de-)allocation code * * 2005-03-06: Arnaud Patard <[email protected]> * - h1940_ -> s3c2410 (this driver is now also used on the n30 * machines :P) * - Debug messages are now enabled with the config option * TOUCHSCREEN_S3C2410_DEBUG * - Changed the way the value are read * - Input subsystem should now work * - Use ioremap and readl/writel * * 2005-03-23: Arnaud Patard <[email protected]> * - Make use of some undocumented features of the touchscreen * controller * */ #include <linux/config.h> #include <linux/errno.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/input.h> #include <linux/init.h> #include <linux/serio.h> #include <linux/delay.h> #include <asm/io.h> #include <asm/irq.h> #include <asm/arch/regs-adc.h> #include <asm/arch/regs-gpio.h> #include <asm/arch/s3c2410_ts.h> #include <asm/hardware/clock.h> /* For ts.dev.id.version */ #define S3C2410TSVERSION 0x0101 #define WAIT4INT(x) (((x)<<8) | S3C2410_ADCTSC_YM_SEN | S3C2410_ADCTSC_YP_SEN | S3C2410_ADCTSC_XP_SEN | S3C2410_ADCTSC_XY_PST(3)) #define AUTOPST (S3C2410_ADCTSC_YM_SEN | S3C2410_ADCTSC_YP_SEN | S3C2410_ADCTSC_XP_SEN | S3C2410_ADCTSC_AUTO_PST | S3C2410_ADCTSC_XY_PST(0)) #define DEBUG_LVL KERN_DEBUG MODULE_AUTHOR("Arnaud Patard <[email protected]>"); MODULE_DESCRIPTION("s3c2410 touchscreen driver"); MODULE_LICENSE("GPL"); /* * Definitions & global arrays. */ static char *s3c2410ts_name = "s3c2410 TouchScreen"; /* * Per-touchscreen data. */ struct s3c2410ts { struct input_dev dev; long xp; long yp; int count; int shift; char phys[32]; }; static struct s3c2410ts ts; static void __iomem *base_addr; static inline void s3c2410_ts_connect(void) { s3c2410_gpio_cfgpin(S3C2410_GPG12, S3C2410_GPG12_XMON); s3c2410_gpio_cfgpin(S3C2410_GPG13, S3C2410_GPG13_nXPON); s3c2410_gpio_cfgpin(S3C2410_GPG14, S3C2410_GPG14_YMON); s3c2410_gpio_cfgpin(S3C2410_GPG15, S3C2410_GPG15_nYPON); } static void touch_timer_fire(unsigned long data) { unsigned long data0; unsigned long data1; int updown; data0 = readl(base_addr+S3C2410_ADCDAT0); data1 = readl(base_addr+S3C2410_ADCDAT1); updown = (!(data0 & S3C2410_ADCDAT0_UPDOWN)) && (!(data1 & S3C2410_ADCDAT1_UPDOWN)); if (updown) { if (ts.count != 0) { ts.xp >>= ts.shift; ts.yp >>= ts.shift; #ifdef CONFIG_TOUCHSCREEN_S3C2410_DEBUG { struct timeval tv; do_gettimeofday(&tv); printk(DEBUG_LVL "T: %06d, X: %03ld, Y: %03ld\n", (int)tv.tv_usec, ts.xp, ts.yp); printk(KERN_INFO "T: %06d, X: %03ld, Y: %03ld\n", (int)tv.tv_usec, ts.xp, ts.yp); } #endif input_report_abs(&ts.dev, ABS_X, ts.xp); input_report_abs(&ts.dev, ABS_Y, ts.yp); input_report_key(&ts.dev, BTN_TOUCH, 1); input_report_abs(&ts.dev, ABS_PRESSURE, 1); input_sync(&ts.dev); } ts.xp = 0; ts.yp = 0; ts.count = 0; writel(S3C2410_ADCTSC_PULL_UP_DISABLE | AUTOPST, base_addr+S3C2410_ADCTSC); writel(readl(base_addr+S3C2410_ADCCON) | S3C2410_ADCCON_ENABLE_START, base_addr+S3C2410_ADCCON); } else { ts.count = 0; input_report_key(&ts.dev, BTN_TOUCH, 0); input_report_abs(&ts.dev, ABS_PRESSURE, 0); input_sync(&ts.dev); writel(WAIT4INT(0), base_addr+S3C2410_ADCTSC); } } static struct timer_list touch_timer = TIMER_INITIALIZER(touch_timer_fire, 0, 0); static irqreturn_t stylus_updown(int irq, void *dev_id, struct pt_regs *regs) { unsigned long data0; unsigned long data1; int updown; /********************************debug************************************/ printk(KERN_INFO "You touch the screen\n"); /*************************************************************************/ data0 = readl(base_addr+S3C2410_ADCDAT0); data1 = readl(base_addr+S3C2410_ADCDAT1); updown = (!(data0 & S3C2410_ADCDAT0_UPDOWN)) && (!(data1 & S3C2410_ADCDAT1_UPDOWN)); /* TODO we should never get an interrupt with updown set while * the timer is running, but maybe we ought to verify that the * timer isn't running anyways. */ if (updown) touch_timer_fire(0); return IRQ_HANDLED; } static irqreturn_t stylus_action(int irq, void *dev_id, struct pt_regs *regs) { unsigned long data0; unsigned long data1; data0 = readl(base_addr+S3C2410_ADCDAT0); data1 = readl(base_addr+S3C2410_ADCDAT1); ts.xp += data0 & S3C2410_ADCDAT0_XPDATA_MASK; ts.yp += data1 & S3C2410_ADCDAT1_YPDATA_MASK; ts.count++; if (ts.count < (1<<ts.shift)) { writel(S3C2410_ADCTSC_PULL_UP_DISABLE | AUTOPST, base_addr+S3C2410_ADCTSC); writel(readl(base_addr+S3C2410_ADCCON) | S3C2410_ADCCON_ENABLE_START, base_addr+S3C2410_ADCCON); } else { mod_timer(&touch_timer, jiffies+1); writel(WAIT4INT(1), base_addr+S3C2410_ADCTSC); } return IRQ_HANDLED; } static struct clk *adc_clock; /* * The functions for inserting/removing us as a module. */ static int __init s3c2410ts_probe(struct device *dev) { struct s3c2410_ts_mach_info *info; info = ( struct s3c2410_ts_mach_info *)dev->platform_data; if (!info) { printk(KERN_ERR "Hm... too bad : no platform data for ts\n"); return -EINVAL; } #ifdef CONFIG_TOUCHSCREEN_S3C2410_DEBUG printk(DEBUG_LVL "Entering s3c2410ts_init\n"); #endif adc_clock = clk_get(NULL, "adc"); if (!adc_clock) { printk(KERN_ERR "failed to get adc clock source\n"); return -ENOENT; } clk_use(adc_clock); clk_enable(adc_clock); #ifdef CONFIG_TOUCHSCREEN_S3C2410_DEBUG printk(DEBUG_LVL "got and enabled clock\n"); #endif base_addr=ioremap(S3C2410_PA_ADC,0x20); if (base_addr == NULL) { printk(KERN_ERR "Failed to remap register block\n"); return -ENOMEM; } /* Configure GPIOs */ s3c2410_ts_connect(); /* Set the prscvl*/ if ((info->presc&0xff) > 0) writel(S3C2410_ADCCON_PRSCEN | S3C2410_ADCCON_PRSCVL(info->presc&0xFF),\ base_addr+S3C2410_ADCCON); else writel(0,base_addr+S3C2410_ADCCON); /* Initialise the adcdly registers */ if ((info->delay&0xffff) > 0) writel(info->delay & 0xffff, base_addr+S3C2410_ADCDLY); writel(WAIT4INT(0), base_addr+S3C2410_ADCTSC); /* Initialise input stuff */ memset(&ts, 0, sizeof(struct s3c2410ts)); init_input_dev(&ts.dev); ts.dev.evbit[0] = ts.dev.evbit[0] = BIT(EV_SYN) | BIT(EV_KEY) | BIT(EV_ABS); ts.dev.keybit[LONG(BTN_TOUCH)] = BIT(BTN_TOUCH); input_set_abs_params(&ts.dev, ABS_X, 0, 0x3FF, 0, 0); input_set_abs_params(&ts.dev, ABS_Y, 0, 0x3FF, 0, 0); input_set_abs_params(&ts.dev, ABS_PRESSURE, 0, 1, 0, 0); sprintf(ts.phys, "ts0"); ts.dev.private = &ts; ts.dev.name = s3c2410ts_name; ts.dev.phys = ts.phys; ts.dev.id.bustype = BUS_RS232; ts.dev.id.vendor = 0xDEAD; ts.dev.id.product = 0xBEEF; ts.dev.id.version = S3C2410TSVERSION; ts.shift = info->oversampling_shift; /* Get irqs */ if (request_irq(IRQ_ADC, stylus_action, SA_SAMPLE_RANDOM, "s3c2410_action", &ts.dev)) { printk(KERN_ERR "s3c2410_ts.c: Could not allocate ts IRQ_ADC !\n"); iounmap(base_addr); return -EIO; } if (request_irq(IRQ_TC, stylus_updown, SA_SAMPLE_RANDOM, "s3c2410_action", &ts.dev)) { printk(KERN_ERR "s3c2410_ts.c: Could not allocate ts IRQ_TC !\n"); iounmap(base_addr); return -EIO; } printk(KERN_INFO "%s successfully loaded\n", s3c2410ts_name); /* All went ok, so register to the input system */ input_register_device(&ts.dev); return 0; } static int s3c2410ts_remove(struct device *dev) { disable_irq(IRQ_ADC); disable_irq(IRQ_TC); free_irq(IRQ_TC,&ts.dev); free_irq(IRQ_ADC,&ts.dev); if (adc_clock) { clk_disable(adc_clock); clk_unuse(adc_clock); clk_put(adc_clock); adc_clock = NULL; } input_unregister_device(&ts.dev); iounmap(base_addr); return 0; } static struct device_driver s3c2410ts_driver = { .name = "s3c2410-ts", .bus = &platform_bus_type, .probe = s3c2410ts_probe, .remove = s3c2410ts_remove, }; int __init s3c2410ts_init(void) { return driver_register(&s3c2410ts_driver); } void __exit s3c2410ts_exit(void) { driver_unregister(&s3c2410ts_driver); } module_init(s3c2410ts_init); module_exit(s3c2410ts_exit);
gpl-3.0
Suki00789/escb-mysql
site/administrator/components/com_digicom/views/order/tmpl/edit.php
9026
<?php /** * @package DigiCom * @author ThemeXpert http://www.themexpert.com * @copyright Copyright (c) 2010-2015 ThemeXpert. All rights reserved. * @license GNU General Public License version 3 or later; see LICENSE.txt * @since 1.0.0 */ defined('_JEXEC') or die; JHtml::_('bootstrap.tooltip'); JHtml::_('behavior.multiselect'); JHtml::_('formbehavior.chosen', 'select'); $document = JFactory::getDocument(); $k = 0; $n = count ($this->item->products); $configs = $this->configs; $order = $this->item; $refunds = DigiComHelperDigiCom::getRefunds($order->id); $chargebacks = DigiComHelperDigiCom::getChargebacks($order->id); $deleted = DigiComHelperDigiCom::getDeleted($order->id); $date = $order->order_date; $app = JFactory::getApplication(); $input = $app->input; $input->set('layout', 'dgtabs'); ?> <?php if (!empty( $this->sidebar)) : ?> <div id="j-sidebar-container" class=""> <?php echo $this->sidebar; ?> </div> <div id="j-main-container" class=""> <?php else : ?> <div id="j-main-container" class=""> <?php endif;?> <form id="adminForm" action="index.php?option=com_digicom&view=order&id=<?php echo $order->id; ?>" name="adminForm" method="post"> <div id="contentpane"> <?php echo JHtml::_('bootstrap.startTabSet', 'digicomTab', array('active' => 'details')); ?> <?php echo JHtml::_('bootstrap.addTab', 'digicomTab', 'details', JText::_('COM_DIGICOM_ORDER_DETAILS_HEADER_TITLE', true)); ?> <p class="alert alert-info"> <?php echo JText::sprintf('COM_DIGICOM_ORDER_DETAILS_HEADER_NOTICE',$order->id,$date,$order->status); ?> </p> <table class="adminlist table table-striped"> <thead> <tr> <th class="sectiontableheader">#</th> <th class="sectiontableheader" > <?php echo JText::_('COM_DIGICOM_PRODUCT');?> </th> <th class="sectiontableheader" > <?php echo JText::_('COM_DIGICOM_ORDER_DETAILS_TOTAL_PRODUCT');?> </th> <th class="sectiontableheader" > <?php echo JText::_('COM_DIGICOM_PRICE');?> </th> </tr> </thead> <tbody> <?php $oll_courses_total = 0; //for ($i = 0; $i < $n; $i++): $i = 0; foreach ($order->products as $key=>$prod): if(!isset($prod->id)) break; //print_r($prod);die; $id = $order->id; if (!isset($prod->currency)) { $prod->currency = $configs->get('currency','USD'); } $licenseid = $prod->id; //print_r($prod);die; $refund = DigiComHelperDigiCom::getRefunds($order->id, $prod->id); $chargeback = DigiComHelperDigiCom::getChargebacks($order->id, $prod->id); $cancelled = DigiComHelperDigiCom::isProductDeleted($prod->id);?> <tr class="row<?php echo $k;?> sectiontableentry<?php echo ($i%2 + 1);?>"> <td style="<?php echo $cancelled == 3 ? 'text-decoration: line-through;' : '';?>"><?php echo $i+1; ?></td> <td style="<?php echo $cancelled == 3 ? 'text-decoration: line-through;' : '';?>"> <?php echo $prod->name;?> </td> <td style="<?php echo $cancelled == 3 ? 'text-decoration: line-through;' : '';?>"> <?php echo $prod->quantity;?> </td> <td style="<?php echo $cancelled == 3 ? 'text-decoration: line-through;' : '';?>"><?php $price = $prod->amount_paid - $refund - $chargeback; echo DigiComHelperDigiCom::format_price($prod->amount_paid, $prod->currency, true, $configs); $oll_courses_total += $price; if ($refund > 0) { echo '&nbsp;<span style="color:#ff0000;"><em>('.JText::_("LICENSE_REFUND")." - ".DigiComHelperDigiCom::format_price($refund, $prod->currency, true, $configs).')</em></span>'; } if ($chargeback > 0) { echo '&nbsp;<span style="color:#ff0000;"><em>('.JText::_("LICENSE_CHARGEBACK")." - ".DigiComHelperDigiCom::format_price($chargeback, $prod->currency, true, $configs).')</em></span>'; } ?> </td> </tr><?php $k = 1 - $k; $i++; endforeach; ?> <tr style="border-style:none;"><td style="border-style:none;" colspan="4"><hr /></td></tr> <tr><td colspan="2" ></td> <td style="font-weight:bold"><?php echo JText::_("COM_DIGICOM_SUBTOTAL");?></td> <td> <?php echo DigiComHelperDigiCom::format_price($oll_courses_total, $order->currency, true, $configs); ?> </td> </tr> <tr> <td colspan="2"></td> <td><strong><?php echo JText::_("COM_DIGICOM_DISCOUNT");?></strong> (<?php echo $order->promocode; ?>)</td> <td><?php echo DigiComHelperDigiCom::format_price($order->discount, $order->currency, true, $configs);?></td> </tr> <tr> <td colspan="2"></td> <td><strong><?php echo JText::_("COM_DIGICOM_TAX");?></strong></td> <td><?php echo DigiComHelperDigiCom::format_price($order->tax, $order->currency, true, $configs);?></td> </tr> <?php if ($refunds > 0):?> <tr> <td colspan="2"></td> <td style="font-weight:bold;color:#ff0000;"><?php echo JText::_("LICENSE_REFUNDS");?></td> <td style="color:#ff0000;"><?php echo DigiComHelperDigiCom::format_price($refunds, $order->currency, true, $configs); ?></td> </tr> <?php endif;?> <?php if ($chargebacks > 0):?> <tr> <td colspan="2"></td> <td style="font-weight:bold;color:#ff0000;"><?php echo JText::_("LICENSE_CHARGEBACKS");?></td> <td style="color:#ff0000;"><?php echo DigiComHelperDigiCom::format_price($chargebacks, $order->currency, true, $configs); ?></td> </tr> <?php endif;?> <?php if ($deleted > 0):?> <tr> <td colspan="2"></td> <td style="font-weight:bold;color:#ff0000;"><?php echo JText::_("DELETED_LICENSES");?></td> <td style="color:#ff0000;"><?php echo DigiComHelperDigiCom::format_price($deleted, $order->currency, true, $configs); ?></td> </tr> <?php endif;?> <tr><td colspan="2"></td> <td style="font-weight:bold"><?php echo JText::_("COM_DIGICOM_TOTAL");?></td> <td> <?php $value = $order->amount; echo DigiComHelperDigiCom::format_price($value, $order->currency, true, $configs); ?> </td> </tr> <tr><td colspan="2"></td> <td style="font-weight:bold"><?php echo JText::_("COM_DIGICOM_AMOUNT_PAID");?></td> <td> <?php $value = $order->amount_paid; $value = $value - $refunds - $chargebacks; echo DigiComHelperDigiCom::format_price($value, $order->currency, true, $configs); ?> </td> </tr> <tr style="border-style:none;"><td style="border-style:none;" colspan="4"><hr /></td></tr> <tr> <td colspan="2" width="50%"><?php echo $this->form->getLabel('status'); ?></td> <td colspan="2"><?php echo $this->form->getInput('status'); ?></td> </tr> <tr> <td colspan="2" width="50%"><?php echo $this->form->getLabel('amount_paid'); ?></td> <td colspan="2"><?php echo $this->form->getInput('amount_paid'); ?></td> </tr> </tbody> </table> <?php echo JHtml::_('bootstrap.endTab'); ?> <?php echo JHtml::_('bootstrap.addTab', 'digicomTab', 'log', JText::_('COM_DIGICOM_ORDER_DETAILS_LOG_TITLE', true)); ?> <table class="adminlist table table-striped"> <thead> <tr> <th> <?php echo JText::_( 'COM_DIGICOM_ID' ); ?> </th> <th> <?php echo JText::_( 'COM_DIGICOM_PRODUCTS_TYPE' ); ?> </th> <th> <?php echo JText::_( 'COM_DIGICOM_MESSAGE' ); ?> </th> <th> <?php echo JText::_( 'COM_DIGICOM_STATUS' ); ?> </th> <th> <?php echo JText::_( 'JDATE' ); ?> </th> <th> <?php echo JText::_( 'COM_DIGICOM_IP' ); ?> </th> </tr> </thead> <tbody> <?php foreach($order->logs as $key=>$log): ?> <tr> <td> <?php echo $log->id;?> </td> <td> <?php echo $log->type;?> </td> <td> <?php echo $log->message;?> </td> <td> <?php echo $log->status;?> </td> <td> <?php echo $log->created;?> </td> <td> <?php echo $log->ip;?> </td> </tr> <?php endforeach;?> </tbody> </table> <?php echo JHtml::_('bootstrap.endTab'); ?> <?php echo JHtml::_('bootstrap.endTabSet'); ?> </div> <input type="hidden" name="option" value="com_digicom" /> <input type="hidden" name="task" value="order.apply" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="view" value="order" /> <input type="hidden" name="jform[id]" value="<?php echo $order->id; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> </div> <?php echo JHtml::_( 'bootstrap.renderModal', 'videoTutorialModal', array( 'url' => 'https://www.youtube-nocookie.com/embed/zAEU6-Wv5c4?list=PL5eH3TQ0wUTZXKs632GyKMzGVkxdfPB4f&amp;showinfo=0',//&amp;autoplay=1 'title' => JText::_('COM_DIGICOM_ORDERS_VIDEO_INTRO'), 'height' => '400px', 'width' => '1280' ) ); ?> <div class="dg-footer"> <?php echo JText::_('COM_DIGICOM_CREDITS'); ?> </div>
gpl-3.0
cnr-isti-vclab/meshlab
src/external/libigl-2.3.0/include/igl/isdiag.h
822
// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2016 Alec Jacobson <[email protected]> // // This Source Code Form is subject to the terms of the Mozilla Public License // v. 2.0. If a copy of the MPL was not distributed with this file, You can // obtain one at http://mozilla.org/MPL/2.0/. #ifndef IGL_ISDIAG_H #define IGL_ISDIAG_H #include "igl_inline.h" #include <Eigen/Sparse> namespace igl { // Determine if a given matrix is diagonal: all non-zeros lie on the // main diagonal. // // Inputs: // A m by n sparse matrix // Returns true iff and only if the matrix is diagonal. template <typename Derived> IGL_INLINE bool isdiag(const Eigen::SparseCompressedBase<Derived> & A); }; #ifndef IGL_STATIC_LIBRARY # include "isdiag.cpp" #endif #endif
gpl-3.0
ngvoice/android-client
phone/src/com/voiceblue/phone/widgets/MarqueeTextView.java
1648
/** * Copyright (C) 2010-2012 Regis Montoya (aka r3gis - www.r3gis.fr) * This file is part of CSipSimple. * * CSipSimple 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. * If you own a pjsip commercial license you can also redistribute it * and/or modify it under the terms of the GNU Lesser General Public License * as an android library. * * CSipSimple 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 CSipSimple. If not, see <http://www.gnu.org/licenses/>. */ package com.voiceblue.phone.widgets; import android.content.Context; import android.graphics.Rect; import android.util.AttributeSet; import android.widget.TextView; public class MarqueeTextView extends TextView { public MarqueeTextView(Context context, AttributeSet attrs) { super(context, attrs); } @Override protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { if(focused) super.onFocusChanged(focused, direction, previouslyFocusedRect); } @Override public void onWindowFocusChanged(boolean focused) { if(focused) super.onWindowFocusChanged(focused); } @Override public boolean isFocused() { return true; } }
gpl-3.0
kattsushi/Intranet-SegurosCatatumbo
client/views/nav.html
6303
<div id="nav-wrapper"> <ul id="nav" data-ng-controller="NavCtrl" data-slim-scroll data-collapse-nav data-highlight-active> <li><a href="#/inicio"> <i class="glyphicon glyphicon-th-large"></i><span>Inicio</span> </a></li> <li> <a href="#/ui"><i class="fa fa-magic"></i><span data-i18n="UI Kit"></span></a> <ul> <li><a href="#/ui/buttons"><i class="fa fa-caret-right"></i><span data-i18n="Buttons"></span></a></li> <li><a href="#/ui/typography"><i class="fa fa-caret-right"></i><span data-i18n="Typography"></span></a></li> <li><a href="#/ui/widgets"><i class="fa fa-caret-right"></i><span data-i18n="Widgets"></span> <span class="badge badge-success">13</span></a></li> <li><a href="#/ui/grids"><i class="fa fa-caret-right"></i><span data-i18n="Grids"></span></a></li> <li><a href="#/ui/icons"><i class="fa fa-caret-right"></i><span data-i18n="Icons"></span></a></li> <li><a href="#/ui/components"><i class="fa fa-caret-right"></i><span data-i18n="Components"></span> <span class="badge badge-danger">17</span></a></li> <li><a href="#/ui/timeline"><i class="fa fa-caret-right"></i><span data-i18n="Timeline"></span></a></li> <li><a href="#/ui/nested-lists"><i class="fa fa-caret-right"></i><span data-i18n="Nested Lists"></span></a></li> <li><a href="#/ui/pricing-tables"><i class="fa fa-caret-right"></i><span data-i18n="Pricing Tables"></span></a></li> </ul> </li> <li> <a href="#/pages"><i class="fa fa-file-text-o"></i><span data-i18n="Pages"></span></a> <ul> <li><a href="#/pages/signin"><i class="fa fa-caret-right"></i><span data-i18n="Sign in"></span></a></li> <li><a href="#/pages/signup"><i class="fa fa-caret-right"></i><span data-i18n="Sign Up"></span></a></li> <li><a href="#/pages/forgot"><i class="fa fa-caret-right"></i><span data-i18n="Forgot Password"></span></a></li> <li><a href="#/pages/lock-screen"><i class="fa fa-caret-right"></i><span data-i18n="Lock Screen"></span></a></li> <li><a href="#/pages/profile"><i class="fa fa-caret-right"></i><span data-i18n="User Profile"></span></a></li> <li><a href="#/pages/404"><i class="fa fa-caret-right"></i>404 <span data-i18n="Error"></span></a></li> <li><a href="#/pages/500"><i class="fa fa-caret-right"></i>500 <span data-i18n="Error"></span></a></li> <li><a href="#/pages/blank"><i class="fa fa-caret-right"></i><span data-i18n="Blank Page"></span></a></li> <li><a href="#/pages/services"><i class="fa fa-caret-right"></i><span data-i18n="Services"></span></a></li> <li><a href="#/pages/about"><i class="fa fa-caret-right"></i><span data-i18n="About"></span></a></li> <li><a href="#/pages/contact"><i class="fa fa-caret-right"></i><span data-i18n="Contact"></span></a></li> <li><a href="#/pages/invoice"><i class="fa fa-caret-right"></i><span data-i18n="Invoice"></span></a></li> </ul> </li> <li> <a href="#/table"><i class="fa fa-table"></i><span data-i18n="Tables"></span></a> <ul> <li><a href="#/tables/static"><i class="fa fa-caret-right"></i><span data-i18n="Static Tables"></span></a></li> <li><a href="#/tables/responsive"><i class="fa fa-caret-right"></i><span data-i18n="Responsive Tables"></span></a></li> <li><a href="#/tables/dynamic"><i class="fa fa-caret-right"></i><span data-i18n="Dynamic Tables"></span></a></li> </ul> </li> <li> <a href="#/form"><i class="fa fa-pencil"></i><span data-i18n="Forms"></span></a> <ul> <li><a href="#/forms/elements"><i class="fa fa-caret-right"></i><span data-i18n="Form Elements"></span> <span class="badge badge-warning">14</span></a></li> <li><a href="#/forms/validation"><i class="fa fa-caret-right"></i><span data-i18n="Form Validation"></span></a></li> <li><a href="#/forms/wizard"><i class="fa fa-caret-right"></i><span data-i18n="Form Wizard"></span></a></li> <li><a href="#/forms/layouts"><i class="fa fa-caret-right"></i><span data-i18n="Form Layouts"></span></a></li> </ul> </li> <li> <a href="#/charts"><i class="fa fa-bar-chart-o"></i><span data-i18n="Charts"></span></a> <ul> <li><a href="#/charts/morris"><i class="fa fa-caret-right"></i>Morris <span data-i18n="Charts"></span></a></li> <li><a href="#/charts/flot"><i class="fa fa-caret-right"></i>Flot <span data-i18n="Charts"></span></a></li> <li><a href="#/charts/others"><i class="fa fa-caret-right"></i>Other <span data-i18n="Charts"></span></a></li> </ul> </li> <li> <a href="#/maps"><i class="fa fa-map-marker"></i><span data-i18n="Maps"></span></a> <ul> <li><a href="#/maps/gmap"><i class="fa fa-caret-right"></i><span data-i18n="Google Map"></span></a></li> <li><a href="#/maps/jqvmap"><i class="fa fa-caret-right"></i><span data-i18n="Vector Map"></span></a></li> </ul> </li> <li class="nav-task"> <a href="#/tasks"> <i class="fa fa-tasks"></i><span data-i18n="Tasks"></span> <span class="badge badge-info main-badge" data-ng-show="taskRemainingCount > 0">{{taskRemainingCount}}</span> </a> </li> <li> <a href="#/mail"><i class="fa fa-envelope-o"></i><span data-i18n="Mail"></span></a> <ul> <li><a href="#/mail/inbox"><i class="fa fa-caret-right"></i><span data-i18n="Inbox"></span></a></li> <li><a href="#/mail/compose"><i class="fa fa-caret-right"></i><span data-i18n="Compose"></span></a></li> <li><a href="#/mail/single"><i class="fa fa-caret-right"></i><span data-i18n="Single Mail"></span></a></li> </ul> </li> </ul> </div>
gpl-3.0
HuygensING/timbuctoo
timbuctoo-instancev4/src/main/java/nl/knaw/huygens/timbuctoo/v5/graphql/collectionfilter/Facet.java
1047
package nl.knaw.huygens.timbuctoo.v5.graphql.collectionfilter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; public class Facet { private static final Logger LOG = LoggerFactory.getLogger(Facet.class); final LinkedHashMap<String, FacetOption> options = new LinkedHashMap<>(); final String caption; public Facet(String caption) { this.caption = caption; } public void incOption(String key, int value) { if (options.containsKey(key)) { LOG.warn("The aggregation '" + caption + "' resulted the same bucket (" + key + ") being mentioned twice. " + "We did not expect that to be possible"); options.put(key, FacetOption.facetOption(key, options.get(key).getCount() + value)); } else { options.put(key, FacetOption.facetOption(key, value)); } } public String getCaption() { return caption; } public List<FacetOption> getOptions() { return new ArrayList<>(options.values()); } }
gpl-3.0
srnsw/xena
xena/src/org/jaxen/expr/DefaultFunctionCallExpr.java
5565
/* * $Header$ * $Revision$ * $Date$ * * ==================================================================== * * Copyright 2000-2004 bob mcwhirter & James Strachan. * 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 the Jaxen Project 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. * * ==================================================================== * This software consists of voluntary contributions made by many * individuals on behalf of the Jaxen Project and was originally * created by bob mcwhirter <[email protected]> and * James Strachan <[email protected]>. For more information on the * Jaxen Project, please see <http://www.jaxen.org/>. * * $Id$ */ package org.jaxen.expr; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.jaxen.Context; import org.jaxen.Function; import org.jaxen.JaxenException; /** * @deprecated this class will become non-public in the future; * use the interface instead */ public class DefaultFunctionCallExpr extends DefaultExpr implements FunctionCallExpr { /** * */ private static final long serialVersionUID = -4747789292572193708L; private String prefix; private String functionName; private List parameters; public DefaultFunctionCallExpr(String prefix, String functionName) { this.prefix = prefix; this.functionName = functionName; this.parameters = new ArrayList(); } public void addParameter(Expr parameter) { this.parameters.add(parameter); } public List getParameters() { return this.parameters; } public String getPrefix() { return this.prefix; } public String getFunctionName() { return this.functionName; } public String getText() { StringBuffer buf = new StringBuffer(); String prefix = getPrefix(); if (prefix != null && prefix.length() > 0) { buf.append(prefix); buf.append(":"); } buf.append(getFunctionName()); buf.append("("); Iterator paramIter = getParameters().iterator(); while (paramIter.hasNext()) { Expr eachParam = (Expr) paramIter.next(); buf.append(eachParam.getText()); if (paramIter.hasNext()) { buf.append(", "); } } buf.append(")"); return buf.toString(); } public Expr simplify() { List paramExprs = getParameters(); int paramSize = paramExprs.size(); List newParams = new ArrayList(paramSize); for (int i = 0; i < paramSize; ++i) { Expr eachParam = (Expr) paramExprs.get(i); newParams.add(eachParam.simplify()); } this.parameters = newParams; return this; } public String toString() { String prefix = getPrefix(); if (prefix == null) { return "[(DefaultFunctionCallExpr): " + getFunctionName() + "(" + getParameters() + ") ]"; } return "[(DefaultFunctionCallExpr): " + getPrefix() + ":" + getFunctionName() + "(" + getParameters() + ") ]"; } public Object evaluate(Context context) throws JaxenException { String namespaceURI = context.translateNamespacePrefixToUri(getPrefix()); Function func = context.getFunction(namespaceURI, getPrefix(), getFunctionName()); List paramValues = evaluateParams(context); return func.call(context, paramValues); } public List evaluateParams(Context context) throws JaxenException { List paramExprs = getParameters(); int paramSize = paramExprs.size(); List paramValues = new ArrayList(paramSize); for (int i = 0; i < paramSize; ++i) { Expr eachParam = (Expr) paramExprs.get(i); Object eachValue = eachParam.evaluate(context); paramValues.add(eachValue); } return paramValues; } }
gpl-3.0
iuyte/VEX-709s
Planning/tools/git.html
271819
<html> <head> <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet"> <style> .body { align: center; background-color: #bfbfdf; width: 100%; margin: 0px; font-family: 'Open Sans', sans-serif; } .link { color: black; text-decoration: none; word-wrap: break-word; } .link:visited { color: black; text-decoration: none; cursor: auto; } .link:hover { color: #0000EE; text-decoration: underline; cursor: pointer; } .commit { background-color: #efefef; width: 50%; align: center; align-self: center; align-content: center; align-items: center; border-color: #454585; border-style: groove inset; border-radius: 25px; padding: 20px; margin-left: 25%; margin-right: 25%; box-shadow: 10px 10px 5px #777777; } .em { cursor: pointer; } .spacer { height: 5%; } .bcon { width: 8%; } .browse { background-color: #454585; color: white; border: 2px solid #454585; border-radius: 4px; position: absolute; right: 25%; display: none; } .browse:hover { background-color: #bfbfdf; border-color: #9d9dbf; color: black; } h1 { font-size: 275%; } h2 { font-size: 170%; } .centered { text-align: center; } </style> <title>Git Commit history</title> </head> <body style='background-color: #bfbfdf;' class='body'><div class='commit' id='top'> <h1 class='centered'>VEX Robotics Competition</h1> <h2 class='centered'>Team 709S Programming Log / Notebook<h2> </div> <br> <div class='commit' id='3e314d48fb3c55128756d2f93e3578195a3e4c9c'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/3e314d48fb3c55128756d2f93e3578195a3e4c9c")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#3e314d48fb3c55128756d2f93e3578195a3e4c9c'>3e314d48fb3c55128756d2f93e3578195a3e4c9c</a></p><p><b>Date:</b> Sun Apr 16 23:30:13 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Now two options for regular auton - 3 star beginning or 2 star, in case of unmoving alliance partner. auto6 now contains skills copy for hanging tests. PDF for programming engineering notebook moved into repo, just finished today</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3e314d48fb3c55128756d2f93e3578195a3e4c9c/2017/Planning/Programming.pdf")'>2017/Planning/Programming.pdf</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3e314d48fb3c55128756d2f93e3578195a3e4c9c/2017/worlds/src/auto6.c")'>2017/worlds/src/auto6.c</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3e314d48fb3c55128756d2f93e3578195a3e4c9c/2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc")'>2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3e314d48fb3c55128756d2f93e3578195a3e4c9c/2017/Planning/tools/cleanuphelp.py")'>2017/Planning/tools/cleanuphelp.py</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3e314d48fb3c55128756d2f93e3578195a3e4c9c/2017/Planning/tools/git.html")'>2017/Planning/tools/git.html</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3e314d48fb3c55128756d2f93e3578195a3e4c9c/2017/worlds/bin/output.bin")'>2017/worlds/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3e314d48fb3c55128756d2f93e3578195a3e4c9c/2017/worlds/include/defaultAuton.h")'>2017/worlds/include/defaultAuton.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3e314d48fb3c55128756d2f93e3578195a3e4c9c/2017/worlds/include/extras.h")'>2017/worlds/include/extras.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3e314d48fb3c55128756d2f93e3578195a3e4c9c/2017/worlds/src/auto0.c")'>2017/worlds/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3e314d48fb3c55128756d2f93e3578195a3e4c9c/2017/worlds/src/auto5.c")'>2017/worlds/src/auto5.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3e314d48fb3c55128756d2f93e3578195a3e4c9c/2017/worlds/src/extras.c")'>2017/worlds/src/extras.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='6708d15df12b16c17df06e36e2374682ff79ea14'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/6708d15df12b16c17df06e36e2374682ff79ea14")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#6708d15df12b16c17df06e36e2374682ff79ea14'>6708d15df12b16c17df06e36e2374682ff79ea14</a></p><p><b>Date:</b> Sun Apr 16 03:45:56 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Logs now wrap lines</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6708d15df12b16c17df06e36e2374682ff79ea14/2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc")'>2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6708d15df12b16c17df06e36e2374682ff79ea14/2017/Planning/tools/cleanuphelp.py")'>2017/Planning/tools/cleanuphelp.py</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6708d15df12b16c17df06e36e2374682ff79ea14/2017/Planning/tools/git.html")'>2017/Planning/tools/git.html</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6708d15df12b16c17df06e36e2374682ff79ea14/2017/Planning/tools/git.txt")'>2017/Planning/tools/git.txt</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6708d15df12b16c17df06e36e2374682ff79ea14/2017/Planning/tools/log.json")'>2017/Planning/tools/log.json</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='3b5e0769801078b4516ae56666b9efec5a5e81dd'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/3b5e0769801078b4516ae56666b9efec5a5e81dd")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#3b5e0769801078b4516ae56666b9efec5a5e81dd'>3b5e0769801078b4516ae56666b9efec5a5e81dd</a></p><p><b>Date:</b> Sun Apr 16 03:44:01 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Autonomous fixes, #3 gets cube, very fast</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3b5e0769801078b4516ae56666b9efec5a5e81dd/2017/worlds/bin/output.bin")'>2017/worlds/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3b5e0769801078b4516ae56666b9efec5a5e81dd/2017/worlds/include/functions.h")'>2017/worlds/include/functions.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3b5e0769801078b4516ae56666b9efec5a5e81dd/2017/worlds/src/auto0.c")'>2017/worlds/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3b5e0769801078b4516ae56666b9efec5a5e81dd/2017/worlds/src/auto3.c")'>2017/worlds/src/auto3.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3b5e0769801078b4516ae56666b9efec5a5e81dd/2017/worlds/src/functions.c")'>2017/worlds/src/functions.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3b5e0769801078b4516ae56666b9efec5a5e81dd/2017/worlds/src/init.c")'>2017/worlds/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3b5e0769801078b4516ae56666b9efec5a5e81dd/2017/worlds/src/mtrmgr.c")'>2017/worlds/src/mtrmgr.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3b5e0769801078b4516ae56666b9efec5a5e81dd/2017/worlds/src/opcontrol.c")'>2017/worlds/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3b5e0769801078b4516ae56666b9efec5a5e81dd/2017/worlds/src/tasks.c")'>2017/worlds/src/tasks.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='2f66fce03f1be7409592800069e45f56a1fbe813'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/2f66fce03f1be7409592800069e45f56a1fbe813")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#2f66fce03f1be7409592800069e45f56a1fbe813'>2f66fce03f1be7409592800069e45f56a1fbe813</a></p><p><b>Date:</b> Fri Apr 14 22:10:05 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>major autonomous work, especially for regular. Very fast + efficient auton #3, working on cube as well</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2f66fce03f1be7409592800069e45f56a1fbe813/2017/worlds/src/auto5.c")'>2017/worlds/src/auto5.c</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2f66fce03f1be7409592800069e45f56a1fbe813/2017/worlds/bin/output.bin")'>2017/worlds/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2f66fce03f1be7409592800069e45f56a1fbe813/2017/worlds/include/defaultAuton.h")'>2017/worlds/include/defaultAuton.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2f66fce03f1be7409592800069e45f56a1fbe813/2017/worlds/include/defines.h")'>2017/worlds/include/defines.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2f66fce03f1be7409592800069e45f56a1fbe813/2017/worlds/src/auto3.c")'>2017/worlds/src/auto3.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2f66fce03f1be7409592800069e45f56a1fbe813/2017/worlds/src/functions.c")'>2017/worlds/src/functions.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2f66fce03f1be7409592800069e45f56a1fbe813/2017/worlds/src/init.c")'>2017/worlds/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2f66fce03f1be7409592800069e45f56a1fbe813/2017/worlds/src/mtrmgr.c")'>2017/worlds/src/mtrmgr.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2f66fce03f1be7409592800069e45f56a1fbe813/2017/worlds/src/opcontrol.c")'>2017/worlds/src/opcontrol.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='9adae0ae2b15534bed7341a49e2d29bc9152e20f'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/9adae0ae2b15534bed7341a49e2d29bc9152e20f")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#9adae0ae2b15534bed7341a49e2d29bc9152e20f'>9adae0ae2b15534bed7341a49e2d29bc9152e20f</a></p><p><b>Date:</b> Fri Apr 14 21:40:08 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Made json file cleaner:</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9adae0ae2b15534bed7341a49e2d29bc9152e20f/2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc")'>2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9adae0ae2b15534bed7341a49e2d29bc9152e20f/2017/Planning/tools/__pycache__/commit.cpython-36.pyc")'>2017/Planning/tools/__pycache__/commit.cpython-36.pyc</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9adae0ae2b15534bed7341a49e2d29bc9152e20f/2017/Planning/tools/cleanuphelp.py")'>2017/Planning/tools/cleanuphelp.py</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9adae0ae2b15534bed7341a49e2d29bc9152e20f/2017/Planning/tools/commit.py")'>2017/Planning/tools/commit.py</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9adae0ae2b15534bed7341a49e2d29bc9152e20f/2017/Planning/tools/git.html")'>2017/Planning/tools/git.html</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9adae0ae2b15534bed7341a49e2d29bc9152e20f/2017/Planning/tools/log.json")'>2017/Planning/tools/log.json</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='d212ee999cf5b61c51a14af2d8c376c907f29a54'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/d212ee999cf5b61c51a14af2d8c376c907f29a54")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#d212ee999cf5b61c51a14af2d8c376c907f29a54'>d212ee999cf5b61c51a14af2d8c376c907f29a54</a></p><p><b>Date:</b> Wed Apr 12 09:36:38 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Updated logs</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d212ee999cf5b61c51a14af2d8c376c907f29a54/2017/Planning/tools/git.html")'>2017/Planning/tools/git.html</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d212ee999cf5b61c51a14af2d8c376c907f29a54/2017/Planning/tools/git.txt")'>2017/Planning/tools/git.txt</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d212ee999cf5b61c51a14af2d8c376c907f29a54/2017/Planning/tools/log.json")'>2017/Planning/tools/log.json</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='5dba7319a121cc4b2f39ee82d1405ea7f9755263'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/5dba7319a121cc4b2f39ee82d1405ea7f9755263")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#5dba7319a121cc4b2f39ee82d1405ea7f9755263'>5dba7319a121cc4b2f39ee82d1405ea7f9755263</a></p><p><b>Date:</b> Wed Apr 12 09:32:27 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Auton work</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/5dba7319a121cc4b2f39ee82d1405ea7f9755263/2017/worlds/bin/output.bin")'>2017/worlds/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/5dba7319a121cc4b2f39ee82d1405ea7f9755263/2017/worlds/src/auto2.c")'>2017/worlds/src/auto2.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/5dba7319a121cc4b2f39ee82d1405ea7f9755263/2017/worlds/src/auto3.c")'>2017/worlds/src/auto3.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='213b86c59c78f492306a60f5656b0c2d06b92184'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/213b86c59c78f492306a60f5656b0c2d06b92184")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#213b86c59c78f492306a60f5656b0c2d06b92184'>213b86c59c78f492306a60f5656b0c2d06b92184</a></p><p><b>Date:</b> Mon Apr 10 06:46:36 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Changed and added files now link to them at that </p> <br></div> <div class='spacer'></div><div class='commit' id='1ef684669f6b529b49d9614cbab497b268e7ff3f'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/1ef684669f6b529b49d9614cbab497b268e7ff3f")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#1ef684669f6b529b49d9614cbab497b268e7ff3f'>1ef684669f6b529b49d9614cbab497b268e7ff3f</a></p><p><b>Date:</b> Mon Apr 10 00:53:36 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Updated logs</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1ef684669f6b529b49d9614cbab497b268e7ff3f/2017/Planning/tools/__pycache__/commit.cpython-36.pyc")'>2017/Planning/tools/__pycache__/commit.cpython-36.pyc</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1ef684669f6b529b49d9614cbab497b268e7ff3f/2017/Planning/tools/commit.py")'>2017/Planning/tools/commit.py</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1ef684669f6b529b49d9614cbab497b268e7ff3f/2017/Planning/tools/git.html")'>2017/Planning/tools/git.html</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1ef684669f6b529b49d9614cbab497b268e7ff3f/2017/Planning/tools/git.txt")'>2017/Planning/tools/git.txt</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1ef684669f6b529b49d9614cbab497b268e7ff3f/2017/Planning/tools/log.json")'>2017/Planning/tools/log.json</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='9c95ab3515ceef27b009c2055b9683bc81b9e268'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/9c95ab3515ceef27b009c2055b9683bc81b9e268")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#9c95ab3515ceef27b009c2055b9683bc81b9e268'>9c95ab3515ceef27b009c2055b9683bc81b9e268</a></p><p><b>Date:</b> Mon Apr 10 00:35:11 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Prettied json</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9c95ab3515ceef27b009c2055b9683bc81b9e268/2017/Planning/tools/__pycache__/commit.cpython-36.pyc")'>2017/Planning/tools/__pycache__/commit.cpython-36.pyc</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9c95ab3515ceef27b009c2055b9683bc81b9e268/2017/Planning/tools/commit.py")'>2017/Planning/tools/commit.py</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9c95ab3515ceef27b009c2055b9683bc81b9e268/2017/Planning/tools/log.json")'>2017/Planning/tools/log.json</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='c06e3ace411eff1fa7b52c315a0fa755713a392b'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/c06e3ace411eff1fa7b52c315a0fa755713a392b")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#c06e3ace411eff1fa7b52c315a0fa755713a392b'>c06e3ace411eff1fa7b52c315a0fa755713a392b</a></p><p><b>Date:</b> Sun Apr 9 23:38:59 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>deleted link.png</p> <b>Files deleted:</b> <ul> <li>2017/Planning/tools/link.png</li> </ul><br></div> <div class='spacer'></div><div class='commit' id='eaf25edb4793de4118ac51ab7bc8b988f0645eb8'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/eaf25edb4793de4118ac51ab7bc8b988f0645eb8")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#eaf25edb4793de4118ac51ab7bc8b988f0645eb8'>eaf25edb4793de4118ac51ab7bc8b988f0645eb8</a></p><p><b>Date:</b> Sun Apr 9 23:35:33 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Added a Commit class for making </p> <br></div> <div class='spacer'></div><div class='commit' id='fbf4b72506a3227ffa70766a598bad151deb5080'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/fbf4b72506a3227ffa70766a598bad151deb5080")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#fbf4b72506a3227ffa70766a598bad151deb5080'>fbf4b72506a3227ffa70766a598bad151deb5080</a></p><p><b>Date:</b> Sun Apr 9 22:53:12 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Clicking on 'commit' will take the user to the repository at that commit</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fbf4b72506a3227ffa70766a598bad151deb5080/2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc")'>2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fbf4b72506a3227ffa70766a598bad151deb5080/2017/Planning/tools/cleanuphelp.py")'>2017/Planning/tools/cleanuphelp.py</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fbf4b72506a3227ffa70766a598bad151deb5080/2017/Planning/tools/git.html")'>2017/Planning/tools/git.html</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='350748cdfd3ff8a5d2e5e1e6d13acff0b15a5b94'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/350748cdfd3ff8a5d2e5e1e6d13acff0b15a5b94")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#350748cdfd3ff8a5d2e5e1e6d13acff0b15a5b94'>350748cdfd3ff8a5d2e5e1e6d13acff0b15a5b94</a></p><p><b>Date:</b> Sun Apr 9 22:35:23 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>updated git.html and git.txt</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/350748cdfd3ff8a5d2e5e1e6d13acff0b15a5b94/2017/Planning/tools/git.html")'>2017/Planning/tools/git.html</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/350748cdfd3ff8a5d2e5e1e6d13acff0b15a5b94/2017/Planning/tools/git.txt")'>2017/Planning/tools/git.txt</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='5550a70727f1080d0b5118b55ea947a59a9c891b'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/5550a70727f1080d0b5118b55ea947a59a9c891b")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#5550a70727f1080d0b5118b55ea947a59a9c891b'>5550a70727f1080d0b5118b55ea947a59a9c891b</a></p><p><b>Date:</b> Sun Apr 9 22:31:43 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>changed order of elements and added a link to each commit, set prototype for new button</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/5550a70727f1080d0b5118b55ea947a59a9c891b/2017/Planning/tools/link.png")'>2017/Planning/tools/link.png</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/5550a70727f1080d0b5118b55ea947a59a9c891b/2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc")'>2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/5550a70727f1080d0b5118b55ea947a59a9c891b/2017/Planning/tools/cleanuphelp.py")'>2017/Planning/tools/cleanuphelp.py</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/5550a70727f1080d0b5118b55ea947a59a9c891b/2017/Planning/tools/git.html")'>2017/Planning/tools/git.html</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='e334e4547e5ad9f8298ef67153bbbc2dd85821d3'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/e334e4547e5ad9f8298ef67153bbbc2dd85821d3")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#e334e4547e5ad9f8298ef67153bbbc2dd85821d3'>e334e4547e5ad9f8298ef67153bbbc2dd85821d3</a></p><p><b>Date:</b> Sun Apr 9 01:47:53 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>updated git log</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e334e4547e5ad9f8298ef67153bbbc2dd85821d3/2017/Planning/tools/git.html")'>2017/Planning/tools/git.html</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e334e4547e5ad9f8298ef67153bbbc2dd85821d3/2017/Planning/tools/git.txt")'>2017/Planning/tools/git.txt</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='52cdf9096a4731f10d401578bf22e81de7a84509'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/52cdf9096a4731f10d401578bf22e81de7a84509")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#52cdf9096a4731f10d401578bf22e81de7a84509'>52cdf9096a4731f10d401578bf22e81de7a84509</a></p><p><b>Date:</b> Sun Apr 9 01:35:15 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>changed font to Open Sans</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/52cdf9096a4731f10d401578bf22e81de7a84509/2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc")'>2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/52cdf9096a4731f10d401578bf22e81de7a84509/2017/Planning/tools/cleanuphelp.py")'>2017/Planning/tools/cleanuphelp.py</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/52cdf9096a4731f10d401578bf22e81de7a84509/2017/Planning/tools/git.html")'>2017/Planning/tools/git.html</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='d2bf325a0e3ae2c80e8002266a4e5bb3f67e078b'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/d2bf325a0e3ae2c80e8002266a4e5bb3f67e078b")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#d2bf325a0e3ae2c80e8002266a4e5bb3f67e078b'>d2bf325a0e3ae2c80e8002266a4e5bb3f67e078b</a></p><p><b>Date:</b> Sun Apr 9 01:32:11 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Very slight style changes</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d2bf325a0e3ae2c80e8002266a4e5bb3f67e078b/2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc")'>2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d2bf325a0e3ae2c80e8002266a4e5bb3f67e078b/2017/Planning/tools/cleanuphelp.py")'>2017/Planning/tools/cleanuphelp.py</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d2bf325a0e3ae2c80e8002266a4e5bb3f67e078b/2017/Planning/tools/git.html")'>2017/Planning/tools/git.html</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='9ef053b5a04f0d62f4e8cf4a7f7bf35cee99b3f9'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/9ef053b5a04f0d62f4e8cf4a7f7bf35cee99b3f9")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#9ef053b5a04f0d62f4e8cf4a7f7bf35cee99b3f9'>9ef053b5a04f0d62f4e8cf4a7f7bf35cee99b3f9</a></p><p><b>Date:</b> Sun Apr 9 01:25:29 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>minor style changes</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9ef053b5a04f0d62f4e8cf4a7f7bf35cee99b3f9/2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc")'>2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9ef053b5a04f0d62f4e8cf4a7f7bf35cee99b3f9/2017/Planning/tools/cleanuphelp.py")'>2017/Planning/tools/cleanuphelp.py</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9ef053b5a04f0d62f4e8cf4a7f7bf35cee99b3f9/2017/Planning/tools/git.html")'>2017/Planning/tools/git.html</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='8e3cd78e19f757d938779dc1348fddbf237c45e9'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/8e3cd78e19f757d938779dc1348fddbf237c45e9")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#8e3cd78e19f757d938779dc1348fddbf237c45e9'>8e3cd78e19f757d938779dc1348fddbf237c45e9</a></p><p><b>Date:</b> Sun Apr 9 00:20:57 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>centered css for git.html</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8e3cd78e19f757d938779dc1348fddbf237c45e9/2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc")'>2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8e3cd78e19f757d938779dc1348fddbf237c45e9/2017/Planning/tools/cleanuphelp.py")'>2017/Planning/tools/cleanuphelp.py</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8e3cd78e19f757d938779dc1348fddbf237c45e9/2017/Planning/tools/git.html")'>2017/Planning/tools/git.html</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='b4578833dc62b20fb9d2382f5ed6c7b5297bacb7'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/b4578833dc62b20fb9d2382f5ed6c7b5297bacb7")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#b4578833dc62b20fb9d2382f5ed6c7b5297bacb7'>b4578833dc62b20fb9d2382f5ed6c7b5297bacb7</a></p><p><b>Date:</b> Sun Apr 9 00:07:42 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Fixed broken link in index.html, updated git.txt and git.html in tools</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b4578833dc62b20fb9d2382f5ed6c7b5297bacb7/2017/Planning/tools/git.html")'>2017/Planning/tools/git.html</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b4578833dc62b20fb9d2382f5ed6c7b5297bacb7/2017/Planning/tools/git.txt")'>2017/Planning/tools/git.txt</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b4578833dc62b20fb9d2382f5ed6c7b5297bacb7/index.html")'>index.html</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='2a9748db2f3d5928f46a7da8629e7feda150cb16'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/2a9748db2f3d5928f46a7da8629e7feda150cb16")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#2a9748db2f3d5928f46a7da8629e7feda150cb16'>2a9748db2f3d5928f46a7da8629e7feda150cb16</a></p><p><b>Date:</b> Sun Apr 9 00:03:24 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Deleted stray file in root directory</p> <b>Files deleted:</b> <ul> <li>git.txt</li> </ul><br></div> <div class='spacer'></div><div class='commit' id='c99aa7f32b3873bf7688d5353be633d53a6043fc'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/c99aa7f32b3873bf7688d5353be633d53a6043fc")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#c99aa7f32b3873bf7688d5353be633d53a6043fc'>c99aa7f32b3873bf7688d5353be633d53a6043fc</a></p><p><b>Date:</b> Sun Apr 9 00:02:05 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Moved gh-pages to master branch, redirects to now pretty git in /2017/Planning/tools/git.html</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/c99aa7f32b3873bf7688d5353be633d53a6043fc/git.txt")'>git.txt</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/c99aa7f32b3873bf7688d5353be633d53a6043fc/index.html")'>index.html</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/c99aa7f32b3873bf7688d5353be633d53a6043fc/2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc")'>2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/c99aa7f32b3873bf7688d5353be633d53a6043fc/2017/Planning/tools/cleanuphelp.py")'>2017/Planning/tools/cleanuphelp.py</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/c99aa7f32b3873bf7688d5353be633d53a6043fc/2017/Planning/tools/git.html")'>2017/Planning/tools/git.html</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='60f090905023b0d3aadc60ce49900a14a306be31'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/60f090905023b0d3aadc60ce49900a14a306be31")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#60f090905023b0d3aadc60ce49900a14a306be31'>60f090905023b0d3aadc60ce49900a14a306be31</a></p><p><b>Date:</b> Sat Apr 8 23:07:08 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Created git whatchanged to HTML script for ease of access offline & engineering notebook purposes</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/60f090905023b0d3aadc60ce49900a14a306be31/2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc")'>2017/Planning/tools/__pycache__/cleanuphelp.cpython-36.pyc</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/60f090905023b0d3aadc60ce49900a14a306be31/2017/Planning/tools/cleanup.py")'>2017/Planning/tools/cleanup.py</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/60f090905023b0d3aadc60ce49900a14a306be31/2017/Planning/tools/cleanuphelp.py")'>2017/Planning/tools/cleanuphelp.py</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/60f090905023b0d3aadc60ce49900a14a306be31/2017/Planning/tools/git.html")'>2017/Planning/tools/git.html</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/60f090905023b0d3aadc60ce49900a14a306be31/2017/Planning/tools/git.txt")'>2017/Planning/tools/git.txt</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/60f090905023b0d3aadc60ce49900a14a306be31/2017/worlds/bin/output.bin")'>2017/worlds/bin/output.bin</span></li> </ul><b>Files deleted:</b> <ul> <li>2017/Planning/~$Auto Plan.pptx</li> </ul><br></div> <div class='spacer'></div><div class='commit' id='4c425ed59c7ce0d4ad6db9499825134adc254ed1'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/4c425ed59c7ce0d4ad6db9499825134adc254ed1")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#4c425ed59c7ce0d4ad6db9499825134adc254ed1'>4c425ed59c7ce0d4ad6db9499825134adc254ed1</a></p><p><b>Date:</b> Sat Apr 8 01:08:46 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Cube only auton prototype</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/4c425ed59c7ce0d4ad6db9499825134adc254ed1/2017/worlds/include/functions.h")'>2017/worlds/include/functions.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/4c425ed59c7ce0d4ad6db9499825134adc254ed1/2017/worlds/src/auto0.c")'>2017/worlds/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/4c425ed59c7ce0d4ad6db9499825134adc254ed1/2017/worlds/src/auto2.c")'>2017/worlds/src/auto2.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/4c425ed59c7ce0d4ad6db9499825134adc254ed1/2017/worlds/src/functions.c")'>2017/worlds/src/functions.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/4c425ed59c7ce0d4ad6db9499825134adc254ed1/2017/worlds/src/jerk.c")'>2017/worlds/src/jerk.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='c9d28ae00e5f244a01ed6488229a1250c5afc6de'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/c9d28ae00e5f244a01ed6488229a1250c5afc6de")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#c9d28ae00e5f244a01ed6488229a1250c5afc6de'>c9d28ae00e5f244a01ed6488229a1250c5afc6de</a></p><p><b>Date:</b> Sat Apr 8 00:18:45 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Moved definition of DEFAULT_AUTON to defaultAuton.h so all code doesn\'t have to recompile constantly</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/c9d28ae00e5f244a01ed6488229a1250c5afc6de/2017/worlds/include/defaultAuton.h")'>2017/worlds/include/defaultAuton.h</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/c9d28ae00e5f244a01ed6488229a1250c5afc6de/2017/worlds/bin/output.bin")'>2017/worlds/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/c9d28ae00e5f244a01ed6488229a1250c5afc6de/2017/worlds/src/auto.c")'>2017/worlds/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/c9d28ae00e5f244a01ed6488229a1250c5afc6de/2017/worlds/src/tasks.c")'>2017/worlds/src/tasks.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='849257a598f31e29de1492a0514c5445c1122d26'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/849257a598f31e29de1492a0514c5445c1122d26")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#849257a598f31e29de1492a0514c5445c1122d26'>849257a598f31e29de1492a0514c5445c1122d26</a></p><p><b>Date:</b> Sat Apr 8 00:14:37 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Eliminated rerun and all of it's components from code</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/849257a598f31e29de1492a0514c5445c1122d26/2017/worlds/bin/output.bin")'>2017/worlds/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/849257a598f31e29de1492a0514c5445c1122d26/2017/worlds/include/defines.h")'>2017/worlds/include/defines.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/849257a598f31e29de1492a0514c5445c1122d26/2017/worlds/include/lib.h")'>2017/worlds/include/lib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/849257a598f31e29de1492a0514c5445c1122d26/2017/worlds/src/auto.c")'>2017/worlds/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/849257a598f31e29de1492a0514c5445c1122d26/2017/worlds/src/init.c")'>2017/worlds/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/849257a598f31e29de1492a0514c5445c1122d26/2017/worlds/src/tasks.c")'>2017/worlds/src/tasks.c</span></li> </ul><b>Files deleted:</b> <ul> <li>2017/worlds/include/rerun.h</li> <li>2017/worlds/src/noInclude.c</li> <li>2017/worlds/src/rerun.c</li> <li>2017/worlds/src/rerunHelper.c</li> </ul><br></div> <div class='spacer'></div><div class='commit' id='41cde2b08e9b5b784479044bdd6fd4a4d9161898'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/41cde2b08e9b5b784479044bdd6fd4a4d9161898")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#41cde2b08e9b5b784479044bdd6fd4a4d9161898'>41cde2b08e9b5b784479044bdd6fd4a4d9161898</a></p><p><b>Date:</b> Fri Apr 7 21:59:59 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Going to give up on rerun after prioritization</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/41cde2b08e9b5b784479044bdd6fd4a4d9161898/2017/Planning/April 7 Priorities.docx")'>2017/Planning/April 7 Priorities.docx</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/41cde2b08e9b5b784479044bdd6fd4a4d9161898/2017/worlds/bin/output.bin")'>2017/worlds/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/41cde2b08e9b5b784479044bdd6fd4a4d9161898/2017/worlds/include/defines.h")'>2017/worlds/include/defines.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/41cde2b08e9b5b784479044bdd6fd4a4d9161898/2017/worlds/include/motors.h")'>2017/worlds/include/motors.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/41cde2b08e9b5b784479044bdd6fd4a4d9161898/2017/worlds/include/rerun.h")'>2017/worlds/include/rerun.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/41cde2b08e9b5b784479044bdd6fd4a4d9161898/2017/worlds/src/extras.c")'>2017/worlds/src/extras.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/41cde2b08e9b5b784479044bdd6fd4a4d9161898/2017/worlds/src/init.c")'>2017/worlds/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/41cde2b08e9b5b784479044bdd6fd4a4d9161898/2017/worlds/src/motors.c")'>2017/worlds/src/motors.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/41cde2b08e9b5b784479044bdd6fd4a4d9161898/2017/worlds/src/rerun.c")'>2017/worlds/src/rerun.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/41cde2b08e9b5b784479044bdd6fd4a4d9161898/2017/worlds/src/tasks.c")'>2017/worlds/src/tasks.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='588745ae3e31d95dfdc1b4ec0174273c51a0b2a2'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/588745ae3e31d95dfdc1b4ec0174273c51a0b2a2")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#588745ae3e31d95dfdc1b4ec0174273c51a0b2a2'>588745ae3e31d95dfdc1b4ec0174273c51a0b2a2</a></p><p><b>Date:</b> Fri Apr 7 19:21:15 2017 +0800</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>fixed odd function duplicate, now using extern for rerunEnabled to ensure global-ness</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/588745ae3e31d95dfdc1b4ec0174273c51a0b2a2/2017/worlds/src/noInclude.c")'>2017/worlds/src/noInclude.c</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/588745ae3e31d95dfdc1b4ec0174273c51a0b2a2/2017/worlds/src/functions.c")'>2017/worlds/src/functions.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/588745ae3e31d95dfdc1b4ec0174273c51a0b2a2/2017/worlds/src/motors.c")'>2017/worlds/src/motors.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='9a8040ae6e3f03257ab8f8bb56bff6d4651c0e8b'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/9a8040ae6e3f03257ab8f8bb56bff6d4651c0e8b")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#9a8040ae6e3f03257ab8f8bb56bff6d4651c0e8b'>9a8040ae6e3f03257ab8f8bb56bff6d4651c0e8b</a></p><p><b>Date:</b> Thu Apr 6 22:45:33 2017 -1200</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>clean up motors.c</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9a8040ae6e3f03257ab8f8bb56bff6d4651c0e8b/2017/worlds/src/motors.c")'>2017/worlds/src/motors.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='3e484db1f2724d419dfff6417ad73f2ea8f03c93'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/3e484db1f2724d419dfff6417ad73f2ea8f03c93")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#3e484db1f2724d419dfff6417ad73f2ea8f03c93'>3e484db1f2724d419dfff6417ad73f2ea8f03c93</a></p><p><b>Date:</b> Thu Apr 6 21:49:56 2017 -1200</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>cleaned up scaling of motor power</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3e484db1f2724d419dfff6417ad73f2ea8f03c93/2017/worlds/src/motors.c")'>2017/worlds/src/motors.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='e79067c598c95cb651848d7cab37cf6c87bfd0a8'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/e79067c598c95cb651848d7cab37cf6c87bfd0a8")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#e79067c598c95cb651848d7cab37cf6c87bfd0a8'>e79067c598c95cb651848d7cab37cf6c87bfd0a8</a></p><p><b>Date:</b> Thu Apr 6 21:41:58 2017 -1200</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>eliminated warnings</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e79067c598c95cb651848d7cab37cf6c87bfd0a8/2017/worlds/src/auto0.c")'>2017/worlds/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e79067c598c95cb651848d7cab37cf6c87bfd0a8/2017/worlds/src/functions.c")'>2017/worlds/src/functions.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='cae0e714f0fc5fca70618b9b65b7a3713f24d01d'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/cae0e714f0fc5fca70618b9b65b7a3713f24d01d")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#cae0e714f0fc5fca70618b9b65b7a3713f24d01d'>cae0e714f0fc5fca70618b9b65b7a3713f24d01d</a></p><p><b>Date:</b> Thu Apr 6 21:38:35 2017 -1200</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Fixed possibly unitialized variable, increased stack size of LCD task</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/cae0e714f0fc5fca70618b9b65b7a3713f24d01d/2017/worlds/src/functions.c")'>2017/worlds/src/functions.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/cae0e714f0fc5fca70618b9b65b7a3713f24d01d/2017/worlds/src/init.c")'>2017/worlds/src/init.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='e8ddb674d28afec51d4172bb9153dac52aa0cd87'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/e8ddb674d28afec51d4172bb9153dac52aa0cd87")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#e8ddb674d28afec51d4172bb9153dac52aa0cd87'>e8ddb674d28afec51d4172bb9153dac52aa0cd87</a></p><p><b>Date:</b> Wed Apr 5 19:50:45 2017 -0400</p> <p><b>Author:</b> iuyte <[email protected]></p> <p><b>Description:</b><br>LCD Task fix - needs test</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e8ddb674d28afec51d4172bb9153dac52aa0cd87/2017/worlds/include/tasks.h")'>2017/worlds/include/tasks.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e8ddb674d28afec51d4172bb9153dac52aa0cd87/2017/worlds/src/tasks.c")'>2017/worlds/src/tasks.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='9ed5d3d4f1f11c2fc3840bc93689e673e32b9205'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/9ed5d3d4f1f11c2fc3840bc93689e673e32b9205")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#9ed5d3d4f1f11c2fc3840bc93689e673e32b9205'>9ed5d3d4f1f11c2fc3840bc93689e673e32b9205</a></p><p><b>Date:</b> Sun Apr 2 15:57:10 2017 -1200</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Attempting to fix LCD handleing task, problem with RERUN ON OR OFF?</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9ed5d3d4f1f11c2fc3840bc93689e673e32b9205/2017/worlds/bin/output.bin")'>2017/worlds/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9ed5d3d4f1f11c2fc3840bc93689e673e32b9205/2017/worlds/include/defines.h")'>2017/worlds/include/defines.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9ed5d3d4f1f11c2fc3840bc93689e673e32b9205/2017/worlds/include/rerun.h")'>2017/worlds/include/rerun.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9ed5d3d4f1f11c2fc3840bc93689e673e32b9205/2017/worlds/src/auto.c")'>2017/worlds/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9ed5d3d4f1f11c2fc3840bc93689e673e32b9205/2017/worlds/src/extras.c")'>2017/worlds/src/extras.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9ed5d3d4f1f11c2fc3840bc93689e673e32b9205/2017/worlds/src/functions.c")'>2017/worlds/src/functions.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9ed5d3d4f1f11c2fc3840bc93689e673e32b9205/2017/worlds/src/rerun.c")'>2017/worlds/src/rerun.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/9ed5d3d4f1f11c2fc3840bc93689e673e32b9205/2017/worlds/src/tasks.c")'>2017/worlds/src/tasks.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='20bb0fe569dfccf6b767343e8d45bbd4e4f2bc1d'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/20bb0fe569dfccf6b767343e8d45bbd4e4f2bc1d")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#20bb0fe569dfccf6b767343e8d45bbd4e4f2bc1d'>20bb0fe569dfccf6b767343e8d45bbd4e4f2bc1d</a></p><p><b>Date:</b> Sat Apr 1 19:34:33 2017 -1200</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Decreased delay in replayF</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/20bb0fe569dfccf6b767343e8d45bbd4e4f2bc1d/2017/worlds/src/rerun.c")'>2017/worlds/src/rerun.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='cb6c4b7a219ac9aadc4addb1de04bd6e443919e2'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/cb6c4b7a219ac9aadc4addb1de04bd6e443919e2")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#cb6c4b7a219ac9aadc4addb1de04bd6e443919e2'>cb6c4b7a219ac9aadc4addb1de04bd6e443919e2</a></p><p><b>Date:</b> Sat Apr 1 19:31:29 2017 -1200</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Upgraded PROS kernel to latest, made rerun more fluent</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/cb6c4b7a219ac9aadc4addb1de04bd6e443919e2/2017/worlds/common.mk")'>2017/worlds/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/cb6c4b7a219ac9aadc4addb1de04bd6e443919e2/2017/worlds/include/API.h")'>2017/worlds/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/cb6c4b7a219ac9aadc4addb1de04bd6e443919e2/2017/worlds/project.pros")'>2017/worlds/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/cb6c4b7a219ac9aadc4addb1de04bd6e443919e2/2017/worlds/src/rerun.c")'>2017/worlds/src/rerun.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/cb6c4b7a219ac9aadc4addb1de04bd6e443919e2/2017/worlds/src/rerunHelper.c")'>2017/worlds/src/rerunHelper.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='33b0261d96165fed5df5dc893b6ed5d0ecf2c91b'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/33b0261d96165fed5df5dc893b6ed5d0ecf2c91b")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#33b0261d96165fed5df5dc893b6ed5d0ecf2c91b'>33b0261d96165fed5df5dc893b6ed5d0ecf2c91b</a></p><p><b>Date:</b> Fri Mar 24 15:54:34 2017 -0400</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Apparently file did not commit</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/33b0261d96165fed5df5dc893b6ed5d0ecf2c91b/2017/rewrite/src/motors.c")'>2017/rewrite/src/motors.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='7e5da800c87bf65f1d743ccbf5bed44c121536ab'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/7e5da800c87bf65f1d743ccbf5bed44c121536ab")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#7e5da800c87bf65f1d743ccbf5bed44c121536ab'>7e5da800c87bf65f1d743ccbf5bed44c121536ab</a></p><p><b>Date:</b> Thu Mar 23 21:04:18 2017 -0400</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Fixed incorrect rerun.c logic</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/7e5da800c87bf65f1d743ccbf5bed44c121536ab/2017/worlds/bin/output.bin")'>2017/worlds/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/7e5da800c87bf65f1d743ccbf5bed44c121536ab/2017/worlds/src/rerun.c")'>2017/worlds/src/rerun.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df'>a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df</a></p><p><b>Date:</b> Thu Mar 23 18:36:20 2017 -0400</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>created rerun, untested</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df/2017/worlds/include/rerun.h")'>2017/worlds/include/rerun.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df/2017/worlds/src/rerun.c")'>2017/worlds/src/rerun.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df/2017/worlds/src/rerunHelper.c")'>2017/worlds/src/rerunHelper.c</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df/2017/worlds/bin/output.bin")'>2017/worlds/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df/2017/worlds/include/defines.h")'>2017/worlds/include/defines.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df/2017/worlds/include/lib.h")'>2017/worlds/include/lib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df/2017/worlds/include/motors.h")'>2017/worlds/include/motors.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df/2017/worlds/src/auto.c")'>2017/worlds/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df/2017/worlds/src/auto4.c")'>2017/worlds/src/auto4.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df/2017/worlds/src/functions.c")'>2017/worlds/src/functions.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df/2017/worlds/src/init.c")'>2017/worlds/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df/2017/worlds/src/motors.c")'>2017/worlds/src/motors.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df/2017/worlds/src/mtrmgr.c")'>2017/worlds/src/mtrmgr.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df/2017/worlds/src/opcontrol.c")'>2017/worlds/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a1b4f0595eb8cc58077ea2d9bfcf1eed4ac5d3df/2017/worlds/src/tasks.c")'>2017/worlds/src/tasks.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='c6a9753ff26144683230b8c3eaeb66c6abd63ce0'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/c6a9753ff26144683230b8c3eaeb66c6abd63ce0")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#c6a9753ff26144683230b8c3eaeb66c6abd63ce0'>c6a9753ff26144683230b8c3eaeb66c6abd63ce0</a></p><p><b>Date:</b> Sat Mar 18 12:56:47 2017 -0400</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Readded 2 drive motors because passive hang works</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/c6a9753ff26144683230b8c3eaeb66c6abd63ce0/2017/worlds/bin/output.bin")'>2017/worlds/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/c6a9753ff26144683230b8c3eaeb66c6abd63ce0/2017/worlds/src/motors.c")'>2017/worlds/src/motors.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='e1507a3d1d0635e7fa08dd4ca9ab409fb6f08d29'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/e1507a3d1d0635e7fa08dd4ca9ab409fb6f08d29")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#e1507a3d1d0635e7fa08dd4ca9ab409fb6f08d29'>e1507a3d1d0635e7fa08dd4ca9ab409fb6f08d29</a></p><p><b>Date:</b> Sat Mar 11 13:20:10 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Made it so robot does not move unless power expander is plugged in</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e1507a3d1d0635e7fa08dd4ca9ab409fb6f08d29/2017/worlds/include/defines.h")'>2017/worlds/include/defines.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e1507a3d1d0635e7fa08dd4ca9ab409fb6f08d29/2017/worlds/src/mtrmgr.c")'>2017/worlds/src/mtrmgr.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='d5113a0c47549b770fddfbb5ab47e147083fb85a'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/d5113a0c47549b770fddfbb5ab47e147083fb85a")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#d5113a0c47549b770fddfbb5ab47e147083fb85a'>d5113a0c47549b770fddfbb5ab47e147083fb85a</a></p><p><b>Date:</b> Sat Mar 11 11:52:35 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Fixing git problem with LastSTand</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d5113a0c47549b770fddfbb5ab47e147083fb85a/2017/JINXProject/include/JINX.h")'>2017/JINXProject/include/JINX.h</span></li> </ul><b>Files deleted:</b> <ul> <li>2017/LastStand/Makefile</li> <li>2017/LastStand/bin/output.bin</li> <li>2017/LastStand/common.mk</li> <li>2017/LastStand/firmware/STM32F10x.ld</li> <li>2017/LastStand/firmware/cortex.ld</li> <li>2017/LastStand/firmware/uniflash.jar</li> <li>2017/LastStand/include/API.h</li> <li>2017/LastStand/include/JINX.h</li> <li>2017/LastStand/include/MyJinx.h</li> <li>2017/LastStand/include/autonomous.h</li> <li>2017/LastStand/include/constants.h</li> <li>2017/LastStand/include/ethanlib.h</li> <li>2017/LastStand/include/main.h</li> <li>2017/LastStand/project.pros</li> <li>2017/LastStand/src/JINX.c</li> <li>2017/LastStand/src/JINX_Helpers.c</li> <li>2017/LastStand/src/Makefile</li> <li>2017/LastStand/src/auto.c</li> <li>2017/LastStand/src/auto0.c</li> <li>2017/LastStand/src/auto1.c</li> <li>2017/LastStand/src/auto10.c</li> <li>2017/LastStand/src/auto13.c</li> <li>2017/LastStand/src/auto15.c</li> <li>2017/LastStand/src/auto2.c</li> <li>2017/LastStand/src/auto3.c</li> <li>2017/LastStand/src/auto4.c</li> <li>2017/LastStand/src/auto5.c</li> <li>2017/LastStand/src/auto6.c</li> <li>2017/LastStand/src/auto7.c</li> <li>2017/LastStand/src/auto8.c</li> <li>2017/LastStand/src/auto9.c</li> <li>2017/LastStand/src/ethanlib.c</li> <li>2017/LastStand/src/init.c</li> <li>2017/LastStand/src/jerk.c</li> <li>2017/LastStand/src/opcontrol.c</li> <li>2017/LastStand/true.exe.stackdump</li> <li>2017/laststand/Makefile</li> <li>2017/laststand/bin/output.bin</li> <li>2017/laststand/common.mk</li> <li>2017/laststand/firmware/STM32F10x.ld</li> <li>2017/laststand/firmware/cortex.ld</li> <li>2017/laststand/firmware/uniflash.jar</li> <li>2017/laststand/include/API.h</li> <li>2017/laststand/include/JINX.h</li> <li>2017/laststand/include/MyJinx.h</li> <li>2017/laststand/include/autonomous.h</li> <li>2017/laststand/include/constants.h</li> <li>2017/laststand/include/ethanlib.h</li> <li>2017/laststand/include/main.h</li> <li>2017/laststand/project.pros</li> <li>2017/laststand/src/JINX.c</li> <li>2017/laststand/src/JINX_Helpers.c</li> <li>2017/laststand/src/Makefile</li> <li>2017/laststand/src/auto.c</li> <li>2017/laststand/src/auto0.c</li> <li>2017/laststand/src/auto1.c</li> <li>2017/laststand/src/auto10.c</li> <li>2017/laststand/src/auto13.c</li> <li>2017/laststand/src/auto2.c</li> <li>2017/laststand/src/auto3.c</li> <li>2017/laststand/src/auto4.c</li> <li>2017/laststand/src/auto5.c</li> <li>2017/laststand/src/auto6.c</li> <li>2017/laststand/src/auto7.c</li> <li>2017/laststand/src/auto8.c</li> <li>2017/laststand/src/auto9.c</li> <li>2017/laststand/src/ethanlib.c</li> <li>2017/laststand/src/init.c</li> <li>2017/laststand/src/jerk.c</li> <li>2017/laststand/src/opcontrol.c</li> <li>2017/laststand/true.exe.stackdump</li> </ul><br></div> <div class='spacer'></div><div class='commit' id='b3d1f80c17586a0ab55fb27a93245ced831a2db2'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/b3d1f80c17586a0ab55fb27a93245ced831a2db2")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#b3d1f80c17586a0ab55fb27a93245ced831a2db2'>b3d1f80c17586a0ab55fb27a93245ced831a2db2</a></p><p><b>Date:</b> Sat Mar 11 11:45:04 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Switched lift motors to not truespeed</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b3d1f80c17586a0ab55fb27a93245ced831a2db2/2017/worlds/bin/output.bin")'>2017/worlds/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b3d1f80c17586a0ab55fb27a93245ced831a2db2/2017/worlds/src/motors.c")'>2017/worlds/src/motors.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='3eeee27d63034cc166cc25991dda3e93192ed2d9'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/3eeee27d63034cc166cc25991dda3e93192ed2d9")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#3eeee27d63034cc166cc25991dda3e93192ed2d9'>3eeee27d63034cc166cc25991dda3e93192ed2d9</a></p><p><b>Date:</b> Sat Mar 11 11:40:57 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Fixed JINX Support</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3eeee27d63034cc166cc25991dda3e93192ed2d9/2017/worlds/bin/output.bin")'>2017/worlds/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3eeee27d63034cc166cc25991dda3e93192ed2d9/2017/worlds/include/JINX.h")'>2017/worlds/include/JINX.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3eeee27d63034cc166cc25991dda3e93192ed2d9/2017/worlds/include/defines.h")'>2017/worlds/include/defines.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3eeee27d63034cc166cc25991dda3e93192ed2d9/2017/worlds/src/JINX.c")'>2017/worlds/src/JINX.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3eeee27d63034cc166cc25991dda3e93192ed2d9/2017/worlds/src/init.c")'>2017/worlds/src/init.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='373fc9eff1c4261c110afc2f8cd2774e9beda386'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/373fc9eff1c4261c110afc2f8cd2774e9beda386")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#373fc9eff1c4261c110afc2f8cd2774e9beda386'>373fc9eff1c4261c110afc2f8cd2774e9beda386</a></p><p><b>Date:</b> Sat Mar 11 11:30:02 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Duplicated the rewrite into a worlds project</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/Makefile")'>2017/worlds/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/bin/output.bin")'>2017/worlds/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/common.mk")'>2017/worlds/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/firmware/STM32F10x.ld")'>2017/worlds/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/firmware/cortex.ld")'>2017/worlds/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/firmware/uniflash.jar")'>2017/worlds/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/include/API.h")'>2017/worlds/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/include/JINX.h")'>2017/worlds/include/JINX.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/include/defines.h")'>2017/worlds/include/defines.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/include/extras.h")'>2017/worlds/include/extras.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/include/functions.h")'>2017/worlds/include/functions.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/include/lib.h")'>2017/worlds/include/lib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/include/main.h")'>2017/worlds/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/include/motors.h")'>2017/worlds/include/motors.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/include/mtrmgr.h")'>2017/worlds/include/mtrmgr.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/include/tasks.h")'>2017/worlds/include/tasks.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/project.pros")'>2017/worlds/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/src/JINX.c")'>2017/worlds/src/JINX.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/src/Makefile")'>2017/worlds/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/src/auto.c")'>2017/worlds/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/src/auto0.c")'>2017/worlds/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/src/auto1.c")'>2017/worlds/src/auto1.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/src/auto2.c")'>2017/worlds/src/auto2.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/src/auto3.c")'>2017/worlds/src/auto3.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/src/auto4.c")'>2017/worlds/src/auto4.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/src/extras.c")'>2017/worlds/src/extras.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/src/functions.c")'>2017/worlds/src/functions.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/src/init.c")'>2017/worlds/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/src/jerk.c")'>2017/worlds/src/jerk.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/src/motors.c")'>2017/worlds/src/motors.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/src/mtrmgr.c")'>2017/worlds/src/mtrmgr.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/src/opcontrol.c")'>2017/worlds/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/373fc9eff1c4261c110afc2f8cd2774e9beda386/2017/worlds/src/tasks.c")'>2017/worlds/src/tasks.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='65a68a0577de8e278b432415d9dca6258bf2e1b2'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/65a68a0577de8e278b432415d9dca6258bf2e1b2")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#65a68a0577de8e278b432415d9dca6258bf2e1b2'>65a68a0577de8e278b432415d9dca6258bf2e1b2</a></p><p><b>Date:</b> Sat Mar 11 11:28:33 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Precision and bug fixes</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/65a68a0577de8e278b432415d9dca6258bf2e1b2/2017/rewrite/bin/output.bin")'>2017/rewrite/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/65a68a0577de8e278b432415d9dca6258bf2e1b2/2017/rewrite/src/functions.c")'>2017/rewrite/src/functions.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/65a68a0577de8e278b432415d9dca6258bf2e1b2/2017/rewrite/src/motors.c")'>2017/rewrite/src/motors.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/65a68a0577de8e278b432415d9dca6258bf2e1b2/2017/rewrite/src/opcontrol.c")'>2017/rewrite/src/opcontrol.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='3b2b1d5c900dc354bc6bb085caf0beeae14e2898'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/3b2b1d5c900dc354bc6bb085caf0beeae14e2898")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#3b2b1d5c900dc354bc6bb085caf0beeae14e2898'>3b2b1d5c900dc354bc6bb085caf0beeae14e2898</a></p><p><b>Date:</b> Wed Mar 8 17:25:19 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Trying to use joystick acceleraometers to drive</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3b2b1d5c900dc354bc6bb085caf0beeae14e2898/2017/rewrite/src/motors.c")'>2017/rewrite/src/motors.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='f3e5887306b3c37034976c1406ac3cbcc7386a93'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/f3e5887306b3c37034976c1406ac3cbcc7386a93")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#f3e5887306b3c37034976c1406ac3cbcc7386a93'>f3e5887306b3c37034976c1406ac3cbcc7386a93</a></p><p><b>Date:</b> Wed Mar 8 17:25:00 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Trying to use joystick acceleraometers to drive</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/f3e5887306b3c37034976c1406ac3cbcc7386a93/2017/rewrite/bin/output.bin")'>2017/rewrite/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/f3e5887306b3c37034976c1406ac3cbcc7386a93/2017/rewrite/include/defines.h")'>2017/rewrite/include/defines.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/f3e5887306b3c37034976c1406ac3cbcc7386a93/2017/rewrite/include/extras.h")'>2017/rewrite/include/extras.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/f3e5887306b3c37034976c1406ac3cbcc7386a93/2017/rewrite/include/motors.h")'>2017/rewrite/include/motors.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/f3e5887306b3c37034976c1406ac3cbcc7386a93/2017/rewrite/src/extras.c")'>2017/rewrite/src/extras.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/f3e5887306b3c37034976c1406ac3cbcc7386a93/2017/rewrite/src/motors.c")'>2017/rewrite/src/motors.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/f3e5887306b3c37034976c1406ac3cbcc7386a93/2017/rewrite/src/opcontrol.c")'>2017/rewrite/src/opcontrol.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='efd51a2048e6090ff7bbf4962df072ed9effeae3'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/efd51a2048e6090ff7bbf4962df072ed9effeae3")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#efd51a2048e6090ff7bbf4962df072ed9effeae3'>efd51a2048e6090ff7bbf4962df072ed9effeae3</a></p><p><b>Date:</b> Tue Mar 7 06:42:46 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Fixed magic, needs testing</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/efd51a2048e6090ff7bbf4962df072ed9effeae3/2017/rewrite/bin/output.bin")'>2017/rewrite/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/efd51a2048e6090ff7bbf4962df072ed9effeae3/2017/rewrite/include/defines.h")'>2017/rewrite/include/defines.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/efd51a2048e6090ff7bbf4962df072ed9effeae3/2017/rewrite/include/extras.h")'>2017/rewrite/include/extras.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/efd51a2048e6090ff7bbf4962df072ed9effeae3/2017/rewrite/include/lib.h")'>2017/rewrite/include/lib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/efd51a2048e6090ff7bbf4962df072ed9effeae3/2017/rewrite/include/motors.h")'>2017/rewrite/include/motors.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/efd51a2048e6090ff7bbf4962df072ed9effeae3/2017/rewrite/include/tasks.h")'>2017/rewrite/include/tasks.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/efd51a2048e6090ff7bbf4962df072ed9effeae3/2017/rewrite/src/extras.c")'>2017/rewrite/src/extras.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/efd51a2048e6090ff7bbf4962df072ed9effeae3/2017/rewrite/src/functions.c")'>2017/rewrite/src/functions.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/efd51a2048e6090ff7bbf4962df072ed9effeae3/2017/rewrite/src/motors.c")'>2017/rewrite/src/motors.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/efd51a2048e6090ff7bbf4962df072ed9effeae3/2017/rewrite/src/tasks.c")'>2017/rewrite/src/tasks.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='d95384d6234fe00e20bd9971071ef1a6ae6e00c2'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/d95384d6234fe00e20bd9971071ef1a6ae6e00c2")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#d95384d6234fe00e20bd9971071ef1a6ae6e00c2'>d95384d6234fe00e20bd9971071ef1a6ae6e00c2</a></p><p><b>Date:</b> Sun Mar 5 14:47:26 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Still fixing magic</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d95384d6234fe00e20bd9971071ef1a6ae6e00c2/2017/rewrite/bin/output.bin")'>2017/rewrite/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d95384d6234fe00e20bd9971071ef1a6ae6e00c2/2017/rewrite/include/extras.h")'>2017/rewrite/include/extras.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d95384d6234fe00e20bd9971071ef1a6ae6e00c2/2017/rewrite/include/tasks.h")'>2017/rewrite/include/tasks.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d95384d6234fe00e20bd9971071ef1a6ae6e00c2/2017/rewrite/src/functions.c")'>2017/rewrite/src/functions.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d95384d6234fe00e20bd9971071ef1a6ae6e00c2/2017/rewrite/src/tasks.c")'>2017/rewrite/src/tasks.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='a4a3a2ded632523328d5d2371831d1512c6dc219'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/a4a3a2ded632523328d5d2371831d1512c6dc219")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#a4a3a2ded632523328d5d2371831d1512c6dc219'>a4a3a2ded632523328d5d2371831d1512c6dc219</a></p><p><b>Date:</b> Sun Mar 5 14:20:56 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Still attempting to fix magic</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a4a3a2ded632523328d5d2371831d1512c6dc219/2017/rewrite/src/functions.c")'>2017/rewrite/src/functions.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a4a3a2ded632523328d5d2371831d1512c6dc219/2017/rewrite/src/tasks.c")'>2017/rewrite/src/tasks.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='483faf343181ec7cd5385d699c67ac66b39db30c'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/483faf343181ec7cd5385d699c67ac66b39db30c")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#483faf343181ec7cd5385d699c67ac66b39db30c'>483faf343181ec7cd5385d699c67ac66b39db30c</a></p><p><b>Date:</b> Sun Mar 5 14:18:58 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Worked on fixing some magic code to be logical</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/483faf343181ec7cd5385d699c67ac66b39db30c/2017/rewrite/bin/output.bin")'>2017/rewrite/bin/output.bin</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/483faf343181ec7cd5385d699c67ac66b39db30c/2017/rewrite/include/tasks.h")'>2017/rewrite/include/tasks.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/483faf343181ec7cd5385d699c67ac66b39db30c/2017/rewrite/src/auto3.c")'>2017/rewrite/src/auto3.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/483faf343181ec7cd5385d699c67ac66b39db30c/2017/rewrite/src/auto4.c")'>2017/rewrite/src/auto4.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/483faf343181ec7cd5385d699c67ac66b39db30c/2017/rewrite/src/functions.c")'>2017/rewrite/src/functions.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/483faf343181ec7cd5385d699c67ac66b39db30c/2017/rewrite/src/tasks.c")'>2017/rewrite/src/tasks.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='40e5f90d7af260c51b0cffa1dd80d062ed65db62'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/40e5f90d7af260c51b0cffa1dd80d062ed65db62")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#40e5f90d7af260c51b0cffa1dd80d062ed65db62'>40e5f90d7af260c51b0cffa1dd80d062ed65db62</a></p><p><b>Date:</b> Sun Mar 5 13:36:17 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Fixing issue...?</p> <b>Files deleted:</b> <ul> <li>2017/rewrite/src/JINX_Helpers.c</li> <li>2017/rewrite/src/main.c</li> </ul><br></div> <div class='spacer'></div><div class='commit' id='57481f427bfdb7e2d7372ccb2f4c821402a72f52'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/57481f427bfdb7e2d7372ccb2f4c821402a72f52")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#57481f427bfdb7e2d7372ccb2f4c821402a72f52'>57481f427bfdb7e2d7372ccb2f4c821402a72f52</a></p><p><b>Date:</b> Sun Mar 5 13:29:51 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Working on configuring code to work with the blrslib mtmgr library</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/include/JINX.h")'>2017/rewrite/include/JINX.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/include/defines.h")'>2017/rewrite/include/defines.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/include/extras.h")'>2017/rewrite/include/extras.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/include/functions.h")'>2017/rewrite/include/functions.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/include/motors.h")'>2017/rewrite/include/motors.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/include/tasks.h")'>2017/rewrite/include/tasks.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/src/JINX.c")'>2017/rewrite/src/JINX.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/src/JINX_Helpers.c")'>2017/rewrite/src/JINX_Helpers.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/src/auto0.c")'>2017/rewrite/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/src/auto1.c")'>2017/rewrite/src/auto1.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/src/auto2.c")'>2017/rewrite/src/auto2.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/src/auto3.c")'>2017/rewrite/src/auto3.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/src/auto4.c")'>2017/rewrite/src/auto4.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/src/extras.c")'>2017/rewrite/src/extras.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/src/functions.c")'>2017/rewrite/src/functions.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/src/jerk.c")'>2017/rewrite/src/jerk.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/src/motors.c")'>2017/rewrite/src/motors.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/src/tasks.c")'>2017/rewrite/src/tasks.c</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/include/lib.h")'>2017/rewrite/include/lib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/src/auto.c")'>2017/rewrite/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/src/init.c")'>2017/rewrite/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/57481f427bfdb7e2d7372ccb2f4c821402a72f52/2017/rewrite/src/opcontrol.c")'>2017/rewrite/src/opcontrol.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='e4da363b47436198fd47e5827ecc6724df6faea3'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/e4da363b47436198fd47e5827ecc6724df6faea3")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#e4da363b47436198fd47e5827ecc6724df6faea3'>e4da363b47436198fd47e5827ecc6724df6faea3</a></p><p><b>Date:</b> Sun Mar 5 11:12:32 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>After these changes were made: we placed highest at competition with 44 points prog skills and 42 driver. 86 total.</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e4da363b47436198fd47e5827ecc6724df6faea3/2017/Indiana/bin/output.bin")'>2017/Indiana/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e4da363b47436198fd47e5827ecc6724df6faea3/2017/Indiana/include/revision.h")'>2017/Indiana/include/revision.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e4da363b47436198fd47e5827ecc6724df6faea3/2017/Indiana/src/auto0.c")'>2017/Indiana/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e4da363b47436198fd47e5827ecc6724df6faea3/2017/Indiana/src/auto1.c")'>2017/Indiana/src/auto1.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e4da363b47436198fd47e5827ecc6724df6faea3/2017/Indiana/src/auto14.c")'>2017/Indiana/src/auto14.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e4da363b47436198fd47e5827ecc6724df6faea3/2017/Indiana/src/auto15.c")'>2017/Indiana/src/auto15.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e4da363b47436198fd47e5827ecc6724df6faea3/2017/Indiana/src/revision.c")'>2017/Indiana/src/revision.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e4da363b47436198fd47e5827ecc6724df6faea3/2017/Planning/Auto Plan.pptx")'>2017/Planning/Auto Plan.pptx</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='8940b8090e10982e1b85fe31ec273c79d3854fb2'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/8940b8090e10982e1b85fe31ec273c79d3854fb2")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#8940b8090e10982e1b85fe31ec273c79d3854fb2'>8940b8090e10982e1b85fe31ec273c79d3854fb2</a></p><p><b>Date:</b> Thu Mar 2 20:43:47 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Autonomous precision work</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8940b8090e10982e1b85fe31ec273c79d3854fb2/2017/Indiana/bin/output.bin")'>2017/Indiana/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8940b8090e10982e1b85fe31ec273c79d3854fb2/2017/Indiana/include/constants.h")'>2017/Indiana/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8940b8090e10982e1b85fe31ec273c79d3854fb2/2017/Indiana/output.txt")'>2017/Indiana/output.txt</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8940b8090e10982e1b85fe31ec273c79d3854fb2/2017/Indiana/src/auto0.c")'>2017/Indiana/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8940b8090e10982e1b85fe31ec273c79d3854fb2/2017/Indiana/src/ethanlib.c")'>2017/Indiana/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8940b8090e10982e1b85fe31ec273c79d3854fb2/2017/Indiana/src/init.c")'>2017/Indiana/src/init.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='8c1e8961a79f4dff05d8746ebfc687ce8403abd4'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/8c1e8961a79f4dff05d8746ebfc687ce8403abd4")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#8c1e8961a79f4dff05d8746ebfc687ce8403abd4'>8c1e8961a79f4dff05d8746ebfc687ce8403abd4</a></p><p><b>Date:</b> Wed Mar 1 15:50:54 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Nearly confirmed travel to Indiana skills-only competition. Created project. Going to try for last cube as well as 4 stars left in middle of fence</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/CalibrateGyros/Makefile")'>2017/CalibrateGyros/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/CalibrateGyros/bin/output.bin")'>2017/CalibrateGyros/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/CalibrateGyros/common.mk")'>2017/CalibrateGyros/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/CalibrateGyros/firmware/STM32F10x.ld")'>2017/CalibrateGyros/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/CalibrateGyros/firmware/cortex.ld")'>2017/CalibrateGyros/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/CalibrateGyros/firmware/uniflash.jar")'>2017/CalibrateGyros/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/CalibrateGyros/include/API.h")'>2017/CalibrateGyros/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/CalibrateGyros/include/constants.h")'>2017/CalibrateGyros/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/CalibrateGyros/include/main.h")'>2017/CalibrateGyros/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/CalibrateGyros/project.pros")'>2017/CalibrateGyros/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/CalibrateGyros/src/Makefile")'>2017/CalibrateGyros/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/CalibrateGyros/src/auto.c")'>2017/CalibrateGyros/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/CalibrateGyros/src/init.c")'>2017/CalibrateGyros/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/CalibrateGyros/src/opcontrol.c")'>2017/CalibrateGyros/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/Makefile")'>2017/Indiana/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/bin/output.bin")'>2017/Indiana/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/common.mk")'>2017/Indiana/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/firmware/STM32F10x.ld")'>2017/Indiana/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/firmware/cortex.ld")'>2017/Indiana/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/firmware/uniflash.jar")'>2017/Indiana/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/include/API.h")'>2017/Indiana/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/include/JINX.h")'>2017/Indiana/include/JINX.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/include/MyJinx.h")'>2017/Indiana/include/MyJinx.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/include/autonomous.h")'>2017/Indiana/include/autonomous.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/include/constants.h")'>2017/Indiana/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/include/ethanlib.h")'>2017/Indiana/include/ethanlib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/include/main.h")'>2017/Indiana/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/include/motorSlew.h")'>2017/Indiana/include/motorSlew.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/include/revision.h")'>2017/Indiana/include/revision.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/output.txt")'>2017/Indiana/output.txt</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/project.pros")'>2017/Indiana/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/JINX.c")'>2017/Indiana/src/JINX.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/JINX_Helpers.c")'>2017/Indiana/src/JINX_Helpers.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/Makefile")'>2017/Indiana/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/auto.c")'>2017/Indiana/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/auto0.c")'>2017/Indiana/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/auto1.c")'>2017/Indiana/src/auto1.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/auto10.c")'>2017/Indiana/src/auto10.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/auto13.c")'>2017/Indiana/src/auto13.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/auto14.c")'>2017/Indiana/src/auto14.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/auto15.c")'>2017/Indiana/src/auto15.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/auto2.c")'>2017/Indiana/src/auto2.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/auto3.c")'>2017/Indiana/src/auto3.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/auto4.c")'>2017/Indiana/src/auto4.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/auto5.c")'>2017/Indiana/src/auto5.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/auto6.c")'>2017/Indiana/src/auto6.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/auto7.c")'>2017/Indiana/src/auto7.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/auto8.c")'>2017/Indiana/src/auto8.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/auto9.c")'>2017/Indiana/src/auto9.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/ethanlib.c")'>2017/Indiana/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/init.c")'>2017/Indiana/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/jerk.c")'>2017/Indiana/src/jerk.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/motorSlew.c")'>2017/Indiana/src/motorSlew.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/opcontrol.c")'>2017/Indiana/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/src/revision.c")'>2017/Indiana/src/revision.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Indiana/true.exe.stackdump")'>2017/Indiana/true.exe.stackdump</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/Makefile")'>2017/Sandbox/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/bin/output.bin")'>2017/Sandbox/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/common.mk")'>2017/Sandbox/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/firmware/STM32F10x.ld")'>2017/Sandbox/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/firmware/cortex.ld")'>2017/Sandbox/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/firmware/uniflash.jar")'>2017/Sandbox/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/include/API.h")'>2017/Sandbox/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/include/JINX.h")'>2017/Sandbox/include/JINX.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/include/MyJinx.h")'>2017/Sandbox/include/MyJinx.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/include/autonomous.h")'>2017/Sandbox/include/autonomous.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/include/constants.h")'>2017/Sandbox/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/include/ethanlib.h")'>2017/Sandbox/include/ethanlib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/include/main.h")'>2017/Sandbox/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/include/motorSlew.h")'>2017/Sandbox/include/motorSlew.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/include/revision.h")'>2017/Sandbox/include/revision.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/output.txt")'>2017/Sandbox/output.txt</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/project.pros")'>2017/Sandbox/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/JINX.c")'>2017/Sandbox/src/JINX.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/JINX_Helpers.c")'>2017/Sandbox/src/JINX_Helpers.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/Makefile")'>2017/Sandbox/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/auto.c")'>2017/Sandbox/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/auto0.c")'>2017/Sandbox/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/auto1.c")'>2017/Sandbox/src/auto1.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/auto10.c")'>2017/Sandbox/src/auto10.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/auto13.c")'>2017/Sandbox/src/auto13.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/auto14.c")'>2017/Sandbox/src/auto14.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/auto15.c")'>2017/Sandbox/src/auto15.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/auto2.c")'>2017/Sandbox/src/auto2.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/auto3.c")'>2017/Sandbox/src/auto3.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/auto4.c")'>2017/Sandbox/src/auto4.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/auto5.c")'>2017/Sandbox/src/auto5.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/auto6.c")'>2017/Sandbox/src/auto6.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/auto7.c")'>2017/Sandbox/src/auto7.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/auto8.c")'>2017/Sandbox/src/auto8.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/auto9.c")'>2017/Sandbox/src/auto9.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/ethanlib.c")'>2017/Sandbox/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/init.c")'>2017/Sandbox/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/jerk.c")'>2017/Sandbox/src/jerk.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/motorSlew.c")'>2017/Sandbox/src/motorSlew.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/opcontrol.c")'>2017/Sandbox/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/src/revision.c")'>2017/Sandbox/src/revision.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Sandbox/true.exe.stackdump")'>2017/Sandbox/true.exe.stackdump</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/rewrite/Makefile")'>2017/rewrite/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/rewrite/common.mk")'>2017/rewrite/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/rewrite/firmware/STM32F10x.ld")'>2017/rewrite/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/rewrite/firmware/cortex.ld")'>2017/rewrite/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/rewrite/firmware/uniflash.jar")'>2017/rewrite/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/rewrite/include/API.h")'>2017/rewrite/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/rewrite/include/lib.h")'>2017/rewrite/include/lib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/rewrite/include/main.h")'>2017/rewrite/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/rewrite/include/mtrmgr.h")'>2017/rewrite/include/mtrmgr.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/rewrite/project.pros")'>2017/rewrite/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/rewrite/src/Makefile")'>2017/rewrite/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/rewrite/src/auto.c")'>2017/rewrite/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/rewrite/src/init.c")'>2017/rewrite/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/rewrite/src/main.c")'>2017/rewrite/src/main.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/rewrite/src/mtrmgr.c")'>2017/rewrite/src/mtrmgr.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/rewrite/src/opcontrol.c")'>2017/rewrite/src/opcontrol.c</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/LastStand/src/auto15.c")'>2017/LastStand/src/auto15.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Planning/ideas.txt")'>2017/Planning/ideas.txt</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Post-season(pre-worlds)/bin/output.bin")'>2017/Post-season(pre-worlds)/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Post-season(pre-worlds)/src/auto0.c")'>2017/Post-season(pre-worlds)/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Post-season(pre-worlds)/src/ethanlib.c")'>2017/Post-season(pre-worlds)/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/Post-season(pre-worlds)/src/motorSlew.c")'>2017/Post-season(pre-worlds)/src/motorSlew.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/JINX_Helpers.o")'>2017/laststand/bin/JINX_Helpers.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/auto.o")'>2017/laststand/bin/auto.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/auto0.o")'>2017/laststand/bin/auto0.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/auto1.o")'>2017/laststand/bin/auto1.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/auto10.o")'>2017/laststand/bin/auto10.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/auto13.o")'>2017/laststand/bin/auto13.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/auto14.o")'>2017/laststand/bin/auto14.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/auto2.o")'>2017/laststand/bin/auto2.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/auto3.o")'>2017/laststand/bin/auto3.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/auto4.o")'>2017/laststand/bin/auto4.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/auto5.o")'>2017/laststand/bin/auto5.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/auto6.o")'>2017/laststand/bin/auto6.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/auto7.o")'>2017/laststand/bin/auto7.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/auto8.o")'>2017/laststand/bin/auto8.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/auto9.o")'>2017/laststand/bin/auto9.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/ethanlib.o")'>2017/laststand/bin/ethanlib.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/init.o")'>2017/laststand/bin/init.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/jerk.o")'>2017/laststand/bin/jerk.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/opcontrol.o")'>2017/laststand/bin/opcontrol.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/output.bin")'>2017/laststand/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/output.elf")'>2017/laststand/bin/output.elf</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/bin/revision.o")'>2017/laststand/bin/revision.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/include/revision.h")'>2017/laststand/include/revision.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/output.txt")'>2017/laststand/output.txt</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/src/auto14.c")'>2017/laststand/src/auto14.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8c1e8961a79f4dff05d8746ebfc687ce8403abd4/2017/laststand/src/revision.c")'>2017/laststand/src/revision.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c'>229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c</a></p><p><b>Date:</b> Sun Feb 26 15:17:13 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Implemented a motorSlew task to go easier on motors. This could potentially free up 2 motors for the drive to use</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c/2017/Post-season(pre-worlds)/include/motorSlew.h")'>2017/Post-season(pre-worlds)/include/motorSlew.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c/2017/Post-season(pre-worlds)/src/motorSlew.c")'>2017/Post-season(pre-worlds)/src/motorSlew.c</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c/2017/Post-season(pre-worlds)/bin/output.bin")'>2017/Post-season(pre-worlds)/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c/2017/Post-season(pre-worlds)/include/constants.h")'>2017/Post-season(pre-worlds)/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c/2017/Post-season(pre-worlds)/include/revision.h")'>2017/Post-season(pre-worlds)/include/revision.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c/2017/Post-season(pre-worlds)/src/auto0.c")'>2017/Post-season(pre-worlds)/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c/2017/Post-season(pre-worlds)/src/auto1.c")'>2017/Post-season(pre-worlds)/src/auto1.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c/2017/Post-season(pre-worlds)/src/auto10.c")'>2017/Post-season(pre-worlds)/src/auto10.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c/2017/Post-season(pre-worlds)/src/auto13.c")'>2017/Post-season(pre-worlds)/src/auto13.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c/2017/Post-season(pre-worlds)/src/auto2.c")'>2017/Post-season(pre-worlds)/src/auto2.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c/2017/Post-season(pre-worlds)/src/auto3.c")'>2017/Post-season(pre-worlds)/src/auto3.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c/2017/Post-season(pre-worlds)/src/auto4.c")'>2017/Post-season(pre-worlds)/src/auto4.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c/2017/Post-season(pre-worlds)/src/auto6.c")'>2017/Post-season(pre-worlds)/src/auto6.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c/2017/Post-season(pre-worlds)/src/auto7.c")'>2017/Post-season(pre-worlds)/src/auto7.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c/2017/Post-season(pre-worlds)/src/auto9.c")'>2017/Post-season(pre-worlds)/src/auto9.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c/2017/Post-season(pre-worlds)/src/ethanlib.c")'>2017/Post-season(pre-worlds)/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c/2017/Post-season(pre-worlds)/src/init.c")'>2017/Post-season(pre-worlds)/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/229b443f7b1f120df380f7b58a2f1dfe8e1a8c4c/2017/Post-season(pre-worlds)/src/revision.c")'>2017/Post-season(pre-worlds)/src/revision.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='e16ce1fdb96a5dcefeaad3d9097bba692261d9b0'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#e16ce1fdb96a5dcefeaad3d9097bba692261d9b0'>e16ce1fdb96a5dcefeaad3d9097bba692261d9b0</a></p><p><b>Date:</b> Sun Feb 26 11:54:09 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>We did well at the competition and won. In addition, we nailed a 77 point skills (35 programming and 42 driver), the highest in the state prior to this being 66. Our fingers are crossed for this to hold</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/Makefile")'>2017/Post-season(pre-worlds)/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/bin/output.bin")'>2017/Post-season(pre-worlds)/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/common.mk")'>2017/Post-season(pre-worlds)/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/firmware/STM32F10x.ld")'>2017/Post-season(pre-worlds)/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/firmware/cortex.ld")'>2017/Post-season(pre-worlds)/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/firmware/uniflash.jar")'>2017/Post-season(pre-worlds)/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/include/API.h")'>2017/Post-season(pre-worlds)/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/include/JINX.h")'>2017/Post-season(pre-worlds)/include/JINX.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/include/MyJinx.h")'>2017/Post-season(pre-worlds)/include/MyJinx.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/include/autonomous.h")'>2017/Post-season(pre-worlds)/include/autonomous.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/include/constants.h")'>2017/Post-season(pre-worlds)/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/include/ethanlib.h")'>2017/Post-season(pre-worlds)/include/ethanlib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/include/main.h")'>2017/Post-season(pre-worlds)/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/include/revision.h")'>2017/Post-season(pre-worlds)/include/revision.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/output.txt")'>2017/Post-season(pre-worlds)/output.txt</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/project.pros")'>2017/Post-season(pre-worlds)/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/JINX.c")'>2017/Post-season(pre-worlds)/src/JINX.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/JINX_Helpers.c")'>2017/Post-season(pre-worlds)/src/JINX_Helpers.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/Makefile")'>2017/Post-season(pre-worlds)/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/auto.c")'>2017/Post-season(pre-worlds)/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/auto0.c")'>2017/Post-season(pre-worlds)/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/auto1.c")'>2017/Post-season(pre-worlds)/src/auto1.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/auto10.c")'>2017/Post-season(pre-worlds)/src/auto10.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/auto13.c")'>2017/Post-season(pre-worlds)/src/auto13.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/auto14.c")'>2017/Post-season(pre-worlds)/src/auto14.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/auto15.c")'>2017/Post-season(pre-worlds)/src/auto15.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/auto2.c")'>2017/Post-season(pre-worlds)/src/auto2.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/auto3.c")'>2017/Post-season(pre-worlds)/src/auto3.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/auto4.c")'>2017/Post-season(pre-worlds)/src/auto4.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/auto5.c")'>2017/Post-season(pre-worlds)/src/auto5.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/auto6.c")'>2017/Post-season(pre-worlds)/src/auto6.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/auto7.c")'>2017/Post-season(pre-worlds)/src/auto7.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/auto8.c")'>2017/Post-season(pre-worlds)/src/auto8.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/auto9.c")'>2017/Post-season(pre-worlds)/src/auto9.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/ethanlib.c")'>2017/Post-season(pre-worlds)/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/init.c")'>2017/Post-season(pre-worlds)/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/jerk.c")'>2017/Post-season(pre-worlds)/src/jerk.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/opcontrol.c")'>2017/Post-season(pre-worlds)/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/src/revision.c")'>2017/Post-season(pre-worlds)/src/revision.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e16ce1fdb96a5dcefeaad3d9097bba692261d9b0/2017/Post-season(pre-worlds)/true.exe.stackdump")'>2017/Post-season(pre-worlds)/true.exe.stackdump</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='67f85e65f4560dd89e3361f2fe82832a1938c1d8'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/67f85e65f4560dd89e3361f2fe82832a1938c1d8")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#67f85e65f4560dd89e3361f2fe82832a1938c1d8'>67f85e65f4560dd89e3361f2fe82832a1938c1d8</a></p><p><b>Date:</b> Sat Feb 25 14:25:50 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Final competition preparations & improvements for</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/67f85e65f4560dd89e3361f2fe82832a1938c1d8/2017/LastStand/src/auto15.c")'>2017/LastStand/src/auto15.c</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/67f85e65f4560dd89e3361f2fe82832a1938c1d8/2017/laststand/bin/output.bin")'>2017/laststand/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/67f85e65f4560dd89e3361f2fe82832a1938c1d8/2017/laststand/include/autonomous.h")'>2017/laststand/include/autonomous.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/67f85e65f4560dd89e3361f2fe82832a1938c1d8/2017/laststand/include/constants.h")'>2017/laststand/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/67f85e65f4560dd89e3361f2fe82832a1938c1d8/2017/laststand/include/ethanlib.h")'>2017/laststand/include/ethanlib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/67f85e65f4560dd89e3361f2fe82832a1938c1d8/2017/laststand/src/auto.c")'>2017/laststand/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/67f85e65f4560dd89e3361f2fe82832a1938c1d8/2017/laststand/src/auto13.c")'>2017/laststand/src/auto13.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/67f85e65f4560dd89e3361f2fe82832a1938c1d8/2017/laststand/src/auto5.c")'>2017/laststand/src/auto5.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/67f85e65f4560dd89e3361f2fe82832a1938c1d8/2017/laststand/src/auto7.c")'>2017/laststand/src/auto7.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/67f85e65f4560dd89e3361f2fe82832a1938c1d8/2017/laststand/src/ethanlib.c")'>2017/laststand/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/67f85e65f4560dd89e3361f2fe82832a1938c1d8/2017/laststand/src/init.c")'>2017/laststand/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/67f85e65f4560dd89e3361f2fe82832a1938c1d8/2017/laststand/src/jerk.c")'>2017/laststand/src/jerk.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/67f85e65f4560dd89e3361f2fe82832a1938c1d8/2017/laststand/src/opcontrol.c")'>2017/laststand/src/opcontrol.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='6af53e635c48d70d72b4f03e4a8a579f03fecdc9'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/6af53e635c48d70d72b4f03e4a8a579f03fecdc9")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#6af53e635c48d70d72b4f03e4a8a579f03fecdc9'>6af53e635c48d70d72b4f03e4a8a579f03fecdc9</a></p><p><b>Date:</b> Tue Feb 21 23:32:25 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>skills work. Nothing in particular, except I found out now after about a month that my timer functions dont work. Going to look into it.</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/bin/auto14.o")'>2017/laststand/bin/auto14.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/bin/ethanlib.o")'>2017/laststand/bin/ethanlib.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/bin/output.bin")'>2017/laststand/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/bin/output.elf")'>2017/laststand/bin/output.elf</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/include/constants.h")'>2017/laststand/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/output.txt")'>2017/laststand/output.txt</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/src/auto.c")'>2017/laststand/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/src/auto0.c")'>2017/laststand/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/src/auto1.c")'>2017/laststand/src/auto1.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/src/auto10.c")'>2017/laststand/src/auto10.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/src/auto13.c")'>2017/laststand/src/auto13.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/src/auto14.c")'>2017/laststand/src/auto14.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/src/auto2.c")'>2017/laststand/src/auto2.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/src/auto3.c")'>2017/laststand/src/auto3.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/src/auto4.c")'>2017/laststand/src/auto4.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/src/auto5.c")'>2017/laststand/src/auto5.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/src/auto6.c")'>2017/laststand/src/auto6.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/src/auto7.c")'>2017/laststand/src/auto7.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/src/auto8.c")'>2017/laststand/src/auto8.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/src/auto9.c")'>2017/laststand/src/auto9.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/src/ethanlib.c")'>2017/laststand/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/src/init.c")'>2017/laststand/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/src/jerk.c")'>2017/laststand/src/jerk.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/src/opcontrol.c")'>2017/laststand/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/6af53e635c48d70d72b4f03e4a8a579f03fecdc9/2017/laststand/true.exe.stackdump")'>2017/laststand/true.exe.stackdump</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='913b661f221172823483bec1e103f78e79e50f82'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/913b661f221172823483bec1e103f78e79e50f82")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#913b661f221172823483bec1e103f78e79e50f82'>913b661f221172823483bec1e103f78e79e50f82</a></p><p><b>Date:</b> Tue Feb 21 22:38:06 2017 -0500</p> <p><b>Author:</b> iuyte <[email protected]></p> <p><b>Description:</b><br>Fixing git</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/Makefile")'>2017/laststand/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/JINX.o")'>2017/laststand/bin/JINX.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/JINX_Helpers.o")'>2017/laststand/bin/JINX_Helpers.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/auto.o")'>2017/laststand/bin/auto.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/auto0.o")'>2017/laststand/bin/auto0.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/auto1.o")'>2017/laststand/bin/auto1.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/auto10.o")'>2017/laststand/bin/auto10.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/auto13.o")'>2017/laststand/bin/auto13.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/auto14.o")'>2017/laststand/bin/auto14.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/auto2.o")'>2017/laststand/bin/auto2.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/auto3.o")'>2017/laststand/bin/auto3.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/auto4.o")'>2017/laststand/bin/auto4.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/auto5.o")'>2017/laststand/bin/auto5.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/auto6.o")'>2017/laststand/bin/auto6.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/auto7.o")'>2017/laststand/bin/auto7.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/auto8.o")'>2017/laststand/bin/auto8.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/auto9.o")'>2017/laststand/bin/auto9.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/ethanlib.o")'>2017/laststand/bin/ethanlib.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/init.o")'>2017/laststand/bin/init.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/jerk.o")'>2017/laststand/bin/jerk.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/opcontrol.o")'>2017/laststand/bin/opcontrol.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/output.bin")'>2017/laststand/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/output.elf")'>2017/laststand/bin/output.elf</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/bin/revision.o")'>2017/laststand/bin/revision.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/common.mk")'>2017/laststand/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/firmware/STM32F10x.ld")'>2017/laststand/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/firmware/cortex.ld")'>2017/laststand/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/firmware/libpros.a")'>2017/laststand/firmware/libpros.a</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/firmware/uniflash.jar")'>2017/laststand/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/project.pros")'>2017/laststand/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/913b661f221172823483bec1e103f78e79e50f82/2017/laststand/true.exe.stackdump")'>2017/laststand/true.exe.stackdump</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='3a9ed0660e85b661a4d4680c4ea5f01a45db6349'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/3a9ed0660e85b661a4d4680c4ea5f01a45db6349")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#3a9ed0660e85b661a4d4680c4ea5f01a45db6349'>3a9ed0660e85b661a4d4680c4ea5f01a45db6349</a></p><p><b>Date:</b> Tue Feb 21 22:37:08 2017 -0500</p> <p><b>Author:</b> iuyte <[email protected]></p> <p><b>Description:</b><br>Fixing weird git upload</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3a9ed0660e85b661a4d4680c4ea5f01a45db6349/2017/laststand/include/API.h")'>2017/laststand/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3a9ed0660e85b661a4d4680c4ea5f01a45db6349/2017/laststand/include/JINX.h")'>2017/laststand/include/JINX.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3a9ed0660e85b661a4d4680c4ea5f01a45db6349/2017/laststand/include/MyJinx.h")'>2017/laststand/include/MyJinx.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3a9ed0660e85b661a4d4680c4ea5f01a45db6349/2017/laststand/include/autonomous.h")'>2017/laststand/include/autonomous.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3a9ed0660e85b661a4d4680c4ea5f01a45db6349/2017/laststand/include/constants.h")'>2017/laststand/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3a9ed0660e85b661a4d4680c4ea5f01a45db6349/2017/laststand/include/ethanlib.h")'>2017/laststand/include/ethanlib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3a9ed0660e85b661a4d4680c4ea5f01a45db6349/2017/laststand/include/main.h")'>2017/laststand/include/main.h</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3a9ed0660e85b661a4d4680c4ea5f01a45db6349/2017/laststand/include/revision.h")'>2017/laststand/include/revision.h</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='d0dd230861cd1ba7e8c01690ab263bca8d293c76'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/d0dd230861cd1ba7e8c01690ab263bca8d293c76")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#d0dd230861cd1ba7e8c01690ab263bca8d293c76'>d0dd230861cd1ba7e8c01690ab263bca8d293c76</a></p><p><b>Date:</b> Tue Feb 21 22:36:31 2017 -0500</p> <p><b>Author:</b> iuyte <[email protected]></p> <p><b>Description:</b><br>Uploading code that didnt</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/JINX.c")'>2017/laststand/src/JINX.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/JINX_Helpers.c")'>2017/laststand/src/JINX_Helpers.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/Makefile")'>2017/laststand/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/auto.c")'>2017/laststand/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/auto0.c")'>2017/laststand/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/auto1.c")'>2017/laststand/src/auto1.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/auto10.c")'>2017/laststand/src/auto10.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/auto13.c")'>2017/laststand/src/auto13.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/auto2.c")'>2017/laststand/src/auto2.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/auto3.c")'>2017/laststand/src/auto3.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/auto4.c")'>2017/laststand/src/auto4.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/auto5.c")'>2017/laststand/src/auto5.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/auto6.c")'>2017/laststand/src/auto6.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/auto7.c")'>2017/laststand/src/auto7.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/auto8.c")'>2017/laststand/src/auto8.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/auto9.c")'>2017/laststand/src/auto9.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/ethanlib.c")'>2017/laststand/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/init.c")'>2017/laststand/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/jerk.c")'>2017/laststand/src/jerk.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/opcontrol.c")'>2017/laststand/src/opcontrol.c</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/auto14.c")'>2017/laststand/src/auto14.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d0dd230861cd1ba7e8c01690ab263bca8d293c76/2017/laststand/src/revision.c")'>2017/laststand/src/revision.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='fba518aa32e9ca518dcacbaa3fc1eb252798e3e3'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/fba518aa32e9ca518dcacbaa3fc1eb252798e3e3")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#fba518aa32e9ca518dcacbaa3fc1eb252798e3e3'>fba518aa32e9ca518dcacbaa3fc1eb252798e3e3</a></p><p><b>Date:</b> Tue Feb 21 22:19:17 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Auton precision work</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fba518aa32e9ca518dcacbaa3fc1eb252798e3e3/2017/laststand/output.txt")'>2017/laststand/output.txt</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fba518aa32e9ca518dcacbaa3fc1eb252798e3e3/2017/laststand/src/auto14.c")'>2017/laststand/src/auto14.c</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fba518aa32e9ca518dcacbaa3fc1eb252798e3e3/2017/JINXProject/bin/output.bin")'>2017/JINXProject/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fba518aa32e9ca518dcacbaa3fc1eb252798e3e3/2017/JINXProject/include/main.h")'>2017/JINXProject/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fba518aa32e9ca518dcacbaa3fc1eb252798e3e3/2017/JINXProject/src/init.c")'>2017/JINXProject/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fba518aa32e9ca518dcacbaa3fc1eb252798e3e3/2017/JINXProject/src/opcontrol.c")'>2017/JINXProject/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fba518aa32e9ca518dcacbaa3fc1eb252798e3e3/2017/LastStand/bin/output.bin")'>2017/LastStand/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fba518aa32e9ca518dcacbaa3fc1eb252798e3e3/2017/LastStand/include/autonomous.h")'>2017/LastStand/include/autonomous.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fba518aa32e9ca518dcacbaa3fc1eb252798e3e3/2017/LastStand/include/constants.h")'>2017/LastStand/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fba518aa32e9ca518dcacbaa3fc1eb252798e3e3/2017/LastStand/src/auto.c")'>2017/LastStand/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fba518aa32e9ca518dcacbaa3fc1eb252798e3e3/2017/LastStand/src/auto13.c")'>2017/LastStand/src/auto13.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fba518aa32e9ca518dcacbaa3fc1eb252798e3e3/2017/LastStand/src/ethanlib.c")'>2017/LastStand/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fba518aa32e9ca518dcacbaa3fc1eb252798e3e3/2017/LastStand/src/init.c")'>2017/LastStand/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fba518aa32e9ca518dcacbaa3fc1eb252798e3e3/2017/LastStand/src/jerk.c")'>2017/LastStand/src/jerk.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fba518aa32e9ca518dcacbaa3fc1eb252798e3e3/2017/Planning/ideas.txt")'>2017/Planning/ideas.txt</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='357490c31f04dfc75b61f79a5444e4acf89d1f68'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/357490c31f04dfc75b61f79a5444e4acf89d1f68")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#357490c31f04dfc75b61f79a5444e4acf89d1f68'>357490c31f04dfc75b61f79a5444e4acf89d1f68</a></p><p><b>Date:</b> Tue Feb 21 14:59:56 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Working on our code for 709s's 'last stand', trying to make a very good skills program so we can be top in NYS and qualify for worlds. My re-engineered code includes my encDep library as well as JINX support (when enabled from constants.h)</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/JINXProject/Makefile")'>2017/JINXProject/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/JINXProject/bin/output.bin")'>2017/JINXProject/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/JINXProject/common.mk")'>2017/JINXProject/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/JINXProject/firmware/STM32F10x.ld")'>2017/JINXProject/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/JINXProject/firmware/cortex.ld")'>2017/JINXProject/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/JINXProject/firmware/uniflash.jar")'>2017/JINXProject/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/JINXProject/include/API.h")'>2017/JINXProject/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/JINXProject/include/JINX.h")'>2017/JINXProject/include/JINX.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/JINXProject/include/main.h")'>2017/JINXProject/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/JINXProject/project.pros")'>2017/JINXProject/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/JINXProject/src/JINX.c")'>2017/JINXProject/src/JINX.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/JINXProject/src/JINX_Helpers.c")'>2017/JINXProject/src/JINX_Helpers.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/JINXProject/src/Makefile")'>2017/JINXProject/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/JINXProject/src/auto.c")'>2017/JINXProject/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/JINXProject/src/init.c")'>2017/JINXProject/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/JINXProject/src/opcontrol.c")'>2017/JINXProject/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/Makefile")'>2017/LastStand/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/bin/output.bin")'>2017/LastStand/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/common.mk")'>2017/LastStand/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/firmware/STM32F10x.ld")'>2017/LastStand/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/firmware/cortex.ld")'>2017/LastStand/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/firmware/uniflash.jar")'>2017/LastStand/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/include/API.h")'>2017/LastStand/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/include/JINX.h")'>2017/LastStand/include/JINX.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/include/MyJinx.h")'>2017/LastStand/include/MyJinx.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/include/autonomous.h")'>2017/LastStand/include/autonomous.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/include/constants.h")'>2017/LastStand/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/include/encDep.h")'>2017/LastStand/include/encDep.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/include/ethanlib.h")'>2017/LastStand/include/ethanlib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/include/main.h")'>2017/LastStand/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/project.pros")'>2017/LastStand/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/JINX.c")'>2017/LastStand/src/JINX.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/JINX_Helpers.c")'>2017/LastStand/src/JINX_Helpers.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/Makefile")'>2017/LastStand/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/auto.c")'>2017/LastStand/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/auto0.c")'>2017/LastStand/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/auto1.c")'>2017/LastStand/src/auto1.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/auto10.c")'>2017/LastStand/src/auto10.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/auto13.c")'>2017/LastStand/src/auto13.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/auto2.c")'>2017/LastStand/src/auto2.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/auto3.c")'>2017/LastStand/src/auto3.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/auto4.c")'>2017/LastStand/src/auto4.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/auto5.c")'>2017/LastStand/src/auto5.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/auto6.c")'>2017/LastStand/src/auto6.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/auto7.c")'>2017/LastStand/src/auto7.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/auto8.c")'>2017/LastStand/src/auto8.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/auto9.c")'>2017/LastStand/src/auto9.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/encDep.c")'>2017/LastStand/src/encDep.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/ethanlib.c")'>2017/LastStand/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/init.c")'>2017/LastStand/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/jerk.c")'>2017/LastStand/src/jerk.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/src/opcontrol.c")'>2017/LastStand/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/357490c31f04dfc75b61f79a5444e4acf89d1f68/2017/LastStand/true.exe.stackdump")'>2017/LastStand/true.exe.stackdump</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='2e77ad68889b69231d5eff153bbeea31d70c67fc'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/2e77ad68889b69231d5eff153bbeea31d70c67fc")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#2e77ad68889b69231d5eff153bbeea31d70c67fc'>2e77ad68889b69231d5eff153bbeea31d70c67fc</a></p><p><b>Date:</b> Sun Feb 19 09:32:01 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>my code post-states</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/Planning/~$Auto Plan.pptx")'>2017/Planning/~$Auto Plan.pptx</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/States17BETA/src/auto10.c")'>2017/States17BETA/src/auto10.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/States17BETA/src/auto6.c")'>2017/States17BETA/src/auto6.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/States17BETA/src/auto7.c")'>2017/States17BETA/src/auto7.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/States17BETA/src/auto8.c")'>2017/States17BETA/src/auto8.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/States17BETA/src/auto9.c")'>2017/States17BETA/src/auto9.c</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/Planning/ideas.txt")'>2017/Planning/ideas.txt</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/States17BETA/bin/output.bin")'>2017/States17BETA/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/States17BETA/include/autonomous.h")'>2017/States17BETA/include/autonomous.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/States17BETA/include/constants.h")'>2017/States17BETA/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/States17BETA/include/ethanlib.h")'>2017/States17BETA/include/ethanlib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/States17BETA/src/auto.c")'>2017/States17BETA/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/States17BETA/src/auto0.c")'>2017/States17BETA/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/States17BETA/src/auto2.c")'>2017/States17BETA/src/auto2.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/States17BETA/src/auto4.c")'>2017/States17BETA/src/auto4.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/States17BETA/src/auto5.c")'>2017/States17BETA/src/auto5.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/States17BETA/src/ethanlib.c")'>2017/States17BETA/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/States17BETA/src/init.c")'>2017/States17BETA/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/States17BETA/src/jerk.c")'>2017/States17BETA/src/jerk.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2e77ad68889b69231d5eff153bbeea31d70c67fc/2017/States17BETA/src/opcontrol.c")'>2017/States17BETA/src/opcontrol.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='d2ec322d54f6891dd980703661b8aa468c1d13d1'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/d2ec322d54f6891dd980703661b8aa468c1d13d1")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#d2ec322d54f6891dd980703661b8aa468c1d13d1'>d2ec322d54f6891dd980703661b8aa468c1d13d1</a></p><p><b>Date:</b> Fri Feb 17 10:44:21 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Added first - draft skills in auto2.c, moved standard auton to auto0.c, and auto1.c is now standard auton minus the cube</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d2ec322d54f6891dd980703661b8aa468c1d13d1/2017/Planning/Auto Plan.pptx")'>2017/Planning/Auto Plan.pptx</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d2ec322d54f6891dd980703661b8aa468c1d13d1/2017/Planning/ideas.txt")'>2017/Planning/ideas.txt</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d2ec322d54f6891dd980703661b8aa468c1d13d1/2017/States17BETA/src/jerk.c")'>2017/States17BETA/src/jerk.c</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d2ec322d54f6891dd980703661b8aa468c1d13d1/2017/States17BETA/bin/output.bin")'>2017/States17BETA/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d2ec322d54f6891dd980703661b8aa468c1d13d1/2017/States17BETA/include/constants.h")'>2017/States17BETA/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d2ec322d54f6891dd980703661b8aa468c1d13d1/2017/States17BETA/include/ethanlib.h")'>2017/States17BETA/include/ethanlib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d2ec322d54f6891dd980703661b8aa468c1d13d1/2017/States17BETA/src/auto0.c")'>2017/States17BETA/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d2ec322d54f6891dd980703661b8aa468c1d13d1/2017/States17BETA/src/auto1.c")'>2017/States17BETA/src/auto1.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d2ec322d54f6891dd980703661b8aa468c1d13d1/2017/States17BETA/src/auto2.c")'>2017/States17BETA/src/auto2.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d2ec322d54f6891dd980703661b8aa468c1d13d1/2017/States17BETA/src/auto3.c")'>2017/States17BETA/src/auto3.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d2ec322d54f6891dd980703661b8aa468c1d13d1/2017/States17BETA/src/ethanlib.c")'>2017/States17BETA/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d2ec322d54f6891dd980703661b8aa468c1d13d1/2017/States17BETA/src/init.c")'>2017/States17BETA/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/d2ec322d54f6891dd980703661b8aa468c1d13d1/2017/States17BETA/src/opcontrol.c")'>2017/States17BETA/src/opcontrol.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='aa9d3e50a2145046325c6b41de84f81ba2592b1d'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/aa9d3e50a2145046325c6b41de84f81ba2592b1d")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#aa9d3e50a2145046325c6b41de84f81ba2592b1d'>aa9d3e50a2145046325c6b41de84f81ba2592b1d</a></p><p><b>Date:</b> Tue Feb 14 21:28:57 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Seperated different autons into respective files for ease of access</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/aa9d3e50a2145046325c6b41de84f81ba2592b1d/2017/States17BETA/include/autonomous.h")'>2017/States17BETA/include/autonomous.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/aa9d3e50a2145046325c6b41de84f81ba2592b1d/2017/States17BETA/src/auto0.c")'>2017/States17BETA/src/auto0.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/aa9d3e50a2145046325c6b41de84f81ba2592b1d/2017/States17BETA/src/auto1.c")'>2017/States17BETA/src/auto1.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/aa9d3e50a2145046325c6b41de84f81ba2592b1d/2017/States17BETA/src/auto2.c")'>2017/States17BETA/src/auto2.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/aa9d3e50a2145046325c6b41de84f81ba2592b1d/2017/States17BETA/src/auto3.c")'>2017/States17BETA/src/auto3.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/aa9d3e50a2145046325c6b41de84f81ba2592b1d/2017/States17BETA/src/auto4.c")'>2017/States17BETA/src/auto4.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/aa9d3e50a2145046325c6b41de84f81ba2592b1d/2017/States17BETA/src/auto5.c")'>2017/States17BETA/src/auto5.c</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/aa9d3e50a2145046325c6b41de84f81ba2592b1d/2017/States17BETA/src/auto.c")'>2017/States17BETA/src/auto.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='016e583e5f2318aa12181e5e1367fa4e9802d5d1'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/016e583e5f2318aa12181e5e1367fa4e9802d5d1")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#016e583e5f2318aa12181e5e1367fa4e9802d5d1'>016e583e5f2318aa12181e5e1367fa4e9802d5d1</a></p><p><b>Date:</b> Tue Feb 14 12:28:36 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Autonomous precision, added function turnNoFix to get within 15 second time, not completely within yet</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/016e583e5f2318aa12181e5e1367fa4e9802d5d1/2017/States17BETA/bin/output.bin")'>2017/States17BETA/bin/output.bin</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/016e583e5f2318aa12181e5e1367fa4e9802d5d1/2017/States17BETA/include/ethanlib.h")'>2017/States17BETA/include/ethanlib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/016e583e5f2318aa12181e5e1367fa4e9802d5d1/2017/States17BETA/src/auto.c")'>2017/States17BETA/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/016e583e5f2318aa12181e5e1367fa4e9802d5d1/2017/States17BETA/src/ethanlib.c")'>2017/States17BETA/src/ethanlib.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='85e5c49b4893e4d66d3a1e8797c70485569d7fc3'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/85e5c49b4893e4d66d3a1e8797c70485569d7fc3")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#85e5c49b4893e4d66d3a1e8797c70485569d7fc3'>85e5c49b4893e4d66d3a1e8797c70485569d7fc3</a></p><p><b>Date:</b> Mon Feb 6 21:21:16 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Worked on auto1() precision</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/85e5c49b4893e4d66d3a1e8797c70485569d7fc3/2017/States17BETA/include/constants.h")'>2017/States17BETA/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/85e5c49b4893e4d66d3a1e8797c70485569d7fc3/2017/States17BETA/src/auto.c")'>2017/States17BETA/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/85e5c49b4893e4d66d3a1e8797c70485569d7fc3/2017/States17BETA/src/ethanlib.c")'>2017/States17BETA/src/ethanlib.c</span></li> </ul><b>Files deleted:</b> <ul> <li>2017/States17BETA/bin/output.bin</li> </ul><br></div> <div class='spacer'></div><div class='commit' id='7db0b59587d6c4c14656ca0de2b091a0f9b51506'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/7db0b59587d6c4c14656ca0de2b091a0f9b51506")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#7db0b59587d6c4c14656ca0de2b091a0f9b51506'>7db0b59587d6c4c14656ca0de2b091a0f9b51506</a></p><p><b>Date:</b> Mon Feb 6 20:48:51 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>The auto0() kind-of works, so I left it as is, copied code into auto1(), and am working on it from there. New idea: with all these autonomous options, I should be able to make a few more (and more simple) autonomouses. Ideas currently include:\n -Go get cube and dump, \n -beyond the cube, go knock off stars from the fence\n -Get stars and dump, knock from fence\n -Go straight to fence and block opposing alliance from scoring</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/7db0b59587d6c4c14656ca0de2b091a0f9b51506/2017/States17BETA/bin/output.bin")'>2017/States17BETA/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/7db0b59587d6c4c14656ca0de2b091a0f9b51506/2017/States17BETA/include/constants.h")'>2017/States17BETA/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/7db0b59587d6c4c14656ca0de2b091a0f9b51506/2017/States17BETA/include/ethanlib.h")'>2017/States17BETA/include/ethanlib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/7db0b59587d6c4c14656ca0de2b091a0f9b51506/2017/States17BETA/src/auto.c")'>2017/States17BETA/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/7db0b59587d6c4c14656ca0de2b091a0f9b51506/2017/States17BETA/src/ethanlib.c")'>2017/States17BETA/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/7db0b59587d6c4c14656ca0de2b091a0f9b51506/2017/States17BETA/src/init.c")'>2017/States17BETA/src/init.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='b89cc76c17d89a65df45d144502c6a2b56d0e7b2'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/b89cc76c17d89a65df45d144502c6a2b56d0e7b2")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#b89cc76c17d89a65df45d144502c6a2b56d0e7b2'>b89cc76c17d89a65df45d144502c6a2b56d0e7b2</a></p><p><b>Date:</b> Mon Feb 6 13:14:38 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>WOrked on perfecting autonomous</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b89cc76c17d89a65df45d144502c6a2b56d0e7b2/2017/States17BETA/bin/output.bin")'>2017/States17BETA/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b89cc76c17d89a65df45d144502c6a2b56d0e7b2/2017/States17BETA/include/constants.h")'>2017/States17BETA/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b89cc76c17d89a65df45d144502c6a2b56d0e7b2/2017/States17BETA/include/ethanlib.h")'>2017/States17BETA/include/ethanlib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b89cc76c17d89a65df45d144502c6a2b56d0e7b2/2017/States17BETA/src/auto.c")'>2017/States17BETA/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b89cc76c17d89a65df45d144502c6a2b56d0e7b2/2017/States17BETA/src/ethanlib.c")'>2017/States17BETA/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b89cc76c17d89a65df45d144502c6a2b56d0e7b2/2017/States17BETA/src/init.c")'>2017/States17BETA/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b89cc76c17d89a65df45d144502c6a2b56d0e7b2/2017/StatesSkills/src/FuntionVars.c")'>2017/StatesSkills/src/FuntionVars.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='19fb75eab1e2aa6e6602a80574ce78018f93526e'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/19fb75eab1e2aa6e6602a80574ce78018f93526e")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#19fb75eab1e2aa6e6602a80574ce78018f93526e'>19fb75eab1e2aa6e6602a80574ce78018f93526e</a></p><p><b>Date:</b> Sun Feb 5 14:16:47 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br> 1) Added support for as many autonomous programs as I want (and selection) \n 2) Added some stuff to the end of my position-based driving and turning funtions to fix going over values</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/19fb75eab1e2aa6e6602a80574ce78018f93526e/2017/States17BETA/include/constants.h")'>2017/States17BETA/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/19fb75eab1e2aa6e6602a80574ce78018f93526e/2017/States17BETA/src/auto.c")'>2017/States17BETA/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/19fb75eab1e2aa6e6602a80574ce78018f93526e/2017/States17BETA/src/ethanlib.c")'>2017/States17BETA/src/ethanlib.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='b79cc4dee672bd7ea67cc6c5b26805e857c9f044'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/b79cc4dee672bd7ea67cc6c5b26805e857c9f044")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#b79cc4dee672bd7ea67cc6c5b26805e857c9f044'>b79cc4dee672bd7ea67cc6c5b26805e857c9f044</a></p><p><b>Date:</b> Sun Feb 5 13:54:47 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Gave up on 'position management' to opt for simply better code for moving to a certain gyro or encoder position, created new BETA after renaming old code DEAD and dating, added all improvements to new BETA code</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b79cc4dee672bd7ea67cc6c5b26805e857c9f044/2017/2017States17BETAdeadD2M5Yr17/bin/output.bin")'>2017/2017States17BETAdeadD2M5Yr17/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b79cc4dee672bd7ea67cc6c5b26805e857c9f044/2017/2017States17BETAdeadD2M5Yr17/src/ethanlib.c")'>2017/2017States17BETAdeadD2M5Yr17/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b79cc4dee672bd7ea67cc6c5b26805e857c9f044/2017/2017States17BETAdeadD2M5Yr17/src/opcontrol.c")'>2017/2017States17BETAdeadD2M5Yr17/src/opcontrol.c</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b79cc4dee672bd7ea67cc6c5b26805e857c9f044/2017/States17BETA/Makefile")'>2017/States17BETA/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b79cc4dee672bd7ea67cc6c5b26805e857c9f044/2017/States17BETA/bin/output.bin")'>2017/States17BETA/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b79cc4dee672bd7ea67cc6c5b26805e857c9f044/2017/States17BETA/common.mk")'>2017/States17BETA/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b79cc4dee672bd7ea67cc6c5b26805e857c9f044/2017/States17BETA/firmware/STM32F10x.ld")'>2017/States17BETA/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b79cc4dee672bd7ea67cc6c5b26805e857c9f044/2017/States17BETA/firmware/cortex.ld")'>2017/States17BETA/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b79cc4dee672bd7ea67cc6c5b26805e857c9f044/2017/States17BETA/include/API.h")'>2017/States17BETA/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b79cc4dee672bd7ea67cc6c5b26805e857c9f044/2017/States17BETA/include/constants.h")'>2017/States17BETA/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b79cc4dee672bd7ea67cc6c5b26805e857c9f044/2017/States17BETA/include/ethanlib.h")'>2017/States17BETA/include/ethanlib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b79cc4dee672bd7ea67cc6c5b26805e857c9f044/2017/States17BETA/include/main.h")'>2017/States17BETA/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b79cc4dee672bd7ea67cc6c5b26805e857c9f044/2017/States17BETA/src/Makefile")'>2017/States17BETA/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b79cc4dee672bd7ea67cc6c5b26805e857c9f044/2017/States17BETA/src/auto.c")'>2017/States17BETA/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b79cc4dee672bd7ea67cc6c5b26805e857c9f044/2017/States17BETA/src/ethanlib.c")'>2017/States17BETA/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b79cc4dee672bd7ea67cc6c5b26805e857c9f044/2017/States17BETA/src/init.c")'>2017/States17BETA/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b79cc4dee672bd7ea67cc6c5b26805e857c9f044/2017/States17BETA/src/opcontrol.c")'>2017/States17BETA/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/b79cc4dee672bd7ea67cc6c5b26805e857c9f044/2017/States17BETA/true.exe.stackdump")'>2017/States17BETA/true.exe.stackdump</span></li> </ul><b>Files deleted:</b> <ul> <li>2017/States17/bin/output.bin</li> <li>2017/States17/src/FuntionVars.c</li> <li>2017/States17/src/opcontrol.c</li> <li>2017/States17BETA/bin/auto.o</li> <li>2017/States17BETA/bin/ethanlib.o</li> <li>2017/States17BETA/bin/init.o</li> <li>2017/States17BETA/bin/opcontrol.o</li> <li>2017/States17BETA/bin/output.elf</li> <li>2017/States17BETA/firmware/libpros.a</li> </ul><br></div> <div class='spacer'></div><div class='commit' id='1f783689010c5e53ab9a44c8ab8d672f72688e41'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/1f783689010c5e53ab9a44c8ab8d672f72688e41")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#1f783689010c5e53ab9a44c8ab8d672f72688e41'>1f783689010c5e53ab9a44c8ab8d672f72688e41</a></p><p><b>Date:</b> Sun Feb 5 12:50:15 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Finally fixed a bunch of crap that just randomly happened to my code from git</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1f783689010c5e53ab9a44c8ab8d672f72688e41/2017/States17BETA/bin/ethanlib.o")'>2017/States17BETA/bin/ethanlib.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1f783689010c5e53ab9a44c8ab8d672f72688e41/2017/States17BETA/bin/output.bin")'>2017/States17BETA/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1f783689010c5e53ab9a44c8ab8d672f72688e41/2017/States17BETA/bin/output.elf")'>2017/States17BETA/bin/output.elf</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1f783689010c5e53ab9a44c8ab8d672f72688e41/2017/States17BETA/include/constants.h")'>2017/States17BETA/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1f783689010c5e53ab9a44c8ab8d672f72688e41/2017/States17BETA/include/ethanlib.h")'>2017/States17BETA/include/ethanlib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1f783689010c5e53ab9a44c8ab8d672f72688e41/2017/States17BETA/src/auto.c")'>2017/States17BETA/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1f783689010c5e53ab9a44c8ab8d672f72688e41/2017/States17BETA/src/ethanlib.c")'>2017/States17BETA/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1f783689010c5e53ab9a44c8ab8d672f72688e41/2017/States17BETA/src/init.c")'>2017/States17BETA/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1f783689010c5e53ab9a44c8ab8d672f72688e41/2017/States17BETA/src/opcontrol.c")'>2017/States17BETA/src/opcontrol.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='ef73bc5590359b863771d68384a534294ab31dd9'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/ef73bc5590359b863771d68384a534294ab31dd9")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#ef73bc5590359b863771d68384a534294ab31dd9'>ef73bc5590359b863771d68384a534294ab31dd9</a></p><p><b>Date:</b> Sun Feb 5 12:37:17 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Trying to fix git</p> <b>Files deleted:</b> <ul> <li>2017/States17BETA/bin/output.bin</li> </ul><br></div> <div class='spacer'></div><div class='commit' id='e5141102db8af40aea4118a544d7d9175c9e9efe'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/e5141102db8af40aea4118a544d7d9175c9e9efe")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#e5141102db8af40aea4118a544d7d9175c9e9efe'>e5141102db8af40aea4118a544d7d9175c9e9efe</a></p><p><b>Date:</b> Sun Feb 5 12:35:06 2017 -0500</p> <p><b>Author:</b> iuyte <[email protected]></p> <p><b>Description:</b><br>Updated files</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/bin/auto.o")'>2017/States17BETA/bin/auto.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/bin/ethanlib.o")'>2017/States17BETA/bin/ethanlib.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/bin/init.o")'>2017/States17BETA/bin/init.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/bin/opcontrol.o")'>2017/States17BETA/bin/opcontrol.o</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/bin/output.elf")'>2017/States17BETA/bin/output.elf</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/firmware/libpros.a")'>2017/States17BETA/firmware/libpros.a</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/Makefile")'>2017/States17BETA/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/bin/output.bin")'>2017/States17BETA/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/common.mk")'>2017/States17BETA/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/firmware/STM32F10x.ld")'>2017/States17BETA/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/firmware/cortex.ld")'>2017/States17BETA/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/include/API.h")'>2017/States17BETA/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/include/constants.h")'>2017/States17BETA/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/include/ethanlib.h")'>2017/States17BETA/include/ethanlib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/include/main.h")'>2017/States17BETA/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/src/Makefile")'>2017/States17BETA/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/src/auto.c")'>2017/States17BETA/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/src/ethanlib.c")'>2017/States17BETA/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/src/init.c")'>2017/States17BETA/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/src/opcontrol.c")'>2017/States17BETA/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/e5141102db8af40aea4118a544d7d9175c9e9efe/2017/States17BETA/true.exe.stackdump")'>2017/States17BETA/true.exe.stackdump</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='277f3eaccbab5e120b9066c5a697b1cf6d97347f'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/277f3eaccbab5e120b9066c5a697b1cf6d97347f")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#277f3eaccbab5e120b9066c5a697b1cf6d97347f'>277f3eaccbab5e120b9066c5a697b1cf6d97347f</a></p><p><b>Date:</b> Sun Feb 5 12:30:47 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Gave up on lift position management (mostly unneeded) to focus on position management of the drive (far more important)</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/277f3eaccbab5e120b9066c5a697b1cf6d97347f/2017/States17BETA/bin/output.bin")'>2017/States17BETA/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/277f3eaccbab5e120b9066c5a697b1cf6d97347f/2017/States17BETA/include/constants.h")'>2017/States17BETA/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/277f3eaccbab5e120b9066c5a697b1cf6d97347f/2017/States17BETA/include/ethanlib.h")'>2017/States17BETA/include/ethanlib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/277f3eaccbab5e120b9066c5a697b1cf6d97347f/2017/States17BETA/src/auto.c")'>2017/States17BETA/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/277f3eaccbab5e120b9066c5a697b1cf6d97347f/2017/States17BETA/src/ethanlib.c")'>2017/States17BETA/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/277f3eaccbab5e120b9066c5a697b1cf6d97347f/2017/States17BETA/src/init.c")'>2017/States17BETA/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/277f3eaccbab5e120b9066c5a697b1cf6d97347f/2017/States17BETA/src/opcontrol.c")'>2017/States17BETA/src/opcontrol.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='cd08e32c1bad627eceec54fad7ec902eb65af50c'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/cd08e32c1bad627eceec54fad7ec902eb65af50c")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#cd08e32c1bad627eceec54fad7ec902eb65af50c'>cd08e32c1bad627eceec54fad7ec902eb65af50c</a></p><p><b>Date:</b> Sat Feb 4 22:20:46 2017 -0500</p> <p><b>Author:</b> iuyte <[email protected]></p> <p><b>Description:</b><br>corrected spelling</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/cd08e32c1bad627eceec54fad7ec902eb65af50c/README.md")'>README.md</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='5ba4117fbd7258d9b67af12d4fd23d82be95aee6'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/5ba4117fbd7258d9b67af12d4fd23d82be95aee6")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#5ba4117fbd7258d9b67af12d4fd23d82be95aee6'>5ba4117fbd7258d9b67af12d4fd23d82be95aee6</a></p><p><b>Date:</b> Sat Feb 4 22:13:03 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Added opcontrol selection on LCD menu (and storage of choice)</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/5ba4117fbd7258d9b67af12d4fd23d82be95aee6/2017/States17BETA/bin/output.bin")'>2017/States17BETA/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/5ba4117fbd7258d9b67af12d4fd23d82be95aee6/2017/States17BETA/include/ethanlib.h")'>2017/States17BETA/include/ethanlib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/5ba4117fbd7258d9b67af12d4fd23d82be95aee6/2017/States17BETA/src/auto.c")'>2017/States17BETA/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/5ba4117fbd7258d9b67af12d4fd23d82be95aee6/2017/States17BETA/src/ethanlib.c")'>2017/States17BETA/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/5ba4117fbd7258d9b67af12d4fd23d82be95aee6/2017/States17BETA/src/opcontrol.c")'>2017/States17BETA/src/opcontrol.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='d0e9eab0fb73092a8a2289d3dc0226cc97987269'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/d0e9eab0fb73092a8a2289d3dc0226cc97987269")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#d0e9eab0fb73092a8a2289d3dc0226cc97987269'>d0e9eab0fb73092a8a2289d3dc0226cc97987269</a></p><p><b>Date:</b> Sat Feb 4 21:27:22 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Made some stuff on my last </p> <br></div> <div class='spacer'></div><div class='commit' id='8b16ac1d6eaabb7605762e5e55308d993151ccb4'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/8b16ac1d6eaabb7605762e5e55308d993151ccb4")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#8b16ac1d6eaabb7605762e5e55308d993151ccb4'>8b16ac1d6eaabb7605762e5e55308d993151ccb4</a></p><p><b>Date:</b> Sat Feb 4 21:20:01 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Worked on lcdDisplayTme task to include autonomous mode selection and storage of selected autonomous mode between cortex power cycles using the filesystem that my usage of PROS allows me to have (can't do THAT in RobotC)</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8b16ac1d6eaabb7605762e5e55308d993151ccb4/2017/States17BETA/bin/output.bin")'>2017/States17BETA/bin/output.bin</span></li> </ul><b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8b16ac1d6eaabb7605762e5e55308d993151ccb4/2017/States17BETA/src/auto.c")'>2017/States17BETA/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8b16ac1d6eaabb7605762e5e55308d993151ccb4/2017/States17BETA/src/ethanlib.c")'>2017/States17BETA/src/ethanlib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/8b16ac1d6eaabb7605762e5e55308d993151ccb4/2017/States17BETA/src/init.c")'>2017/States17BETA/src/init.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='a5918c431d1fcc9fcb495bbe999013bdce314da0'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/a5918c431d1fcc9fcb495bbe999013bdce314da0")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#a5918c431d1fcc9fcb495bbe999013bdce314da0'>a5918c431d1fcc9fcb495bbe999013bdce314da0</a></p><p><b>Date:</b> Sat Feb 4 19:34:18 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>cleaned up code a little bit (still needs testing)</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a5918c431d1fcc9fcb495bbe999013bdce314da0/2017/States17BETA/include/constants.h")'>2017/States17BETA/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a5918c431d1fcc9fcb495bbe999013bdce314da0/2017/States17BETA/src/auto.c")'>2017/States17BETA/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a5918c431d1fcc9fcb495bbe999013bdce314da0/2017/States17BETA/src/init.c")'>2017/States17BETA/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/a5918c431d1fcc9fcb495bbe999013bdce314da0/2017/States17BETA/src/opcontrol.c")'>2017/States17BETA/src/opcontrol.c</span></li> </ul><b>Files deleted:</b> <ul> <li>_config.yml</li> </ul><br></div> <div class='spacer'></div><div class='commit' id='1c0bcfcd48723a83f8860c9848354addca1fac6a'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/1c0bcfcd48723a83f8860c9848354addca1fac6a")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#1c0bcfcd48723a83f8860c9848354addca1fac6a'>1c0bcfcd48723a83f8860c9848354addca1fac6a</a></p><p><b>Date:</b> Fri Feb 3 21:30:04 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Changed a little bit of the auton such that running into the wall also uses position management</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1c0bcfcd48723a83f8860c9848354addca1fac6a/2017/States17BETA/src/auto.c")'>2017/States17BETA/src/auto.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='1d746f6e8831c3588d079d65c17880ff317714ba'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/1d746f6e8831c3588d079d65c17880ff317714ba")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#1d746f6e8831c3588d079d65c17880ff317714ba'>1d746f6e8831c3588d079d65c17880ff317714ba</a></p><p><b>Date:</b> Fri Feb 3 21:23:31 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Finished first draft of position management. still needs testing</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1d746f6e8831c3588d079d65c17880ff317714ba/2017/States17BETA/src/FuntionVars.c")'>2017/States17BETA/src/FuntionVars.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1d746f6e8831c3588d079d65c17880ff317714ba/2017/States17BETA/src/auto.c")'>2017/States17BETA/src/auto.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='2f6dbe89c52080559ca9f549f7ef03b9b3c7f6cc'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/2f6dbe89c52080559ca9f549f7ef03b9b3c7f6cc")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#2f6dbe89c52080559ca9f549f7ef03b9b3c7f6cc'>2f6dbe89c52080559ca9f549f7ef03b9b3c7f6cc</a></p><p><b>Date:</b> Fri Feb 3 19:32:23 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>worked on new theory</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2f6dbe89c52080559ca9f549f7ef03b9b3c7f6cc/2017/States17BETA/include/FunctionVars.h")'>2017/States17BETA/include/FunctionVars.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2f6dbe89c52080559ca9f549f7ef03b9b3c7f6cc/2017/States17BETA/src/FuntionVars.c")'>2017/States17BETA/src/FuntionVars.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2f6dbe89c52080559ca9f549f7ef03b9b3c7f6cc/2017/States17BETA/src/auto.c")'>2017/States17BETA/src/auto.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='3316adf197b7610c6363e79ad4bfaa078481f65d'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/3316adf197b7610c6363e79ad4bfaa078481f65d")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#3316adf197b7610c6363e79ad4bfaa078481f65d'>3316adf197b7610c6363e79ad4bfaa078481f65d</a></p><p><b>Date:</b> Fri Feb 3 19:29:05 2017 -0500</p> <p><b>Author:</b> iuyte <[email protected]></p> <p><b>Description:</b><br>Set theme jekyll-theme-hacker</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/3316adf197b7610c6363e79ad4bfaa078481f65d/_config.yml")'>_config.yml</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='7869a313d4ec3783c1d839c91788f762a8ca3c5c'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/7869a313d4ec3783c1d839c91788f762a8ca3c5c")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#7869a313d4ec3783c1d839c91788f762a8ca3c5c'>7869a313d4ec3783c1d839c91788f762a8ca3c5c</a></p><p><b>Date:</b> Thu Feb 2 22:07:09 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Lots of stuff - Auton presicion on regular project, new project created to test some constant PID-like code I created that shoul hopefully help a great deal. Have not tested new project yet, tomorrow probably if homework permits. Very glad I had a snow day today and was able to do work with this and FTC - got a lot done</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/7869a313d4ec3783c1d839c91788f762a8ca3c5c/2017/States17/bin/output.bin")'>2017/States17/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/7869a313d4ec3783c1d839c91788f762a8ca3c5c/2017/States17/include/FunctionVars.h")'>2017/States17/include/FunctionVars.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/7869a313d4ec3783c1d839c91788f762a8ca3c5c/2017/States17/src/FuntionVars.c")'>2017/States17/src/FuntionVars.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/7869a313d4ec3783c1d839c91788f762a8ca3c5c/2017/States17/src/auto.c")'>2017/States17/src/auto.c</span></li> </ul><b>Files deleted:</b> <ul> <li>2017/Freezing/PROS-FreezingCode-master/bin/output.bin</li> <li>2017/Freezing/PROS-FreezingCode-master/include/main.h</li> <li>2017/Freezing/PROS-FreezingCode-master/src/Claw.c</li> <li>2017/Freezing/PROS-FreezingCode-master/src/DriveBase.c</li> <li>2017/Freezing/PROS-FreezingCode-master/src/Lift.c</li> <li>2017/Freezing/PROS-FreezingCode-master/src/auto.c</li> <li>2017/Freezing/PROS-FreezingCode-master/src/init.c</li> <li>2017/Freezing/PROS-FreezingCode-master/src/main.c</li> <li>2017/Freezing/PROS-FreezingCode-master/src/opcontrol.c</li> <li>2017/States17TaskParameters/Makefile</li> <li>2017/States17TaskParameters/bin/output.bin</li> <li>2017/States17TaskParameters/common.mk</li> <li>2017/States17TaskParameters/firmware/STM32F10x.ld</li> <li>2017/States17TaskParameters/firmware/cortex.ld</li> <li>2017/States17TaskParameters/firmware/uniflash.jar</li> <li>2017/States17TaskParameters/include/API.h</li> <li>2017/States17TaskParameters/project.pros</li> <li>2017/States17TaskParameters/src/Makefile</li> </ul><br></div> <div class='spacer'></div><div class='commit' id='eb1b0279ae7a2a0b80bc2ce206e1f38ec0591f35'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/eb1b0279ae7a2a0b80bc2ce206e1f38ec0591f35")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#eb1b0279ae7a2a0b80bc2ce206e1f38ec0591f35'>eb1b0279ae7a2a0b80bc2ce206e1f38ec0591f35</a></p><p><b>Date:</b> Thu Feb 2 20:05:32 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Added a stopDrive() function</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/eb1b0279ae7a2a0b80bc2ce206e1f38ec0591f35/2017/States17/include/FunctionVars.h")'>2017/States17/include/FunctionVars.h</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='1b07a401b002c22d68d231f662b11d66413d166f'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/1b07a401b002c22d68d231f662b11d66413d166f")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#1b07a401b002c22d68d231f662b11d66413d166f'>1b07a401b002c22d68d231f662b11d66413d166f</a></p><p><b>Date:</b> Thu Feb 2 18:10:59 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>test commit</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1b07a401b002c22d68d231f662b11d66413d166f/2017/States17/bin/output.bin")'>2017/States17/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1b07a401b002c22d68d231f662b11d66413d166f/2017/States17/include/FunctionVars.h")'>2017/States17/include/FunctionVars.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/1b07a401b002c22d68d231f662b11d66413d166f/2017/States17/src/auto.c")'>2017/States17/src/auto.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='2256fbe99e06b57607b0595820a3bc12648f951a'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/2256fbe99e06b57607b0595820a3bc12648f951a")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#2256fbe99e06b57607b0595820a3bc12648f951a'>2256fbe99e06b57607b0595820a3bc12648f951a</a></p><p><b>Date:</b> Thu Feb 2 15:08:56 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Changes all sensor values in driveTo() to absolute values</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/2256fbe99e06b57607b0595820a3bc12648f951a/2017/States17/src/FuntionVars.c")'>2017/States17/src/FuntionVars.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='5f15ab824413886b74ef4228d3f2840f6d0d8147'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/5f15ab824413886b74ef4228d3f2840f6d0d8147")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#5f15ab824413886b74ef4228d3f2840f6d0d8147'>5f15ab824413886b74ef4228d3f2840f6d0d8147</a></p><p><b>Date:</b> Thu Feb 2 15:04:04 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Added printf of sensor values (will comment out in real competitions)</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/5f15ab824413886b74ef4228d3f2840f6d0d8147/2017/States17/src/opcontrol.c")'>2017/States17/src/opcontrol.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='35320e906b19aef7719d7a9ed853554f2a987650'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/35320e906b19aef7719d7a9ed853554f2a987650")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#35320e906b19aef7719d7a9ed853554f2a987650'>35320e906b19aef7719d7a9ed853554f2a987650</a></p><p><b>Date:</b> Thu Feb 2 15:00:48 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Compiled code</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/35320e906b19aef7719d7a9ed853554f2a987650/2017/States17/bin/output.bin")'>2017/States17/bin/output.bin</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='28475d6259e44910b254601172244ab22077d1d2'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/28475d6259e44910b254601172244ab22077d1d2")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#28475d6259e44910b254601172244ab22077d1d2'>28475d6259e44910b254601172244ab22077d1d2</a></p><p><b>Date:</b> Thu Feb 2 13:21:00 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>#pragma once in constants.h, added stopDriveAfter to FunctionVars.h</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/28475d6259e44910b254601172244ab22077d1d2/2017/States17/bin/output.bin")'>2017/States17/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/28475d6259e44910b254601172244ab22077d1d2/2017/States17/include/FunctionVars.h")'>2017/States17/include/FunctionVars.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/28475d6259e44910b254601172244ab22077d1d2/2017/States17/include/constants.h")'>2017/States17/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/28475d6259e44910b254601172244ab22077d1d2/2017/States17/src/opcontrol.c")'>2017/States17/src/opcontrol.c</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='bb911123245b766542d7cd18431538144000239d'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/bb911123245b766542d7cd18431538144000239d")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#bb911123245b766542d7cd18431538144000239d'>bb911123245b766542d7cd18431538144000239d</a></p><p><b>Date:</b> Thu Feb 2 12:54:49 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>Made it more descriptive</p> <b>Files modified:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/bb911123245b766542d7cd18431538144000239d/README.md")'>README.md</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='71481b048e21a0b15dd46e2fadce190b95f70d4b'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/71481b048e21a0b15dd46e2fadce190b95f70d4b")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#71481b048e21a0b15dd46e2fadce190b95f70d4b'>71481b048e21a0b15dd46e2fadce190b95f70d4b</a></p><p><b>Date:</b> Thu Feb 2 12:47:54 2017 -0500</p> <p><b>Author:</b> Ethan Wells <[email protected]></p> <p><b>Description:</b><br>real first commit</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17/Makefile")'>2017/BVille17/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17/bin/output.bin")'>2017/BVille17/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17/common.mk")'>2017/BVille17/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17/firmware/STM32F10x.ld")'>2017/BVille17/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17/firmware/cortex.ld")'>2017/BVille17/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17/firmware/uniflash.jar")'>2017/BVille17/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17/include/API.h")'>2017/BVille17/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17/include/FunctionVars.h")'>2017/BVille17/include/FunctionVars.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17/include/constants.h")'>2017/BVille17/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17/include/main.h")'>2017/BVille17/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17/project.pros")'>2017/BVille17/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17/src/FuntionVars.c")'>2017/BVille17/src/FuntionVars.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17/src/Makefile")'>2017/BVille17/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17/src/auto.c")'>2017/BVille17/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17/src/init.c")'>2017/BVille17/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17/src/opcontrol.c")'>2017/BVille17/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17/true.exe.stackdump")'>2017/BVille17/true.exe.stackdump</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17SKills/Makefile")'>2017/BVille17SKills/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17SKills/bin/output.bin")'>2017/BVille17SKills/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17SKills/common.mk")'>2017/BVille17SKills/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17SKills/firmware/STM32F10x.ld")'>2017/BVille17SKills/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17SKills/firmware/cortex.ld")'>2017/BVille17SKills/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17SKills/firmware/uniflash.jar")'>2017/BVille17SKills/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17SKills/include/API.h")'>2017/BVille17SKills/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17SKills/include/FunctionVars.h")'>2017/BVille17SKills/include/FunctionVars.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17SKills/include/constants.h")'>2017/BVille17SKills/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17SKills/include/main.h")'>2017/BVille17SKills/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17SKills/project.pros")'>2017/BVille17SKills/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17SKills/src/FuntionVars.c")'>2017/BVille17SKills/src/FuntionVars.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17SKills/src/Makefile")'>2017/BVille17SKills/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17SKills/src/auto.c")'>2017/BVille17SKills/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17SKills/src/init.c")'>2017/BVille17SKills/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17SKills/src/opcontrol.c")'>2017/BVille17SKills/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/BVille17SKills/true.exe.stackdump")'>2017/BVille17SKills/true.exe.stackdump</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/ConceptCodeVex2017/Makefile")'>2017/ConceptCodeVex2017/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/ConceptCodeVex2017/common.mk")'>2017/ConceptCodeVex2017/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/ConceptCodeVex2017/firmware/STM32F10x.ld")'>2017/ConceptCodeVex2017/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/ConceptCodeVex2017/firmware/cortex.ld")'>2017/ConceptCodeVex2017/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/ConceptCodeVex2017/firmware/uniflash.jar")'>2017/ConceptCodeVex2017/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/ConceptCodeVex2017/include/API.h")'>2017/ConceptCodeVex2017/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/ConceptCodeVex2017/include/main.h")'>2017/ConceptCodeVex2017/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/ConceptCodeVex2017/project.pros")'>2017/ConceptCodeVex2017/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/ConceptCodeVex2017/src/Makefile")'>2017/ConceptCodeVex2017/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/ConceptCodeVex2017/src/auto.c")'>2017/ConceptCodeVex2017/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/ConceptCodeVex2017/src/init.c")'>2017/ConceptCodeVex2017/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/ConceptCodeVex2017/src/opcontrol.c")'>2017/ConceptCodeVex2017/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/FirstProject/Makefile")'>2017/FirstProject/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/FirstProject/bin/output.bin")'>2017/FirstProject/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/FirstProject/common.mk")'>2017/FirstProject/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/FirstProject/firmware/STM32F10x.ld")'>2017/FirstProject/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/FirstProject/firmware/cortex.ld")'>2017/FirstProject/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/FirstProject/firmware/uniflash.jar")'>2017/FirstProject/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/FirstProject/include/API.h")'>2017/FirstProject/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/FirstProject/include/main.h")'>2017/FirstProject/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/FirstProject/project.pros")'>2017/FirstProject/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/FirstProject/src/Makefile")'>2017/FirstProject/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/FirstProject/src/auto.c")'>2017/FirstProject/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/FirstProject/src/init.c")'>2017/FirstProject/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/FirstProject/src/opcontrol.c")'>2017/FirstProject/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Freezing/PROS-FreezingCode-master/Makefile")'>2017/Freezing/PROS-FreezingCode-master/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Freezing/PROS-FreezingCode-master/bin/output.bin")'>2017/Freezing/PROS-FreezingCode-master/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Freezing/PROS-FreezingCode-master/common.mk")'>2017/Freezing/PROS-FreezingCode-master/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Freezing/PROS-FreezingCode-master/firmware/STM32F10x.ld")'>2017/Freezing/PROS-FreezingCode-master/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Freezing/PROS-FreezingCode-master/firmware/cortex.ld")'>2017/Freezing/PROS-FreezingCode-master/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Freezing/PROS-FreezingCode-master/firmware/uniflash.jar")'>2017/Freezing/PROS-FreezingCode-master/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Freezing/PROS-FreezingCode-master/include/API.h")'>2017/Freezing/PROS-FreezingCode-master/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Freezing/PROS-FreezingCode-master/include/main.h")'>2017/Freezing/PROS-FreezingCode-master/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Freezing/PROS-FreezingCode-master/project.pros")'>2017/Freezing/PROS-FreezingCode-master/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Freezing/PROS-FreezingCode-master/src/Claw.c")'>2017/Freezing/PROS-FreezingCode-master/src/Claw.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Freezing/PROS-FreezingCode-master/src/DriveBase.c")'>2017/Freezing/PROS-FreezingCode-master/src/DriveBase.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Freezing/PROS-FreezingCode-master/src/Lift.c")'>2017/Freezing/PROS-FreezingCode-master/src/Lift.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Freezing/PROS-FreezingCode-master/src/Makefile")'>2017/Freezing/PROS-FreezingCode-master/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Freezing/PROS-FreezingCode-master/src/auto.c")'>2017/Freezing/PROS-FreezingCode-master/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Freezing/PROS-FreezingCode-master/src/init.c")'>2017/Freezing/PROS-FreezingCode-master/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Freezing/PROS-FreezingCode-master/src/main.c")'>2017/Freezing/PROS-FreezingCode-master/src/main.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Freezing/PROS-FreezingCode-master/src/opcontrol.c")'>2017/Freezing/PROS-FreezingCode-master/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17/Makefile")'>2017/Fulton17/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17/bin/output.bin")'>2017/Fulton17/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17/common.mk")'>2017/Fulton17/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17/firmware/STM32F10x.ld")'>2017/Fulton17/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17/firmware/cortex.ld")'>2017/Fulton17/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17/firmware/uniflash.jar")'>2017/Fulton17/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17/include/API.h")'>2017/Fulton17/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17/include/FunctionVars.h")'>2017/Fulton17/include/FunctionVars.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17/include/constants.h")'>2017/Fulton17/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17/include/main.h")'>2017/Fulton17/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17/project.pros")'>2017/Fulton17/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17/src/FuntionVars.c")'>2017/Fulton17/src/FuntionVars.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17/src/Makefile")'>2017/Fulton17/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17/src/auto.c")'>2017/Fulton17/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17/src/init.c")'>2017/Fulton17/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17/src/opcontrol.c")'>2017/Fulton17/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17Skills/Makefile")'>2017/Fulton17Skills/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17Skills/bin/output.bin")'>2017/Fulton17Skills/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17Skills/common.mk")'>2017/Fulton17Skills/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17Skills/firmware/STM32F10x.ld")'>2017/Fulton17Skills/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17Skills/firmware/cortex.ld")'>2017/Fulton17Skills/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17Skills/firmware/uniflash.jar")'>2017/Fulton17Skills/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17Skills/include/API.h")'>2017/Fulton17Skills/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17Skills/include/FunctionVars.h")'>2017/Fulton17Skills/include/FunctionVars.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17Skills/include/main.h")'>2017/Fulton17Skills/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17Skills/project.pros")'>2017/Fulton17Skills/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17Skills/src/FuntionVars.c")'>2017/Fulton17Skills/src/FuntionVars.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17Skills/src/Makefile")'>2017/Fulton17Skills/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17Skills/src/auto.c")'>2017/Fulton17Skills/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17Skills/src/init.c")'>2017/Fulton17Skills/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Fulton17Skills/src/opcontrol.c")'>2017/Fulton17Skills/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Pushbot/Makefile")'>2017/Pushbot/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Pushbot/bin/output.bin")'>2017/Pushbot/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Pushbot/common.mk")'>2017/Pushbot/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Pushbot/firmware/STM32F10x.ld")'>2017/Pushbot/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Pushbot/firmware/cortex.ld")'>2017/Pushbot/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Pushbot/firmware/uniflash.jar")'>2017/Pushbot/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Pushbot/include/API.h")'>2017/Pushbot/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Pushbot/include/constants.h")'>2017/Pushbot/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Pushbot/include/lib.h")'>2017/Pushbot/include/lib.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Pushbot/include/main.h")'>2017/Pushbot/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Pushbot/project.pros")'>2017/Pushbot/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Pushbot/src/Makefile")'>2017/Pushbot/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Pushbot/src/auto.c")'>2017/Pushbot/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Pushbot/src/init.c")'>2017/Pushbot/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Pushbot/src/lib.c")'>2017/Pushbot/src/lib.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/Pushbot/src/opcontrol.c")'>2017/Pushbot/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17/Makefile")'>2017/States17/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17/bin/output.bin")'>2017/States17/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17/common.mk")'>2017/States17/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17/firmware/STM32F10x.ld")'>2017/States17/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17/firmware/cortex.ld")'>2017/States17/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17/firmware/uniflash.jar")'>2017/States17/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17/include/API.h")'>2017/States17/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17/include/FunctionVars.h")'>2017/States17/include/FunctionVars.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17/include/constants.h")'>2017/States17/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17/include/main.h")'>2017/States17/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17/project.pros")'>2017/States17/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17/src/FuntionVars.c")'>2017/States17/src/FuntionVars.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17/src/Makefile")'>2017/States17/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17/src/auto.c")'>2017/States17/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17/src/init.c")'>2017/States17/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17/src/opcontrol.c")'>2017/States17/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17/true.exe.stackdump")'>2017/States17/true.exe.stackdump</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17TaskParameters/Makefile")'>2017/States17TaskParameters/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17TaskParameters/bin/output.bin")'>2017/States17TaskParameters/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17TaskParameters/common.mk")'>2017/States17TaskParameters/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17TaskParameters/firmware/STM32F10x.ld")'>2017/States17TaskParameters/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17TaskParameters/firmware/cortex.ld")'>2017/States17TaskParameters/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17TaskParameters/firmware/uniflash.jar")'>2017/States17TaskParameters/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17TaskParameters/include/API.h")'>2017/States17TaskParameters/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17TaskParameters/include/FunctionVars.h")'>2017/States17TaskParameters/include/FunctionVars.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17TaskParameters/include/constants.h")'>2017/States17TaskParameters/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17TaskParameters/include/main.h")'>2017/States17TaskParameters/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17TaskParameters/project.pros")'>2017/States17TaskParameters/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17TaskParameters/src/FuntionVars.c")'>2017/States17TaskParameters/src/FuntionVars.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17TaskParameters/src/Makefile")'>2017/States17TaskParameters/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17TaskParameters/src/auto.c")'>2017/States17TaskParameters/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17TaskParameters/src/init.c")'>2017/States17TaskParameters/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17TaskParameters/src/opcontrol.c")'>2017/States17TaskParameters/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/States17TaskParameters/true.exe.stackdump")'>2017/States17TaskParameters/true.exe.stackdump</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/StatesSkills/Makefile")'>2017/StatesSkills/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/StatesSkills/bin/output.bin")'>2017/StatesSkills/bin/output.bin</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/StatesSkills/common.mk")'>2017/StatesSkills/common.mk</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/StatesSkills/firmware/STM32F10x.ld")'>2017/StatesSkills/firmware/STM32F10x.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/StatesSkills/firmware/cortex.ld")'>2017/StatesSkills/firmware/cortex.ld</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/StatesSkills/firmware/uniflash.jar")'>2017/StatesSkills/firmware/uniflash.jar</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/StatesSkills/include/API.h")'>2017/StatesSkills/include/API.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/StatesSkills/include/FunctionVars.h")'>2017/StatesSkills/include/FunctionVars.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/StatesSkills/include/constants.h")'>2017/StatesSkills/include/constants.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/StatesSkills/include/main.h")'>2017/StatesSkills/include/main.h</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/StatesSkills/project.pros")'>2017/StatesSkills/project.pros</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/StatesSkills/src/FuntionVars.c")'>2017/StatesSkills/src/FuntionVars.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/StatesSkills/src/Makefile")'>2017/StatesSkills/src/Makefile</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/StatesSkills/src/auto.c")'>2017/StatesSkills/src/auto.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/StatesSkills/src/init.c")'>2017/StatesSkills/src/init.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/StatesSkills/src/opcontrol.c")'>2017/StatesSkills/src/opcontrol.c</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/71481b048e21a0b15dd46e2fadce190b95f70d4b/2017/StatesSkills/true.exe.stackdump")'>2017/StatesSkills/true.exe.stackdump</span></li> </ul><br></div> <div class='spacer'></div><div class='commit' id='fe43977f55feedd713467930ee031068371215b0'><p><b style='cursor: pointer;' onclick='window.open("https://github.com/iuyte/VEX-709s/commit/fe43977f55feedd713467930ee031068371215b0")'>Commit:</b> <a class='link' href='https://iuyte.github.io/VEX-709s/2017/Planning/tools/git.html#fe43977f55feedd713467930ee031068371215b0'>fe43977f55feedd713467930ee031068371215b0</a></p><p><b>Date:</b> Thu Feb 2 12:13:20 2017 -0500</p> <p><b>Author:</b> iuyte <[email protected]></p> <p><b>Description:</b><br>Initial commit</p> <b>Files added:</b> <ul> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fe43977f55feedd713467930ee031068371215b0/.gitignore")'>.gitignore</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fe43977f55feedd713467930ee031068371215b0/LICENSE")'>LICENSE</span></li> <li><span class='link' onclick='window.open("https://github.com/iuyte/VEX-709s/tree/fe43977f55feedd713467930ee031068371215b0/README.md")'>README.md</span></li> </ul><br></div> <div class='spacer'></div> <script> window.onload = function() { if (window.location.href[0] == "f") { var elements = document.querySelectorAll('h1'); for(var i=0; i<elements.length; i++){ elements[i].style.font-size = "188%"; } elements = document.querySelectorAll('h2'); for(var ii=0; i<elements.length; i++){ elements[i].style.font-size = "117%"; } } } </script> </body> </html>
gpl-3.0
QULab/SSRemoteVST
doc/latex/classSSRSceneAutomationProcessorEditor.tex
42848
\hypertarget{classSSRSceneAutomationProcessorEditor}{\section{S\-S\-R\-Scene\-Automation\-Processor\-Editor Class Reference} \label{classSSRSceneAutomationProcessorEditor}\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} } {\ttfamily \#include $<$Plugin\-Editor.\-h$>$} Inheritance diagram for S\-S\-R\-Scene\-Automation\-Processor\-Editor\-: Collaboration diagram for S\-S\-R\-Scene\-Automation\-Processor\-Editor\-: \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \hyperlink{classSSRSceneAutomationProcessorEditor_a2e16ce434b03220226e85995e59108a7}{S\-S\-R\-Scene\-Automation\-Processor\-Editor} (\hyperlink{classSsrSceneAutomationAudioProcessor}{Ssr\-Scene\-Automation\-Audio\-Processor} $\ast$owner\-Filter) \item \hyperlink{classSSRSceneAutomationProcessorEditor_a2354b99e8f07e09e482e285af34a8e8f}{$\sim$\-S\-S\-R\-Scene\-Automation\-Processor\-Editor} () \item virtual void \hyperlink{classSSRSceneAutomationProcessorEditor_a33986fcc98b7c16762b3b44e65747c7b}{timer\-Callback} () override \item \hyperlink{classSsrSceneAutomationAudioProcessor}{Ssr\-Scene\-Automation\-Audio\-Processor} $\ast$ \hyperlink{classSSRSceneAutomationProcessorEditor_a05df0d6d92eccab2ecf4348d398322d8}{get\-Processor} () const \item virtual void \hyperlink{classSSRSceneAutomationProcessorEditor_ac63e209656a690feb7cd665d879e5cb7}{text\-Editor\-Return\-Key\-Pressed} (Text\-Editor \&text\-Editor\-That\-Was\-Changed) override \item virtual void \hyperlink{classSSRSceneAutomationProcessorEditor_a7363a103f08f6086ea9df34b0b213400}{text\-Editor\-Text\-Changed} (Text\-Editor \&text\-\_\-editor\-\_\-thats\-\_\-changing) override \item virtual void \hyperlink{classSSRSceneAutomationProcessorEditor_a3993f81b3245699374690cb283923de8}{text\-Editor\-Focus\-Lost} (Text\-Editor \&text\-\_\-editor\-\_\-focus\-\_\-lost) override \item void \hyperlink{classSSRSceneAutomationProcessorEditor_a568b893d27495651c28b289ea6b11627}{paint} (Graphics \&g) \item void \hyperlink{classSSRSceneAutomationProcessorEditor_a252129267d3712d64721528ae43f1bbb}{resized} () \item void \hyperlink{classSSRSceneAutomationProcessorEditor_adcf4a91e6b61a505bca632d5a8abc26b}{button\-Clicked} (Button $\ast$button\-That\-Was\-Clicked) override \item void \hyperlink{classSSRSceneAutomationProcessorEditor_af43fa2e2f4e687eaba1e61262a5f3eaf}{slider\-Value\-Changed} (Slider $\ast$slider\-That\-Was\-Moved) override \item void \hyperlink{classSSRSceneAutomationProcessorEditor_a4a5ba88f65a9c5e0f24540f76899b81b}{combo\-Box\-Changed} (Combo\-Box $\ast$combo\-Box\-That\-Has\-Changed) override \end{DoxyCompactItemize} \subsection*{Static Public Attributes} \begin{DoxyCompactItemize} \item static const char $\ast$ \hyperlink{classSSRSceneAutomationProcessorEditor_ab6a8a9ff45ef50aa206d4702ad25f53c}{tub\-\_\-logo\-\_\-png} = (const char$\ast$) resource\-\_\-\-S\-S\-R\-Scene\-Automation\-Processor\-Editor\-\_\-tub\-\_\-logo\-\_\-png \item static const int \hyperlink{classSSRSceneAutomationProcessorEditor_ac5570c4666280cb9a09ffa8464f6a1e3}{tub\-\_\-logo\-\_\-png\-Size} = 28396 \end{DoxyCompactItemize} \subsection*{Private Member Functions} \begin{DoxyCompactItemize} \item void \hyperlink{classSSRSceneAutomationProcessorEditor_ae1a2d27acb0671fbc738d855a77de9dd}{fill\-\_\-jackport\-\_\-dropdown} (\hyperlink{classSsrSceneAutomationAudioProcessor}{Ssr\-Scene\-Automation\-Audio\-Processor} $\ast$processor) \end{DoxyCompactItemize} \subsection*{Private Attributes} \begin{DoxyCompactItemize} \item Scoped\-Pointer$<$ Text\-Button $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_a04620ea403036ee702bac71bf3966120}{bypass\-Button} \item Scoped\-Pointer$<$ Toggle\-Button $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_adf8e333a8cbfccfc7c6b3a23403eb09f}{connected\-\_\-toggle\-\_\-button} \item Scoped\-Pointer$<$ Text\-Button $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_a8b2ad23c061cd82dd87ca2758dc590c5}{source\-\_\-fixed\-\_\-position\-\_\-button} \item Scoped\-Pointer$<$ Label $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_a70c13c66837e826b67097211d2b0da6c}{source\-\_\-id\-\_\-label} \item Scoped\-Pointer$<$ Text\-Editor $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_a67b94d27b5e48c55b8e64092fdbfcd92}{source\-\_\-id\-\_\-text\-\_\-editor} \item Scoped\-Pointer$<$ Label $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_a37c3865b4714e3bd2165afea5131368c}{source\-\_\-name\-\_\-label} \item Scoped\-Pointer$<$ Text\-Editor $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_aec0f1060346ef2a70a6c08d4cd970ee0}{source\-\_\-name\-\_\-text\-\_\-editor} \item Scoped\-Pointer$<$ Label $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_a31349521dc9c13bb9a91085c53415377}{source\-\_\-x\-\_\-position\-\_\-label} \item Scoped\-Pointer$<$ Slider $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_ab7c71c06346473482f60a13d64a77ff3}{source\-\_\-x\-\_\-position\-\_\-slider} \item Scoped\-Pointer$<$ Label $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_a421ad7fa49ee85d7466be0a318ae3409}{source\-\_\-y\-\_\-position\-\_\-label} \item Scoped\-Pointer$<$ Slider $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_a4dfea9893ab555673dc67b81a7721932}{source\-\_\-y\-\_\-position\-\_\-slider} \item Scoped\-Pointer$<$ Label $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_ac329e29cdd3a7386ad6122c77781709a}{source\-\_\-orientation\-\_\-label} \item Scoped\-Pointer$<$ Text\-Editor $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_a572b560f0fa280dbd86796784ea93f6d}{source\-\_\-orientation\-\_\-text\-\_\-editor} \item Scoped\-Pointer$<$ Label $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_a32193336b4501ff1a705d51efbb1ba3b}{jackport\-\_\-label} \item Scoped\-Pointer$<$ Combo\-Box $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_ae47da15ca901f131c7225e57d8f7e9d3}{jackport\-\_\-dropdown\-\_\-menu} \item Scoped\-Pointer$<$ Slider $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_a8b6b6c062c81ad52a26fac4576cfb5a3}{source\-\_\-gain\-\_\-slider} \item Scoped\-Pointer$<$ Text\-Button $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_a422e70882a85cf2bb1f0318198956dbe}{source\-\_\-mute\-\_\-button} \item Scoped\-Pointer$<$ Label $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_ab5ae83420f2f2920091a28276d53451d}{source\-\_\-model\-\_\-label} \item Scoped\-Pointer$<$ Combo\-Box $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_a4dbdd07cfff3b73d474e04c5ad63c17f}{source\-\_\-model\-\_\-dropdown} \item Scoped\-Pointer$<$ Label $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_adc6f53764eebe7e985d7e7538b657766}{source\-\_\-properties\-\_\-file\-\_\-label} \item Scoped\-Pointer$<$ Text\-Editor $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_accfe386cb8e7ea25adae552e90897e45}{source\-\_\-properties\-\_\-file\-\_\-text\-\_\-editor} \item Image \hyperlink{classSSRSceneAutomationProcessorEditor_a41cd6db52b2b7bfce4c888ab81bc527b}{cached\-Image\-\_\-tub\-\_\-logo\-\_\-png} \item bool \hyperlink{classSSRSceneAutomationProcessorEditor_a9b038b3d9f1465f812e83a1ec6c619ea}{source\-\_\-name\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing} \item bool \hyperlink{classSSRSceneAutomationProcessorEditor_ae007a69167bba11989cab71c4eefabfa}{source\-\_\-orientation\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing} \item bool \hyperlink{classSSRSceneAutomationProcessorEditor_acc73360f4769e235353906726183903d}{source\-\_\-id\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing} \item bool \hyperlink{classSSRSceneAutomationProcessorEditor_ac9ea7632491a932069641de078345b68}{source\-\_\-properties\-\_\-file\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing} \item std\-::map$<$ int, std\-::string $>$ \hyperlink{classSSRSceneAutomationProcessorEditor_aed17d392514ab283992f6a43d12f23d9}{jackport\-\_\-dropdown\-\_\-menu\-\_\-entries} \end{DoxyCompactItemize} \subsection{Detailed Description} This class represents the graphical user interface (G\-U\-I) of the V\-S\-T-\/\-Plugin. \begin{DoxyAuthor}{Author} Florian Willich \end{DoxyAuthor} \begin{DoxyVersion}{Version} 0.\-5 \end{DoxyVersion} \subsection{Constructor \& Destructor Documentation} \hypertarget{classSSRSceneAutomationProcessorEditor_a2e16ce434b03220226e85995e59108a7}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{S\-S\-R\-Scene\-Automation\-Processor\-Editor}]{\setlength{\rightskip}{0pt plus 5cm}S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::\-S\-S\-R\-Scene\-Automation\-Processor\-Editor ( \begin{DoxyParamCaption} \item[{{\bf Ssr\-Scene\-Automation\-Audio\-Processor} $\ast$}]{owner\-Filter} \end{DoxyParamCaption} )}}\label{classSSRSceneAutomationProcessorEditor_a2e16ce434b03220226e85995e59108a7} Here is the call graph for this function\-: \hypertarget{classSSRSceneAutomationProcessorEditor_a2354b99e8f07e09e482e285af34a8e8f}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!$\sim$\-S\-S\-R\-Scene\-Automation\-Processor\-Editor@{$\sim$\-S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \index{$\sim$\-S\-S\-R\-Scene\-Automation\-Processor\-Editor@{$\sim$\-S\-S\-R\-Scene\-Automation\-Processor\-Editor}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{$\sim$\-S\-S\-R\-Scene\-Automation\-Processor\-Editor}]{\setlength{\rightskip}{0pt plus 5cm}S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::$\sim$\-S\-S\-R\-Scene\-Automation\-Processor\-Editor ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )}}\label{classSSRSceneAutomationProcessorEditor_a2354b99e8f07e09e482e285af34a8e8f} \subsection{Member Function Documentation} \hypertarget{classSSRSceneAutomationProcessorEditor_adcf4a91e6b61a505bca632d5a8abc26b}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!button\-Clicked@{button\-Clicked}} \index{button\-Clicked@{button\-Clicked}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{button\-Clicked}]{\setlength{\rightskip}{0pt plus 5cm}void S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::button\-Clicked ( \begin{DoxyParamCaption} \item[{Button $\ast$}]{button\-That\-Was\-Clicked} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [override]}}}\label{classSSRSceneAutomationProcessorEditor_adcf4a91e6b61a505bca632d5a8abc26b} Here is the call graph for this function\-: \hypertarget{classSSRSceneAutomationProcessorEditor_a4a5ba88f65a9c5e0f24540f76899b81b}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!combo\-Box\-Changed@{combo\-Box\-Changed}} \index{combo\-Box\-Changed@{combo\-Box\-Changed}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{combo\-Box\-Changed}]{\setlength{\rightskip}{0pt plus 5cm}void S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::combo\-Box\-Changed ( \begin{DoxyParamCaption} \item[{Combo\-Box $\ast$}]{combo\-Box\-That\-Has\-Changed} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [override]}}}\label{classSSRSceneAutomationProcessorEditor_a4a5ba88f65a9c5e0f24540f76899b81b} Here is the call graph for this function\-: \hypertarget{classSSRSceneAutomationProcessorEditor_ae1a2d27acb0671fbc738d855a77de9dd}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!fill\-\_\-jackport\-\_\-dropdown@{fill\-\_\-jackport\-\_\-dropdown}} \index{fill\-\_\-jackport\-\_\-dropdown@{fill\-\_\-jackport\-\_\-dropdown}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{fill\-\_\-jackport\-\_\-dropdown}]{\setlength{\rightskip}{0pt plus 5cm}void S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::fill\-\_\-jackport\-\_\-dropdown ( \begin{DoxyParamCaption} \item[{{\bf Ssr\-Scene\-Automation\-Audio\-Processor} $\ast$}]{processor} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_ae1a2d27acb0671fbc738d855a77de9dd} Here is the call graph for this function\-: \hypertarget{classSSRSceneAutomationProcessorEditor_a05df0d6d92eccab2ecf4348d398322d8}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!get\-Processor@{get\-Processor}} \index{get\-Processor@{get\-Processor}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{get\-Processor}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Ssr\-Scene\-Automation\-Audio\-Processor}$\ast$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::get\-Processor ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const\hspace{0.3cm}{\ttfamily [inline]}}}\label{classSSRSceneAutomationProcessorEditor_a05df0d6d92eccab2ecf4348d398322d8} This method returns the processor to do stuff with it. \begin{DoxyReturn}{Returns} the processor which is the controller of this software. \end{DoxyReturn} \hypertarget{classSSRSceneAutomationProcessorEditor_a568b893d27495651c28b289ea6b11627}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!paint@{paint}} \index{paint@{paint}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{paint}]{\setlength{\rightskip}{0pt plus 5cm}void S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::paint ( \begin{DoxyParamCaption} \item[{Graphics \&}]{g} \end{DoxyParamCaption} )}}\label{classSSRSceneAutomationProcessorEditor_a568b893d27495651c28b289ea6b11627} \hypertarget{classSSRSceneAutomationProcessorEditor_a252129267d3712d64721528ae43f1bbb}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!resized@{resized}} \index{resized@{resized}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{resized}]{\setlength{\rightskip}{0pt plus 5cm}void S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::resized ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )}}\label{classSSRSceneAutomationProcessorEditor_a252129267d3712d64721528ae43f1bbb} \hypertarget{classSSRSceneAutomationProcessorEditor_af43fa2e2f4e687eaba1e61262a5f3eaf}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!slider\-Value\-Changed@{slider\-Value\-Changed}} \index{slider\-Value\-Changed@{slider\-Value\-Changed}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{slider\-Value\-Changed}]{\setlength{\rightskip}{0pt plus 5cm}void S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::slider\-Value\-Changed ( \begin{DoxyParamCaption} \item[{Slider $\ast$}]{slider\-That\-Was\-Moved} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [override]}}}\label{classSSRSceneAutomationProcessorEditor_af43fa2e2f4e687eaba1e61262a5f3eaf} Here is the call graph for this function\-: \hypertarget{classSSRSceneAutomationProcessorEditor_a3993f81b3245699374690cb283923de8}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!text\-Editor\-Focus\-Lost@{text\-Editor\-Focus\-Lost}} \index{text\-Editor\-Focus\-Lost@{text\-Editor\-Focus\-Lost}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{text\-Editor\-Focus\-Lost}]{\setlength{\rightskip}{0pt plus 5cm}void S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::text\-Editor\-Focus\-Lost ( \begin{DoxyParamCaption} \item[{Text\-Editor \&}]{text\-\_\-editor\-\_\-focus\-\_\-lost} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}}\label{classSSRSceneAutomationProcessorEditor_a3993f81b3245699374690cb283923de8} Inherited from J\-U\-C\-E Text\-Editor\-Listener Class. This method is called when the focus of a Text\-Editor element is lost. The J\-U\-C\-E documentation says the folloging\-: \char`\"{}\-Called when the text editor loses focus.\char`\"{} \begin{DoxyParams}{Parameters} {\em text\-\_\-editor\-\_\-focus\-\_\-lost} & The text editor which focus is lost. \\ \hline \end{DoxyParams} \hypertarget{classSSRSceneAutomationProcessorEditor_ac63e209656a690feb7cd665d879e5cb7}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!text\-Editor\-Return\-Key\-Pressed@{text\-Editor\-Return\-Key\-Pressed}} \index{text\-Editor\-Return\-Key\-Pressed@{text\-Editor\-Return\-Key\-Pressed}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{text\-Editor\-Return\-Key\-Pressed}]{\setlength{\rightskip}{0pt plus 5cm}void S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::text\-Editor\-Return\-Key\-Pressed ( \begin{DoxyParamCaption} \item[{Text\-Editor \&}]{text\-Editor\-That\-Was\-Changed} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}}\label{classSSRSceneAutomationProcessorEditor_ac63e209656a690feb7cd665d879e5cb7} Inherited from J\-U\-C\-E Text\-Editor\-Listener Class. This method is called when a Text\-Editor U\-I element was changed and the return key was pressed. \begin{DoxyParams}{Parameters} {\em text\-Editor\-That\-Was\-Changed} & The text Editor that was changed. \\ \hline \end{DoxyParams} Here is the call graph for this function\-: \hypertarget{classSSRSceneAutomationProcessorEditor_a7363a103f08f6086ea9df34b0b213400}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!text\-Editor\-Text\-Changed@{text\-Editor\-Text\-Changed}} \index{text\-Editor\-Text\-Changed@{text\-Editor\-Text\-Changed}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{text\-Editor\-Text\-Changed}]{\setlength{\rightskip}{0pt plus 5cm}void S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::text\-Editor\-Text\-Changed ( \begin{DoxyParamCaption} \item[{Text\-Editor \&}]{text\-\_\-editor\-\_\-thats\-\_\-changing} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}}\label{classSSRSceneAutomationProcessorEditor_a7363a103f08f6086ea9df34b0b213400} Inherited from J\-U\-C\-E Text\-Editor\-Listener Class. This method is called when a Text\-Editor U\-I element is changing. \begin{DoxyParams}{Parameters} {\em text\-\_\-editor\-\_\-thats\-\_\-changing} & The text Editor that is currently changing. \\ \hline \end{DoxyParams} \hypertarget{classSSRSceneAutomationProcessorEditor_a33986fcc98b7c16762b3b44e65747c7b}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!timer\-Callback@{timer\-Callback}} \index{timer\-Callback@{timer\-Callback}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{timer\-Callback}]{\setlength{\rightskip}{0pt plus 5cm}void S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::timer\-Callback ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}}\label{classSSRSceneAutomationProcessorEditor_a33986fcc98b7c16762b3b44e65747c7b} Inherited from the J\-U\-C\-E Timer Class. Like the J\-U\-C\-E documentation say\-: \char`\"{}\-The user-\/defined callback routine that actually gets called periodically.\char`\"{} Currently, this method calls the processors method to read the incoming messages and then sets all the U\-I elements to the new values held by the processor if there have been any changes. \begin{DoxyAuthor}{Author} Florian Willich \end{DoxyAuthor} Here is the call graph for this function\-: \subsection{Field Documentation} \hypertarget{classSSRSceneAutomationProcessorEditor_a04620ea403036ee702bac71bf3966120}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!bypass\-Button@{bypass\-Button}} \index{bypass\-Button@{bypass\-Button}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{bypass\-Button}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Text\-Button$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::bypass\-Button\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_a04620ea403036ee702bac71bf3966120} \hypertarget{classSSRSceneAutomationProcessorEditor_a41cd6db52b2b7bfce4c888ab81bc527b}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!cached\-Image\-\_\-tub\-\_\-logo\-\_\-png@{cached\-Image\-\_\-tub\-\_\-logo\-\_\-png}} \index{cached\-Image\-\_\-tub\-\_\-logo\-\_\-png@{cached\-Image\-\_\-tub\-\_\-logo\-\_\-png}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{cached\-Image\-\_\-tub\-\_\-logo\-\_\-png}]{\setlength{\rightskip}{0pt plus 5cm}Image S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::cached\-Image\-\_\-tub\-\_\-logo\-\_\-png\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_a41cd6db52b2b7bfce4c888ab81bc527b} \hypertarget{classSSRSceneAutomationProcessorEditor_adf8e333a8cbfccfc7c6b3a23403eb09f}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!connected\-\_\-toggle\-\_\-button@{connected\-\_\-toggle\-\_\-button}} \index{connected\-\_\-toggle\-\_\-button@{connected\-\_\-toggle\-\_\-button}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{connected\-\_\-toggle\-\_\-button}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Toggle\-Button$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::connected\-\_\-toggle\-\_\-button\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_adf8e333a8cbfccfc7c6b3a23403eb09f} \hypertarget{classSSRSceneAutomationProcessorEditor_ae47da15ca901f131c7225e57d8f7e9d3}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!jackport\-\_\-dropdown\-\_\-menu@{jackport\-\_\-dropdown\-\_\-menu}} \index{jackport\-\_\-dropdown\-\_\-menu@{jackport\-\_\-dropdown\-\_\-menu}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{jackport\-\_\-dropdown\-\_\-menu}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Combo\-Box$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::jackport\-\_\-dropdown\-\_\-menu\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_ae47da15ca901f131c7225e57d8f7e9d3} \hypertarget{classSSRSceneAutomationProcessorEditor_aed17d392514ab283992f6a43d12f23d9}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!jackport\-\_\-dropdown\-\_\-menu\-\_\-entries@{jackport\-\_\-dropdown\-\_\-menu\-\_\-entries}} \index{jackport\-\_\-dropdown\-\_\-menu\-\_\-entries@{jackport\-\_\-dropdown\-\_\-menu\-\_\-entries}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{jackport\-\_\-dropdown\-\_\-menu\-\_\-entries}]{\setlength{\rightskip}{0pt plus 5cm}std\-::map$<$int, std\-::string$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::jackport\-\_\-dropdown\-\_\-menu\-\_\-entries\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_aed17d392514ab283992f6a43d12f23d9} This vector is needed to store all ids that have been put in \hypertarget{classSSRSceneAutomationProcessorEditor_a32193336b4501ff1a705d51efbb1ba3b}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!jackport\-\_\-label@{jackport\-\_\-label}} \index{jackport\-\_\-label@{jackport\-\_\-label}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{jackport\-\_\-label}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Label$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::jackport\-\_\-label\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_a32193336b4501ff1a705d51efbb1ba3b} \hypertarget{classSSRSceneAutomationProcessorEditor_a8b2ad23c061cd82dd87ca2758dc590c5}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-fixed\-\_\-position\-\_\-button@{source\-\_\-fixed\-\_\-position\-\_\-button}} \index{source\-\_\-fixed\-\_\-position\-\_\-button@{source\-\_\-fixed\-\_\-position\-\_\-button}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-fixed\-\_\-position\-\_\-button}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Text\-Button$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-fixed\-\_\-position\-\_\-button\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_a8b2ad23c061cd82dd87ca2758dc590c5} \hypertarget{classSSRSceneAutomationProcessorEditor_a8b6b6c062c81ad52a26fac4576cfb5a3}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-gain\-\_\-slider@{source\-\_\-gain\-\_\-slider}} \index{source\-\_\-gain\-\_\-slider@{source\-\_\-gain\-\_\-slider}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-gain\-\_\-slider}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Slider$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-gain\-\_\-slider\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_a8b6b6c062c81ad52a26fac4576cfb5a3} \hypertarget{classSSRSceneAutomationProcessorEditor_a70c13c66837e826b67097211d2b0da6c}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-id\-\_\-label@{source\-\_\-id\-\_\-label}} \index{source\-\_\-id\-\_\-label@{source\-\_\-id\-\_\-label}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-id\-\_\-label}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Label$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-id\-\_\-label\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_a70c13c66837e826b67097211d2b0da6c} \hypertarget{classSSRSceneAutomationProcessorEditor_a67b94d27b5e48c55b8e64092fdbfcd92}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-id\-\_\-text\-\_\-editor@{source\-\_\-id\-\_\-text\-\_\-editor}} \index{source\-\_\-id\-\_\-text\-\_\-editor@{source\-\_\-id\-\_\-text\-\_\-editor}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-id\-\_\-text\-\_\-editor}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Text\-Editor$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-id\-\_\-text\-\_\-editor\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_a67b94d27b5e48c55b8e64092fdbfcd92} \hypertarget{classSSRSceneAutomationProcessorEditor_acc73360f4769e235353906726183903d}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-id\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing@{source\-\_\-id\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing}} \index{source\-\_\-id\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing@{source\-\_\-id\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-id\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing}]{\setlength{\rightskip}{0pt plus 5cm}bool S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-id\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_acc73360f4769e235353906726183903d} Represents if the Source I\-D Text Editor U\-I element is currently changing. \hypertarget{classSSRSceneAutomationProcessorEditor_a4dbdd07cfff3b73d474e04c5ad63c17f}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-model\-\_\-dropdown@{source\-\_\-model\-\_\-dropdown}} \index{source\-\_\-model\-\_\-dropdown@{source\-\_\-model\-\_\-dropdown}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-model\-\_\-dropdown}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Combo\-Box$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-model\-\_\-dropdown\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_a4dbdd07cfff3b73d474e04c5ad63c17f} \hypertarget{classSSRSceneAutomationProcessorEditor_ab5ae83420f2f2920091a28276d53451d}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-model\-\_\-label@{source\-\_\-model\-\_\-label}} \index{source\-\_\-model\-\_\-label@{source\-\_\-model\-\_\-label}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-model\-\_\-label}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Label$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-model\-\_\-label\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_ab5ae83420f2f2920091a28276d53451d} \hypertarget{classSSRSceneAutomationProcessorEditor_a422e70882a85cf2bb1f0318198956dbe}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-mute\-\_\-button@{source\-\_\-mute\-\_\-button}} \index{source\-\_\-mute\-\_\-button@{source\-\_\-mute\-\_\-button}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-mute\-\_\-button}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Text\-Button$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-mute\-\_\-button\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_a422e70882a85cf2bb1f0318198956dbe} \hypertarget{classSSRSceneAutomationProcessorEditor_a37c3865b4714e3bd2165afea5131368c}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-name\-\_\-label@{source\-\_\-name\-\_\-label}} \index{source\-\_\-name\-\_\-label@{source\-\_\-name\-\_\-label}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-name\-\_\-label}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Label$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-name\-\_\-label\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_a37c3865b4714e3bd2165afea5131368c} \hypertarget{classSSRSceneAutomationProcessorEditor_aec0f1060346ef2a70a6c08d4cd970ee0}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-name\-\_\-text\-\_\-editor@{source\-\_\-name\-\_\-text\-\_\-editor}} \index{source\-\_\-name\-\_\-text\-\_\-editor@{source\-\_\-name\-\_\-text\-\_\-editor}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-name\-\_\-text\-\_\-editor}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Text\-Editor$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-name\-\_\-text\-\_\-editor\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_aec0f1060346ef2a70a6c08d4cd970ee0} \hypertarget{classSSRSceneAutomationProcessorEditor_a9b038b3d9f1465f812e83a1ec6c619ea}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-name\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing@{source\-\_\-name\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing}} \index{source\-\_\-name\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing@{source\-\_\-name\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-name\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing}]{\setlength{\rightskip}{0pt plus 5cm}bool S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-name\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_a9b038b3d9f1465f812e83a1ec6c619ea} Represents if the Source Name Text Editor U\-I element is currently changing. \hypertarget{classSSRSceneAutomationProcessorEditor_ac329e29cdd3a7386ad6122c77781709a}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-orientation\-\_\-label@{source\-\_\-orientation\-\_\-label}} \index{source\-\_\-orientation\-\_\-label@{source\-\_\-orientation\-\_\-label}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-orientation\-\_\-label}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Label$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-orientation\-\_\-label\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_ac329e29cdd3a7386ad6122c77781709a} \hypertarget{classSSRSceneAutomationProcessorEditor_a572b560f0fa280dbd86796784ea93f6d}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-orientation\-\_\-text\-\_\-editor@{source\-\_\-orientation\-\_\-text\-\_\-editor}} \index{source\-\_\-orientation\-\_\-text\-\_\-editor@{source\-\_\-orientation\-\_\-text\-\_\-editor}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-orientation\-\_\-text\-\_\-editor}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Text\-Editor$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-orientation\-\_\-text\-\_\-editor\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_a572b560f0fa280dbd86796784ea93f6d} \hypertarget{classSSRSceneAutomationProcessorEditor_ae007a69167bba11989cab71c4eefabfa}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-orientation\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing@{source\-\_\-orientation\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing}} \index{source\-\_\-orientation\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing@{source\-\_\-orientation\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-orientation\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing}]{\setlength{\rightskip}{0pt plus 5cm}bool S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-orientation\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_ae007a69167bba11989cab71c4eefabfa} Represents if the Source Orientation Text Editor U\-I element is currently changing. \hypertarget{classSSRSceneAutomationProcessorEditor_adc6f53764eebe7e985d7e7538b657766}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-properties\-\_\-file\-\_\-label@{source\-\_\-properties\-\_\-file\-\_\-label}} \index{source\-\_\-properties\-\_\-file\-\_\-label@{source\-\_\-properties\-\_\-file\-\_\-label}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-properties\-\_\-file\-\_\-label}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Label$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-properties\-\_\-file\-\_\-label\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_adc6f53764eebe7e985d7e7538b657766} \hypertarget{classSSRSceneAutomationProcessorEditor_accfe386cb8e7ea25adae552e90897e45}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-properties\-\_\-file\-\_\-text\-\_\-editor@{source\-\_\-properties\-\_\-file\-\_\-text\-\_\-editor}} \index{source\-\_\-properties\-\_\-file\-\_\-text\-\_\-editor@{source\-\_\-properties\-\_\-file\-\_\-text\-\_\-editor}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-properties\-\_\-file\-\_\-text\-\_\-editor}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Text\-Editor$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-properties\-\_\-file\-\_\-text\-\_\-editor\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_accfe386cb8e7ea25adae552e90897e45} \hypertarget{classSSRSceneAutomationProcessorEditor_ac9ea7632491a932069641de078345b68}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-properties\-\_\-file\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing@{source\-\_\-properties\-\_\-file\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing}} \index{source\-\_\-properties\-\_\-file\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing@{source\-\_\-properties\-\_\-file\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-properties\-\_\-file\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing}]{\setlength{\rightskip}{0pt plus 5cm}bool S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-properties\-\_\-file\-\_\-text\-\_\-editor\-\_\-is\-\_\-changing\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_ac9ea7632491a932069641de078345b68} Represents if the Source Properties File Text Editor U\-I element is currently changing. \hypertarget{classSSRSceneAutomationProcessorEditor_a31349521dc9c13bb9a91085c53415377}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-x\-\_\-position\-\_\-label@{source\-\_\-x\-\_\-position\-\_\-label}} \index{source\-\_\-x\-\_\-position\-\_\-label@{source\-\_\-x\-\_\-position\-\_\-label}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-x\-\_\-position\-\_\-label}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Label$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-x\-\_\-position\-\_\-label\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_a31349521dc9c13bb9a91085c53415377} \hypertarget{classSSRSceneAutomationProcessorEditor_ab7c71c06346473482f60a13d64a77ff3}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-x\-\_\-position\-\_\-slider@{source\-\_\-x\-\_\-position\-\_\-slider}} \index{source\-\_\-x\-\_\-position\-\_\-slider@{source\-\_\-x\-\_\-position\-\_\-slider}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-x\-\_\-position\-\_\-slider}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Slider$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-x\-\_\-position\-\_\-slider\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_ab7c71c06346473482f60a13d64a77ff3} \hypertarget{classSSRSceneAutomationProcessorEditor_a421ad7fa49ee85d7466be0a318ae3409}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-y\-\_\-position\-\_\-label@{source\-\_\-y\-\_\-position\-\_\-label}} \index{source\-\_\-y\-\_\-position\-\_\-label@{source\-\_\-y\-\_\-position\-\_\-label}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-y\-\_\-position\-\_\-label}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Label$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-y\-\_\-position\-\_\-label\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_a421ad7fa49ee85d7466be0a318ae3409} \hypertarget{classSSRSceneAutomationProcessorEditor_a4dfea9893ab555673dc67b81a7721932}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!source\-\_\-y\-\_\-position\-\_\-slider@{source\-\_\-y\-\_\-position\-\_\-slider}} \index{source\-\_\-y\-\_\-position\-\_\-slider@{source\-\_\-y\-\_\-position\-\_\-slider}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{source\-\_\-y\-\_\-position\-\_\-slider}]{\setlength{\rightskip}{0pt plus 5cm}Scoped\-Pointer$<$Slider$>$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::source\-\_\-y\-\_\-position\-\_\-slider\hspace{0.3cm}{\ttfamily [private]}}}\label{classSSRSceneAutomationProcessorEditor_a4dfea9893ab555673dc67b81a7721932} \hypertarget{classSSRSceneAutomationProcessorEditor_ab6a8a9ff45ef50aa206d4702ad25f53c}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!tub\-\_\-logo\-\_\-png@{tub\-\_\-logo\-\_\-png}} \index{tub\-\_\-logo\-\_\-png@{tub\-\_\-logo\-\_\-png}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{tub\-\_\-logo\-\_\-png}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::tub\-\_\-logo\-\_\-png = (const char$\ast$) resource\-\_\-\-S\-S\-R\-Scene\-Automation\-Processor\-Editor\-\_\-tub\-\_\-logo\-\_\-png\hspace{0.3cm}{\ttfamily [static]}}}\label{classSSRSceneAutomationProcessorEditor_ab6a8a9ff45ef50aa206d4702ad25f53c} \hypertarget{classSSRSceneAutomationProcessorEditor_ac5570c4666280cb9a09ffa8464f6a1e3}{\index{S\-S\-R\-Scene\-Automation\-Processor\-Editor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}!tub\-\_\-logo\-\_\-png\-Size@{tub\-\_\-logo\-\_\-png\-Size}} \index{tub\-\_\-logo\-\_\-png\-Size@{tub\-\_\-logo\-\_\-png\-Size}!SSRSceneAutomationProcessorEditor@{S\-S\-R\-Scene\-Automation\-Processor\-Editor}} \subsubsection[{tub\-\_\-logo\-\_\-png\-Size}]{\setlength{\rightskip}{0pt plus 5cm}const int S\-S\-R\-Scene\-Automation\-Processor\-Editor\-::tub\-\_\-logo\-\_\-png\-Size = 28396\hspace{0.3cm}{\ttfamily [static]}}}\label{classSSRSceneAutomationProcessorEditor_ac5570c4666280cb9a09ffa8464f6a1e3} The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} \item Source/\hyperlink{PluginEditor_8h}{Plugin\-Editor.\-h}\item Source/\hyperlink{PluginEditor_8cpp}{Plugin\-Editor.\-cpp}\end{DoxyCompactItemize}
gpl-3.0
educacionbe/campus
mod/virtualclass/bundle/virtualclass/example/js.debug.php
9101
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>bundle/jquery/jquery-ui.min.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>bundle/io/src/iolib.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/roles.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/io-storage.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/io-missing-packets.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/io-adapter.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/io-ping-pong.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/virtualclass.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-canvas.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-utility.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/lang-en.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/lang.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/view.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/environment-validation.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-packetcontainer.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-drawobject.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-make-object.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-canvas-utility.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-canvas-main.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-events.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-virtualbox.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-interact.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-rectangle.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-oval.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-triangle.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-line.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-text.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-freedrawing.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-path.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-mouse.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-readyfreehandobj.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-refresh-play.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-readytextobj.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-keyboard.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/webrtc-adapter.js"></script> <!--<script type="text/javascript" src="<?php //echo $whiteboardpath;?>src/com.js"></script>--> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/audio-resampler.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/media.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-packet-queue.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/whiteboard-optimization.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/receive-messages-response.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/lzstring.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/audio-codec-g711.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/screenshare-getscreen.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/screenshare-dirtycorner.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/utility.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/screenshare.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/record-play.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/indexeddb-storage.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/footer-control-user.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/xhr.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/popup.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/storage-array-base64-converter.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/progressbar.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/youtube-iframe-api.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/youtube.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>codemirror/lib/codemirror.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>codemirror/addon/edit/continuelist.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>codemirror/mode/xml/xml.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>codemirror/mode/markdown/markdown.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/ot-server.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/editor-utils.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/editor-rich-toolbar.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/editor-text-op.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/ot-text-operation.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/ot-wrapped-operation.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/ot-cursor.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/ot-undo-manager.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/ot-client.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/ot-editor-client.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/editor-span.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/editor-annotation-list.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/editor-attribute-constants.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/editor-line-formatting.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/editor-serialize-html.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/editor-parse-html.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/ot-codemirror-adapter.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/ot-adapter.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/vceditor.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>src/editor.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>chat/chat.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>chat/footer.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>chat/jquery.ui.chatlist.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>chat/jquery.ui.chatbox.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>chat/jquery.ui.chatroom.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>chat/chatboxManager.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>chat/lib.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>chat/lang.en.js"></script> <script type="text/javascript" src="<?php echo $whiteboardpath;?>index.js"></script>
gpl-3.0
woolwind/uSkyBlock
uSkyBlock-Core/src/main/java/us/talabrek/ultimateskyblock/uuid/FilePlayerDB.java
8829
package us.talabrek.ultimateskyblock.uuid; import dk.lockfuglsang.minecraft.file.FileUtil; import dk.lockfuglsang.minecraft.yml.YmlConfiguration; import org.bukkit.Bukkit; import org.bukkit.OfflinePlayer; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.player.PlayerJoinEvent; import org.bukkit.scheduler.BukkitTask; import us.talabrek.ultimateskyblock.uSkyBlock; import us.talabrek.ultimateskyblock.util.UUIDUtil; import java.io.File; import java.io.IOException; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.UUID; import java.util.concurrent.ConcurrentHashMap; import java.util.logging.Level; import java.util.logging.Logger; /** * PlayerDB backed by a simple yml-uuid2NameFile. */ public class FilePlayerDB implements PlayerDB { private static final Logger log = Logger.getLogger(FilePlayerDB.class.getName()); private final File uuid2NameFile; private final YmlConfiguration uuid2NameConfig; private final uSkyBlock plugin; private boolean isShuttingDown = false; private volatile BukkitTask saveTask; private long saveDelay; // These caches should NOT be guavaCaches, we need them alive most of the time private final Map<String, UUID> name2uuidCache = new ConcurrentHashMap<>(); private final Map<UUID, String> uuid2nameCache = new ConcurrentHashMap<>(); public FilePlayerDB(uSkyBlock plugin) { this.plugin = plugin; uuid2NameFile = new File(plugin.getDataFolder(), "uuid2name.yml"); uuid2NameConfig = new YmlConfiguration(); if (uuid2NameFile.exists()) { FileUtil.readConfig(uuid2NameConfig, uuid2NameFile); } // Save max every 10 seconds saveDelay = plugin.getConfig().getInt("playerdb.saveDelay", 10000); plugin.async(new Runnable() { @Override public void run() { synchronized (uuid2NameConfig) { Set<String> uuids = uuid2NameConfig.getKeys(false); for (String uuid : uuids) { UUID id = UUIDUtil.fromString(uuid); String name = uuid2NameConfig.getString(uuid + ".name", null); if (name != null) { uuid2nameCache.put(id, name); name2uuidCache.put(name, id); List<String> akas = uuid2NameConfig.getStringList(uuid + ".aka"); for (String aka : akas) { if (!name2uuidCache.containsKey(aka)) { name2uuidCache.put(aka, id); } } } } } } }); } @Override public void shutdown() { isShuttingDown = true; if (saveTask != null) { saveTask.cancel(); } saveToFile(); } @Override public UUID getUUIDFromName(String name) { return getUUIDFromName(name, true); } @Override public UUID getUUIDFromName(String name, boolean lookup) { if (name2uuidCache.containsKey(name)) { return name2uuidCache.get(name); } UUID result = null; if (lookup) { OfflinePlayer offlinePlayer = Bukkit.getOfflinePlayer(name); if (offlinePlayer != null) { updatePlayer(offlinePlayer.getUniqueId(), offlinePlayer.getName(), offlinePlayer.getName()); result = offlinePlayer.getUniqueId(); } } name2uuidCache.put(name, result); return result; } @Override public String getName(UUID uuid) { if (UNKNOWN_PLAYER_UUID.equals(uuid)) { return UNKNOWN_PLAYER_NAME; } if (uuid2nameCache.containsKey(uuid)) { return uuid2nameCache.get(uuid); } String name = null; OfflinePlayer offlinePlayer = Bukkit.getOfflinePlayer(uuid); if (offlinePlayer != null) { updatePlayer(offlinePlayer.getUniqueId(), offlinePlayer.getName(), offlinePlayer.getName()); name = offlinePlayer.getName(); } if (name != null) { uuid2nameCache.put(uuid, name); } return name; } @Override public String getDisplayName(UUID uuid) { String uuidStr = UUIDUtil.asString(uuid); synchronized (uuid2NameConfig) { return uuid2NameConfig.getString(uuidStr + ".displayName", null); } } @Override public String getDisplayName(String playerName) { UUID uuid = getUUIDFromName(playerName); if (uuid != null) { return getDisplayName(uuid); } return playerName; } @Override public Set<String> getNames(String search) { HashSet<String> names = new HashSet<>(uuid2nameCache.values()); String lowerSearch = search != null ? search.toLowerCase() : null; for (Iterator<String> it = names.iterator(); it.hasNext(); ) { String name = it.next(); if (name == null || (search != null && !name.toLowerCase().startsWith(lowerSearch))) { it.remove(); } } return names; } @Override public void updatePlayer(final UUID id, final String name, final String displayName) { addEntry(id, name, displayName); if (isShuttingDown) { saveToFile(); } else { if (saveTask == null) { // Only have one pending save-task at a time saveTask = plugin.async(new Runnable() { @Override public void run() { saveToFile(); } }, saveDelay); } } } @Override public Player getPlayer(UUID uuid) { if (uuid != null) { Player player = Bukkit.getPlayer(uuid); if (player != null) { updatePlayer(player.getUniqueId(), player.getName(), player.getDisplayName()); } return player; } return null; } @Override public Player getPlayer(String name) { if (name != null) { UUID uuid = getUUIDFromName(name); if (uuid != null) { return getPlayer(uuid); } Player player = Bukkit.getPlayer(name); if (player != null) { updatePlayer(player.getUniqueId(), player.getName(), player.getDisplayName()); } return player; } return null; } private void saveToFile() { try { synchronized (uuid2NameConfig) { uuid2NameConfig.save(uuid2NameFile); } } catch (IOException e) { log.log(Level.INFO, "Error saving playerdb", e); } finally { saveTask = null; } } private void addEntry(UUID id, String name, String displayName) { String uuid = UUIDUtil.asString(id); UUID oldUUID = name2uuidCache.get(name); if (name != null) { uuid2nameCache.put(id, name); name2uuidCache.put(name, id); } synchronized (uuid2NameConfig) { String oldName = uuid2NameConfig.getString(uuid + ".name", name); if (uuid2NameConfig.contains(uuid) && oldName != null && !oldName.equals(name)) { List<String> stringList = uuid2NameConfig.getStringList(uuid + ".aka"); if (!stringList.contains(oldName)) { stringList.add(oldName); uuid2NameConfig.set(uuid + ".aka", stringList); if (!name2uuidCache.containsKey(oldName)) { name2uuidCache.put(oldName, id); } } } uuid2NameConfig.set(uuid + ".name", name); uuid2NameConfig.set(uuid + ".updated", System.currentTimeMillis()); if (displayName != null) { uuid2NameConfig.set(uuid + ".displayName", displayName); } if (oldUUID != null && !oldUUID.equals(id)) { // Cleanup, remove all references to the new name for the old UUID uuid2NameConfig.set(UUIDUtil.asString(oldUUID), null); } } } @EventHandler(priority = EventPriority.LOW) public void onPlayerJoin(PlayerJoinEvent e) { updatePlayer(e.getPlayer().getUniqueId(), e.getPlayer().getName(), e.getPlayer().getDisplayName()); } }
gpl-3.0
kerimlcr/ab2017-dpyo
ornek/basenji/basenji-1.0.2/Platform/src/Win32/ThumbnailCreator.cs
15099
// Copyright (c) 2002 vbAccelerator.com // // THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED 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 // VBACCELERATOR OR ITS 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. // Source: // http://www.vbaccelerator.com/home/NET/Code/Libraries/Shell_Projects/Thumbnail_Extraction/article.asp // License details: // http://www.vbaccelerator.com/home/The_Site/Usage_Policy/article.asp #if WIN32 using System; using System.IO; using System.Runtime.InteropServices; using System.Text; namespace vbAccelerator.Components.Shell { #region ThumbnailCreator /// <summary> /// Summary description for ThumbnailCreator. /// </summary> internal class ThumbnailCreator : IDisposable { #region ShellFolder Enumerations [Flags] private enum ESTRRET : int { STRRET_WSTR = 0x0000, // Use STRRET.pOleStr STRRET_OFFSET = 0x0001, // Use STRRET.uOffset to Ansi STRRET_CSTR = 0x0002 // Use STRRET.cStr } [Flags] private enum ESHCONTF : int { SHCONTF_FOLDERS = 32, SHCONTF_NONFOLDERS = 64, SHCONTF_INCLUDEHIDDEN = 128 } [Flags] private enum ESHGDN : int { SHGDN_NORMAL = 0, SHGDN_INFOLDER = 1, SHGDN_FORADDRESSBAR = 16384, SHGDN_FORPARSING = 32768 } [Flags] private enum ESFGAO : int { SFGAO_CANCOPY = 1, SFGAO_CANMOVE = 2, SFGAO_CANLINK = 4, SFGAO_CANRENAME = 16, SFGAO_CANDELETE = 32, SFGAO_HASPROPSHEET = 64, SFGAO_DROPTARGET = 256, SFGAO_CAPABILITYMASK = 375, SFGAO_LINK = 65536, SFGAO_SHARE = 131072, SFGAO_READONLY = 262144, SFGAO_GHOSTED = 524288, SFGAO_DISPLAYATTRMASK = 983040, SFGAO_FILESYSANCESTOR = 268435456, SFGAO_FOLDER = 536870912, SFGAO_FILESYSTEM = 1073741824, SFGAO_HASSUBFOLDER = -2147483648, SFGAO_CONTENTSMASK = -2147483648, SFGAO_VALIDATE = 16777216, SFGAO_REMOVABLE = 33554432, SFGAO_COMPRESSED = 67108864 } #endregion #region IExtractImage Enumerations private enum EIEIFLAG { IEIFLAG_ASYNC = 0x0001, // ask the extractor if it supports ASYNC extract (free threaded) IEIFLAG_CACHE = 0x0002, // returned from the extractor if it does NOT cache the thumbnail IEIFLAG_ASPECT = 0x0004, // passed to the extractor to beg it to render to the aspect ratio of the supplied rect IEIFLAG_OFFLINE = 0x0008, // if the extractor shouldn't hit the net to get any content neede for the rendering IEIFLAG_GLEAM = 0x0010, // does the image have a gleam ? this will be returned if it does IEIFLAG_SCREEN = 0x0020, // render as if for the screen (this is exlusive with IEIFLAG_ASPECT ) IEIFLAG_ORIGSIZE = 0x0040, // render to the approx size passed, but crop if neccessary IEIFLAG_NOSTAMP = 0x0080, // returned from the extractor if it does NOT want an icon stamp on the thumbnail IEIFLAG_NOBORDER = 0x0100, // returned from the extractor if it does NOT want an a border around the thumbnail IEIFLAG_QUALITY = 0x0200 // passed to the Extract method to indicate that a slower, higher quality image is desired, re-compute the thumbnail } #endregion #region ShellFolder Structures [StructLayoutAttribute(LayoutKind.Sequential, Pack=4, Size=0, CharSet=CharSet.Auto)] private struct STRRET_CSTR { public ESTRRET uType; [MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValArray, SizeConst=520)] public byte[] cStr; } [StructLayout(LayoutKind.Explicit, CharSet=CharSet.Auto)] private struct STRRET_ANY { [FieldOffset(0)] public ESTRRET uType; [FieldOffset(4)] public IntPtr pOLEString; } [StructLayoutAttribute(LayoutKind.Sequential)] private struct SIZE { public int cx; public int cy; } #endregion #region Com Interop for IUnknown [ComImport, Guid("00000000-0000-0000-C000-000000000046")] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] private interface IUnknown { [PreserveSig] IntPtr QueryInterface(ref Guid riid, out IntPtr pVoid); [PreserveSig] IntPtr AddRef(); [PreserveSig] IntPtr Release(); } #endregion #region COM Interop for IMalloc [ComImportAttribute()] [GuidAttribute("00000002-0000-0000-C000-000000000046")] [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] //helpstring("IMalloc interface") private interface IMalloc { [PreserveSig] IntPtr Alloc(int cb); [PreserveSig] IntPtr Realloc( IntPtr pv, int cb); [PreserveSig] void Free(IntPtr pv); [PreserveSig] int GetSize(IntPtr pv); [PreserveSig] int DidAlloc(IntPtr pv); [PreserveSig] void HeapMinimize(); }; #endregion #region COM Interop for IEnumIDList [ComImportAttribute()] [GuidAttribute("000214F2-0000-0000-C000-000000000046")] [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] //helpstring("IEnumIDList interface") private interface IEnumIDList { [PreserveSig] int Next( int celt, ref IntPtr rgelt, out int pceltFetched); void Skip( int celt); void Reset(); void Clone( ref IEnumIDList ppenum); }; #endregion #region COM Interop for IShellFolder [ComImportAttribute()] [GuidAttribute("000214E6-0000-0000-C000-000000000046")] [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] //helpstring("IShellFolder interface") private interface IShellFolder { void ParseDisplayName( IntPtr hwndOwner, IntPtr pbcReserved, [MarshalAs(UnmanagedType.LPWStr)] string lpszDisplayName, out int pchEaten, out IntPtr ppidl, out int pdwAttributes); void EnumObjects( IntPtr hwndOwner, [MarshalAs(UnmanagedType.U4)] ESHCONTF grfFlags, ref IEnumIDList ppenumIDList ); void BindToObject( IntPtr pidl, IntPtr pbcReserved, ref Guid riid, ref IShellFolder ppvOut); void BindToStorage( IntPtr pidl, IntPtr pbcReserved, ref Guid riid, IntPtr ppvObj ); [PreserveSig] int CompareIDs( IntPtr lParam, IntPtr pidl1, IntPtr pidl2); void CreateViewObject( IntPtr hwndOwner, ref Guid riid, IntPtr ppvOut); void GetAttributesOf( int cidl, IntPtr apidl, [MarshalAs(UnmanagedType.U4)] ref ESFGAO rgfInOut); void GetUIObjectOf( IntPtr hwndOwner, int cidl, ref IntPtr apidl, ref Guid riid, out int prgfInOut, ref IUnknown ppvOut); void GetDisplayNameOf( IntPtr pidl, [MarshalAs(UnmanagedType.U4)] ESHGDN uFlags, ref STRRET_CSTR lpName); void SetNameOf( IntPtr hwndOwner, IntPtr pidl, [MarshalAs(UnmanagedType.LPWStr)] string lpszName, [MarshalAs(UnmanagedType.U4)] ESHCONTF uFlags, ref IntPtr ppidlOut); }; #endregion #region COM Interop for IExtractImage [ComImportAttribute()] [GuidAttribute("BB2E617C-0920-11d1-9A0B-00C04FC2D6C1")] [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] //helpstring("IExtractImage"), private interface IExtractImage { void GetLocation( [Out(), MarshalAs(UnmanagedType.LPWStr)] StringBuilder pszPathBuffer, int cch, ref int pdwPriority, ref SIZE prgSize, int dwRecClrDepth, ref int pdwFlags); void Extract( out IntPtr phBmpThumbnail); } #endregion #region UnManagedMethods for IShellFolder private class UnManagedMethods { [DllImport("shell32", CharSet = CharSet.Auto)] internal extern static int SHGetMalloc(out IMalloc ppMalloc); [DllImport("shell32", CharSet = CharSet.Auto)] internal extern static int SHGetDesktopFolder(out IShellFolder ppshf); [DllImport("shell32", CharSet = CharSet.Auto)] internal extern static int SHGetPathFromIDList ( IntPtr pidl, StringBuilder pszPath); [DllImport("gdi32", CharSet = CharSet.Auto)] internal extern static int DeleteObject ( IntPtr hObject ); } #endregion #region Member Variables private IMalloc alloc = null; private bool disposed = false; private System.Drawing.Size desiredSize = new System.Drawing.Size(100,100); private System.Drawing.Bitmap thumbNail = null; #endregion #region Implementation public System.Drawing.Bitmap ThumbNail { get { return thumbNail; } } public System.Drawing.Size DesiredSize { get { return desiredSize; } set { desiredSize = value; } } private IMalloc Allocator { get { if (!disposed) { if (alloc == null) { UnManagedMethods.SHGetMalloc(out alloc); } } else { System.Diagnostics.Debug.Assert(false, "Object has been disposed."); } return alloc; } } public System.Drawing.Bitmap GetThumbNail( string file ) { if ((!File.Exists(file)) && (!Directory.Exists(file))) { throw new FileNotFoundException( String.Format("The file '{0}' does not exist", file), file); } if (thumbNail != null) { thumbNail.Dispose(); thumbNail = null; } IShellFolder folder = null; try { folder = getDesktopFolder; } catch (Exception ex) { throw ex; } if (folder != null) { IntPtr pidlMain = IntPtr.Zero; try { int cParsed = 0; int pdwAttrib = 0; string filePath = Path.GetDirectoryName(file); pidlMain = IntPtr.Zero; folder.ParseDisplayName( IntPtr.Zero, IntPtr.Zero, filePath, out cParsed, out pidlMain, out pdwAttrib); } catch (Exception ex) { Marshal.ReleaseComObject(folder); throw ex; } if (pidlMain != IntPtr.Zero) { // IShellFolder: Guid iidShellFolder = new Guid("000214E6-0000-0000-C000-000000000046"); IShellFolder item = null; try { folder.BindToObject(pidlMain, IntPtr.Zero, ref iidShellFolder, ref item); } catch (Exception ex) { Marshal.ReleaseComObject(folder); Allocator.Free(pidlMain); throw ex; } if (item != null) { // IEnumIDList idEnum = null; try { item.EnumObjects( IntPtr.Zero, (ESHCONTF.SHCONTF_FOLDERS | ESHCONTF.SHCONTF_NONFOLDERS), ref idEnum); } catch (Exception ex) { Marshal.ReleaseComObject(folder); Allocator.Free(pidlMain); throw ex; } if (idEnum != null) { // start reading the enum: int hRes = 0; IntPtr pidl = IntPtr.Zero; int fetched = 0; bool complete = false; while (!complete) { hRes = idEnum.Next(1, ref pidl, out fetched); if (hRes != 0) { pidl = IntPtr.Zero; complete = true; } else { if (getThumbNail(file, pidl, item)) { complete = true; } } if (pidl != IntPtr.Zero) { Allocator.Free(pidl); } } Marshal.ReleaseComObject(idEnum); } Marshal.ReleaseComObject(item); } Allocator.Free(pidlMain); } Marshal.ReleaseComObject(folder); } return thumbNail; } private bool getThumbNail( string file, IntPtr pidl, IShellFolder item ) { IntPtr hBmp = IntPtr.Zero; IExtractImage extractImage = null; try { string pidlPath = PathFromPidl(pidl); if (Path.GetFileName(pidlPath).ToUpper().Equals(Path.GetFileName(file).ToUpper())) { // we have the item: IUnknown iunk = null; int prgf = 0; Guid iidExtractImage = new Guid("BB2E617C-0920-11d1-9A0B-00C04FC2D6C1"); item.GetUIObjectOf( IntPtr.Zero, 1, ref pidl, ref iidExtractImage, out prgf, ref iunk); extractImage = (IExtractImage)iunk; if (extractImage != null) { Console.WriteLine("Got an IExtractImage object!"); SIZE sz = new SIZE(); sz.cx = desiredSize.Width; sz.cy = desiredSize.Height; StringBuilder location = new StringBuilder(260, 260); int priority = 0; int requestedColourDepth = 32; EIEIFLAG flags = EIEIFLAG.IEIFLAG_ASPECT | EIEIFLAG.IEIFLAG_SCREEN; int uFlags = (int)flags; extractImage.GetLocation( location, location.Capacity, ref priority, ref sz, requestedColourDepth, ref uFlags); extractImage.Extract(out hBmp); if (hBmp != IntPtr.Zero) { // create the image object: thumbNail = System.Drawing.Bitmap.FromHbitmap(hBmp); // is thumbNail owned by the Bitmap? } Marshal.ReleaseComObject(extractImage); extractImage = null; } return true; } else { return false; } } catch (Exception ex) { if (hBmp != IntPtr.Zero) { UnManagedMethods.DeleteObject(hBmp); } if (extractImage != null) { Marshal.ReleaseComObject(extractImage); } throw ex; } } private string PathFromPidl( IntPtr pidl ) { StringBuilder path = new StringBuilder(260, 260); int result = UnManagedMethods.SHGetPathFromIDList(pidl, path); if (result == 0) { return string.Empty; } else { return path.ToString(); } } private IShellFolder getDesktopFolder { get { IShellFolder ppshf; int r = UnManagedMethods.SHGetDesktopFolder(out ppshf); return ppshf; } } #endregion #region Constructor, Destructor, Dispose public ThumbnailCreator() { } public void Dispose() { if (!disposed) { if (alloc != null) { Marshal.ReleaseComObject(alloc); } alloc = null; if (thumbNail != null) { thumbNail.Dispose(); } disposed = true; } } ~ThumbnailCreator() { Dispose(); } #endregion } #endregion } #endif
gpl-3.0
gigaSproule/file-converter
src/test/java/com/benjaminsproule/converter/util/MimeTypesUtilITest.java
3810
package com.benjaminsproule.converter.util; import org.junit.After; import org.junit.Before; import org.junit.Test; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import static com.benjaminsproule.converter.util.MimeTypesUtil.APPLICATIONS_BSON; import static com.benjaminsproule.converter.util.MimeTypesUtil.APPLICATIONS_JSON; import static com.benjaminsproule.converter.util.MimeTypesUtil.APPLICATIONS_XML; import static com.benjaminsproule.converter.util.MimeTypesUtil.IMAGES_JPG; import static com.benjaminsproule.converter.util.MimeTypesUtil.IMAGES_TIFF; import static com.benjaminsproule.converter.util.MimeTypesUtil.TEXTS_CSV; import static com.benjaminsproule.converter.util.MimeTypesUtil.VIDEOS_AVI; import static com.benjaminsproule.converter.util.MimeTypesUtil.VIDEOS_MP4; import static java.util.Arrays.asList; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.containsInAnyOrder; import static org.hamcrest.Matchers.hasItem; import static org.hamcrest.Matchers.hasItems; import static org.hamcrest.Matchers.is; public class MimeTypesUtilITest { private Path mimeTypes; private Path mimeTypesBackup; @Before public void setup() throws Exception { if (!MimeTypesUtil.requiresMimeTypesFile()) { return; } String home = System.getProperty("user.home"); mimeTypes = new File(home + "/.mime.types").toPath(); mimeTypesBackup = new File(home + "/.mime.types.backup").toPath(); if (Files.exists(mimeTypes)) { Files.deleteIfExists(mimeTypesBackup); Files.move(mimeTypes, mimeTypesBackup); } } @After public void tearDown() throws Exception { if (!MimeTypesUtil.requiresMimeTypesFile()) { return; } Files.delete(mimeTypes); if (Files.exists(mimeTypesBackup)) { Files.move(mimeTypesBackup, mimeTypes); Files.deleteIfExists(mimeTypesBackup); } } @Test public void testMimeTypesFileCreatedIfItDoesNotExist() throws Exception { if (!MimeTypesUtil.requiresMimeTypesFile()) { return; } MimeTypesUtil.createMimeTypesFile(); assertThat(Files.exists(mimeTypes), is(true)); } @Test public void testMimeTypesFileUpdatedIfItDoesExist() throws Exception { if (!MimeTypesUtil.requiresMimeTypesFile()) { return; } Files.createFile(mimeTypes); MimeTypesUtil.createMimeTypesFile(); assertThat(Files.readAllLines(mimeTypes), hasItems(APPLICATIONS_BSON, APPLICATIONS_JSON, APPLICATIONS_XML, IMAGES_JPG, IMAGES_TIFF, TEXTS_CSV, VIDEOS_MP4, VIDEOS_AVI)); } @Test public void testMimeTypesFileUpdatedIfItDoesExist_DoesNotDeleteOldLines() throws Exception { if (!MimeTypesUtil.requiresMimeTypesFile()) { return; } populateMimeTypesFile("test"); MimeTypesUtil.createMimeTypesFile(); assertThat(Files.readAllLines(mimeTypes), hasItem("test")); } @Test public void testMimeTypesFileUpdatedIfItDoesExist_IgnoresAlreadyExisting() throws Exception { if (!MimeTypesUtil.requiresMimeTypesFile()) { return; } populateMimeTypesFile(IMAGES_JPG, IMAGES_TIFF, VIDEOS_MP4, VIDEOS_AVI); MimeTypesUtil.createMimeTypesFile(); assertThat(Files.readAllLines(mimeTypes), containsInAnyOrder(APPLICATIONS_BSON, APPLICATIONS_JSON, APPLICATIONS_XML, IMAGES_JPG, IMAGES_TIFF, TEXTS_CSV, VIDEOS_MP4, VIDEOS_AVI)); } private void populateMimeTypesFile(final String... str) throws IOException { Files.createFile(mimeTypes); Files.write(mimeTypes, asList(str)); } }
gpl-3.0
audibleblink/atreus-firmware
atreus/keymap_common.h
6308
/* Copyright 2012,2013 Jun Wako <[email protected]> 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 2 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/>. */ #ifndef KEYMAP_COMMON_H #define KEYMAP_COMMON_H #include <stdint.h> #include <stdbool.h> #include "keycode.h" #include "action.h" #include "action_code.h" #include "action_layer.h" #include "action_macro.h" #include "action_util.h" #include "report.h" #include "host.h" #include "print.h" #include "debug.h" #include "keymap.h" extern const uint16_t actionmaps[][MATRIX_ROWS][MATRIX_COLS]; #define KEYMAP_PCBDOWN( \ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, \ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A \ ) { \ { AC_##K09, AC_##K08, AC_##K07, AC_##K06, AC_##K05, KC_NO, AC_##K04, AC_##K03, AC_##K02, AC_##K01, AC_##K00 }, \ { AC_##K19, AC_##K18, AC_##K17, AC_##K16, AC_##K15, KC_NO, AC_##K14, AC_##K13, AC_##K12, AC_##K11, AC_##K10 }, \ { AC_##K29, AC_##K28, AC_##K27, AC_##K26, AC_##K25, AC_##K35, AC_##K24, AC_##K23, AC_##K22, AC_##K21, AC_##K20 }, \ { AC_##K3A, AC_##K39, AC_##K38, AC_##K37, AC_##K36, AC_##K34, AC_##K33, AC_##K32, AC_##K31, AC_##K30, AC_##K2A } \ } #define KEYMAP_PCBUP( \ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, \ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, \ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, \ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A \ ) { \ { AC_##K00, AC_##K01, AC_##K02, AC_##K03, AC_##K04, KC_NO, AC_##K05, AC_##K06, AC_##K07, AC_##K08, AC_##K09 }, \ { AC_##K10, AC_##K11, AC_##K12, AC_##K13, AC_##K14, KC_NO, AC_##K15, AC_##K16, AC_##K17, AC_##K18, AC_##K19 }, \ { AC_##K20, AC_##K21, AC_##K22, AC_##K23, AC_##K24, AC_##K34, AC_##K25, AC_##K26, AC_##K27, AC_##K28, AC_##K29 }, \ { AC_##K2A, AC_##K30, AC_##K31, AC_##K32, AC_##K33, AC_##K35, AC_##K36, AC_##K37, AC_##K38, AC_##K39, AC_##K3A } \ } #ifdef PCBDOWN #define KEYMAP KEYMAP_PCBDOWN #else #define KEYMAP KEYMAP_PCBUP #endif #define AC_SH(key) ACTION_MODS_KEY(MOD_LSFT, AC_##key) #define AC_CTRL(key) ACTION_MODS_KEY(MOD_LCTL, AC_##key) #define AC_ALT(key) ACTION_MODS_KEY(MOD_LALT, AC_##key) #define AC_GUI(key) ACTION_MODS_KEY(MOD_LGUI, AC_##key) #define AC_LM1 ACTION_LAYER_MOMENTARY(1) #define AC_LM2 ACTION_LAYER_MOMENTARY(2) #define AC_LM3 ACTION_LAYER_MOMENTARY(3) #define AC_ON(layer) ACTION_LAYER_ON((layer), 1) #define AC_OFF(layer) ACTION_LAYER_OFF((layer), 1) #define AC_BOOT ACTION_FUNCTION(BOOTLOADER) /* * ! @ { } | || _ 7 8 9 * * # $ ( ) ` || - 4 5 6 + * % ^ [ ] ~ || & 1 2 3 \ * L2 insert super shift bksp ctrl || alt space fn . 0 = */ #define FN_LAYER KEYMAP(SH(1), SH(2) , SH(LBRC), SH(RBRC) , SH(BSLS) /*| |*/ , SH(MINS), 7 , 8 , 9, SH(8), \ SH(3), SH(4) , SH(9) , SH(0) , GRAVE /*| |*/ , MINS , 4 , 5 , 6, SH(EQUAL), \ SH(5), SH(6) , LBRC , RBRC , SH(GRAVE) /*| |*/ , SH(7) , 1 , 2 , 3, BSLS, \ ON(2), SH(INS), LGUI , LSFT , BSPC , LCTL, LALT , SPC , LM1, DOT, 0, EQUAL) /* * ! @ up { } || pgup 7 8 9 * * # left down right $ || pgdn 4 5 6 + * [ ] ( ) & || ` 1 2 3 \ * L2 insert super shift bksp ctrl || alt space fn . 0 = */ #define FN_ARROW_LAYER KEYMAP(SH(1), SH(2) , UP , SH(LBRC), SH(RBRC), /*| |*/ PGUP , 7 , 8 , 9, SH(8), \ SH(3), LEFT , DOWN , RIGHT , SH(4), /*| |*/ PGDN , 4 , 5 , 6, SH(EQUAL), \ LBRC , RBRC , SH(9) , SH(0) , SH(7), /*| |*/ GRAVE, 1 , 2 , 3, BSLS, \ ON(2), SH(INS), LGUI , LSFT , BSPC, LCTL, LALT, SPC , LM1, DOT, 0, EQUAL) /* * insert home up end pgup || up F7 F8 F9 F10 * del left down right pgdn || down F4 F5 F6 F11 * volup prev play next reset || F1 F2 F3 F12 * voldn mute super shift bksp ctrl || alt space L0 prtsc scroll pause */ #define LAYER_TWO KEYMAP(INS , HOME, UP , END , PGUP, /*| |*/ UP , F7 , F8 , F9 , F10, \ DEL , LEFT, DOWN, RIGHT, PGDN, /*| |*/ DOWN, F4 , F5 , F6 , F11, \ VOLU, MPRV, MPLY, MNXT , BOOT, /*| |*/ NO , F1 , F2 , F3 , F12, \ VOLD, MUTE, LGUI, LSFT , BSPC, LCTL, LALT, SPC , OFF(2), LM2 , SLCK, PAUSE) /* * ! @ # $ % || ^ & * ( ) * [ ] - _ || \ | home end` * * L2 insert super shift bksp ctrl || alt space fn . 0 = */ #define LAYER_THREE KEYMAP(SH(1), SH(2) , SH(3) , SH(4) , SH(5), /* || */ SH(6), SH(7), SH(8) , SH(9), SH(0), \ LBRC , RBRC , MINS , SH(MINS), NO , /* || */ NO , BSLS , SH(BSLS) , HOME , END , \ NO , NO , NO , NO , NO , /* || */ NO , NO , NO , NO , NO , \ ON(2), SH(INS), LGUI , LSFT , BSPC, LCTL, LALT, SPC , LM1 , LM3 , QUOT, ENT) enum function_id { BOOTLOADER, }; void bootloader(void); #endif
gpl-3.0
applifireAlgo/bloodbank
bloodbank/src/main/java/com/app/server/repository/AppCustomerTypeRepository.java
1182
package com.app.server.repository; import com.athena.server.repository.SearchInterface; import com.athena.annotation.Complexity; import com.athena.annotation.SourceCodeAuthorClass; import com.athena.framework.server.exception.repository.SpartanPersistenceException; import java.util.List; import com.athena.framework.server.exception.biz.SpartanConstraintViolationException; @SourceCodeAuthorClass(createdBy = "john.doe", updatedBy = "", versionNumber = "1", comments = "Repository for AppCustomerType Master table Entity", complexity = Complexity.LOW) public interface AppCustomerTypeRepository<T> extends SearchInterface { public List<T> findAll() throws SpartanPersistenceException; public T save(T entity) throws SpartanPersistenceException; public List<T> save(List<T> entity) throws SpartanPersistenceException; public void delete(String id) throws SpartanPersistenceException; public void update(T entity) throws SpartanConstraintViolationException, SpartanPersistenceException; public void update(List<T> entity) throws SpartanPersistenceException; public T findById(String appcustTypeId) throws Exception, SpartanPersistenceException; }
gpl-3.0
seadas/beam
beam-ui/src/main/java/org/esa/beam/BeamUiActivator.java
17807
/* * Copyright (C) 2010 Brockmann Consult GmbH ([email protected]) * * 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/ */ package org.esa.beam; import com.bc.ceres.core.CoreException; import com.bc.ceres.core.runtime.*; import com.sun.java.help.search.QueryEngine; import org.esa.beam.framework.help.HelpSys; import org.esa.beam.framework.ui.application.ApplicationDescriptor; import org.esa.beam.framework.ui.application.ToolViewDescriptor; import org.esa.beam.framework.ui.application.ToolViewDescriptorRegistry; import org.esa.beam.framework.ui.command.Command; import org.esa.beam.framework.ui.command.CommandGroup; import org.esa.beam.framework.ui.layer.LayerEditorDescriptor; import org.esa.beam.framework.ui.layer.LayerSourceDescriptor; import org.esa.beam.util.TreeNode; import javax.help.HelpSet; import javax.help.HelpSet.DefaultHelpSetFactory; import java.net.URL; import java.util.*; import java.util.logging.Level; import java.util.logging.Logger; /** * The activator for the BEAM UI module. Registers help set extensions. * * @author Marco Peters * @author Norman Fomferra * @version $Revision$ $Date$ */ public class BeamUiActivator implements Activator, ToolViewDescriptorRegistry { private static BeamUiActivator instance; private ModuleContext moduleContext; private TreeNode<HelpSet> helpSetRegistry; private List<Command> actionList; private List<CommandGroup> actionGroupList; private Map<String, ToolViewDescriptor> toolViewDescriptorRegistry; private Map<String, LayerSourceDescriptor> layerSourcesRegistry; private ApplicationDescriptor applicationDescriptor; private int helpSetNo; @Override public void start(ModuleContext moduleContext) throws CoreException { this.moduleContext = moduleContext; instance = this; registerHelpSets(moduleContext); registerToolViews(moduleContext); registerActions(moduleContext); registerActionGroups(moduleContext); registerApplicationDescriptors(moduleContext); registerLayerEditors(moduleContext); registerLayerSources(moduleContext); } @Override public void stop(ModuleContext moduleContext) throws CoreException { this.helpSetRegistry = null; this.moduleContext = null; actionList = null; toolViewDescriptorRegistry = null; applicationDescriptor = null; instance = null; } private void registerApplicationDescriptors(ModuleContext moduleContext) { final List<ApplicationDescriptor> applicationDescriptorList = BeamCoreActivator.loadExecutableExtensions(moduleContext, "applicationDescriptors", "applicationDescriptor", ApplicationDescriptor.class); final String applicationId = getApplicationId(); for (ApplicationDescriptor applicationDescriptor : applicationDescriptorList) { if (applicationId.equals(applicationDescriptor.getApplicationId())) { moduleContext.getLogger().info(String.format("Using application descriptor [%s]", applicationId)); this.applicationDescriptor = applicationDescriptor; final String[] toolViewIds = applicationDescriptor.getExcludedToolViews(); for (String toolViewId : toolViewIds) { BeamUiActivator.getInstance().removeToolViewDescriptor(toolViewId); moduleContext.getLogger().info(String.format("Removed toolview [%s]", toolViewId)); } final String[] actionIds = applicationDescriptor.getExcludedActions(); for (String actionId : actionIds) { BeamUiActivator.getInstance().removeAction(actionId); moduleContext.getLogger().info(String.format("Removed action [%s]", actionId)); } final String[] actionGroupIds = applicationDescriptor.getExcludedActionGroups(); for (String actionGroupId : actionGroupIds) { BeamUiActivator.getInstance().removeActionGroup(actionGroupId); moduleContext.getLogger().info(String.format("Removed action group [%s]", actionGroupId)); } } else { moduleContext.getLogger().warning(String.format("Ignoring application descriptor [%s]", applicationId)); } } } public static BeamUiActivator getInstance() { return instance; } public ModuleContext getModuleContext() { return moduleContext; } public String getApplicationId() { return moduleContext.getRuntimeConfig().getApplicationId(); } public ApplicationDescriptor getApplicationDescriptor() { return applicationDescriptor; } public List<Command> getCommands() { return Collections.unmodifiableList(actionList); } public List<CommandGroup> getCommandGroups() { return Collections.unmodifiableList(actionGroupList); } @Override public ToolViewDescriptor[] getToolViewDescriptors() { return toolViewDescriptorRegistry.values().toArray(new ToolViewDescriptor[toolViewDescriptorRegistry.values().size()]); } @Override public ToolViewDescriptor getToolViewDescriptor(String viewDescriptorId) { return toolViewDescriptorRegistry.get(viewDescriptorId); } public LayerSourceDescriptor[] getLayerSources() { return layerSourcesRegistry.values().toArray( new LayerSourceDescriptor[layerSourcesRegistry.values().size()]); } public void removeToolViewDescriptor(String viewDescriptorId) { toolViewDescriptorRegistry.remove(viewDescriptorId); } public void removeAction(String actionId) { for (int i = 0; i < actionList.size(); i++) { Command command = actionList.get(i); if (actionId.equals(command.getCommandID())) { actionList.remove(i); return; } } } public void removeActionGroup(String actionGroupId) { for (int i = 0; i < actionGroupList.size(); i++) { Command command = actionGroupList.get(i); if (actionGroupId.equals(command.getCommandID())) { actionGroupList.remove(i); return; } } } private void registerToolViews(ModuleContext moduleContext) { List<ToolViewDescriptor> toolViewDescriptorList = BeamCoreActivator.loadExecutableExtensions(moduleContext, "toolViews", "toolView", ToolViewDescriptor.class); toolViewDescriptorRegistry = new HashMap<>(2 * toolViewDescriptorList.size()); for (ToolViewDescriptor toolViewDescriptor : toolViewDescriptorList) { final String toolViewId = toolViewDescriptor.getId(); final ToolViewDescriptor existingViewDescriptor = toolViewDescriptorRegistry.get(toolViewId); if (existingViewDescriptor != null) { moduleContext.getLogger().info(String.format("Tool view [%s] has been redeclared!\n", toolViewId)); } toolViewDescriptorRegistry.put(toolViewId, toolViewDescriptor); } } private void registerActions(ModuleContext moduleContext) { actionList = BeamCoreActivator.loadExecutableExtensions(moduleContext, "actions", "action", Command.class); HashMap<String, Command> actionMap = new HashMap<>(2 * actionList.size() + 1); for (Command action : new ArrayList<>(actionList)) { final String actionId = action.getCommandID(); final Command existingAction = actionMap.get(actionId); if (existingAction != null) { moduleContext.getLogger().warning(String.format("Action [%s] has been redeclared!\n", actionId)); actionMap.remove(actionId); actionList.remove(existingAction); } actionMap.put(actionId, action); } } private void registerActionGroups(ModuleContext moduleContext) { actionGroupList = BeamCoreActivator.loadExecutableExtensions(moduleContext, "actionGroups", "actionGroup", CommandGroup.class); HashMap<String, CommandGroup> actionGroupMap = new HashMap<>(2 * actionGroupList.size() + 1); for (CommandGroup actionGroup : new ArrayList<>(actionGroupList)) { final String actionGroupId = actionGroup.getCommandID(); final CommandGroup existingActionGroup = actionGroupMap.get(actionGroupId); if (existingActionGroup != null) { moduleContext.getLogger().warning(String.format("Action group [%s] has been redeclared!\n", actionGroupId)); actionGroupMap.remove(actionGroupId); actionGroupList.remove(existingActionGroup); } actionGroupMap.put(actionGroupId, actionGroup); } } private void registerLayerEditors(ModuleContext moduleContext) { BeamCoreActivator.loadExecutableExtensions(moduleContext, "layerEditors", "layerEditor", LayerEditorDescriptor.class); } private void registerLayerSources(ModuleContext moduleContext) { List<LayerSourceDescriptor> layerSourceListDescriptor = BeamCoreActivator.loadExecutableExtensions(moduleContext, "layerSources", "layerSource", LayerSourceDescriptor.class); layerSourcesRegistry = new HashMap<>(2 * layerSourceListDescriptor.size()); for (LayerSourceDescriptor layerSourceDescriptor : layerSourceListDescriptor) { final String id = layerSourceDescriptor.getId(); final LayerSourceDescriptor existingLayerSourceDescriptor = layerSourcesRegistry.get(id); if (existingLayerSourceDescriptor != null) { moduleContext.getLogger().info(String.format("Layer source [%s] has been redeclared!\n", id)); } layerSourcesRegistry.put(id, layerSourceDescriptor); } } private void registerHelpSets(ModuleContext moduleContext) { this.helpSetRegistry = new TreeNode<>(""); ExtensionPoint hsExtensionPoint = moduleContext.getModule().getExtensionPoint("helpSets"); Extension[] hsExtensions = hsExtensionPoint.getExtensions(); for (Extension extension : hsExtensions) { ConfigurationElement confElem = extension.getConfigurationElement(); ConfigurationElement[] helpSetElements = confElem.getChildren("helpSet"); for (ConfigurationElement helpSetElement : helpSetElements) { final Module declaringModule = extension.getDeclaringModule(); if (declaringModule.getState().is(ModuleState.RESOLVED)) { registerHelpSet(helpSetElement, declaringModule); } } } addNodeToHelpSys(helpSetRegistry); } private void addNodeToHelpSys(TreeNode<HelpSet> helpSetNode) { if (helpSetNode.getContent() != null) { HelpSys.add(helpSetNode.getContent()); } TreeNode<HelpSet>[] children = helpSetNode.getChildren(); for (TreeNode<HelpSet> child : children) { addNodeToHelpSys(child); } } private void registerHelpSet(ConfigurationElement helpSetElement, Module declaringModule) { String helpSetPath = null; ConfigurationElement pathElem = helpSetElement.getChild("path"); if (pathElem != null) { helpSetPath = pathElem.getValue(); } // todo - remove if (helpSetPath == null) { helpSetPath = helpSetElement.getAttribute("path"); } if (helpSetPath == null) { String message = String.format("Missing resource [path] element in a help set declared in module [%s].", declaringModule.getName()); moduleContext.getLogger().severe(message); return; } URL helpSetUrl = declaringModule.getClassLoader().getResource(helpSetPath); if (helpSetUrl == null) { String message = String.format("Help set resource path [%s] of module [%s] not found.", helpSetPath, declaringModule.getName()); moduleContext.getLogger().severe(message); return; } DefaultHelpSetFactory factory = new VerifyingHelpSetFactory(helpSetPath, declaringModule.getName(), moduleContext.getLogger()); HelpSet helpSet = HelpSet.parse(helpSetUrl, declaringModule.getClassLoader(), factory); if (helpSet == null) { String message = String.format("Failed to add help set [%s] of module [%s]: %s.", helpSetPath, declaringModule.getName(), ""); moduleContext.getLogger().log(Level.SEVERE, message, ""); return; } String helpSetId; ConfigurationElement idElem = helpSetElement.getChild("id"); if (idElem != null) { helpSetId = idElem.getValue(); } else { helpSetId = "helpSet$" + helpSetNo; helpSetNo++; String message = String.format("Missing [id] element in help set [%s] of module [%s].", helpSetPath, declaringModule.getSymbolicName()); moduleContext.getLogger().warning(message); } String helpSetParent; ConfigurationElement parentElem = helpSetElement.getChild("parent"); if (parentElem != null) { helpSetParent = parentElem.getValue(); } else { helpSetParent = ""; // = root } TreeNode<HelpSet> parentNode = helpSetRegistry.createChild(helpSetParent); TreeNode<HelpSet> childNode = parentNode.getChild(helpSetId); if (childNode == null) { childNode = new TreeNode<>(helpSetId, helpSet); parentNode.addChild(childNode); } else if (childNode.getContent() == null) { childNode.setContent(helpSet); } else { String message = String.format("Help set ignored: Duplicate identifier [%s] in help set [%s] of module [%s] ignored.", helpSetId, helpSetPath, declaringModule.getName()); moduleContext.getLogger().severe(message); } } private static class VerifyingHelpSetFactory extends DefaultHelpSetFactory { private final String helpSetPath; private final String moduleName; private final Logger logger; public VerifyingHelpSetFactory(String helpSetPath, String moduleName, Logger logger) { super(); this.helpSetPath = helpSetPath; this.moduleName = moduleName; this.logger = logger; } @Override public void processView(HelpSet hs, String name, String label, String type, Hashtable viewAttributes, String data, Hashtable dataAttributes, Locale locale) { if (name.equals("Search")) { // check if a search engine can be created, this means the search index is available try { // just for checking if it can be created QueryEngine qe = new QueryEngine(data, hs.getHelpSetURL()); } catch (Exception exception) { String message = String.format("Help set [%s] of module [%s] has no or bad search index. Search view removed.", helpSetPath, moduleName); logger.log(Level.SEVERE, message, ""); return; } } super.processView(hs, name, label, type, viewAttributes, data, dataAttributes, locale); } } }
gpl-3.0
xDIAMONDSx/ELEOS
src/my/game/tile/SpawnTiles.java
420
package my.game.tile; import my.game.render.Sprite; public class SpawnTiles { public static Tile floorboards = new BackgroundTile(Sprite.floorboards, "floorboards"); public static Tile walls = new ForegroundTile(Sprite.walls, "walls"); public static Tile bricks = new ForegroundTile(Sprite.bricks, "bricks"); public static Tile hedge = new ForegroundTile(Sprite.hedge, "hedge").setBreakable(true); }
gpl-3.0
rafaelperazzo/ufca-web
booked/Web/my-calendar.php
959
<?php /** Copyright 2011-2017 Nick Korbel This file is part of Booked Scheduler. Booked Scheduler 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. Booked Scheduler 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 Booked Scheduler. If not, see <http://www.gnu.org/licenses/>. */ define('ROOT_DIR', '../'); require_once(ROOT_DIR . 'Pages/PersonalCalendarPage.php'); $page = new SecureActionPageDecorator(new PersonalCalendarPage()); if ($page->TakingAction()) { $page->ProcessAction(); } else { $page->PageLoad(); }
gpl-3.0
rajmahesh/magento2-master
vendor/magento/module-gift-message/Test/Unit/Model/ItemRepositoryTest.php
7415
<?php /** * * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\GiftMessage\Test\Unit\Model; // @codingStandardsIgnoreFile use Magento\GiftMessage\Model\ItemRepository; class ItemRepositoryTest extends \PHPUnit_Framework_TestCase { /** * @var ItemRepository */ protected $itemRepository; /** * @var \PHPUnit_Framework_MockObject_MockObject */ protected $quoteRepositoryMock; /** * @var \PHPUnit_Framework_MockObject_MockObject */ protected $messageFactoryMock; /** * @var \PHPUnit_Framework_MockObject_MockObject */ protected $quoteMock; /** * @var \PHPUnit_Framework_MockObject_MockObject */ protected $messageMock; /** * @var \PHPUnit_Framework_MockObject_MockObject */ protected $quoteItemMock; /** * @var string */ protected $cartId = 13; /** * @var \PHPUnit_Framework_MockObject_MockObject */ protected $storeManagerMock; /** * @var \PHPUnit_Framework_MockObject_MockObject */ protected $giftMessageManagerMock; /** * @var \PHPUnit_Framework_MockObject_MockObject */ protected $helperMock; /** * @var \PHPUnit_Framework_MockObject_MockObject */ protected $storeMock; protected function setUp() { $this->quoteRepositoryMock = $this->getMock('\Magento\Quote\Api\CartRepositoryInterface'); $this->messageFactoryMock = $this->getMock( 'Magento\GiftMessage\Model\MessageFactory', [ 'create', '__wakeup' ], [], '', false ); $this->messageMock = $this->getMock('Magento\GiftMessage\Model\Message', [], [], '', false); $this->quoteItemMock = $this->getMock( '\Magento\Quote\Model\Quote\Item', [ 'getGiftMessageId', '__wakeup' ], [], '', false ); $this->quoteMock = $this->getMock( '\Magento\Quote\Model\Quote', [ 'getGiftMessageId', 'getItemById', '__wakeup', ], [], '', false ); $this->storeManagerMock = $this->getMock('Magento\Store\Model\StoreManagerInterface'); $this->giftMessageManagerMock = $this->getMock('Magento\GiftMessage\Model\GiftMessageManager', [], [], '', false); $this->helperMock = $this->getMock('Magento\GiftMessage\Helper\Message', [], [], '', false); $this->storeMock = $this->getMock('Magento\Store\Model\Store', [], [], '', false); $this->itemRepository = new \Magento\GiftMessage\Model\ItemRepository( $this->quoteRepositoryMock, $this->storeManagerMock, $this->giftMessageManagerMock, $this->helperMock, $this->messageFactoryMock ); $this->quoteRepositoryMock->expects($this->once()) ->method('getActive') ->with($this->cartId) ->will($this->returnValue($this->quoteMock)); } /** * @expectedException \Magento\Framework\Exception\NoSuchEntityException * @expectedExceptionMessage There is no item with provided id in the cart */ public function testGetWithNoSuchEntityException() { $itemId = 2; $this->quoteMock->expects($this->once())->method('getItemById')->with($itemId)->will($this->returnValue(null)); $this->itemRepository->get($this->cartId, $itemId); } public function testGetWithoutMessageId() { $messageId = 0; $itemId = 2; $this->quoteMock->expects($this->once()) ->method('getItemById') ->with($itemId) ->will($this->returnValue($this->quoteItemMock)); $this->quoteItemMock->expects($this->once())->method('getGiftMessageId')->will($this->returnValue($messageId)); $this->assertNull($this->itemRepository->get($this->cartId, $itemId)); } public function testGet() { $messageId = 123; $itemId = 2; $this->quoteMock->expects($this->once()) ->method('getItemById') ->with($itemId) ->will($this->returnValue($this->quoteItemMock)); $this->quoteItemMock->expects($this->once())->method('getGiftMessageId')->will($this->returnValue($messageId)); $this->messageFactoryMock->expects($this->once()) ->method('create') ->will($this->returnValue($this->messageMock)); $this->messageMock->expects($this->once()) ->method('load') ->with($messageId) ->will($this->returnValue($this->messageMock)); $this->assertEquals($this->messageMock, $this->itemRepository->get($this->cartId, $itemId)); } /** * @expectedException \Magento\Framework\Exception\NoSuchEntityException * @expectedExceptionMessage There is no product with provided itemId: 1 in the cart */ public function testSaveWithNoSuchEntityException() { $itemId = 1; $this->quoteMock->expects($this->once())->method('getItemById')->with($itemId)->will($this->returnValue(null)); $this->itemRepository->save($this->cartId, $this->messageMock, $itemId); } /** * @expectedException \Magento\Framework\Exception\State\InvalidTransitionException * @expectedExceptionMessage Gift Messages are not applicable for virtual products */ public function testSaveWithInvalidTransitionException() { $itemId = 1; $quoteItem = $this->getMock('\Magento\Sales\Model\Quote\Item', ['getIsVirtual', '__wakeup'], [], '', false); $this->quoteMock->expects($this->once()) ->method('getItemById') ->with($itemId) ->will($this->returnValue($quoteItem)); $quoteItem->expects($this->once())->method('getIsVirtual')->will($this->returnValue(1)); $this->itemRepository->save($this->cartId, $this->messageMock, $itemId); } public function testSave() { $itemId = 1; $quoteItem = $this->getMock('\Magento\Sales\Model\Quote\Item', ['getIsVirtual', '__wakeup'], [], '', false); $this->quoteMock->expects($this->once()) ->method('getItemById') ->with($itemId) ->will($this->returnValue($quoteItem)); $quoteItem->expects($this->once())->method('getIsVirtual')->will($this->returnValue(0)); $this->storeManagerMock->expects($this->once())->method('getStore')->will($this->returnValue($this->storeMock)); $this->helperMock->expects($this->once()) ->method('isMessagesAllowed') ->with('items', $this->quoteMock, $this->storeMock) ->will($this->returnValue(true)); $this->giftMessageManagerMock->expects($this->once()) ->method('setMessage') ->with($this->quoteMock, 'quote_item', $this->messageMock, $itemId) ->will($this->returnValue($this->giftMessageManagerMock)); $this->messageMock->expects($this->once())->method('getMessage')->willReturn('message'); $this->assertTrue($this->itemRepository->save($this->cartId, $this->messageMock, $itemId)); } }
gpl-3.0
Paolo-Maffei/freebus-fts
freebus-fts-persistence/src/main/java/org/freebus/fts/project/DeviceProgramming.java
5774
package org.freebus.fts.project; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.OneToOne; import javax.persistence.Table; import javax.persistence.Temporal; import javax.persistence.TemporalType; import org.freebus.fts.common.address.PhysicalAddress; import org.freebus.fts.persistence.vdx.VdxEntity; /** * Details about the programming of a physical KNX device. */ @Entity @Table(name = "device_programming") @VdxEntity(name = "device_programming_non_vd") public class DeviceProgramming { @Id @JoinColumn(name = "device_id", nullable = false) @OneToOne(optional = false) private Device device; @Column(name = "physical_address") private int physicalAddress; @Column(name = "last_modified") @Temporal(TemporalType.TIMESTAMP) private Date lastModified; @Column(name = "last_upload") @Temporal(TemporalType.TIMESTAMP) private Date lastUpload; @Column(name = "communication_valid", nullable = false) private boolean communicationValid; @Column(name = "parameters_valid", nullable = false) private boolean parametersValid; @Column(name = "program_valid", nullable = false) private boolean programValid; /** * Create a device programming details object. */ public DeviceProgramming() { } /** * Create a program description object. * * @param device - the device to which the programming object belongs. */ public DeviceProgramming(Device device) { this.device = device; } /** * @return The device to which the object belongs. */ public Device getDevice() { return device; } /** * Set the device to which the object belongs. * * @param device - the device to set. */ public void setDevice(Device device) { this.device = device; } /** * Get the timestamp when the {@link #getDevice() device} was last modified. * * @return the last modified timestamp */ public Date getLastModified() { return lastModified; } /** * Set the timestamp when the {@link #getDevice() device} was last modified. * * @param lastModified - the last modified timestamp to set */ public void setLastModified(Date lastModified) { this.lastModified = lastModified; } /** * Set the timestamp when the {@link #getDevice() device} was last modified * to now. */ public void setLastModifiedNow() { this.lastModified = new Date(); } /** * Get the timestamp when the device was last programmed. This does not imply * that everything in the device is up to date. * * @return the last upload timestamp. */ public Date getLastUpload() { return lastUpload; } /** * Set the timestamp when the {@link #getDevice() device} was last programmed * to now. */ public void setLastUploadNow() { this.lastUpload = new Date(); } /** * Set the timestamp when the device was last programmed. * * @param lastUpload - the last upload timestamp. */ public void setLastUpload(Date lastUpload) { this.lastUpload = lastUpload; } /** * @return The physical address that was programmed last. */ public PhysicalAddress getPhysicalAddress() { return PhysicalAddress.valueOf(physicalAddress); } /** * Set the physical address that was programmed last. * * @param physicalAddress - the physical address to set. */ public void setPhysicalAddress(PhysicalAddress physicalAddress) { this.physicalAddress = physicalAddress.getAddr(); } /** * Test if everything in the device is up to date. */ public boolean isValid() { return communicationValid && parametersValid && programValid && isPhysicalAddressValid(); } /** * Test if the communication objects in the device are up to date. * * @return the communication valid flag. */ public boolean isCommunicationValid() { return communicationValid; } /** * Set if the communication objects in the device are up to date. * * @param communicationValid - the communication valid flag to set */ public void setCommunicationValid(boolean communicationValid) { this.communicationValid = communicationValid; } /** * Test if the parameters in the device are up to date. * * @return the parameters valid flag. */ public boolean isParametersValid() { return parametersValid; } /** * Set if the parameters in the device are up to date. * * @param parametersValid - the parameters valid flag to set */ public void setParametersValid(boolean parametersValid) { this.parametersValid = parametersValid; } /** * Test if the physical address of the device is up to date. * * @return True if the physical address is valid. */ public boolean isPhysicalAddressValid() { return device == null || device.getPhysicalAddress().equals(getPhysicalAddress()); } /** * Test if the application program of the device is up to date. * * @return the program valid flag. */ public boolean isProgramValid() { return programValid; } /** * Set if the application program of the device is up to date. * * @param programValid - the program valid flag to set. */ public void setProgramValid(boolean programValid) { this.programValid = programValid; } /** * {@inheritDoc} */ @Override public int hashCode() { return device == null ? 0 : device.getId(); } }
gpl-3.0
rubenswagner/L2J-Global
dist/game/data/scripts/quests/Q00144_PailakaInjuredDragon/32509-01.html
755
<html><head><body>Ketra Orc Intelligence Officer:<br> Dejakar Oroka!<br> You hold the Spear of Silenos! Your coming was foretold.<br> But Latana's power is very strong, and the Spear of Silenos is not yet strong enough.<br> If you have the Scroll of Enchant Weapon made with the blood of Silenos, I will perform a sacred ceremony to enhance the spear!<br> If you wish, I can also bestow on you some of our tribe's powerful enhancement magic!<br> <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00144_PailakaInjuredDragon upgrade_weapon">"I want to have my weapon enhanced."</Button> <Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00144_PailakaInjuredDragon enhancement_page">"Can I get some enhancement magic?"</Button> </body></html>
gpl-3.0
xbeaudouin/librenms
html/includes/table/fdb-search.inc.php
5786
<?php use LibreNMS\Authentication\LegacyAuth; $param = array(); $select = "SELECT `F`.`port_id` AS `port_id`, `F`.`device_id`, `ifInErrors`, `ifOutErrors`, `ifOperStatus`,"; $select .= " `ifAdminStatus`, `ifAlias`, `ifDescr`, `mac_address`, `V`.`vlan_vlan` AS `vlan`,"; $select .= " `hostname`, `hostname` AS `device` , group_concat(`M`.`ipv4_address` SEPARATOR ', ') AS `ipv4_address`,"; $select .= " `P`.`ifDescr` AS `interface`"; $sql = " FROM `ports_fdb` AS `F`"; $sql .= " LEFT JOIN `devices` AS `D` USING(`device_id`)"; $sql .= " LEFT JOIN `ports` AS `P` USING(`port_id`, `device_id`)"; $sql .= " LEFT JOIN `vlans` AS `V` USING(`vlan_id`, `device_id`)"; // Add counter so we can ORDER BY the port_id with least amount of macs attached $sql .= " LEFT JOIN ( SELECT `port_id`, COUNT(*) `portCount` FROM `ports_fdb` GROUP BY `port_id` ) AS `C` ON `C`.`port_id` = `F`.`port_id`"; $where = " WHERE 1"; if (!LegacyAuth::user()->hasGlobalRead()) { $sql .= ' LEFT JOIN `devices_perms` AS `DP` USING (`device_id`)'; $where .= ' AND `DP`.`user_id`=?'; $param[] = LegacyAuth::id(); } if (is_numeric($vars['device_id'])) { $where .= ' AND `F`.`device_id`=?'; $param[] = $vars['device_id']; } if (is_numeric($vars['port_id'])) { $where .= ' AND `F`.`port_id`=?'; $param[] = $vars['port_id']; } if (isset($vars['searchPhrase']) && !empty($vars['searchPhrase'])) { $search = mres(trim($vars['searchPhrase'])); $mac_search = '%'.str_replace(array(':', ' ', '-', '.', '0x'), '', $search).'%'; if (isset($vars['searchby']) && $vars['searchby'] == 'vlan') { $where .= ' AND `V`.`vlan_vlan` = ?'; $param[] = (int)$search; } elseif (isset($vars['searchby']) && $vars['searchby'] == 'ip') { $ip = $vars['searchPhrase']; $ip_search = '%'.mres(trim($ip)).'%'; $sql .= " LEFT JOIN `ipv4_mac` AS `M` USING (`mac_address`)"; $where .= ' AND `M`.`ipv4_address` LIKE ?'; $param[] = $ip_search; } elseif (isset($vars['searchby']) && $vars['searchby'] == 'dnsname') { $ip = gethostbyname($vars['searchPhrase']); $ip_search = '%'.mres(trim($ip)).'%'; $sql .= " LEFT JOIN `ipv4_mac` AS `M` USING (`mac_address`)"; $where .= ' AND `M`.`ipv4_address` LIKE ?'; $param[] = $ip_search; } elseif (isset($vars['searchby']) && $vars['searchby'] == 'description') { $desc_search = '%' . $search . '%'; $where .= ' AND `P`.`ifAlias` LIKE ?'; $param[] = $desc_search; } elseif (isset($vars['searchby']) && $vars['searchby'] == 'mac') { $where .= ' AND `F`.`mac_address` LIKE ?'; $param[] = $mac_search; } else { $sql .= " LEFT JOIN `ipv4_mac` AS `M` USING (`mac_address`)"; $where .= ' AND (`V`.`vlan_vlan` = ? OR `F`.`mac_address` LIKE ? OR `P`.`ifAlias` LIKE ? OR `M`.`ipv4_address` LIKE ?)'; $param[] = (int)$search; $param[] = $mac_search; $param[] = '%' . $search . '%'; $param[] = '%' . gethostbyname(trim($vars['searchPhrase'])) . '%'; } } $total = (int)dbFetchCell("SELECT COUNT(*) $sql $where", $param); // Don't use ipv4_mac in count it will inflate the rows unless we aggregate it // Except for ip search. if (empty($vars['searchPhrase']) || isset($vars['searchby']) && $vars['searchby'] != 'ip' && $vars['searchby'] != 'dnsname') { $sql .= " LEFT JOIN `ipv4_mac` AS `M` USING (`mac_address`)"; } $sql .= $where; $sql .= " GROUP BY `device_id`, `port_id`, `mac_address`, `vlan`"; // Get most likely endpoint port_id, used to add a visual marker for this element // in the list if (isset($vars['searchby']) && !empty($vars['searchPhrase']) && $vars['searchby'] != 'vlan') { $countsql .= " ORDER BY `C`.`portCount` ASC LIMIT 1"; foreach (dbFetchRows($select . $sql . $countsql, $param) as $entry) { $endpoint_portid = $entry['port_id']; } } if (!isset($sort) || empty($sort)) { $sort = '`C`.`portCount` ASC'; } $sql .= " ORDER BY $sort"; if (isset($current)) { $limit_low = (($current * $rowCount) - ($rowCount)); $limit_high = $rowCount; } if ($rowCount != -1) { $sql .= " LIMIT $limit_low,$limit_high"; } $response = array(); foreach (dbFetchRows($select . $sql, $param) as $entry) { $entry = cleanPort($entry); if (!$ignore) { if ($entry['ifInErrors'] > 0 || $entry['ifOutErrors'] > 0) { $error_img = generate_port_link( $entry, "<i class='fa fa-flag fa-lg' style='color:red' aria-hidden='true'></i>", 'port_errors' ); } else { $error_img = ''; } if ($entry['port_id'] == $endpoint_portid) { $endpoint_img = "<i class='fa fa-star fa-lg' style='color:green' aria-hidden='true' title='This indicates the most likely endpoint switchport'></i>"; $dnsname = gethostbyaddr(reset(explode(',', $entry['ipv4_address']))) ?: 'N/A'; } else { $endpoint_img = ''; $dnsname = "N/A"; } $response[] = array( 'device' => generate_device_link(device_by_id_cache($entry['device_id'])), 'mac_address' => formatMac($entry['mac_address']), 'ipv4_address' => $entry['ipv4_address'], 'interface' => generate_port_link($entry, makeshortif(fixifname($entry['label']))).' '.$error_img.' '.$endpoint_img, 'vlan' => $entry['vlan'], 'description' => $entry['ifAlias'], 'dnsname' => $dnsname, ); }//end if unset($ignore); }//end foreach $output = array( 'current' => $current, 'rowCount' => $rowCount, 'rows' => $response, 'total' => $total, ); echo _json_encode($output);
gpl-3.0
rhexsel/cmips
cMIPS/bin/elf2mif.sh
2516
#!/bin/bash # set -x if [ ! -v tree ] ; then # you must set the location of the cMIPS root directory in the variable tree # tree=${HOME}/cMIPS # export tree="$(dirname "$(pwd)")" export tree="$(echo $PWD | sed -e 's:\(/.*/cMIPS\)/.*:\1:')" fi # path to cross-compiler and binutils must be set to your installation WORK_PATH=/home/soft/linux/mips/cross/bin HOME_PATH=/opt/cross/bin if [ -x /opt/cross/bin/mips-gcc ] ; then export PATH=$PATH:$HOME_PATH elif [ -x /home/soft/linux/mips/cross/bin/mips-gcc ] ; then export PATH=$PATH:$WORK_PATH else echo -e "\n\n\tPANIC: cross-compiler not installed\n\n" ; exit 1; fi usage() { cat << EOF usage: $0 some_file_name.elf creates ROM.mif from an ELF object file some_file_name.elf OPTIONS: -h Show this message EOF } if [ $# = 0 ] ; then usage ; exit 1 ; fi inp=${1%.elf} if [ ${inp}.elf != $1 ] ; then usage ; echo " invalid input: $1"; exit 1 fi elf=$1 x_ROM_BASE=$(sed -n '/x_INST_BASE_ADDR/s/.*:= x"\(.*\)".*$/\1/p' $tree/vhdl/packageMemory.vhd) ROM_BASE=$((16#$x_ROM_BASE)) x_ROM_SIZE=$(sed -n '/x_INST_MEM_SZ/s/.*:= x"\(.*\)".*$/\1/p' $tree/vhdl/packageMemory.vhd) ROM_SZ=$((16#$x_ROM_SIZE)) mif=ROM.mif tmp=ROM.tmp mips-objdump -z -D -EL --section .text $elf |\ sed -e '1,6d' -e '/^$/d' -e '/^ /!d' -e 's:\t: :g' \ -e 's#^ *\([a-f0-9]*\): *\(........\) *\(.*\)$#\2;#' |\ awk 'BEGIN{c='$ROM_BASE';} //{ printf "%d : %s\n",c,$1 ; c=c+1; }' > $tmp echo -e "\n-- cMIPS code\n\nDEPTH=${ROM_SZ};\nWIDTH=32;\n" > $mif echo -e "ADDRESS_RADIX=DEC;\nDATA_RADIX=HEX;\nCONTENT BEGIN" >> $mif cat $tmp >> $mif echo "END;" >> $mif x_RAM_BASE=$(sed -n '/x_DATA_BASE_ADDR/s/.*:= x"\(.*\)".*$/\1/p' $tree/vhdl/packageMemory.vhd) RAM_BASE=$((16#$x_RAM_BASE)) x_RAM_SIZE=$(sed -n '/x_DATA_MEM_SZ/s/.*:= x"\(.*\)".*$/\1/p' $tree/vhdl/packageMemory.vhd) RAM_SZ=$((16#$x_RAM_SIZE)) mif=RAM.mif tmp=RAM.tmp mips-objdump -z -D -EL --section .data --section .rodata --section rodata1 --section .data1 --section .sdata --section .lit8 --section .lit4 --section .sbss --section .bss $elf |\ sed -e '1,6d' -e '/^$/d' -e '/^ /!d' -e 's:\t: :g' \ -e 's#^ *\([a-f0-9]*\): *\(........\) *\(.*\)$#\2;#' |\ awk 'BEGIN{c='$RAM_BASE';} //{ printf "%d : %s\n",c,$1 ; c=c+1; }' > $tmp echo -e "\n-- cMIPS data\n\nDEPTH=${RAM_SZ};\nWIDTH=32;\n" > $mif echo -e "ADDRESS_RADIX=DEC;\nDATA_RADIX=HEX;\nCONTENT BEGIN" >> $mif cat $tmp >> $mif echo "END;" >> $mif # rm -f {ROM,RAM}.tmp exit 0
gpl-3.0
simon816/ComcraftModLoader
src/net/comcraft/src/RMS.java
2746
package net.comcraft.src; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; import javax.microedition.rms.RecordStore; import javax.microedition.rms.RecordStoreException; import javax.microedition.rms.RecordStoreNotOpenException; public final class RMS { private RecordStore recordStore; private RMS(String recordStoreName, boolean create) { try { recordStore = RecordStore.openRecordStore(recordStoreName, create); } catch (RecordStoreException ex) { //#debug debug ex.printStackTrace(); throw new ComcraftException("Can't open record store! Record store name: " + recordStoreName + " create if nesescary: " + create, ex); } } public static RMS openRecordStore(String recordStoreName, boolean create) { return new RMS(recordStoreName, create); } public DataInputStream getRecord(int id) { try { return new DataInputStream(new ByteArrayInputStream(recordStore.getRecord(id))); } catch (RecordStoreException ex) { //#debug debug ex.printStackTrace(); throw new ComcraftException("Exception while getting record in record store!", ex); } } public void addRecord() { try { recordStore.addRecord(new byte[1], 0, 1); } catch (RecordStoreException ex) { //#debug debug ex.printStackTrace(); throw new ComcraftException("Exception while adding record in record store!", ex); } } public void setRecord(int id, ByteArrayOutputStream byteArrayOutputStream) { byte[] byteArray = byteArrayOutputStream.toByteArray(); try { recordStore.setRecord(id, byteArray, 0, byteArray.length); } catch (RecordStoreException ex) { //#debug debug ex.printStackTrace(); throw new ComcraftException("Exception while setting record in record store! Record id: " + id, ex); } } public boolean hasAnyRecord() { try { return recordStore.getNumRecords() != 0; } catch (RecordStoreNotOpenException ex) { //#debug debug ex.printStackTrace(); throw new ComcraftException("Exception while checking if record store has any records! Record strore isn't opened.", ex); } } public void closeRecordStore() { try { recordStore.closeRecordStore(); } catch (RecordStoreException ex) { //#debug debug ex.printStackTrace(); throw new ComcraftException("Exception while closing record store !", ex); } } }
gpl-3.0
heuermh/personal-genome-client
client/src/main/java/com/github/heuermh/personalgenome/client/DrugResponse.java
2053
/* personal-genome-client Java client for the 23andMe Personal Genome API. Copyright (c) 2012-2013 held jointly by the individual authors. This library 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 3 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; with out 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 this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. > http://www.fsf.org/licensing/licenses/lgpl.html > http://www.opensource.org/licenses/lgpl-license.php */ package com.github.heuermh.personalgenome.client; import static com.google.common.base.Preconditions.checkNotNull; import javax.annotation.concurrent.Immutable; /** * Drug response. */ @Immutable public final class DrugResponse { private final String profileId; private final String reportId; private final String description; private final String status; public DrugResponse(final String profileId, final String reportId, final String description, final String status) { checkNotNull(profileId); checkNotNull(reportId); checkNotNull(description); checkNotNull(status); this.profileId = profileId; this.reportId = reportId; this.description = description; this.status = status; } public String getProfileId() { return profileId; } public String getReportId() { return reportId; } public String getDescription() { return description; } public String getStatus() { return status; } }
gpl-3.0
Expander/FlexibleSUSY
release/generate-slha-output.sh
3593
#!/bin/sh -e # creates SLHA output files for all SLHA input files in the directory # model_files/ (and sub-directories) that begin with LesHouches.in. . # The names of the output files will begin with LesHouches.out. . # Author: Alexander Voigt # directory of this script BASEDIR=$(dirname $0) HOMEDIR=$(readlink -f "${BASEDIR}/../") FSCONFIG="${HOMEDIR}/flexiblesusy-config" model_file_dir="$BASEDIR/../model_files" directory=. #_____________________________________________________________________ help() { cat <<EOF Usage: ./`basename $0` [options] Options: --directory= Output directory (default: ${directory}) --help,-h Print this help message EOF } if test $# -gt 0 ; then while test ! "x$1" = "x" ; do case "$1" in -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; *) optarg= ;; esac case $1 in --directory=*) directory=$optarg ;; --help|-h) help; exit 0 ;; *) echo "Invalid option '$1'. Try $0 --help" ; exit 1 ;; esac shift done fi default_input_files="\ models/CMSSM/LesHouches.in.CMSSM \ models/CMSSMSemiAnalytic/LesHouches.in.CMSSMSemiAnalytic \ models/MSSM/LesHouches.in.MSSM \ models/MSSMatMGUT/LesHouches.in.MSSMatMGUT \ models/MSSMNoFV/LesHouches.in.MSSMNoFV \ models/MSSMNoFVatMGUT/LesHouches.in.MSSMNoFVatMGUT \ models/CMSSMNoFV/LesHouches.in.CMSSMNoFV \ models/NUHMSSM/LesHouches.in.NUHMSSM \ models/lowMSSM/LesHouches.in.lowMSSM \ models/MSSMRHN/LesHouches.in.MSSMRHN \ models/NMSSM/LesHouches.in.NMSSM \ models/NUTNMSSM/LesHouches.in.NUTNMSSM \ models/NUTSMSSM/LesHouches.in.NUTSMSSM \ models/lowNMSSM/LesHouches.in.lowNMSSM \ models/lowNMSSMTanBetaAtMZ/LesHouches.in.lowNMSSMTanBetaAtMZ \ models/SMSSM/LesHouches.in.SMSSM \ models/UMSSM/LesHouches.in.UMSSM \ models/E6SSM/LesHouches.in.E6SSM \ models/MRSSM2/LesHouches.in.MRSSM2 \ models/TMSSM/LesHouches.in.TMSSM \ models/SM/LesHouches.in.SM \ models/HSSUSY/LesHouches.in.HSSUSY \ models/SplitMSSM/LesHouches.in.SplitMSSM \ models/THDMII/LesHouches.in.THDMII \ models/THDMIIMSSMBC/LesHouches.in.THDMIIMSSMBC \ models/HTHDMIIMSSMBC/LesHouches.in.HTHDMIIMSSMBC \ models/HGTHDMIIMSSMBC/LesHouches.in.HGTHDMIIMSSMBC \ models/MSSMEFTHiggs/LesHouches.in.MSSMEFTHiggs \ models/NMSSMEFTHiggs/LesHouches.in.NMSSMEFTHiggs \ models/E6SSMEFTHiggs/LesHouches.in.E6SSMEFTHiggs \ models/MRSSMEFTHiggs/LesHouches.in.MRSSMEFTHiggs \ models/CNMSSM/LesHouches.in.CNMSSM \ models/CE6SSM/LesHouches.in.CE6SSM \ models/MSSMNoFVatMGUTHimalaya/LesHouches.in.MSSMNoFVatMGUTHimalaya \ models/MSSMNoFVHimalaya/LesHouches.in.MSSMNoFVHimalaya \ models/NUHMSSMNoFVHimalaya/LesHouches.in.NUHMSSMNoFVHimalaya \ " [ -z "${directory}" ] && directory=. [ ! -d "${directory}" ] && mkdir -p "${directory}" models=$("$FSCONFIG" --models) echo "Configured models: $models" echo for model in ${models}; do # collect all input files that belong to the model input_files= for dif in ${default_input_files}; do case "${dif}" in ${model}/*) input_files="${input_files} ${HOMEDIR}/${dif}" ;; esac done for ifile in ${input_files}; do ofile=$(echo "${directory}/$(basename ${ifile})" | sed -e 's/\.in\./.out./') sg=$(echo "${model}" | awk -F / '{ print $NF }') exe="${HOMEDIR}/${model}/run_${sg}.x" cmd="${exe} --slha-input-file=${ifile} --slha-output-file=${ofile} > /dev/null 2>&1" printf "%s" "${cmd}" eval "${cmd}" || { printf " [FAIL]\n"; exit 1; } printf " [OK]\n" done done
gpl-3.0
jerumble/vVoteVerifier
libs/commons-logging-1.1.3/apidocs/org/apache/commons/logging/package-tree.html
6136
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html" charset="iso-8859-1"> <title>org.apache.commons.logging Class Hierarchy (Commons Logging 1.1.3 API)</title> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="org.apache.commons.logging Class Hierarchy (Commons Logging 1.1.3 API)"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><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>Class</li> <li>Use</li> <li class="navBarCell1Rev">Tree</li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.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><a href="../../../../org/apache/commons/logging/impl/package-tree.html">Next</a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/apache/commons/logging/package-tree.html" target="_top">Frames</a></li> <li><a href="package-tree.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"> <h1 class="title">Hierarchy For Package org.apache.commons.logging</h1> <span class="strong">Package Hierarchies:</span> <ul class="horizontal"> <li><a href="../../../../overview-tree.html">All Packages</a></li> </ul> </div> <div class="contentContainer"> <h2 title="Class Hierarchy">Class Hierarchy</h2> <ul> <li type="circle">java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><span class="strong">Object</span></a> <ul> <li type="circle">org.apache.commons.logging.<a href="../../../../org/apache/commons/logging/LogFactory.html" title="class in org.apache.commons.logging"><span class="strong">LogFactory</span></a></li> <li type="circle">org.apache.commons.logging.<a href="../../../../org/apache/commons/logging/LogSource.html" title="class in org.apache.commons.logging"><span class="strong">LogSource</span></a></li> <li type="circle">java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><span class="strong">Throwable</span></a> (implements java.io.<a href="http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>) <ul> <li type="circle">java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><span class="strong">Exception</span></a> <ul> <li type="circle">java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang"><span class="strong">RuntimeException</span></a> <ul> <li type="circle">org.apache.commons.logging.<a href="../../../../org/apache/commons/logging/LogConfigurationException.html" title="class in org.apache.commons.logging"><span class="strong">LogConfigurationException</span></a></li> </ul> </li> </ul> </li> </ul> </li> </ul> </li> </ul> <h2 title="Interface Hierarchy">Interface Hierarchy</h2> <ul> <li type="circle">org.apache.commons.logging.<a href="../../../../org/apache/commons/logging/Log.html" title="interface in org.apache.commons.logging"><span class="strong">Log</span></a></li> </ul> </div> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><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>Class</li> <li>Use</li> <li class="navBarCell1Rev">Tree</li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.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><a href="../../../../org/apache/commons/logging/impl/package-tree.html">Next</a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?org/apache/commons/logging/package-tree.html" target="_top">Frames</a></li> <li><a href="package-tree.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 ======= --> <p class="legalCopy"><small>Copyright &#169; 2001-2013 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> </body> </html>
gpl-3.0
salamader/ffxi-a
scripts/zones/Tahrongi_Canyon/mobs/Skeleton_Warrior.lua
815
----------------------------------- -- Area: Tahrongi Canyon (117) -- Mob: Skeleton_Warrior ----------------------------------- -- require("scripts/zones/Tahrongi_Canyon/MobIDs"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) end; ----------------------------------- -- onMobSpawn ----------------------------------- function onMobSpawn(mob) end; ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEngaged(mob,target) end; ----------------------------------- -- onMobFight ----------------------------------- function onMobFight(mob,target) end; ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath(mob,killer) end;
gpl-3.0
BitTigerInst/Kumamon
zhihu/manage.py
68
__author__ = "jing" from scrapy.cmdline import execute execute()
gpl-3.0
nacjm/MatterOverdrive
src/main/java/matteroverdrive/util/EntityDamageSourcePhaser.java
1754
package matteroverdrive.util; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.util.EntityDamageSource; import net.minecraft.util.text.ITextComponent; import net.minecraft.util.text.TextComponentTranslation; /** * Created by Simeon on 4/16/2015. */ public class EntityDamageSourcePhaser extends EntityDamageSource { protected final Entity damageSourceEntity; public EntityDamageSourcePhaser(Entity p_i1567_2_) { super("phaser", p_i1567_2_); this.damageSourceEntity = p_i1567_2_; this.setProjectile(); } public Entity getEntity() { return damageSourceEntity; } public ITextComponent func_151519_b(EntityLivingBase entity) { String normalMsg = "death.attack." + damageType; String itemMsg = normalMsg + ".item"; if (damageSourceEntity instanceof EntityLivingBase) { ItemStack itemStack = ((EntityLivingBase)damageSourceEntity).getActiveItemStack(); if (itemStack != null && itemStack.hasDisplayName() && MOStringHelper.hasTranslation(itemMsg)) { return new TextComponentTranslation(itemMsg, entity.getDisplayName().getFormattedText(), damageSourceEntity.getDisplayName().getFormattedText(), itemStack.getTextComponent()); } } return new TextComponentTranslation(normalMsg, entity.getDisplayName(), damageSourceEntity.getDisplayName()); } /** * Return whether this damage source will have its damage amount scaled based on the current difficulty. */ public boolean isDifficultyScaled() { return this.damageSourceEntity != null && this.damageSourceEntity instanceof EntityLivingBase && !(this.damageSourceEntity instanceof EntityPlayer); } }
gpl-3.0
darlinghq/darling
src/frameworks/SecurityInterface/include/SecurityInterface/PWALengthSlider.h
761
/* This file is part of Darling. Copyright (C) 2017 Lubos Dolezel Darling 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. Darling 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 Darling. If not, see <http://www.gnu.org/licenses/>. */ #include <Foundation/Foundation.h> @interface PWALengthSlider : NSObject @end
gpl-3.0
chinapacs/ImageViewer
ImageViewer/AdvancedImaging/Fusion/PETFusionDisplaySetFactory.cs
12218
#region License // Copyright (c) 2013, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This file is part of the ClearCanvas RIS/PACS open source project. // // The ClearCanvas RIS/PACS open source project 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. // // The ClearCanvas RIS/PACS open source project 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 // the ClearCanvas RIS/PACS open source project. If not, see // <http://www.gnu.org/licenses/>. #endregion using System; using System.Collections.Generic; using System.Drawing; using ClearCanvas.Common; using ClearCanvas.Dicom; using ClearCanvas.Dicom.Iod; using ClearCanvas.Dicom.Utilities; using ClearCanvas.ImageViewer.AdvancedImaging.Fusion.Utilities; using ClearCanvas.ImageViewer.Comparers; using ClearCanvas.ImageViewer.Mathematics; using ClearCanvas.ImageViewer.StudyManagement; namespace ClearCanvas.ImageViewer.AdvancedImaging.Fusion { public class PETFusionDisplaySetFactory : DisplaySetFactory { private const float _halfPi = (float) Math.PI/2; private const float _gantryTiltTolerance = 0.1f; // allowed tolerance for gantry tilt (in radians) private const float _orientationTolerance = 0.01f; // allowed tolerance for image orientation (direction cosine values) private const float _minimumSliceSpacing = 0.01f; // minimum spacing required between slices (in mm) private const float _sliceSpacingTolerance = 0.001f; // allowed tolerance for slice spacing (in mm) private const string _attenuationCorrectionCode = "ATTN"; private const string _petModality = "PT"; private readonly PETFusionType _fusionType; public PETFusionDisplaySetFactory(PETFusionType fusionType) { _fusionType = fusionType; } public PETFusionType FusionType { get { return _fusionType; } } private static bool IsAttenuationCorrected(Sop sop) { var correctionTypes = DicomStringHelper.GetStringArray(sop[DicomTags.CorrectedImage].ToString().ToUpperInvariant()); return (Array.FindIndex(correctionTypes, s => s == _attenuationCorrectionCode) >= 0); } public override List<IDisplaySet> CreateDisplaySets(Series series) { List<IDisplaySet> displaySets = new List<IDisplaySet>(); if (IsValidPETFusionSeries(series)) { var fuseableBaseSeries = new List<Series>(FindFuseableBaseSeries(series)); if (fuseableBaseSeries.Count > 0) { string error; if (!CheckPETFusionSeries(series, out error)) { // if there is an error with the PET series, avoid trying to generate the volume entirely // instead, generate a placeholder series for each base series foreach (var baseSeries in fuseableBaseSeries) displaySets.Add(CreateFusionErrorDisplaySet(baseSeries, series, error)); return displaySets; } using (var fusionOverlayData = new FusionOverlayData(GetFrames(series.Sops))) { foreach (var baseSeries in fuseableBaseSeries) { if (!CheckBaseSeries(baseSeries, out error)) { // if there is an error with a single base series, generate a placeholder series displaySets.Add(CreateFusionErrorDisplaySet(baseSeries, series, error)); continue; } var descriptor = new PETFusionDisplaySetDescriptor(baseSeries.GetIdentifier(), series.GetIdentifier(), IsAttenuationCorrected(series.Sops[0])); var displaySet = new DisplaySet(descriptor); foreach (var baseFrame in GetFrames(baseSeries.Sops)) { using (var fusionOverlaySlice = fusionOverlayData.CreateOverlaySlice(baseFrame)) { var fus = new FusionPresentationImage(baseFrame, fusionOverlaySlice); displaySet.PresentationImages.Add(fus); } } displaySet.PresentationImages.Sort(); displaySets.Add(displaySet); } } } } return displaySets; } private static DisplaySet CreateFusionErrorDisplaySet(Series baseSeries, Series fusionSeries, string error) { // create a basic descriptor that's templated from the real PET fusion display descriptor var baseDescriptor = new PETFusionDisplaySetDescriptor(baseSeries.GetIdentifier(), fusionSeries.GetIdentifier(), IsAttenuationCorrected(fusionSeries.Sops[0])); var descriptor = new BasicDisplaySetDescriptor {Description = baseDescriptor.Description, Name = baseDescriptor.Name, Number = baseDescriptor.Number, Uid = baseDescriptor.Uid}; var displaySet = new DisplaySet(descriptor); displaySet.PresentationImages.Add(new ErrorPresentationImage(SR.MessageFusionError + Environment.NewLine + string.Format(SR.FormatReason, error))); return displaySet; } public bool IsValidBaseSeries(Series series) { switch (_fusionType) { case PETFusionType.CT: if (series.Modality != _fusionType.ToString()) return false; var frames = GetFrames(series.Sops); if (frames.Count < 5) return false; return true; } return false; } public bool CheckBaseSeries(Series series, out string error) { if (!IsValidBaseSeries(series)) { error = SR.MessageInvalidSeries; return false; } var frames = GetFrames(series.Sops); if (!AssertSameSeriesFrameOfReference(frames)) { error = SR.MessageInconsistentFramesOfReference; return false; } foreach (Frame frame in frames) { if (frame.ImageOrientationPatient.IsNull) { error = SR.MessageMissingImageOrientation; return false; } //TODO (CR Sept 2010): ImagePositionPatient? if (frame.NormalizedPixelSpacing.IsNull) { error = SR.MessageMissingPixelSpacing; return false; } } error = null; return true; } public bool IsValidPETFusionSeries(Series series) { if (series.Modality != _petModality) return false; var frames = GetFrames(series.Sops); if (frames.Count < 5) return false; return true; } public bool CheckPETFusionSeries(Series series, out string error) { if (!IsValidPETFusionSeries(series)) { error = SR.MessageInvalidSeries; return false; } var frames = GetFrames(series.Sops); if (!AssertSameSeriesFrameOfReference(frames)) { error = SR.MessageInconsistentFramesOfReference; return false; } // ensure all frames have the same orientation ImageOrientationPatient orient = frames[0].ImageOrientationPatient; double minColumnSpacing = double.MaxValue, minRowSpacing = double.MaxValue; double maxColumnSpacing = double.MinValue, maxRowSpacing = double.MinValue; foreach (Frame frame in frames) { if (frame.ImageOrientationPatient.IsNull) { error = SR.MessageMissingImageOrientation; return false; } if (!frame.ImageOrientationPatient.EqualsWithinTolerance(orient, _orientationTolerance)) { error = SR.MessageInconsistentImageOrientation; return false; } PixelSpacing pixelSpacing = frame.NormalizedPixelSpacing; if (pixelSpacing.IsNull) { error = SR.MessageMissingPixelSpacing; return false; } minColumnSpacing = Math.Min(minColumnSpacing, pixelSpacing.Column); maxColumnSpacing = Math.Max(maxColumnSpacing, pixelSpacing.Column); minRowSpacing = Math.Min(minRowSpacing, pixelSpacing.Row); maxRowSpacing = Math.Max(maxRowSpacing, pixelSpacing.Row); } //Aren't many of these rules taken from MPR? If so, we should create a rule object. // ensure all frames have consistent pixel spacing if (maxColumnSpacing - minColumnSpacing > _sliceSpacingTolerance || maxRowSpacing - minRowSpacing > _sliceSpacingTolerance) { error = SR.MessageInconsistentPixelSpacing; return false; } // ensure all frames are sorted by slice location frames.Sort(new SliceLocationComparer().Compare); // ensure all frames are equally spaced float? nominalSpacing = null; for (int i = 1; i < frames.Count; i++) { float currentSpacing = CalcSpaceBetweenPlanes(frames[i], frames[i - 1]); if (currentSpacing < _minimumSliceSpacing) { error = SR.MessageInconsistentImageSpacing; return false; } if (!nominalSpacing.HasValue) nominalSpacing = currentSpacing; if (!FloatComparer.AreEqual(currentSpacing, nominalSpacing.Value, _sliceSpacingTolerance)) { error = SR.MessageInconsistentImageSpacing; return false; } } // ensure frames are not tilted about unsupposed axis combinations (the gantry correction algorithm only supports rotations about X) if (!IsSupportedGantryTilt(frames)) // suffices to check first one... they're all co-planar now!! { error = SR.MessageUnsupportedGantryTilt; return false; } error = null; return true; } public bool CanFuse(Series baseSeries, Series petSeries) { if (!IsValidBaseSeries(baseSeries)) return false; if (!IsValidPETFusionSeries(petSeries)) return false; var baseFrames = GetFrames(baseSeries.Sops); var petFrames = GetFrames(petSeries.Sops); if (baseFrames[0].StudyInstanceUid != petFrames[0].StudyInstanceUid) return false; return true; } private IEnumerable<Series> FindFuseableBaseSeries(Series petSeries) { var petStudy = petSeries.ParentStudy; if (petStudy == null) yield break; foreach (var series in petStudy.Series) { if (CanFuse(series, petSeries)) yield return series; } } private static bool AssertSameSeriesFrameOfReference(IList<Frame> frames) { // ensure all frames have are from the same series, and have the same frame of reference string studyInstanceUid = frames[0].StudyInstanceUid; string seriesInstanceUid = frames[0].SeriesInstanceUid; string frameOfReferenceUid = frames[0].FrameOfReferenceUid; foreach (Frame frame in frames) { if (frame.StudyInstanceUid != studyInstanceUid) return false; if (frame.SeriesInstanceUid != seriesInstanceUid) return false; if (frame.FrameOfReferenceUid != frameOfReferenceUid) return false; } return true; } private static List<Frame> GetFrames(IEnumerable<Sop> sops) { List<Frame> list = new List<Frame>(); foreach (var sop in sops) if (sop is ImageSop) list.AddRange(((ImageSop) sop).Frames); return list; } private static float CalcSpaceBetweenPlanes(Frame frame1, Frame frame2) { Vector3D point1 = frame1.ImagePlaneHelper.ConvertToPatient(new PointF(0, 0)); Vector3D point2 = frame2.ImagePlaneHelper.ConvertToPatient(new PointF(0, 0)); Vector3D delta = point1 - point2; return delta.IsNull ? 0f : delta.Magnitude; } private static bool IsSupportedGantryTilt(IList<Frame> frames) { try { // neither of these should return null since we already checked for image orientation and position (patient) var firstImagePlane = frames[0].ImagePlaneHelper; var lastImagePlane = frames[frames.Count - 1].ImagePlaneHelper; Vector3D stackZ = lastImagePlane.ImageTopLeftPatient - firstImagePlane.ImageTopLeftPatient; Vector3D imageX = firstImagePlane.ImageTopRightPatient - firstImagePlane.ImageTopLeftPatient; if (!stackZ.IsOrthogonalTo(imageX, _gantryTiltTolerance)) { // this is a gantry slew (gantry tilt about Y axis) return false; } return true; } catch (Exception ex) { Platform.Log(LogLevel.Debug, ex, "Unexpected exception encountered while checking for supported gantry tilts"); return false; } } } }
gpl-3.0
solus-cold-storage/evopop-gtk-theme
EvoPop-Azure/gtk-3.0/gtk-dark.css
249396
/* Copyright 2016 Peter Cornelis. * * This file is part of the EvoPop GTK theme. * * Authors: * Sam Hewitt <[email protected]> * Peter Cornelis <[email protected]> * * The EvoPop GTK theme 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. * * The EvoPop GTK theme 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 the EvoPop GTK theme. If not, see http://www.gnu.org/licenses/. */ /* GTK NAMED COLORS * ---------------- * use responsibly! */ /* widget text/foreground color */ @define-color theme_fg_color #fefefe; /* text color for entries, views and content in general */ @define-color theme_text_color #fefefe; /* widget base background color */ @define-color theme_bg_color #283141; /* text widgets and the like base background color */ @define-color theme_base_color #39465c; /* base background color of selections */ @define-color theme_selected_bg_color #37b9a5; /* text/foreground color of selections */ @define-color theme_selected_fg_color #fefefe; /* base background color of disabled widgets */ @define-color insensitive_bg_color #2f394c; /* text foreground color of disabled widgets */ @define-color insensitive_fg_color #9398a0; /* disabled text widgets and the like base background color */ @define-color insensitive_base_color #39465c; /* widget text/foreground color on backdrop windows */ @define-color theme_unfocused_fg_color rgba(254, 254, 254, 0.8); /* text color for entries, views and content in general on backdrop windows */ @define-color theme_unfocused_text_color #fefefe; /* widget base background color on backdrop windows */ @define-color theme_unfocused_bg_color #283141; /* text widgets and the like base background color on backdrop windows */ @define-color theme_unfocused_base_color #3b485f; /* base background color of selections on backdrop windows */ @define-color theme_unfocused_selected_bg_color #37b9a5; /* text/foreground color of selections on backdrop windows */ @define-color theme_unfocused_selected_fg_color #fefefe; /* widgets main borders color */ @define-color borders rgba(0, 0, 0, 0.1); /* widgets main borders color on backdrop windows */ @define-color unfocused_borders rgba(27, 33, 44, 0.19); /* these are pretty self explicative */ @define-color warning_color #ee8e00; @define-color error_color #b11e39; @define-color success_color #2b9282; /* these colors are exported for the window manager and shouldn't be used in applications, read if you used those and something break with a version upgrade you're on your own... */ @define-color wm_title shade(#fefefe, 1.8); @define-color wm_unfocused_title rgba(254, 254, 254, 0.8); @define-color wm_highlight transparent; @define-color wm_borders_edge rgba(255, 255, 255, 0.1); @define-color wm_bg_a shade(#283141, 1.2); @define-color wm_bg_b #283141; @define-color wm_shadow alpha(black, 0.35); @define-color wm_border alpha(black, 0.18); @define-color wm_button_hover_color_a shade(#283141, 1.3); @define-color wm_button_hover_color_b #283141; @define-color wm_button_active_color_a shade(#283141, 0.85); @define-color wm_button_active_color_b shade(#283141, 0.89); @define-color wm_button_active_color_c shade(#283141, 0.9); @define-color content_view_bg #39465c; /***************** * Drawing mixins * *****************/ /********* * Common * *********/ * { padding: 0; -GtkToolButton-icon-spacing: 4; -GtkTextView-error-underline-color: #b11e39; -GtkScrolledWindow-scrollbar-spacing: 0; -GtkToolItemGroup-expander-size: 11; -GtkWidget-text-handle-width: 20; -GtkWidget-text-handle-height: 24; -GtkDialog-button-spacing: 4; -GtkDialog-action-area-border: 0; outline-color: transparent; outline-style: dashed; outline-offset: -3px; outline-width: 1px; -gtk-outline-radius: 2px; -gtk-secondary-caret-color: #37b9a5; } /*********** * Widgets * ***********/ /*************** * Action bars * ***************/ .action-bar { background-color: #151921; border: solid rgba(0, 0, 0, 0.1); border-width: 1px 0 0 0; color: #fefefe; box-shadow: none; } .action-bar:backdrop { background-color: #151921; box-shadow: none; -gtk-icon-effect: dim; } .action-bar:first-child { border-radius: 6px 6px 0px 0px; border-width: 1px 1px 0px 1px; } .action-bar:last-child { border-radius: 0 0 6px 6px; border-width: 0px 1px 1px 1px; } /********************* * App Notifications * *********************/ .app-notification, .app-notification.frame { padding: 10px; border-radius: 0 0 2px 2px; background-color: rgba(30, 37, 49, 0.8); background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent 2px); background-clip: padding-box; } .app-notification:backdrop, .app-notification.frame:backdrop { background-image: none; transition: 200ms ease-out; } .app-notification border, .app-notification.frame border { border: none; } /*************** * Base States * ***************/ .background { color: #fefefe; background-color: #283141; } .background:backdrop { color: rgba(254, 254, 254, 0.8); background-color: #283141; text-shadow: none; -gtk-icon-shadow: none; } /* These wildcard seems unavoidable, need to investigate. Wildcards are bad and troublesome, use them with care, or better, just don't. Everytime a wildcard is used a kitten dies, painfully. */ *:disabled { -gtk-icon-effect: dim; } .gtkstyle-fallback { color: #fefefe; background-color: #283141; } .gtkstyle-fallback:hover { color: #fefefe; background-color: #3b4961; } .gtkstyle-fallback:active { color: #fefefe; background-color: #151921; } .gtkstyle-fallback:disabled { color: #9398a0; background-color: #2f394c; } .gtkstyle-fallback:selected { color: #fefefe; background-color: #37b9a5; } .view, iconview, .view text, iconview text, textview text { color: #fefefe; background-color: #39465c; } .view:backdrop, iconview:backdrop, .view text:backdrop, iconview text:backdrop, textview text:backdrop { color: #d7dade; background-color: #3b485f; } .view:selected:focus, iconview:selected:focus, .view:selected, iconview:selected, .view text:selected:focus, iconview text:selected:focus, textview text:selected:focus, .view text:selected, iconview text:selected, textview text:selected { border-radius: 3px; } textview border { background-color: #313c4f; } .rubberband, rubberband, flowbox rubberband, .content-view rubberband, treeview.view rubberband { border: 1px solid #2b9282; background-color: rgba(43, 146, 130, 0.2); } flowbox flowboxchild { padding: 3px; border-radius: 3px; } flowbox flowboxchild:selected { outline-offset: -2px; } label { caret-color: currentColor; } label.separator { color: #fefefe; } label.separator:backdrop { color: rgba(254, 254, 254, 0.8); } label selection { background-color: #37b9a5; color: #fefefe; } label:disabled { color: #9398a0; } label:disabled:backdrop { color: #455570; } label:backdrop { color: rgba(254, 254, 254, 0.8); } .dim-label, label.separator, .titlebar .title:backdrop, headerbar .title:backdrop, .titlebar .subtitle, headerbar .subtitle, .titlebar .subtitle:backdrop, headerbar .subtitle:backdrop { opacity: 0.55; text-shadow: none; } assistant .sidebar { background-color: #39465c; border-top: 1px solid rgba(0, 0, 0, 0.1); } assistant .sidebar:backdrop { background-color: #3b485f; border-color: rgba(27, 33, 44, 0.19); } assistant.csd .sidebar { border-top-style: none; } assistant .sidebar label { padding: 6px 12px; } assistant .sidebar label.highlight { background-color: #535a67; } .app-notification, .app-notification.frame, .osd .scale-popup, .csd popover.background.touch-selection, .csd popover.background.magnifier, popover.background.touch-selection, popover.background.magnifier, .csd popover.background.osd, popover.background.osd, .osd { color: #fefefe; border: none; background-color: rgba(30, 37, 49, 0.8); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); } .app-notification:backdrop, .osd .scale-popup:backdrop, popover.background.touch-selection:backdrop, popover.background.magnifier:backdrop, popover.background.osd:backdrop, .osd:backdrop { color: rgba(254, 254, 254, 0.8); text-shadow: none; -gtk-icon-shadow: none; } .app-notification:backdrop label, .osd .scale-popup:backdrop label, popover.background.touch-selection:backdrop label, popover.background.magnifier:backdrop label, popover.background.osd:backdrop label, .osd:backdrop label { color: rgba(254, 254, 254, 0.8); } /*********** * Buttons * ***********/ @keyframes needs_attention { from { background-image: -gtk-gradient(radial, center center, 0, center center, 0.01, to(#6ad3c3), to(transparent)); } to { background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(#37b9a5), to(transparent)); } } notebook > header > tabs > arrow, button { min-height: 24px; min-width: 16px; padding: 4px 8px; margin: 1px; border: none; border-radius: 2px; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); font-weight: 700; color: #fefefe; outline-color: rgba(254, 254, 254, 0.3); background-color: #39465c; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } notebook > header > tabs > arrow, button.flat { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; transition: none; } notebook > header > tabs > arrow:hover, button.flat:hover { transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); transition-duration: 500ms; } notebook > header > tabs > arrow:hover:active, button.flat:hover:active { transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); } notebook > header > tabs > arrow:hover, button:hover { color: #fefefe; outline-color: rgba(254, 254, 254, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); -gtk-icon-effect: highlight; } notebook > header > tabs > arrow:active, notebook > header > tabs > arrow:checked, button:active, button:checked { color: #fefefe; outline-color: rgba(254, 254, 254, 0.3); background-color: #31a593; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); transition-duration: 50ms; } notebook > header > tabs > arrow:backdrop, notebook > header > tabs > arrow:backdrop, button:backdrop.flat, button:backdrop { color: #d7dade; outline-color: rgba(254, 254, 254, 0.3); background-color: #3b485f; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); transition: 200ms ease-out; -gtk-icon-effect: none; } notebook > header > tabs > arrow:backdrop label, notebook > header > tabs > arrow:backdrop label, button:backdrop.flat label, button:backdrop label { color: #d7dade; } notebook > header > tabs > arrow:backdrop:active, notebook > header > tabs > arrow:backdrop:checked, notebook > header > tabs > arrow:backdrop:active, notebook > header > tabs > arrow:backdrop:checked, button:backdrop.flat:active, button:backdrop.flat:checked, button:backdrop:active, button:backdrop:checked { color: rgba(254, 254, 254, 0.7); outline-color: rgba(254, 254, 254, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } notebook > header > tabs > arrow:backdrop:active label, notebook > header > tabs > arrow:backdrop:checked label, notebook > header > tabs > arrow:backdrop:active label, notebook > header > tabs > arrow:backdrop:checked label, button:backdrop.flat:active label, button:backdrop.flat:checked label, button:backdrop:active label, button:backdrop:checked label { color: rgba(254, 254, 254, 0.7); } notebook > header > tabs > arrow:backdrop:disabled, notebook > header > tabs > arrow:backdrop:disabled, button:backdrop.flat:disabled, button:backdrop:disabled { color: #d7dade; outline-color: rgba(254, 254, 254, 0.3); background-color: #2f394c; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } notebook > header > tabs > arrow:backdrop:disabled:active, notebook > header > tabs > arrow:backdrop:disabled:checked, notebook > header > tabs > arrow:backdrop:disabled:active, notebook > header > tabs > arrow:backdrop:disabled:checked, button:backdrop.flat:disabled:active, button:backdrop.flat:disabled:checked, button:backdrop:disabled:active, button:backdrop:disabled:checked { color: rgba(254, 254, 254, 0.7); outline-color: rgba(254, 254, 254, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } notebook > header > tabs > arrow:backdrop, notebook > header > tabs > arrow:disabled, notebook > header > tabs > arrow:backdrop:disabled, button.flat:backdrop, button.flat:disabled, button.flat:backdrop:disabled { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; } notebook > header > tabs > arrow:disabled, button:disabled { color: #d7dade; outline-color: rgba(254, 254, 254, 0.3); background-color: #2f394c; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } notebook > header > tabs > arrow:disabled:active, notebook > header > tabs > arrow:disabled:checked, button:disabled:active, button:disabled:checked { color: rgba(254, 254, 254, 0.7); outline-color: rgba(254, 254, 254, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } notebook > header > tabs > arrow:disabled:active label, notebook > header > tabs > arrow:disabled:checked label, button:disabled:active label, button:disabled:checked label { color: rgba(254, 254, 254, 0.7); } notebook > header > tabs > arrow.image-button, button.image-button { min-width: 24px; padding-left: 4px; padding-right: 4px; border-radius: 50px; } notebook > header > tabs > arrow.text-button, button.text-button { padding-left: 16px; padding-right: 16px; } notebook > header > tabs > arrow.text-button.image-button, button.text-button.image-button { padding-left: 8px; padding-right: 8px; border-radius: 2px; } notebook > header > tabs > arrow.text-button.image-button label, button.text-button.image-button label { padding-left: 8px; padding-right: 8px; } combobox:drop(active) button.combo, notebook > header > tabs > arrow:drop(active), button:drop(active) { color: #4e9a06; border-color: #4e9a06; box-shadow: inset 0 0 0 1px #4e9a06; } row:selected button.flat:not(:active):not(:checked):not(:hover):not(disabled) { color: #fefefe; border-color: transparent; } row:selected button.flat:not(:active):not(:checked):not(:hover):not(disabled):backdrop { color: rgba(254, 254, 254, 0.8); } button.osd { min-width: 24px; min-height: 32px; color: #fefefe; border-radius: 2px; outline-color: rgba(254, 254, 254, 0.3); color: #fefefe; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(36, 44, 59, 0.8); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); border: none; box-shadow: none; } button.osd.image-button { min-width: 32px; } button.osd:hover { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(42, 51, 68, 0.8); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); border: none; box-shadow: none; } button.osd:active, button.osd:checked { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(48, 59, 78, 0.8); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); border: none; box-shadow: none; } button.osd:disabled:backdrop, button.osd:disabled { color: rgba(254, 254, 254, 0.5); border-color: rgba(0, 0, 0, 0.7); background-color: rgba(52, 59, 70, 0.5); background-clip: padding-box; box-shadow: none; text-shadow: none; -gtk-icon-shadow: none; border: none; } button.osd:backdrop { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(30, 37, 49, 0.8); background-clip: padding-box; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); border: none; } .app-notification button, .app-notification.frame button, .csd popover.background.touch-selection button, .csd popover.background.magnifier button, popover.background.touch-selection button, popover.background.magnifier button, .osd button { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(36, 44, 59, 0.8); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .app-notification button:hover, popover.background.touch-selection button:hover, popover.background.magnifier button:hover, .osd button:hover { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(42, 51, 68, 0.8); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .app-notification button:active:backdrop, popover.background.touch-selection button:active:backdrop, popover.background.magnifier button:active:backdrop, .app-notification button:active, popover.background.touch-selection button:active, popover.background.magnifier button:active, .app-notification button:checked:backdrop, popover.background.touch-selection button:checked:backdrop, popover.background.magnifier button:checked:backdrop, .app-notification button:checked, popover.background.touch-selection button:checked, popover.background.magnifier button:checked, .osd button:active:backdrop, .osd button:active, .osd button:checked:backdrop, .osd button:checked { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(48, 59, 78, 0.8); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .app-notification button:disabled:backdrop, popover.background.touch-selection button:disabled:backdrop, popover.background.magnifier button:disabled:backdrop, .app-notification button:disabled, popover.background.touch-selection button:disabled, popover.background.magnifier button:disabled, .osd button:disabled:backdrop, .osd button:disabled { color: rgba(254, 254, 254, 0.5); border-color: rgba(0, 0, 0, 0.7); background-color: rgba(52, 59, 70, 0.5); background-clip: padding-box; box-shadow: none; text-shadow: none; -gtk-icon-shadow: none; } .app-notification button:backdrop, popover.background.touch-selection button:backdrop, popover.background.magnifier button:backdrop, .osd button:backdrop { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(30, 37, 49, 0.8); background-clip: padding-box; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .app-notification button.flat, popover.background.touch-selection button.flat, popover.background.magnifier button.flat, .osd button.flat { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; box-shadow: none; text-shadow: 0 1px black; -gtk-icon-shadow: 0 1px black; } .app-notification button.flat:hover, popover.background.touch-selection button.flat:hover, popover.background.magnifier button.flat:hover, .osd button.flat:hover { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(42, 51, 68, 0.8); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .app-notification button.flat:disabled, popover.background.touch-selection button.flat:disabled, popover.background.magnifier button.flat:disabled, .osd button.flat:disabled { color: rgba(254, 254, 254, 0.5); border-color: rgba(0, 0, 0, 0.7); background-color: rgba(52, 59, 70, 0.5); background-clip: padding-box; box-shadow: none; text-shadow: none; -gtk-icon-shadow: none; background-image: none; border-color: transparent; box-shadow: none; } .app-notification button.flat:backdrop, popover.background.touch-selection button.flat:backdrop, popover.background.magnifier button.flat:backdrop, .osd button.flat:backdrop { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; } .app-notification button.flat:active, popover.background.touch-selection button.flat:active, popover.background.magnifier button.flat:active, .app-notification button.flat:checked, popover.background.touch-selection button.flat:checked, popover.background.magnifier button.flat:checked, .osd button.flat:active, .osd button.flat:checked { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(48, 59, 78, 0.8); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.suggested-action { font-weight: 700; color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .selection-mode button.titlebutton, button.suggested-action.flat { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; color: #37b9a5; } button.suggested-action:hover { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.suggested-action:active, button.suggested-action:checked { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.suggested-action:disabled { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.suggested-action:disabled label { color: rgba(255, 255, 255, 0.5); } button.suggested-action:disabled:active, button.suggested-action:disabled:checked { color: rgba(254, 254, 254, 0.7); outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .selection-mode button.titlebutton:backdrop, button.suggested-action:backdrop, button.suggested-action.flat:backdrop { color: rgba(255, 255, 255, 0.4); outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .selection-mode button.titlebutton:backdrop label, button.suggested-action:backdrop label, button.suggested-action.flat:backdrop label { color: #d7dade; } .selection-mode button.titlebutton:backdrop label, button.suggested-action:backdrop label, button.suggested-action.flat:backdrop label { color: rgba(255, 255, 255, 0.5); } .selection-mode button.titlebutton:backdrop:active, .selection-mode button.titlebutton:backdrop:checked, button.suggested-action:backdrop:active, button.suggested-action:backdrop:checked, button.suggested-action.flat:backdrop:active, button.suggested-action.flat:backdrop:checked { color: rgba(254, 254, 254, 0.7); outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .selection-mode button.titlebutton:backdrop:active label, .selection-mode button.titlebutton:backdrop:checked label, button.suggested-action:backdrop:active label, button.suggested-action:backdrop:checked label, button.suggested-action.flat:backdrop:active label, button.suggested-action.flat:backdrop:checked label { color: rgba(254, 254, 254, 0.7); } .selection-mode button.titlebutton:backdrop:disabled, button.suggested-action:backdrop:disabled, button.suggested-action.flat:backdrop:disabled { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .selection-mode button.titlebutton:backdrop:disabled label, button.suggested-action:backdrop:disabled label, button.suggested-action.flat:backdrop:disabled label { color: rgba(255, 255, 255, 0.5); } .selection-mode button.titlebutton:backdrop:disabled:active, .selection-mode button.titlebutton:backdrop:disabled:checked, button.suggested-action:backdrop:disabled:active, button.suggested-action:backdrop:disabled:checked, button.suggested-action.flat:backdrop:disabled:active, button.suggested-action.flat:backdrop:disabled:checked { color: rgba(254, 254, 254, 0.7); outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .selection-mode button.titlebutton:backdrop, .selection-mode button.titlebutton:disabled, .selection-mode button.titlebutton:backdrop:disabled, button.suggested-action.flat:backdrop, button.suggested-action.flat:disabled, button.suggested-action.flat:backdrop:disabled { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; color: rgba(55, 185, 165, 0.8); } button.suggested-action:disabled { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.suggested-action:disabled:active, button.suggested-action:disabled:checked { color: rgba(254, 254, 254, 0.7); outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.suggested-action:disabled:active label, button.suggested-action:disabled:checked label { color: rgba(254, 254, 254, 0.7); } .osd button.suggested-action { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); background-color: #37b9a5; background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .osd button.suggested-action:hover { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(55, 185, 165, 0.7); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .osd button.suggested-action:active:backdrop, .osd button.suggested-action:active, .osd button.suggested-action:checked:backdrop, .osd button.suggested-action:checked { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: #37b9a5; background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .osd button.suggested-action:disabled:backdrop, .osd button.suggested-action:disabled { color: rgba(254, 254, 254, 0.5); border-color: rgba(0, 0, 0, 0.7); background-color: rgba(52, 59, 70, 0.5); background-clip: padding-box; box-shadow: none; text-shadow: none; -gtk-icon-shadow: none; } .osd button.suggested-action:backdrop { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(55, 185, 165, 0.5); background-clip: padding-box; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.destructive-action { font-weight: 700; color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #9b1b32; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.destructive-action.flat { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; color: #9b1b32; } button.destructive-action:hover { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #9b1b32; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.destructive-action:active, button.destructive-action:checked { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #9b1b32; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.destructive-action:disabled { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #9b1b32; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.destructive-action:disabled label { color: rgba(255, 255, 255, 0.5); } button.destructive-action:disabled:active, button.destructive-action:disabled:checked { color: rgba(254, 254, 254, 0.7); outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.destructive-action:backdrop, button.destructive-action.flat:backdrop { color: rgba(255, 255, 255, 0.4); outline-color: rgba(255, 255, 255, 0.3); background-color: #9b1b32; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.destructive-action:backdrop label, button.destructive-action.flat:backdrop label { color: #d7dade; } button.destructive-action:backdrop label, button.destructive-action.flat:backdrop label { color: rgba(255, 255, 255, 0.5); } button.destructive-action:backdrop:active, button.destructive-action:backdrop:checked, button.destructive-action.flat:backdrop:active, button.destructive-action.flat:backdrop:checked { color: rgba(254, 254, 254, 0.7); outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.destructive-action:backdrop:active label, button.destructive-action:backdrop:checked label, button.destructive-action.flat:backdrop:active label, button.destructive-action.flat:backdrop:checked label { color: rgba(254, 254, 254, 0.7); } button.destructive-action:backdrop:disabled, button.destructive-action.flat:backdrop:disabled { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #9b1b32; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.destructive-action:backdrop:disabled label, button.destructive-action.flat:backdrop:disabled label { color: rgba(255, 255, 255, 0.5); } button.destructive-action:backdrop:disabled:active, button.destructive-action:backdrop:disabled:checked, button.destructive-action.flat:backdrop:disabled:active, button.destructive-action.flat:backdrop:disabled:checked { color: rgba(254, 254, 254, 0.7); outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.destructive-action.flat:backdrop, button.destructive-action.flat:disabled, button.destructive-action.flat:backdrop:disabled { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; color: rgba(155, 27, 50, 0.8); } button.destructive-action:disabled { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #9b1b32; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.destructive-action:disabled:active, button.destructive-action:disabled:checked { color: rgba(254, 254, 254, 0.7); outline-color: rgba(255, 255, 255, 0.3); background-color: #9b1b32; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.destructive-action:disabled:active label, button.destructive-action:disabled:checked label { color: rgba(254, 254, 254, 0.7); } .osd button.destructive-action { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); background-color: #9b1b32; background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .osd button.destructive-action:hover { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(155, 27, 50, 0.7); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .osd button.destructive-action:active:backdrop, .osd button.destructive-action:active, .osd button.destructive-action:checked:backdrop, .osd button.destructive-action:checked { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: #9b1b32; background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .osd button.destructive-action:disabled:backdrop, .osd button.destructive-action:disabled { color: rgba(254, 254, 254, 0.5); border-color: rgba(0, 0, 0, 0.7); background-color: rgba(52, 59, 70, 0.5); background-clip: padding-box; box-shadow: none; text-shadow: none; -gtk-icon-shadow: none; } .osd button.destructive-action:backdrop { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(155, 27, 50, 0.5); background-clip: padding-box; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .stack-switcher > button { outline-offset: -3px; } .stack-switcher > button > label { padding-left: 6px; padding-right: 6px; } .stack-switcher > button > image { padding-left: 6px; padding-right: 6px; padding-top: 3px; padding-bottom: 3px; } .stack-switcher > button.text-button { padding-left: 10px; padding-right: 10px; } .stack-switcher > button.image-button { padding-left: 2px; padding-right: 2px; } .stack-switcher > button.needs-attention:active > label, .stack-switcher > button.needs-attention:active > image, .stack-switcher > button.needs-attention:checked > label, .stack-switcher > button.needs-attention:checked > image { animation: none; background-image: none; } .inline-toolbar button, .inline-toolbar button:backdrop { border-radius: 2px; border-width: 1px; } .primary-toolbar button { -gtk-icon-shadow: none; } .stack-switcher > button.needs-attention > label, .stack-switcher > button.needs-attention > image, stacksidebar row.needs-attention > label { animation: needs_attention 150ms ease-in; background-image: -gtk-gradient(radial, center center, 0, center center, 0.5, to(#6ad3c3), to(transparent)), -gtk-gradient(radial, center center, 0, center center, 0.45, to(rgba(0, 0, 0, 0.83529)), to(transparent)); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; background-position: right 3px, right 2px; } .stack-switcher > button.needs-attention > label:backdrop, .stack-switcher > button.needs-attention > image:backdrop, stacksidebar row.needs-attention > label:backdrop { background-size: 6px 6px, 0 0; } .stack-switcher > button.needs-attention > label:dir(rtl), .stack-switcher > button.needs-attention > image:dir(rtl), stacksidebar row.needs-attention > label:dir(rtl) { background-position: left 3px, left 2px; } toolbar button:hover { font-weight: 700; color: #fefefe; outline-color: rgba(254, 254, 254, 0.3); background-color: #1a202b; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } toolbar button:active { font-weight: 700; color: #fefefe; outline-color: rgba(254, 254, 254, 0.3); background-color: #11141b; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .inline-toolbar toolbutton > button { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; } .inline-toolbar toolbutton > button:hover { color: #37b9a5; } .inline-toolbar toolbutton > button:active, .inline-toolbar toolbutton > button:checked { color: #31a593; } .inline-toolbar toolbutton > button:disabled { color: #d7dade; } .inline-toolbar toolbutton > button:disabled:active, .inline-toolbar toolbutton > button:disabled:checked { color: rgba(49, 165, 147, 0.3); } .inline-toolbar toolbutton > button:backdrop { color: #d7dade; } .inline-toolbar toolbutton > button:backdrop:active, .inline-toolbar toolbutton > button:backdrop:checked { color: #31a593; } .inline-toolbar toolbutton > button:backdrop:disabled { color: #d7dade; } .inline-toolbar toolbutton > button:backdrop:disabled:active, .inline-toolbar toolbutton > button:backdrop:disabled:checked { color: rgba(49, 165, 147, 0.3); } toolbar.inline-toolbar toolbutton > button.flat:backdrop, toolbar.inline-toolbar toolbutton:backdrop > button.flat:backdrop { border-color: transparent; box-shadow: none; } .inline-toolbar button, .inline-toolbar button:backdrop, .linked > button, .linked > button:hover, .linked > button:active, .linked > button:checked, .linked > button:backdrop, .linked:not(.vertical) > spinbutton:not(.vertical), .linked:not(.vertical) > entry, .linked > combobox > box > button.combo:dir(ltr), .linked > combobox > box > button.combo:dir(rtl) { border-radius: 0; margin-left: 0; margin-right: 0; } .inline-toolbar button:first-child, .linked > button:first-child, combobox.linked button:nth-child(2):dir(rtl), .linked:not(.vertical) > combobox:first-child > box > button.combo, .linked:not(.vertical) > spinbutton:first-child:not(.vertical), .linked:not(.vertical) > entry:first-child { border-top-left-radius: 2px; border-bottom-left-radius: 2px; } .inline-toolbar button:last-child, .linked > button:last-child, combobox.linked button:nth-child(2):dir(ltr), .linked:not(.vertical) > combobox:last-child > box > button.combo, .linked:not(.vertical) > spinbutton:last-child:not(.vertical), .linked:not(.vertical) > entry:last-child { border-top-right-radius: 2px; border-bottom-right-radius: 2px; } .inline-toolbar button:only-child, .linked > button:only-child, .linked:not(.vertical) > combobox:only-child > box > button.combo, .linked:not(.vertical) > spinbutton:only-child:not(.vertical), .linked:not(.vertical) > entry:only-child { border-radius: 2px; } .linked.vertical > button, .linked.vertical > button:hover, .linked.vertical > button:active, .linked.vertical > button:checked, .linked.vertical > button:backdrop, .linked.vertical > spinbutton:not(.vertical), .linked.vertical > entry, .linked.vertical > combobox > box > button.combo { border-radius: 0; margin-top: 0; margin-bottom: 0; } .linked.vertical > button:first-child, .linked.vertical > combobox:first-child > box > button.combo, .linked.vertical > spinbutton:first-child:not(.vertical), .linked.vertical > entry:first-child { border-top-left-radius: 2px; border-top-right-radius: 2px; margin-bottom: 0; } .linked.vertical > button:last-child, .linked.vertical > combobox:last-child > box > button.combo, .linked.vertical > spinbutton:last-child:not(.vertical), .linked.vertical > entry:last-child { border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; margin-top: 0; } .linked.vertical > button:only-child, .linked.vertical > combobox:only-child > box > button.combo, .linked.vertical > spinbutton:only-child:not(.vertical), .linked.vertical > entry:only-child { border-radius: 2px; } modelbutton.flat, popover.background checkbutton, popover.background radiobutton, .menuitem.button.flat, modelbutton.flat:backdrop, popover.background checkbutton:backdrop, popover.background radiobutton:backdrop, modelbutton.flat:backdrop:hover, popover.background checkbutton:backdrop:hover, popover.background radiobutton:backdrop:hover, .menuitem.button.flat:backdrop, .menuitem.button.flat:backdrop:hover, calendar.button, calendar.button:hover, calendar.button:backdrop, calendar.button:disabled, button:link, button:visited, button:link:hover, button:link:active, button:link:checked, button:visited:hover, button:visited:active, button:visited:checked, .scale-popup button:backdrop { background-color: transparent; background-image: none; border-color: transparent; box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; } /* menu buttons */ modelbutton.flat, popover.background checkbutton, popover.background radiobutton, .menuitem.button.flat { min-height: 26px; padding-left: 5px; padding-right: 5px; border-radius: 2px; outline-offset: -2px; } modelbutton.flat:hover, popover.background checkbutton:hover, popover.background radiobutton:hover, .menuitem.button.flat:hover { background-color: #37b9a5; color: #fefefe; } modelbutton.flat check:last-child, popover.background checkbutton check:last-child, popover.background radiobutton check:last-child, modelbutton.flat radio:last-child, popover.background checkbutton radio:last-child, popover.background radiobutton radio:last-child, .menuitem.button.flat check:last-child, .menuitem.button.flat radio:last-child { margin-left: 8px; } modelbutton.flat check:first-child, popover.background checkbutton check:first-child, popover.background radiobutton check:first-child, modelbutton.flat radio:first-child, popover.background checkbutton radio:first-child, popover.background radiobutton radio:first-child, .menuitem.button.flat check:first-child, .menuitem.button.flat radio:first-child { margin-right: 8px; } modelbutton.flat arrow, popover.background checkbutton arrow, popover.background radiobutton arrow { background: none; } modelbutton.flat arrow:hover, popover.background checkbutton arrow:hover, popover.background radiobutton arrow:hover { background: none; } modelbutton.flat arrow.left, popover.background checkbutton arrow.left, popover.background radiobutton arrow.left { -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); } modelbutton.flat arrow.right, popover.background checkbutton arrow.right, popover.background radiobutton arrow.right { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } button.color { padding: 5px; } button.color colorswatch:only-child { box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.color colorswatch:only-child, button.color colorswatch:only-child overlay { border-radius: 0; } button.color colorswatch:only-child:hover { box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } /************ * Calendar * ***********/ calendar { padding: 2px; color: #fefefe; border: 1px solid rgba(0, 0, 0, 0.1); } calendar:selected { color: #fefefe; background-color: transparent; background-position: center top; background-repeat: no-repeat; background-size: 1.6em 1.6em; background-image: -gtk-scaled(url("../assets/calendar-selected.png"), url("../assets/[email protected]")); } calendar:selected:backdrop { color: rgba(254, 254, 254, 0.8); } calendar.header { border-width: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); border-radius: 0; } calendar.header:backdrop { border-color: rgba(0, 0, 0, 0.1); } calendar.button { color: rgba(254, 254, 254, 0.45); } calendar.button:hover { color: #fefefe; } calendar.button:backdrop { color: rgba(215, 218, 222, 0.45); } calendar.button:disabled { color: rgba(147, 152, 160, 0.45); } calendar:indeterminate, calendar:indeterminate:backdrop { color: alpha(currentColor,0.55); } calendar.highlight, calendar.highlight:backdrop { font-size: smaller; color: #fefefe; } calendar:backdrop { color: #d7dade; border-color: rgba(27, 33, 44, 0.19); } /************************* * Check and Radio Items * *************************/ check { -gtk-icon-source: -gtk-scaled(url("../assets/checkbox-unchecked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio { -gtk-icon-source: -gtk-scaled(url("../assets/radio-unchecked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:hover { -gtk-icon-source: -gtk-scaled(url("../assets/checkbox-unchecked-hover-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:hover { -gtk-icon-source: -gtk-scaled(url("../assets/radio-unchecked-hover-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:active { -gtk-icon-source: -gtk-scaled(url("../assets/checkbox-unchecked-active-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:active { -gtk-icon-source: -gtk-scaled(url("../assets/radio-unchecked-active-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:backdrop { -gtk-icon-source: -gtk-scaled(url("../assets/checkbox-unchecked-backdrop-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:backdrop { -gtk-icon-source: -gtk-scaled(url("../assets/radio-unchecked-backdrop-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:disabled { -gtk-icon-source: -gtk-scaled(url("../assets/checkbox-unchecked-insensitive-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:disabled { -gtk-icon-source: -gtk-scaled(url("../assets/radio-unchecked-insensitive-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:disabled:backdrop { -gtk-icon-source: -gtk-scaled(url("../assets/checkbox-unchecked-insensitive-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:disabled:backdrop { -gtk-icon-source: -gtk-scaled(url("../assets/radio-unchecked-insensitive-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:checked { -gtk-icon-source: -gtk-scaled(url("../assets/checkbox-checked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:checked { -gtk-icon-source: -gtk-scaled(url("../assets/radio-checked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:checked:hover { -gtk-icon-source: -gtk-scaled(url("../assets/checkbox-checked-hover-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:checked:hover { -gtk-icon-source: -gtk-scaled(url("../assets/radio-checked-hover-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:checked:active { -gtk-icon-source: -gtk-scaled(url("../assets/checkbox-checked-active-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:checked:active { -gtk-icon-source: -gtk-scaled(url("../assets/radio-checked-active-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:checked:backdrop { -gtk-icon-source: -gtk-scaled(url("../assets/checkbox-checked-backdrop-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:checked:backdrop { -gtk-icon-source: -gtk-scaled(url("../assets/radio-checked-backdrop-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:checked:disabled { -gtk-icon-source: -gtk-scaled(url("../assets/checkbox-checked-insensitive-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:checked:disabled { -gtk-icon-source: -gtk-scaled(url("../assets/radio-checked-insensitive-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:checked:disabled:backdrop { -gtk-icon-source: -gtk-scaled(url("../assets/checkbox-checked-insensitive-backdrop-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:checked:disabled:backdrop { -gtk-icon-source: -gtk-scaled(url("../assets/radio-checked-insensitive-backdrop-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:indeterminate { -gtk-icon-source: -gtk-scaled(url("../assets/checkbox-mixed-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:indeterminate { -gtk-icon-source: -gtk-scaled(url("../assets/radio-mixed-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:indeterminate:hover { -gtk-icon-source: -gtk-scaled(url("../assets/checkbox-mixed-hover-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:indeterminate:hover { -gtk-icon-source: -gtk-scaled(url("../assets/radio-mixed-hover-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:indeterminate:active { -gtk-icon-source: -gtk-scaled(url("../assets/checkbox-mixed-active-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:indeterminate:active { -gtk-icon-source: -gtk-scaled(url("../assets/radio-mixed-active-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:indeterminate:backdrop { -gtk-icon-source: -gtk-scaled(url("../assets/checkbox-mixed-backdrop-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:indeterminate:backdrop { -gtk-icon-source: -gtk-scaled(url("../assets/radio-mixed-backdrop-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:indeterminate:disabled { -gtk-icon-source: -gtk-scaled(url("../assets/checkbox-mixed-insensitive-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:indeterminate:disabled { -gtk-icon-source: -gtk-scaled(url("../assets/radio-mixed-insensitive-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:indeterminate:disabled:backdrop { -gtk-icon-source: -gtk-scaled(url("../assets/checkbox-mixed-insensitive-backdrop-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:indeterminate:disabled:backdrop { -gtk-icon-source: -gtk-scaled(url("../assets/radio-mixed-insensitive-backdrop-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-checkbox-unchecked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-radio-unchecked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:hover:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-checkbox-unchecked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:hover:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-radio-unchecked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:active:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-checkbox-unchecked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:active:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-radio-unchecked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:backdrop:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-checkbox-unchecked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:backdrop:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-radio-unchecked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:disabled:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-checkbox-unchecked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:disabled:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-radio-unchecked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:disabled:backdrop:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-checkbox-unchecked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:disabled:backdrop:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-radio-unchecked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:checked:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-checkbox-checked-dark-azure-azure-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:checked:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-radio-checked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:checked:hover:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-checkbox-checked-dark-azure-azure-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:checked:hover:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-radio-checked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:checked:active:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-checkbox-checked-dark-azure-azure-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:checked:active:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-radio-checked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:checked:backdrop:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-checkbox-checked-dark-azure-azure-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:checked:backdrop:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-radio-checked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:checked:disabled:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-checkbox-checked-dark-azure-azure-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:checked:disabled:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-radio-checked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:checked:disabled:backdrop:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-checkbox-checked-dark-azure-azure-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:checked:disabled:backdrop:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-radio-checked-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:indeterminate:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-checkbox-mixed-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:indeterminate:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-radio-mixed-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:indeterminate:hover:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-checkbox-mixed-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:indeterminate:hover:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-radio-mixed-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:indeterminate:active:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-checkbox-mixed-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:indeterminate:active:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-radio-mixed-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:indeterminate:backdrop:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-checkbox-mixed-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:indeterminate:backdrop:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-radio-mixed-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:indeterminate:disabled:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-checkbox-mixed-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:indeterminate:disabled:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-radio-mixed-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } check:indeterminate:disabled:backdrop:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-checkbox-mixed-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } radio:indeterminate:disabled:backdrop:selected { -gtk-icon-source: -gtk-scaled(url("../assets/selected-radio-mixed-dark-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } .view.content-view check, iconview.content-view check, .view.content-view.check, iconview.content-view.check { -gtk-icon-source: -gtk-scaled(url("../assets/selection-mode-checkbox-unchecked-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } .view.content-view radio, iconview.content-view radio, .view.content-view.radio, iconview.content-view.radio { -gtk-icon-source: -gtk-scaled(url("../assets/selection-mode-radio-unchecked-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } .view.content-view check:hover, iconview.content-view check:hover, .view.content-view.check:hover, iconview.content-view.check:hover { -gtk-icon-source: -gtk-scaled(url("../assets/selection-mode-checkbox-unchecked-hover-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } .view.content-view radio:hover, iconview.content-view radio:hover, .view.content-view.radio:hover, iconview.content-view.radio:hover { -gtk-icon-source: -gtk-scaled(url("../assets/selection-mode-radio-unchecked-hover-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } .view.content-view check:active, iconview.content-view check:active, .view.content-view.check:active, iconview.content-view.check:active { -gtk-icon-source: -gtk-scaled(url("../assets/selection-mode-checkbox-unchecked-active-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } .view.content-view radio:active, iconview.content-view radio:active, .view.content-view.radio:active, iconview.content-view.radio:active { -gtk-icon-source: -gtk-scaled(url("../assets/selection-mode-radio-unchecked-active-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } .view.content-view check:backdrop, iconview.content-view check:backdrop, .view.content-view.check:backdrop, iconview.content-view.check:backdrop { -gtk-icon-source: -gtk-scaled(url("../assets/selection-mode-checkbox-unchecked-backdrop-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } .view.content-view radio:backdrop, iconview.content-view radio:backdrop, .view.content-view.radio:backdrop, iconview.content-view.radio:backdrop { -gtk-icon-source: -gtk-scaled(url("../assets/selection-mode-radio-unchecked-backdrop-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } .view.content-view check:disabled, iconview.content-view check:disabled, .view.content-view.check:disabled, iconview.content-view.check:disabled { -gtk-icon-source: -gtk-scaled(url("../assets/selection-mode-checkbox-unchecked-insensitive-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } .view.content-view radio:disabled, iconview.content-view radio:disabled, .view.content-view.radio:disabled, iconview.content-view.radio:disabled { -gtk-icon-source: -gtk-scaled(url("../assets/selection-mode-radio-unchecked-insensitive-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } .view.content-view check:disabled:backdrop, iconview.content-view check:disabled:backdrop, .view.content-view.check:disabled:backdrop, iconview.content-view.check:disabled:backdrop { -gtk-icon-source: -gtk-scaled(url("../assets/selection-mode-checkbox-unchecked-backdrop-insensitive-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } .view.content-view radio:disabled:backdrop, iconview.content-view radio:disabled:backdrop, .view.content-view.radio:disabled:backdrop, iconview.content-view.radio:disabled:backdrop { -gtk-icon-source: -gtk-scaled(url("../assets/selection-mode-radio-unchecked-backdrop-insensitive-azure.png"), url("../assets/[email protected]")); -gtk-icon-shadow: none; } checkbutton.text-button, radiobutton.text-button { padding: 2px 0; outline-offset: 0; } checkbutton.text-button label:not(:only-child):first-child, radiobutton.text-button label:not(:only-child):first-child { margin-left: 4px; } checkbutton.text-button label:not(:only-child):last-child, radiobutton.text-button label:not(:only-child):last-child { margin-right: 4px; } check, radio { margin: 0 4px; min-height: 16px; min-width: 16px; border: none; background-image: none; background-color: transparent; } menu menuitem check, menu menuitem radio { margin: 0; } menu menuitem check, menu menuitem check:hover, menu menuitem check:disabled, menu menuitem radio, menu menuitem radio:hover, menu menuitem radio:disabled { min-height: 14px; min-width: 14px; background-image: none; background-color: transparent; box-shadow: none; -gtk-icon-shadow: none; color: inherit; border-color: currentColor; animation: none; } /***************** * Color Chooser * *****************/ colorswatch { box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } colorswatch:hover { box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } colorswatch#add-color-button { border-radius: 0; } colorswatch:disabled { opacity: 0.5; } colorswatch:disabled overlay { border-color: rgba(0, 0, 0, 0.6); box-shadow: none; } colorswatch#editor-color-sample { border-radius: 2px; } colorswatch#editor-color-sample overlay { border-radius: 2px; } colorchooser .popover.osd { border-radius: 2px; } /************** * ComboBoxes * **************/ combobox arrow { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); min-height: 16px; min-width: 16px; } combobox:drop(active) { box-shadow: none; } button.combo { border: none; font-weight: 700; color: #fefefe; outline-color: rgba(254, 254, 254, 0.3); background-color: #39465c; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.combo:hover { border: none; color: #fefefe; outline-color: rgba(254, 254, 254, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.combo:active, button.combo:checked { border: none; color: #fefefe; outline-color: rgba(254, 254, 254, 0.3); background-color: #31a593; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); transition-duration: 50ms; } button.combo:backdrop { border: none; color: #d7dade; outline-color: rgba(254, 254, 254, 0.3); background-color: #3b485f; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); transition: 200ms ease-out; -gtk-icon-effect: none; } button.combo:backdrop label { color: #d7dade; } button.combo:backdrop:active, button.combo:backdrop:checked { border: none; color: rgba(254, 254, 254, 0.7); outline-color: rgba(254, 254, 254, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.combo:backdrop:active label, button.combo:backdrop:checked label { color: rgba(254, 254, 254, 0.7); } button.combo:backdrop:disabled { border: none; color: #d7dade; outline-color: rgba(254, 254, 254, 0.3); background-color: #2f394c; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.combo:backdrop:disabled:active, button.combo:backdrop:disabled:checked { border: none; color: rgba(254, 254, 254, 0.7); outline-color: rgba(254, 254, 254, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.combo:disabled { color: #d7dade; outline-color: rgba(254, 254, 254, 0.3); background-color: #2f394c; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.combo:disabled:active, button.combo:disabled:checked { color: rgba(254, 254, 254, 0.7); outline-color: rgba(254, 254, 254, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.combo:disabled:active label, button.combo:disabled:checked label { color: rgba(254, 254, 254, 0.7); } /*********** * Dialogs * ***********/ messagedialog .titlebar:not(headerbar) { background-color: rgba(40, 49, 65, 0.95); } messagedialog .titlebar { min-height: 20px; background-image: none; background-color: rgba(40, 49, 65, 0.95); border-style: none; border-top-left-radius: 2px; border-top-right-radius: 2px; } messagedialog.csd.background { background-color: rgba(40, 49, 65, 0.95); color: #fefefe; border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; } messagedialog.csd.background:backdrop label { color: rgba(254, 254, 254, 0.8); } messagedialog.csd .dialog-action-area button { padding: 8px 12px; border-radius: 0; border-left-style: solid; border-right-style: none; border-bottom-style: none; background-color: transparent; color: #fefefe; margin-bottom: 0; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(0, 0, 0, 0.2); } messagedialog.csd .dialog-action-area button:hover { background-color: rgba(55, 185, 165, 0.9); } messagedialog.csd .dialog-action-area button:hover:backdrop label { color: rgba(255, 255, 255, 0.5); } messagedialog.csd .dialog-action-area button:first-child { border-left-style: none; border-bottom-left-radius: 2px; } messagedialog.csd .dialog-action-area button:last-child { border-bottom-right-radius: 2px; } filechooser .dialog-action-box { border-top: 1px solid rgba(0, 0, 0, 0.1); } filechooser .dialog-action-box:backdrop { border-top-color: rgba(27, 33, 44, 0.19); } filechooser #pathbarbox { border-bottom: 1px solid #283141; } filechooserbutton:drop(active) { box-shadow: none; border-color: transparent; } /**************** * Text Entries * ****************/ spinbutton:not(.vertical), entry { min-height: 32px; padding-left: 8px; padding-right: 8px; border: none; border-radius: 2px; margin: 1px; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); color: #fefefe; border: none; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } spinbutton:not(.vertical) image.left, entry image.left { padding-left: 0; padding-right: 6px; } spinbutton:not(.vertical) image.right, entry image.right { padding-left: 6px; padding-right: 0; } spinbutton:not(.vertical) undershoot.left, entry undershoot.left { background-color: transparent; background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); padding-left: 1px; background-size: 1px 10px; background-repeat: repeat-y; background-origin: content-box; background-position: left center; border: none; box-shadow: none; } spinbutton:not(.vertical) undershoot.right, entry undershoot.right { background-color: transparent; background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); padding-right: 1px; background-size: 1px 10px; background-repeat: repeat-y; background-origin: content-box; background-position: right center; border: none; box-shadow: none; } spinbutton.flat:focus:not(.vertical), spinbutton.flat:not(.vertical), entry.flat:focus, entry.flat { min-height: 0; padding: 2px; background-image: none; border-color: transparent; border-radius: 0; } spinbutton:focus:not(.vertical), entry:focus { border-color: #2b9282; } spinbutton:disabled:not(.vertical), entry:disabled { color: #9398a0; border: none; background-color: #2f394c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } spinbutton:backdrop:not(.vertical), entry:backdrop { color: #d7dade; border: none; background-color: #3b485f; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); transition: 200ms ease-out; } spinbutton:backdrop:disabled:not(.vertical), entry:backdrop:disabled { color: #455570; border: none; background-color: #2f394c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } spinbutton.error:not(.vertical), entry.error { color: #b11e39; border-color: #190408; } spinbutton.error:focus:not(.vertical), entry.error:focus { border-color: #190408; } spinbutton.error:selected:focus:not(.vertical), spinbutton.error:selected:not(.vertical), entry.error:selected:focus, entry.error:selected { background-color: #b11e39; } spinbutton.warning:not(.vertical), entry.warning { color: #ee8e00; border-color: #3c2400; } spinbutton.warning:focus:not(.vertical), entry.warning:focus { border-color: #3c2400; } spinbutton.warning:selected:focus:not(.vertical), spinbutton.warning:selected:not(.vertical), entry.warning:selected:focus, entry.warning:selected { background-color: #ee8e00; } spinbutton:not(.vertical) image, entry image { color: #d7d9de; } spinbutton:not(.vertical) image:hover, entry image:hover { color: #fefefe; } spinbutton:not(.vertical) image:active, entry image:active { color: #37b9a5; } spinbutton:not(.vertical) image:backdrop, entry image:backdrop { color: #b8bdc5; } spinbutton:drop(active):focus:not(.vertical), spinbutton:drop(active):not(.vertical), entry:drop(active):focus, entry:drop(active) { border-color: #4e9a06; box-shadow: inset 0 0 0 1px #4e9a06; } .osd spinbutton:not(.vertical), .osd entry { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(0, 0, 0, 0.5); box-shadow: none; text-shadow: 0 1px black; -gtk-icon-shadow: 0 1px black; } .osd spinbutton:focus:not(.vertical), .osd entry:focus { color: white; border-color: #37b9a5; background-color: rgba(0, 0, 0, 0.5); background-clip: padding-box; text-shadow: 0 1px black; -gtk-icon-shadow: 0 1px black; } .osd spinbutton:backdrop:not(.vertical), .osd entry:backdrop { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(0, 0, 0, 0.5); background-clip: padding-box; box-shadow: none; text-shadow: none; -gtk-icon-shadow: none; } .osd spinbutton:disabled:not(.vertical), .osd entry:disabled { color: rgba(254, 254, 254, 0.5); border-color: rgba(0, 0, 0, 0.7); background-color: rgba(52, 59, 70, 0.5); background-clip: padding-box; box-shadow: none; text-shadow: none; -gtk-icon-shadow: none; } spinbutton:not(.vertical) progress, entry progress { margin: 2px -6px; background-color: transparent; background-image: none; border-radius: 0; border-width: 0 0 2px; border-color: #37b9a5; border-style: solid; box-shadow: none; } spinbutton:not(.vertical) progress:backdrop, entry progress:backdrop { background-color: transparent; } treeview entry:focus:dir(rtl), treeview entry:focus:dir(ltr) { color: #fefefe; background-color: #39465c; transition-property: color, background; } treeview entry.flat, treeview entry { border-radius: 0; background-image: none; color: #fefefe; background-color: #39465c; } treeview entry.flat:focus, treeview entry:focus { border-color: #37b9a5; } /************* * Expanders * *************/ expander arrow { min-width: 16px; min-height: 16px; -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } expander arrow:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); } expander arrow:hover { color: white; } expander arrow:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } /**************** * Floating Bar * ****************/ .floating-bar { background-color: #283141; border-width: 1px; border-style: solid solid none; border-color: rgba(0, 0, 0, 0.1); border-radius: 2px 2px 0 0; box-shadow: inset 0 1px rgba(255, 255, 255, 0.1); } .floating-bar.bottom.left { border-left-style: none; border-top-left-radius: 0; } .floating-bar.bottom.right { border-right-style: none; border-top-right-radius: 0; } .floating-bar > button { padding: 4px; } .floating-bar:backdrop { background-color: #283141; border-color: rgba(27, 33, 44, 0.19); } /********** * Frames * **********/ frame > border, .frame { box-shadow: none; margin: 0; padding: 0; border-radius: 0; border: 1px solid rgba(0, 0, 0, 0.1); } frame > border.flat, .frame.flat { border-style: none; } frame > border:backdrop, .frame:backdrop { border-color: rgba(27, 33, 44, 0.19); } actionbar > frame > border { border-width: 1px 0 0; } actionbar > revealer > box { padding: 6px; border-top: 1px solid rgba(0, 0, 0, 0.1); } actionbar > revealer > box:backdrop { border-color: rgba(27, 33, 44, 0.19); } scrolledwindow viewport.frame { border-style: none; } scrolledwindow overshoot.top { background-image: -gtk-gradient(radial, center top, 0, center top, 0.5, to(rgba(0, 0, 0, 0.1)), to(transparent)), -gtk-gradient(radial, center top, 0, center top, 0.6, from(rgba(254, 254, 254, 0.07)), to(rgba(254, 254, 254, 0))); background-size: 100% 5%, 100% 100%; background-repeat: no-repeat; background-position: center top; background-color: transparent; border: none; box-shadow: none; } scrolledwindow overshoot.top:backdrop { background-image: -gtk-gradient(radial, center top, 0, center top, 0.5, to(rgba(27, 33, 44, 0.19)), to(rgba(27, 33, 44, 0))); background-size: 100% 5%; background-repeat: no-repeat; background-position: center top; background-color: transparent; border: none; box-shadow: none; } scrolledwindow overshoot.bottom { background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.5, to(rgba(0, 0, 0, 0.1)), to(transparent)), -gtk-gradient(radial, center bottom, 0, center bottom, 0.6, from(rgba(254, 254, 254, 0.07)), to(rgba(254, 254, 254, 0))); background-size: 100% 5%, 100% 100%; background-repeat: no-repeat; background-position: center bottom; background-color: transparent; border: none; box-shadow: none; } scrolledwindow overshoot.bottom:backdrop { background-image: -gtk-gradient(radial, center bottom, 0, center bottom, 0.5, to(rgba(27, 33, 44, 0.19)), to(rgba(27, 33, 44, 0))); background-size: 100% 5%; background-repeat: no-repeat; background-position: center bottom; background-color: transparent; border: none; box-shadow: none; } scrolledwindow overshoot.left { background-image: -gtk-gradient(radial, left center, 0, left center, 0.5, to(rgba(0, 0, 0, 0.1)), to(transparent)), -gtk-gradient(radial, left center, 0, left center, 0.6, from(rgba(254, 254, 254, 0.07)), to(rgba(254, 254, 254, 0))); background-size: 5% 100%, 100% 100%; background-repeat: no-repeat; background-position: left center; background-color: transparent; border: none; box-shadow: none; } scrolledwindow overshoot.left:backdrop { background-image: -gtk-gradient(radial, left center, 0, left center, 0.5, to(rgba(27, 33, 44, 0.19)), to(rgba(27, 33, 44, 0))); background-size: 5% 100%; background-repeat: no-repeat; background-position: left center; background-color: transparent; border: none; box-shadow: none; } scrolledwindow overshoot.right { background-image: -gtk-gradient(radial, right center, 0, right center, 0.5, to(rgba(0, 0, 0, 0.1)), to(transparent)), -gtk-gradient(radial, right center, 0, right center, 0.6, from(rgba(254, 254, 254, 0.07)), to(rgba(254, 254, 254, 0))); background-size: 5% 100%, 100% 100%; background-repeat: no-repeat; background-position: right center; background-color: transparent; border: none; box-shadow: none; } scrolledwindow overshoot.right:backdrop { background-image: -gtk-gradient(radial, right center, 0, right center, 0.5, to(rgba(27, 33, 44, 0.19)), to(rgba(27, 33, 44, 0))); background-size: 5% 100%; background-repeat: no-repeat; background-position: right center; background-color: transparent; border: none; box-shadow: none; } scrolledwindow undershoot.top { background-color: transparent; background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); padding-top: 1px; background-size: 10px 1px; background-repeat: repeat-x; background-origin: content-box; background-position: center top; border: none; box-shadow: none; } scrolledwindow undershoot.bottom { background-color: transparent; background-image: linear-gradient(to left, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); padding-bottom: 1px; background-size: 10px 1px; background-repeat: repeat-x; background-origin: content-box; background-position: center bottom; border: none; box-shadow: none; } scrolledwindow undershoot.left { background-color: transparent; background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); padding-left: 1px; background-size: 1px 10px; background-repeat: repeat-y; background-origin: content-box; background-position: left center; border: none; box-shadow: none; } scrolledwindow undershoot.right { background-color: transparent; background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 50%, rgba(0, 0, 0, 0.2) 50%); padding-right: 1px; background-size: 1px 10px; background-repeat: repeat-y; background-origin: content-box; background-position: right center; border: none; box-shadow: none; } scrolledwindow junction { border-color: transparent; border-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 1px, transparent 1px) 0 0 0 1/0 1px stretch; background-color: #39465c; } scrolledwindow junction:dir(rtl) { border-image-slice: 0 1 0 0; } scrolledwindow junction:backdrop { border-image-source: linear-gradient(to bottom, rgba(27, 33, 44, 0.19) 1px, transparent 1px); background-color: #3b485f; transition: 200ms ease-out; } separator { background: rgba(0, 0, 0, 0.1); } /************ * Popovers * ************/ GraniteWidgetsPopOver { -GraniteWidgetsPopOver-arrow-width: 21; -GraniteWidgetsPopOver-arrow-height: 10; -GraniteWidgetsPopOver-border-radius: 8px; -GraniteWidgetsPopOver-border-width: 0; -GraniteWidgetsPopOver-shadow-size: 12; border: 1px solid #39465c; background: #39465c; color: #fefefe; } GraniteWidgetsPopOver .button { background-image: none; background: none; border: none; } GraniteWidgetsPopOver .button:active, GraniteWidgetsPopOver .button:active:hover { color: #37b9a5; } GraniteWidgetsPopOver > .frame { border: none; } GraniteWidgetsPopOver .sidebar.view, GraniteWidgetsPopOver iconview.sidebar { border: none; background: none; } GraniteWidgetsStaticNotebook .frame { border: none; } .popover_bg { background-color: #39465c; background-image: none; border: 1px solid #39465c; color: #fefefe; } /*********** * Welcome * **********/ GraniteWidgetsWelcome { background-color: #39465c; } GraniteWidgetsWelcome GtkLabel { color: #fefefe; } GraniteWidgetsWelcome .h1, GraniteWidgetsWelcome .h3 { color: rgba(254, 254, 254, 0.8); } /************** * Source List * ***************/ .source-list { -GtkTreeView-horizontal-separator: 1px; -GtkTreeView-vertical-separator: 6px; background-color: #283141; border: solid rgba(0, 0, 0, 0.1); color: #fefefe; border-right-width: 1px; } .source-list .category-expander { color: transparent; } .source-list .badge { background-image: none; background-color: rgba(0, 0, 0, 0.4); color: #283141; border-radius: 10px; padding: 0 6px; margin: 0 3px; border-width: 0; } .source-list .badge:selected:backdrop, .source-list .badge:selected:hover:backdrop { background-color: rgba(0, 0, 0, 0.2); color: #1e2531; } .source-list row, .source-list .list-row { border: none; padding: 0; } .source-list row > GtkLabel, .source-list row > label, .source-list .list-row > GtkLabel, .source-list .list-row > label { padding-left: 6px; padding-right: 6px; } /************** * Text Styles * **************/ .h1 { font-size: 24px; } .h2 { font-weight: 300; font-size: 18px; } .h3 { font-size: 11px; } .h4, .category-label { font-size: 12px; padding: 6px; color: rgba(254, 254, 254, 0.3); font-weight: 700; text-shadow: 0 1px rgba(255, 255, 255, 0.2); } /************** * Storage Bar * **************/ .storage-bar .trough { border: none; box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.1); background-image: none; background-color: transparent; padding: 8px 6px; } .storage-bar .fill-block { background-color: #eedc43; border: none; box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.1), inset 0 -1px 0 0 rgba(0, 0, 0, 0.1); transition: all 200ms ease-in-out; padding: 8px 6px; } .storage-bar .fill-block:first-child { border-top-left-radius: 4px; border-bottom-left-radius: 4px; border-left-width: 1px; box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.1), inset 1px 0 0 rgba(0, 0, 0, 0.1), inset 0 -1px 0 0 rgba(0, 0, 0, 0.1); } .storage-bar .fill-block:last-child { border-top-right-radius: 4px; border-bottom-right-radius: 4px; box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.1), inset -1px 0 0 rgba(0, 0, 0, 0.1), inset 0 -1px 0 0 rgba(0, 0, 0, 0.1); } .storage-bar .fill-block.empty-block { background-color: #39465c; } .storage-bar .fill-block.app { background-color: #13b1d5; } .storage-bar .fill-block.audio { background-color: #ffa622; } .storage-bar .fill-block.photo { background-color: #c72240; } .storage-bar .fill-block.video { background-color: #9cb7e0; } .storage-bar .fill-block .legend { padding: 12px; border-radius: 4px; } .titlebar, headerbar { min-height: 28px; background-color: #283141; background-clip: border-box; color: #fefefe; } .titlebar:backdrop label, headerbar:backdrop label { color: rgba(254, 254, 254, 0.8); } .titlebar *, headerbar * { outline-style: none; outline-width: 0; outline-color: transparent; } .titlebar .title, headerbar .title { padding: 0 12px; color: #fefefe; font-weight: 700; } .titlebar .subtitle, headerbar .subtitle { padding: 0 12px; color: #fefefe; } .titlebar separator.vertical, .titlebar > box > separator.vertical, .titlebar > box > box > separator.vertical, headerbar separator.vertical, headerbar > box > separator.vertical, headerbar > box > box > separator.vertical { border: 0 none transparent; color: transparent; background-color: transparent; } .titlebar .linked > button, .titlebar .linked > button:hover, .titlebar .linked > button:active, .titlebar .linked > button:checked, .titlebar .linked > button:backdrop, .titlebar headerbar .linked > button, headerbar .titlebar .linked > button, .titlebar headerbar .linked > button, headerbar .titlebar .linked > button:hover, .titlebar headerbar .linked > button:hover, headerbar .titlebar .linked > button:active, .titlebar headerbar .linked > button:active, headerbar .titlebar .linked > button:checked, .titlebar headerbar .linked > button:checked, headerbar .titlebar .linked > button:backdrop, .titlebar headerbar .linked > button:backdrop, headerbar .linked > button, headerbar .linked > button:hover, headerbar .linked > button:active, headerbar .linked > button:checked, headerbar .linked > button:backdrop { border: none; border-radius: 0; border-right-style: none; box-shadow: none; } .titlebar .linked > button:first-child, .titlebar headerbar .linked > button:first-child, headerbar .titlebar .linked > button:first-child, headerbar .linked > button:first-child { border-top-left-radius: 0px; border-bottom-left-radius: 0px; } .titlebar .linked > button:last-child, .titlebar headerbar .linked > button:last-child, headerbar .titlebar .linked > button:last-child, headerbar .linked > button:last-child { border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-right-style: solid; } .titlebar .linked > button:only-child, .titlebar headerbar .linked > button:only-child, headerbar .titlebar .linked > button:only-child, headerbar .linked > button:only-child { border-radius: 0px; border-style: solid; } .titlebar switch, headerbar switch { background-color: #7e838d; } .titlebar switch:backdrop, headerbar switch:backdrop { background-color: #7e838d; } .titlebar switch:disabled, headerbar switch:disabled { background-color: #3d4654; } .titlebar switch:backdrop:disabled, headerbar switch:backdrop:disabled { background-color: #3d4654; } .titlebar switch slider, headerbar switch slider { background-color: #283141; } .titlebar switch slider:disabled, headerbar switch slider:disabled { background-color: #283141; } .titlebar switch slider:backdrop:disabled, headerbar switch slider:backdrop:disabled { background-color: #283141; } .titlebar entry, headerbar entry { background-color: #39465c; color: #fefefe; caret-color: #fefefe; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(0, 0, 0, 0.2), 0px 1px 0px 0px rgba(255, 255, 255, 0.15); } .titlebar entry:backdrop, .titlebar entry:disabled, headerbar entry:backdrop, headerbar entry:disabled { background-color: #3b485f; color: #fefefe; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(0, 0, 0, 0.2), 0px 1px 0px 0px rgba(255, 255, 255, 0.15); } .titlebar button, headerbar button { color: #fefefe; background-color: transparent; border-radius: 0; text-shadow: none; box-shadow: none; min-height: 30px; } .titlebar button:hover, .titlebar button:active, .titlebar button:checked, headerbar button:hover, headerbar button:active, headerbar button:checked { color: #fefefe; background-color: transparent; border-radius: 0; text-shadow: none; box-shadow: inset 0 -3px 0 0 #31a593; } .titlebar button:backdrop, .titlebar button:disabled, .titlebar button:backdrop:disabled, headerbar button:backdrop, headerbar button:disabled, headerbar button:backdrop:disabled { color: rgba(255, 255, 255, 0.5); background-color: transparent; border-radius: 0; text-shadow: none; box-shadow: none; } .titlebar button:backdrop label, .titlebar button:disabled label, .titlebar button:backdrop:disabled label, headerbar button:backdrop label, headerbar button:disabled label, headerbar button:backdrop:disabled label { color: rgba(255, 255, 255, 0.5); } .titlebar button:backdrop:hover, .titlebar button:backdrop:active, .titlebar button:backdrop:checked, headerbar button:backdrop:hover, headerbar button:backdrop:active, headerbar button:backdrop:checked { color: rgba(255, 255, 255, 0.5); background-color: transparent; border-radius: 0; text-shadow: none; box-shadow: inset 0 -3px 0 0 #31a593; } .titlebar button.image-button, headerbar button.image-button { border-radius: 0px; } .titlebar button.suggested-action, headerbar button.suggested-action { font-weight: 700; min-height: 24px; margin-top: 4px; margin-bottom: 4px; border-radius: 2px; font-weight: 700; color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar button.suggested-action:hover, headerbar button.suggested-action:hover { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar button.suggested-action:hover:backdrop label, headerbar button.suggested-action:hover:backdrop label { color: rgba(255, 255, 255, 0.5); } .titlebar button.suggested-action:active, headerbar button.suggested-action:active { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar button.suggested-action:disabled, headerbar button.suggested-action:disabled { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar button.suggested-action:disabled label, headerbar button.suggested-action:disabled label { color: rgba(255, 255, 255, 0.5); } .titlebar button.suggested-action:backdrop, headerbar button.suggested-action:backdrop { color: rgba(255, 255, 255, 0.4); outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar button.suggested-action:backdrop label, headerbar button.suggested-action:backdrop label { color: #d7dade; } .titlebar button.suggested-action:backdrop label, headerbar button.suggested-action:backdrop label { color: rgba(254, 254, 254, 0.8); } .titlebar button.suggested-action:backdrop:disabled, headerbar button.suggested-action:backdrop:disabled { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar button.destructive-action, headerbar button.destructive-action { font-weight: 700; min-height: 24px; margin-top: 4px; margin-bottom: 4px; border-radius: 2px; font-weight: 700; color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #9b1b32; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar button.destructive-action:hover, headerbar button.destructive-action:hover { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #9b1b32; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar button.destructive-action:hover:backdrop label, headerbar button.destructive-action:hover:backdrop label { color: rgba(255, 255, 255, 0.5); } .titlebar button.destructive-action:active, headerbar button.destructive-action:active { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #9b1b32; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar button.destructive-action:disabled, headerbar button.destructive-action:disabled { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #9b1b32; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar button.destructive-action:disabled label, headerbar button.destructive-action:disabled label { color: rgba(255, 255, 255, 0.5); } .titlebar button.destructive-action:backdrop, headerbar button.destructive-action:backdrop { color: rgba(255, 255, 255, 0.4); outline-color: rgba(255, 255, 255, 0.3); background-color: #9b1b32; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar button.destructive-action:backdrop label, headerbar button.destructive-action:backdrop label { color: #d7dade; } .titlebar button.destructive-action:backdrop label, headerbar button.destructive-action:backdrop label { color: rgba(254, 254, 254, 0.8); } .titlebar button.destructive-action:backdrop:disabled, headerbar button.destructive-action:backdrop:disabled { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #9b1b32; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar button.titlebutton, headerbar button.titlebutton { box-shadow: none; } .titlebar button.titlebutton:hover, .titlebar button.titlebutton:active, .titlebar button.titlebutton:checked, .titlebar button.titlebutton:backdrop, .titlebar button.titlebutton:backdrop:hover, .titlebar button.titlebutton *, headerbar button.titlebutton:hover, headerbar button.titlebutton:active, headerbar button.titlebutton:checked, headerbar button.titlebutton:backdrop, headerbar button.titlebutton:backdrop:hover, headerbar button.titlebutton * { box-shadow: none; } .titlebar .linked > button:hover, .titlebar .linked > button:active, .titlebar .linked > button:checked, headerbar .linked > button:hover, headerbar .linked > button:active, headerbar .linked > button:checked { box-shadow: inset 0 -3px 0 0 #31a593; } .titlebar.selection-mode, headerbar.selection-mode { color: #fefefe; text-shadow: 0 -1px rgba(0, 0, 0, 0.5); border-color: #2b9282; background: #37b9a5 linear-gradient(to top, #33ad9a, #36b5a1 2px, #37b9a5 3px); box-shadow: inset 0 1px rgba(65, 189, 170, 0.55); } .titlebar.selection-mode:backdrop, headerbar.selection-mode:backdrop { background-color: #37b9a5; background-image: none; box-shadow: inset 0 1px rgba(70, 190, 172, 0.46); } .titlebar.selection-mode button, headerbar.selection-mode button { font-weight: 700; color: #fefefe; outline-color: rgba(254, 254, 254, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar.selection-mode button.flat, headerbar.selection-mode button.flat { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; } .titlebar.selection-mode button.image-button, headerbar.selection-mode button.image-button { border-radius: 0px; } .titlebar.selection-mode button:hover, headerbar.selection-mode button:hover { color: #fefefe; outline-color: rgba(254, 254, 254, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar.selection-mode button:active, .titlebar.selection-mode button:checked, headerbar.selection-mode button:active, headerbar.selection-mode button:checked { color: #fefefe; outline-color: rgba(254, 254, 254, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar.selection-mode button:backdrop.flat, .titlebar.selection-mode button:backdrop, headerbar.selection-mode button:backdrop.flat, headerbar.selection-mode button:backdrop { color: #d7dade; outline-color: rgba(254, 254, 254, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); -gtk-icon-effect: none; border-color: #2b9282; } .titlebar.selection-mode button:backdrop.flat label, .titlebar.selection-mode button:backdrop label, headerbar.selection-mode button:backdrop.flat label, headerbar.selection-mode button:backdrop label { color: #d7dade; } .titlebar.selection-mode button:backdrop.flat:active, .titlebar.selection-mode button:backdrop.flat:checked, .titlebar.selection-mode button:backdrop:active, .titlebar.selection-mode button:backdrop:checked, headerbar.selection-mode button:backdrop.flat:active, headerbar.selection-mode button:backdrop.flat:checked, headerbar.selection-mode button:backdrop:active, headerbar.selection-mode button:backdrop:checked { color: rgba(254, 254, 254, 0.7); outline-color: rgba(254, 254, 254, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); border-color: #2b9282; } .titlebar.selection-mode button:backdrop.flat:active label, .titlebar.selection-mode button:backdrop.flat:checked label, .titlebar.selection-mode button:backdrop:active label, .titlebar.selection-mode button:backdrop:checked label, headerbar.selection-mode button:backdrop.flat:active label, headerbar.selection-mode button:backdrop.flat:checked label, headerbar.selection-mode button:backdrop:active label, headerbar.selection-mode button:backdrop:checked label { color: rgba(254, 254, 254, 0.7); } .titlebar.selection-mode button:backdrop.flat:disabled, .titlebar.selection-mode button:backdrop:disabled, headerbar.selection-mode button:backdrop.flat:disabled, headerbar.selection-mode button:backdrop:disabled { color: #d7dade; outline-color: rgba(254, 254, 254, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); border-color: #2b9282; } .titlebar.selection-mode button:backdrop.flat:disabled:active, .titlebar.selection-mode button:backdrop.flat:disabled:checked, .titlebar.selection-mode button:backdrop:disabled:active, .titlebar.selection-mode button:backdrop:disabled:checked, headerbar.selection-mode button:backdrop.flat:disabled:active, headerbar.selection-mode button:backdrop.flat:disabled:checked, headerbar.selection-mode button:backdrop:disabled:active, headerbar.selection-mode button:backdrop:disabled:checked { color: rgba(254, 254, 254, 0.7); outline-color: rgba(254, 254, 254, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); border-color: #2b9282; } .titlebar.selection-mode button.flat:backdrop, .titlebar.selection-mode button.flat:disabled, .titlebar.selection-mode button.flat:backdrop:disabled, headerbar.selection-mode button.flat:backdrop, headerbar.selection-mode button.flat:disabled, headerbar.selection-mode button.flat:backdrop:disabled { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; } .titlebar.selection-mode button:disabled, headerbar.selection-mode button:disabled { color: #d7dade; outline-color: rgba(254, 254, 254, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar.selection-mode button:disabled:active, .titlebar.selection-mode button:disabled:checked, headerbar.selection-mode button:disabled:active, headerbar.selection-mode button:disabled:checked { color: rgba(254, 254, 254, 0.7); outline-color: rgba(254, 254, 254, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar.selection-mode button:disabled:active label, .titlebar.selection-mode button:disabled:checked label, headerbar.selection-mode button:disabled:active label, headerbar.selection-mode button:disabled:checked label { color: rgba(254, 254, 254, 0.7); } .titlebar.selection-mode button.suggested-action, headerbar.selection-mode button.suggested-action { font-weight: 700; color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar.selection-mode button.suggested-action:hover, headerbar.selection-mode button.suggested-action:hover { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar.selection-mode button.suggested-action:active, headerbar.selection-mode button.suggested-action:active { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar.selection-mode button.suggested-action:disabled, headerbar.selection-mode button.suggested-action:disabled { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar.selection-mode button.suggested-action:backdrop, headerbar.selection-mode button.suggested-action:backdrop { color: rgba(255, 255, 255, 0.4); outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar.selection-mode button.suggested-action:backdrop label, headerbar.selection-mode button.suggested-action:backdrop label { color: #d7dade; } .titlebar.selection-mode button.suggested-action:backdrop:disabled, headerbar.selection-mode button.suggested-action:backdrop:disabled { color: white; outline-color: rgba(255, 255, 255, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .titlebar.selection-mode .selection-menu:backdrop, .titlebar.selection-mode .selection-menu, headerbar.selection-mode .selection-menu:backdrop, headerbar.selection-mode .selection-menu { border-color: rgba(55, 185, 165, 0); background-color: rgba(55, 185, 165, 0); box-shadow: none; padding-left: 10px; padding-right: 10px; } .titlebar.selection-mode .selection-menu:backdrop GtkArrow, .titlebar.selection-mode .selection-menu GtkArrow, headerbar.selection-mode .selection-menu:backdrop GtkArrow, headerbar.selection-mode .selection-menu GtkArrow { -GtkArrow-arrow-scaling: 1; } .titlebar.selection-mode .selection-menu:backdrop .arrow, .titlebar.selection-mode .selection-menu .arrow, headerbar.selection-mode .selection-menu:backdrop .arrow, headerbar.selection-mode .selection-menu .arrow { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); color: rgba(254, 254, 254, 0.5); -gtk-icon-shadow: none; } .tiled .titlebar, .tiled-top .titlebar, .tiled-bottom .titlebar, .tiled-left .titlebar, .tiled-right .titlebar, .maximized .titlebar, .fullscreen .titlebar, .tiled headerbar, .tiled-top headerbar, .tiled-bottom headerbar, .tiled-left headerbar, .tiled-right headerbar, .maximized headerbar, .fullscreen headerbar { border-top-color: #283141; border-radius: 0; } .titlebar.default-decoration, headerbar.default-decoration { padding: 0 10px; border-radius: 2px 2px 0 0; border-width: 0; } .titlebar.default-decoration .title, headerbar.default-decoration .title { color: #fefefe; } .titlebar.default-decoration .title:backdrop, headerbar.default-decoration .title:backdrop { color: gtkopacity(#fefefe, 0.4); } .solid-csd .titlebar:dir(rtl), .solid-csd .titlebar:dir(ltr), .solid-csd headerbar:dir(rtl), .solid-csd headerbar:dir(ltr) { border-radius: 0; } headerbar { padding-left: 10px; padding-right: 10px; } headerbar.titlebar, .csd headerbar, .solid-csd headerbar, box headerbar:only-child { padding: 0 rem(5.3px); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.1); } box headerbar:not(:only-child):first-child, box headerbar:not(:only-child):last-child { border-left-color: #283141; border-right-color: #283141; } .background:not(.maximized):not(.fullscreen):not(.tiled):not(.solid-csd) headerbar, .background:not(.maximized):not(.fullscreen):not(.tiled):not(.solid-csd) .titlebar { border-top-left-radius: 2px; border-top-right-radius: 2px; } .background:not(.maximized):not(.fullscreen):not(.tiled):not(.solid-csd) box headerbar:not(:last-child):dir(ltr) { border-top-left-radius: 2px; border-top-right-radius: 0; } .background:not(.maximized):not(.fullscreen):not(.tiled):not(.solid-csd) box headerbar:not(:last-child):dir(rtl) { border-top-left-radius: 0; border-top-right-radius: 2px; } .background:not(.maximized):not(.fullscreen):not(.tiled):not(.solid-csd) box headerbar:last-child:dir(ltr) { border-top-left-radius: 0; } .background:not(.maximized):not(.fullscreen):not(.tiled):not(.solid-csd) box headerbar:last-child:dir(rtl) { border-top-right-radius: 0; } window:not(.maximized):not(.fullscreen):not(.tiled):not(.solid-csd) paned.titlebar, window:not(.maximized):not(.fullscreen):not(.tiled):not(.solid-csd) grid.titlebar { border-top-left-radius: 2px; border-top-right-radius: 2px; } window:not(.maximized):not(.fullscreen):not(.tiled):not(.solid-csd) paned.titlebar > headerbar:not(:last-child):dir(ltr), window:not(.maximized):not(.fullscreen):not(.tiled):not(.solid-csd) grid.titlebar > headerbar:not(:last-child):dir(ltr) { border-top-left-radius: 2px; border-top-right-radius: 0; } window:not(.maximized):not(.fullscreen):not(.tiled):not(.solid-csd) paned.titlebar > headerbar:not(:last-child):dir(rtl), window:not(.maximized):not(.fullscreen):not(.tiled):not(.solid-csd) grid.titlebar > headerbar:not(:last-child):dir(rtl) { border-top-left-radius: 0; border-top-right-radius: 2px; } window:not(.maximized):not(.fullscreen):not(.tiled):not(.solid-csd) paned.titlebar > headerbar:last-child:dir(ltr), window:not(.maximized):not(.fullscreen):not(.tiled):not(.solid-csd) grid.titlebar > headerbar:last-child:dir(ltr) { border-top-left-radius: 0; border-top-right-radius: 2px; } window:not(.maximized):not(.fullscreen):not(.tiled):not(.solid-csd) paned.titlebar > headerbar:last-child:dir(rtl), window:not(.maximized):not(.fullscreen):not(.tiled):not(.solid-csd) grid.titlebar > headerbar:last-child:dir(rtl) { border-top-left-radius: 2px; border-top-right-radius: 0; } .ssd decoration .titlebar, .ssd .titlebar { border-width: 1px 0 0 0; border-style: solid; border-color: rgba(255, 255, 255, 0.1); box-shadow: none; } headerbar.titlebar.default-decoration { border-top: 1px solid rgba(255, 255, 255, 0.1); box-shadow: none; } .tiled headerbar.titlebar.default-decoration, .maximized headerbar.titlebar.default-decoration { border-top-color: #283141; border-radius: 0; } .background:not(.csd):not(.ssd):not(.solid-csd) box headerbar, .background:not(.csd):not(.ssd):not(.solid-csd) box headerbar:not(:last-child), .background:not(.csd):not(.ssd):not(.solid-csd) headerbar, .background:not(.csd):not(.ssd):not(.solid-csd) headerbar:not(:last-child) { padding: 0 rem(5.3px); border-radius: 0; border-top: 0 none transparent; box-shadow: none; } .background:not(.csd):not(.ssd):not(.solid-csd) box headerbar *:backdrop, .background:not(.csd):not(.ssd):not(.solid-csd) box headerbar:not(:last-child) *:backdrop, .background:not(.csd):not(.ssd):not(.solid-csd) headerbar *:backdrop, .background:not(.csd):not(.ssd):not(.solid-csd) headerbar:not(:last-child) *:backdrop { opacity: 1.0; } .background:not(.csd):not(.ssd):not(.solid-csd).tiled box headerbar, .background:not(.csd):not(.ssd):not(.solid-csd).tiled box headerbar:not(:last-child), .background:not(.csd):not(.ssd):not(.solid-csd).tiled headerbar, .background:not(.csd):not(.ssd):not(.solid-csd).tiled headerbar:not(:last-child), .background:not(.csd):not(.ssd):not(.solid-csd).maximized box headerbar, .background:not(.csd):not(.ssd):not(.solid-csd).maximized box headerbar:not(:last-child), .background:not(.csd):not(.ssd):not(.solid-csd).maximized headerbar, .background:not(.csd):not(.ssd):not(.solid-csd).maximized headerbar:not(:last-child), .background:not(.csd):not(.ssd):not(.solid-csd).fullscreen box headerbar, .background:not(.csd):not(.ssd):not(.solid-csd).fullscreen box headerbar:not(:last-child), .background:not(.csd):not(.ssd):not(.solid-csd).fullscreen headerbar, .background:not(.csd):not(.ssd):not(.solid-csd).fullscreen headerbar:not(:last-child) { border-top: 0 none transparent; background-color: #283141; box-shadow: none; } /************** * GtkInfoBar * **************/ .info, .warning, .question, .error, infobar { text-shadow: none; color: #fefefe; background-color: #283141; border-bottom: 1px solid #151921; box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.15); } .info, .warning, .question, .error { text-shadow: none; color: #fefefe; border: none; } .info label, .warning label, .question label, .error label { color: #fefefe; } .info label:backdrop, .warning label:backdrop, .question label:backdrop, .error label:backdrop { color: rgba(254, 254, 254, 0.8); } .info button, .warning button, .question button, .error button { border-radius: 2px; border: none; background: rgba(57, 70, 92, 0.95); color: #fefefe; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .info button label, .warning button label, .question button label, .error button label { color: #fefefe; } .info button label:backdrop, .warning button label:backdrop, .question button label:backdrop, .error button label:backdrop { color: rgba(254, 254, 254, 0.8); } .info button:active, .warning button:active, .question button:active, .error button:active { background: #39465c; color: #fefefe; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .info button:active:backdrop, .warning button:active:backdrop, .question button:active:backdrop, .error button:active:backdrop { background: rgba(57, 70, 92, 0.8); color: rgba(254, 254, 254, 0.5); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .info button:hover, .warning button:hover, .question button:hover, .error button:hover, .info button:focus, .warning button:focus, .question button:focus, .error button:focus { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.4); } .info button:disabled, .warning button:disabled, .question button:disabled, .error button:disabled { background: rgba(57, 70, 92, 0.6); color: rgba(254, 254, 254, 0.5); } .info button:disabled:backdrop, .warning button:disabled:backdrop, .question button:disabled:backdrop, .error button:disabled:backdrop { background: rgba(57, 70, 92, 0.6); color: rgba(254, 254, 254, 0.5); } .info button:disabled label, .warning button:disabled label, .question button:disabled label, .error button:disabled label { color: rgba(254, 254, 254, 0.5); } .info button:disabled label:backdrop, .warning button:disabled label:backdrop, .question button:disabled label:backdrop, .error button:disabled label:backdrop { color: rgba(254, 254, 254, 0.5); } .info button:backdrop, .warning button:backdrop, .question button:backdrop, .error button:backdrop { background: rgba(57, 70, 92, 0.9); color: rgba(254, 254, 254, 0.5); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .info { background-color: #a1ce4b; } .info:backdrop { background-color: #b6d973; color: rgba(254, 254, 254, 0.8); } .warning { background-color: #ee8e00; } .warning:backdrop { background-color: #ffa622; color: rgba(254, 254, 254, 0.8); } .question { background-color: #37b9a5; } .question:backdrop { background-color: #56cdbb; color: rgba(254, 254, 254, 0.8); } .error { background-color: #b11e39; } .error:backdrop { background-color: #da2849; color: rgba(254, 254, 254, 0.8); } /************* * Level Bar * *************/ levelbar block { min-width: 32px; min-height: 6px; } levelbar.vertical block { min-width: 6px; min-height: 32px; } levelbar:backdrop { transition: 200ms ease-out; } levelbar trough { padding: 3px; border-radius: 2px; background-color: rgba(0, 0, 0, 0.14); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } levelbar trough:backdrop { background-color: rgba(0, 0, 0, 0.06); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } levelbar.horizontal.discrete block { margin: 0 2px; } levelbar.vertical.discrete block { margin: 2px 0; } levelbar block { border-radius: 1px; } levelbar block:backdrop { box-shadow: none; } levelbar block.low { background-color: #ee8e00; } levelbar block.low:backdrop { border-color: #ee8e00; } levelbar block.high, levelbar block:not(.empty) { background-color: #37b9a5; } levelbar block.high:backdrop, levelbar block:not(.empty):backdrop { border-color: #37b9a5; } levelbar block.full { background-color: #2b9282; } levelbar block.full:backdrop { border-color: #2b9282; } levelbar block.empty { background-color: rgba(0, 0, 0, 0.14); box-shadow: none; } /********* * Links * *********/ *:link, button:link, button:visited { color: #13b1d5; } *:link:visited, button:visited { color: rgba(19, 177, 213, 0.5); } *:selected *:link:visited, *:selected button:visited:link, *:selected button:visited { color: #aee2da; } *:link:hover, button:hover:link, button:hover:visited { color: #2fc9ec; } *:selected *:link:hover, *:selected button:hover:link, *:selected button:hover:visited { color: #eaf7f5; } *:link:active, button:active:link, button:active:visited { color: #13b1d5; } *:selected *:link:active, *:selected button:active:link, *:selected button:active:visited { color: #d6f0ec; } *:link:backdrop:backdrop:hover, button:backdrop:backdrop:hover:link, button:backdrop:backdrop:hover:visited, *:link:backdrop:backdrop:hover:selected, .titlebar.selection-mode .subtitle:backdrop:backdrop:hover:link, headerbar.selection-mode .subtitle:backdrop:backdrop:hover:link, button:backdrop:backdrop:hover:selected:link, button:backdrop:backdrop:hover:selected:visited, *:link:backdrop, button:backdrop:link, button:backdrop:visited { color: #37b9a5; } *:link:selected, .titlebar.selection-mode .subtitle:link, headerbar.selection-mode .subtitle:link, button:selected:link, button:selected:visited, *:selected *:link, *:selected button:link, *:selected button:visited { color: #d6f0ec; } button:link, button:visited { text-shadow: none; } button:link:hover, button:link:active, button:link:checked, button:visited:hover, button:visited:active, button:visited:checked { text-shadow: none; } button:link > label, button:visited > label { text-decoration-line: underline; } /********* * Lists * *********/ list { color: #fefefe; background-color: #39465c; border-color: rgba(0, 0, 0, 0.1); } list:backdrop { color: #d7dade; background-color: #3b485f; border-color: rgba(27, 33, 44, 0.19); } row { padding: 2px 6px; transition: all 150ms cubic-bezier(0.25, 0.46, 0.45, 0.94); } row:hover { transition: none; } row:backdrop { transition: 200ms ease-out; } row:backdrop label { color: #d7dade; } row.activatable.has-open-popup, row.activatable:hover { background-color: rgba(254, 254, 254, 0.05); } row.activatable:active { box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.2); } row.activatable:backdrop:hover { background-color: transparent; } row.activatable:selected:active { box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.2); } row.activatable:selected.has-open-popup, row.activatable:selected:hover { background-color: #4bc0ae; } row.activatable:selected:backdrop { background-color: #37b9a5; } row button.image-button:not(.text-button):not(.round-button), row button.circular { min-width: 16px; min-height: 16px; margin: 2px; padding: 3px; } /********* * Menus * *********/ menubar, .menubar { background-color: #283141; color: #fefefe; -GtkWidget-window-dragging: true; padding: 0px; box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1); } menubar label:backdrop, .menubar label:backdrop { color: rgba(254, 254, 254, 0.8); } menubar > menuitem, .menubar > menuitem { min-height: 16px; padding: 4px 8px; } menubar > menuitem:hover, .menubar > menuitem:hover { box-shadow: inset 0 -3px #37b9a5; } menubar > menuitem:disabled, .menubar > menuitem:disabled { color: #9398a0; box-shadow: none; } menu, .menu, .context-menu { margin: 4px; padding: 2px 0px; background-color: #364257; border: 1px solid rgba(0, 0, 0, 0.1); } .csd menu, .csd .menu, .csd .context-menu { border: none; } menu:backdrop, .menu:backdrop, .context-menu:backdrop { background-color: #374359; } menu menuitem, .menu menuitem, .context-menu menuitem { min-height: 16px; min-width: 40px; padding: 4px 6px; text-shadow: none; color: #fefefe; } menu menuitem:hover, .menu menuitem:hover, .context-menu menuitem:hover { color: #fefefe; background-color: #37b9a5; } menu menuitem:disabled, .menu menuitem:disabled, .context-menu menuitem:disabled { color: #9398a0; } menu menuitem:disabled:backdrop, .menu menuitem:disabled:backdrop, .context-menu menuitem:disabled:backdrop { color: #455570; } menu menuitem:backdrop, menu menuitem:backdrop:hover, .menu menuitem:backdrop, .menu menuitem:backdrop:hover, .context-menu menuitem:backdrop, .context-menu menuitem:backdrop:hover { color: rgba(254, 254, 254, 0.8); background-color: transparent; } menu menuitem arrow, .menu menuitem arrow, .context-menu menuitem arrow { min-height: 16px; min-width: 16px; } menu menuitem arrow:dir(ltr), .menu menuitem arrow:dir(ltr), .context-menu menuitem arrow:dir(ltr) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); margin-left: 10px; } menu menuitem arrow:dir(rtl), .menu menuitem arrow:dir(rtl), .context-menu menuitem arrow:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); margin-right: 10px; } menu menuitem label:dir(rtl), menu menuitem label:dir(ltr), .menu menuitem label:dir(rtl), .menu menuitem label:dir(ltr), .context-menu menuitem label:dir(rtl), .context-menu menuitem label:dir(ltr) { color: inherit; } menu > arrow, .menu > arrow, .context-menu > arrow { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; min-height: 16px; min-width: 16px; padding: 4px; background-color: #364257; border-radius: 0; } menu > arrow.top, .menu > arrow.top, .context-menu > arrow.top { margin-top: -6px; border-bottom: 1px solid #4d586c; -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); } menu > arrow.bottom, .menu > arrow.bottom, .context-menu > arrow.bottom { margin-bottom: -6px; border-top: 1px solid #4d586c; -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } menu > arrow:hover, .menu > arrow:hover, .context-menu > arrow:hover { background-color: #4d586c; } menu > arrow:backdrop, .menu > arrow:backdrop, .context-menu > arrow:backdrop { background-color: #374359; } menu > arrow:disabled, .menu > arrow:disabled, .context-menu > arrow:disabled { color: transparent; background-color: transparent; border-color: transparent; } menuitem accelerator { color: alpha(currentColor,0.55); } menuitem check, menuitem radio { min-height: 16px; min-width: 16px; } menuitem check:dir(ltr), menuitem radio:dir(ltr) { margin-right: 7px; } menuitem check:dir(rtl), menuitem radio:dir(rtl) { margin-left: 7px; } /******** * Misc * ********/ .content-view { background-color: #1a202b; } .content-view:hover { -gtk-icon-effect: highlight; } .content-view:backdrop { background-color: #1a202b; } .osd .scale-popup button.flat { border-style: none; border-radius: 2px; } .scale-popup button { border-radius: 50px; padding: 2px; } .scale-popup button:first-child:hover { border-radius: 50px; background-color: #2b9282; color: #fefefe; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); animation: volume_hover 0.2s linear forwards; } .scale-popup button:first-child:disabled { border-radius: 50px; background-color: transparent; color: #2b9282; } .scale-popup button:first-child:disabled:backdrop { color: #2b9282; } .scale-popup button:last-child:hover { border-radius: 50px; background-color: #b11e39; color: #fefefe; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); animation: volume_hover 0.2s linear forwards; } .scale-popup button:last-child:disabled { border-radius: 50px; background-color: transparent; color: #b11e39; } .scale-popup button:last-child:disabled:backdrop { color: #b11e39; } /************ * Assistant * *************/ assistant { border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; } assistant .sidebar { background-color: #39465c; border-top: 1px solid rgba(0, 0, 0, 0.1); border-bottom-left-radius: 2px; } assistant .sidebar:backdrop { background-color: #3b485f; border-color: rgba(27, 33, 44, 0.19); } assistant.csd .sidebar { border-top-style: none; } assistant .sidebar GtkLabel, assistant .sidebar label { padding: 6px 12px; } assistant .sidebar GtkLabel.highlight, assistant .sidebar label.highlight { background-color: #535a67; } /************* * Notebooks * *************/ notebook > header { padding: 1px; border-color: rgba(0, 0, 0, 0.1); border-width: 1px; background-color: #283141; } notebook > header:backdrop { border-color: rgba(27, 33, 44, 0.19); background-color: #283141; } notebook > header tabs { margin: -1px; } notebook > header.top { border-bottom-style: solid; } notebook > header.top > tabs { margin-bottom: -2px; } notebook > header.top > tabs > tab:hover { box-shadow: inset 0 -3px rgba(0, 0, 0, 0.1); } notebook > header.top > tabs > tab:backdrop { box-shadow: none; } notebook > header.top > tabs > tab:checked { box-shadow: inset 0 -3px #37b9a5; border-left-width: 0; border-right-width: 0; } notebook > header.bottom { border-top-style: solid; } notebook > header.bottom > tabs { margin-top: -2px; } notebook > header.bottom > tabs > tab:hover { box-shadow: inset 0 3px rgba(0, 0, 0, 0.1); } notebook > header.bottom > tabs > tab:backdrop { box-shadow: none; } notebook > header.bottom > tabs > tab:checked { box-shadow: inset 0 3px #37b9a5; } notebook > header.left { border-right-style: solid; } notebook > header.left > tabs { margin-right: -2px; } notebook > header.left > tabs > tab:hover { box-shadow: inset -3px 0 rgba(0, 0, 0, 0.1); } notebook > header.left > tabs > tab:backdrop { box-shadow: none; } notebook > header.left > tabs > tab:checked { box-shadow: inset -3px 0 #37b9a5; } notebook > header.right { border-left-style: solid; } notebook > header.right > tabs { margin-left: -2px; } notebook > header.right > tabs > tab:hover { box-shadow: inset 3px 0 rgba(0, 0, 0, 0.1); } notebook > header.right > tabs > tab:backdrop { box-shadow: none; } notebook > header.right > tabs > tab:checked { box-shadow: inset 3px 0 #37b9a5; } notebook > header.top > tabs > arrow { border-top-style: none; } notebook > header.bottom > tabs > arrow { border-bottom-style: none; } notebook > header.top > tabs > arrow, notebook > header.bottom > tabs > arrow { margin-left: -5px; margin-right: -5px; padding-left: 4px; padding-right: 4px; } notebook > header.top > tabs > arrow.down, notebook > header.bottom > tabs > arrow.down { -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); } notebook > header.top > tabs > arrow.up, notebook > header.bottom > tabs > arrow.up { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); } notebook > header.left > tabs > arrow { border-left-style: none; } notebook > header.right > tabs > arrow { border-right-style: none; } notebook > header.left > tabs > arrow, notebook > header.right > tabs > arrow { margin-top: -5px; margin-bottom: -5px; padding-top: 4px; padding-bottom: 4px; } notebook > header.left > tabs > arrow.down, notebook > header.right > tabs > arrow.down { -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); } notebook > header.left > tabs > arrow.up, notebook > header.right > tabs > arrow.up { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } notebook > header > tabs > arrow { min-height: 16px; min-width: 16px; border-radius: 0; } notebook > header > tabs > arrow:hover:not(:active):not(:backdrop) { background-clip: padding-box; background-image: none; background-color: rgba(255, 255, 255, 0.3); border-color: transparent; box-shadow: none; } notebook > header > tabs > arrow:disabled { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; } notebook > header tab { min-height: 30px; min-width: 30px; padding: 3px 12px; outline-offset: -5px; color: #fefefe; font-weight: 700; border-width: 1px; border-color: transparent; } notebook > header tab:hover { color: rgba(254, 254, 254, 0.7); } notebook > header tab:hover.reorderable-page { border-color: transparent; background-color: rgba(40, 49, 65, 0.2); } notebook > header tab:backdrop { color: rgba(147, 152, 160, 0.88); } notebook > header tab:backdrop.reorderable-page { border-color: transparent; background-color: transparent; } notebook > header tab:checked { color: #fefefe; } notebook > header tab:checked.reorderable-page { border-color: transparent; background-color: rgba(40, 49, 65, 0.5); } notebook > header tab:checked.reorderable-page:hover { background-color: rgba(40, 49, 65, 0.7); } notebook > header tab:backdrop:checked { color: rgba(254, 254, 254, 0.8); } notebook > header tab:backdrop:checked.reorderable-page { border-color: rgba(27, 33, 44, 0.19); background-color: #283141; } notebook > header tab button.flat { padding: 0; margin-top: 4px; margin-bottom: 4px; min-width: 20px; min-height: 20px; } notebook > header tab button.flat:hover { color: #c72240; background-color: transparent; box-shadow: none; } notebook > header tab button.flat, notebook > header tab button.flat:backdrop { color: alpha(currentColor,0.3); } notebook > header tab button.flat:last-child { margin-left: 4px; margin-right: -4px; } notebook > header tab button.flat:first-child { margin-left: -4px; margin-right: 4px; } notebook > header.top tabs, notebook > header.bottom tabs { padding-left: 4px; padding-right: 4px; } notebook > header.top tabs:not(:only-child), notebook > header.bottom tabs:not(:only-child) { margin-left: 3px; margin-right: 3px; } notebook > header.top tabs:not(:only-child):first-child, notebook > header.bottom tabs:not(:only-child):first-child { margin-left: -1px; } notebook > header.top tabs:not(:only-child):last-child, notebook > header.bottom tabs:not(:only-child):last-child { margin-right: -1px; } notebook > header.top tabs tab, notebook > header.bottom tabs tab { margin-left: 4px; margin-right: 4px; } notebook > header.top tabs tab.reorderable-page, notebook > header.bottom tabs tab.reorderable-page { border-style: none solid; } notebook > header.left tabs, notebook > header.right tabs { padding-top: 4px; padding-bottom: 4px; } notebook > header.left tabs:not(:only-child), notebook > header.right tabs:not(:only-child) { margin-top: 3px; margin-bottom: 3px; } notebook > header.left tabs:not(:only-child):first-child, notebook > header.right tabs:not(:only-child):first-child { margin-top: -1px; } notebook > header.left tabs:not(:only-child):last-child, notebook > header.right tabs:not(:only-child):last-child { margin-bottom: -1px; } notebook > header.left tabs tab, notebook > header.right tabs tab { margin-top: 4px; margin-bottom: 4px; } notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page { border-style: solid none; } notebook > header.top tab { padding-bottom: 4px; } notebook > header.bottom tab { padding-top: 4px; } notebook > stack:not(:only-child) { background-color: #39465c; } notebook > stack:not(:only-child):backdrop { background-color: #3b485f; } /********* * Paned * *********/ paned > separator { min-width: 1px; min-height: 1px; -gtk-icon-source: none; border-style: none; background-color: transparent; background-image: image(rgba(0, 0, 0, 0.1)); background-size: 1px 1px; } paned > separator:selected { background-image: image(#37b9a5); } paned > separator:backdrop { background-image: image(rgba(27, 33, 44, 0.19)); } paned > separator.wide { min-width: 5px; min-height: 5px; background-color: #283141; background-image: image(rgba(0, 0, 0, 0.1)), image(rgba(0, 0, 0, 0.1)); background-size: 1px 1px, 1px 1px; } paned > separator.wide:backdrop { background-color: #283141; background-image: image(rgba(27, 33, 44, 0.19)), image(rgba(27, 33, 44, 0.19)); } paned.horizontal > separator { background-repeat: repeat-y; } paned.horizontal > separator:dir(ltr) { margin: 0 -8px 0 0; padding: 0 8px 0 0; background-position: left; } paned.horizontal > separator:dir(rtl) { margin: 0 0 0 -8px; padding: 0 0 0 8px; background-position: right; } paned.horizontal > separator.wide { margin: 0; padding: 0; background-repeat: repeat-y, repeat-y; background-position: left, right; } paned.vertical > separator { margin: 0 0 -8px 0; padding: 0 0 8px 0; background-repeat: repeat-x; background-position: top; } paned.vertical > separator.wide { margin: 0; padding: 0; background-repeat: repeat-x, repeat-x; background-position: bottom, top; } /************ * Pathbars * ************/ .path-bar button.text-button, .path-bar button.image-button, .path-bar button { padding-left: 4px; padding-right: 4px; } .path-bar button.text-button.image-button label { padding-left: 0; padding-right: 0; } .path-bar button.text-button.image-button label:last-child, .path-bar button label:last-child { padding-right: 8px; } .path-bar button.text-button.image-button label:first-child, .path-bar button label:first-child { padding-left: 8px; } .path-bar button image { padding-left: 4px; padding-right: 4px; } .path-bar button.slider-button { padding-left: 0; padding-right: 0; } /*************** * Popovers * ***************/ popover.background { padding: 2px; border-radius: 2px; color: #fefefe; background-color: #39465c; box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1); } .csd popover.background, popover.background { border: 1px solid rgba(0, 0, 0, 0.02); } popover.background:backdrop { color: #d7dade; background-color: #3b485f; box-shadow: none; } popover.background:backdrop label, popover.background:backdrop image { color: #d7dade; } popover.background > list, popover.background > .view, popover.background > iconview, popover.background > toolbar { border-style: none; background-color: transparent; } .csd popover.background.touch-selection, .csd popover.background.magnifier, popover.background.touch-selection, popover.background.magnifier { border: 1px solid rgba(255, 255, 255, 0.1); } popover.background separator { background-color: rgba(0, 0, 0, 0.1); min-width: 1px; min-height: 1px; margin: 3px; } popover.background list separator { margin: 0px; } /***************** * Progress bars * *****************/ progressbar { font-size: smaller; color: rgba(254, 254, 254, 0.4); } progressbar.horizontal trough, progressbar.horizontal progress { min-height: 6px; } progressbar.vertical trough, progressbar.vertical progress { min-width: 6px; } progressbar.horizontal progress { margin: 0; } progressbar.vertical progress { margin: 0; } progressbar:backdrop { box-shadow: none; transition: 200ms ease-out; } progressbar.osd { min-width: 3px; min-height: 3px; background-color: transparent; } progressbar.osd trough { border-style: none; border-radius: 0; background-color: transparent; box-shadow: none; } progressbar.osd progress { border-style: none; border-radius: 0; } /************ * GtkScale * ************/ progressbar trough, scale trough, scale fill { background-color: rgba(0, 0, 0, 0.14); border: none; border-radius: 0px; margin: 0; } progressbar trough:disabled, scale trough:disabled, scale fill:disabled { background-color: rgba(0, 0, 0, 0.06); } progressbar trough:backdrop, progressbar:backdrop trough, scale trough:backdrop, scale fill:backdrop { background-color: rgba(0, 0, 0, 0.06); transition: 200ms ease-out; } progressbar trough:backdrop:disabled, progressbar:backdrop trough:disabled, scale trough:backdrop:disabled, scale fill:backdrop:disabled { background-color: rgba(0, 0, 0, 0.06); } progressbar progress, scale highlight { border: none; background-color: #37b9a5; border-radius: 0px; margin: 0; } progressbar progress:disabled, scale highlight:disabled { border: none; background-color: rgba(0, 0, 0, 0.14); } progressbar progress:backdrop, progressbar:backdrop progress, scale highlight:backdrop, progressbar progress:active:backdrop, progressbar:backdrop progress:active, scale highlight:active:backdrop { border-color: #43c7b3; background-color: #43c7b3; } progressbar progress:backdrop:disabled, progressbar:backdrop progress:disabled, scale highlight:backdrop:disabled, progressbar progress:active:backdrop:disabled, progressbar:backdrop progress:active:disabled, scale highlight:active:backdrop:disabled { background-color: rgba(0, 0, 0, 0.1); } scale { min-height: 16px; min-width: 16px; padding: 8px; } scale.horizontal trough, scale.horizontal progress { min-height: 6px; } scale.vertical trough, scale.vertical progress { min-width: 6px; } scale slider { min-height: 16px; min-width: 16px; margin: -7px; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); border-radius: 12px; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); transition-property: background, border, box-shadow; } scale slider:active { background-color: #37b9a5; } scale slider:active:disabled { background-color: #2f394c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.fine-tune.horizontal { padding-top: 9px; padding-bottom: 9px; min-height: 16px; } scale.fine-tune.vertical { padding-left: 9px; padding-right: 9px; min-width: 16px; } scale.fine-tune slider { margin: -6px; } scale.fine-tune fill, scale.fine-tune highlight, scale.fine-tune trough { border-radius: 2px; -gtk-outline-radius: 7px; } scale trough { outline-offset: 2px; -gtk-outline-radius: 2px; outline-color: transparent; } scale fill:backdrop, scale fill { background-color: rgba(0, 0, 0, 0.1); } scale fill:disabled:backdrop, scale fill:disabled { border-color: transparent; background-color: transparent; } .osd scale fill { background-color: rgba(97, 97, 97, 0.775); } .osd scale fill:disabled:backdrop, .osd scale fill:disabled { border-color: transparent; background-color: transparent; } scale slider { border-color: #39465c; border: none; border-radius: 12px; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale slider:active { border-color: #2b9282; } scale slider:disabled { background-color: #2f394c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale slider:backdrop, scale slider:backdrop:disabled { transition: 200ms ease-out; background-color: #2f394c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } row:selected scale slider:disabled, row:selected scale slider { border-color: #2b9282; } .osd scale slider { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(36, 44, 59, 0.8); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); border-color: rgba(0, 0, 0, 0.7); background-color: #1e2531; } .osd scale slider:hover { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(42, 51, 68, 0.8); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); background-color: #1e2531; } .osd scale slider:active { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(48, 59, 78, 0.8); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); background-color: #1e2531; } .osd scale slider:disabled { color: rgba(254, 254, 254, 0.5); border-color: rgba(0, 0, 0, 0.7); background-color: rgba(52, 59, 70, 0.5); background-clip: padding-box; box-shadow: none; text-shadow: none; -gtk-icon-shadow: none; background-color: #1e2531; } .osd scale slider:backdrop { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(30, 37, 49, 0.8); background-clip: padding-box; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); background-color: #1e2531; } .osd scale slider:backdrop:disabled { background-color: #1e2531; } scale value { color: alpha(currentColor,0.4); } scale marks { color: alpha(currentColor,0.4); } scale marks.top { margin-bottom: 6px; margin-top: -12px; } scale marks.bottom { margin-top: 6px; margin-bottom: -12px; } scale marks.top { margin-right: 6px; margin-left: -12px; } scale marks.bottom { margin-left: 6px; margin-right: -12px; } scale.fine-tune marks.top { margin-bottom: 6px; margin-top: -9px; } scale.fine-tune marks.bottom { margin-top: 6px; margin-bottom: -9px; } scale.fine-tune marks.top { margin-right: 6px; margin-left: -9px; } scale.fine-tune marks.bottom { margin-left: 6px; margin-right: -9px; } scale.horizontal indicator { min-height: 6px; min-width: 1px; } scale.horizontal.fine-tune indicator { min-height: 3px; } scale.vertical indicator { min-height: 1px; min-width: 6px; } scale.vertical.fine-tune indicator { min-width: 3px; } scale.horizontal.marks-before:not(.marks-after) slider { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.horizontal.marks-before:not(.marks-after).fine-tune slider { margin: -7px; } scale.horizontal.marks-before:not(.marks-after) slider:hover { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.horizontal.marks-before:not(.marks-after).fine-tune slider { margin: -7px; } scale.horizontal.marks-before:not(.marks-after) slider:active { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.horizontal.marks-before:not(.marks-after).fine-tune slider { margin: -7px; } scale.horizontal.marks-before:not(.marks-after) slider:disabled { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.horizontal.marks-before:not(.marks-after).fine-tune slider { margin: -7px; } scale.horizontal.marks-before:not(.marks-after) slider:backdrop { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.horizontal.marks-before:not(.marks-after).fine-tune slider { margin: -7px; } scale.horizontal.marks-before:not(.marks-after) slider:backdrop:disabled { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.horizontal.marks-before:not(.marks-after).fine-tune slider { margin: -7px; } scale.horizontal.marks-after:not(.marks-before) slider { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.horizontal.marks-after:not(.marks-before).fine-tune slider { margin: -7px; } scale.horizontal.marks-after:not(.marks-before) slider:hover { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.horizontal.marks-after:not(.marks-before).fine-tune slider { margin: -7px; } scale.horizontal.marks-after:not(.marks-before) slider:active { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.horizontal.marks-after:not(.marks-before).fine-tune slider { margin: -7px; } scale.horizontal.marks-after:not(.marks-before) slider:disabled { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.horizontal.marks-after:not(.marks-before).fine-tune slider { margin: -7px; } scale.horizontal.marks-after:not(.marks-before) slider:backdrop { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.horizontal.marks-after:not(.marks-before).fine-tune slider { margin: -7px; } scale.horizontal.marks-after:not(.marks-before) slider:backdrop:disabled { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.horizontal.marks-after:not(.marks-before).fine-tune slider { margin: -7px; } scale.vertical.marks-before:not(.marks-after) slider { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.vertical.marks-before:not(.marks-after).fine-tune slider { margin: -7px; } scale.vertical.marks-before:not(.marks-after) slider:hover { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.vertical.marks-before:not(.marks-after).fine-tune slider { margin: -7px; } scale.vertical.marks-before:not(.marks-after) slider:active { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.vertical.marks-before:not(.marks-after).fine-tune slider { margin: -7px; } scale.vertical.marks-before:not(.marks-after) slider:disabled { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.vertical.marks-before:not(.marks-after).fine-tune slider { margin: -7px; } scale.vertical.marks-before:not(.marks-after) slider:backdrop { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.vertical.marks-before:not(.marks-after).fine-tune slider { margin: -7px; } scale.vertical.marks-before:not(.marks-after) slider:backdrop:disabled { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.vertical.marks-before:not(.marks-after).fine-tune slider { margin: -7px; } scale.vertical.marks-after:not(.marks-before) slider { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.vertical.marks-after:not(.marks-before).fine-tune slider { margin: -7px; } scale.vertical.marks-after:not(.marks-before) slider:hover { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.vertical.marks-after:not(.marks-before).fine-tune slider { margin: -7px; } scale.vertical.marks-after:not(.marks-before) slider:active { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.vertical.marks-after:not(.marks-before).fine-tune slider { margin: -7px; } scale.vertical.marks-after:not(.marks-before) slider:disabled { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.vertical.marks-after:not(.marks-before).fine-tune slider { margin: -7px; } scale.vertical.marks-after:not(.marks-before) slider:backdrop { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.vertical.marks-after:not(.marks-before).fine-tune slider { margin: -7px; } scale.vertical.marks-after:not(.marks-before) slider:backdrop:disabled { min-height: 16px; min-width: 16px; margin: -7px; border: none; border-radius: 50%; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } scale.vertical.marks-after:not(.marks-before).fine-tune slider { margin: -7px; } scale.color { min-height: 0; min-width: 0; } scale.color trough { background-image: image(rgba(0, 0, 0, 0.1)); background-repeat: no-repeat; } scale.color.horizontal { padding: 0 0 15px 0; } scale.color.horizontal trough { padding-bottom: 4px; background-position: 0 -3px; border-top-left-radius: 0; border-top-right-radius: 0; } scale.color.horizontal slider:dir(ltr):hover, scale.color.horizontal slider:dir(ltr):backdrop, scale.color.horizontal slider:dir(ltr):disabled, scale.color.horizontal slider:dir(ltr):backdrop:disabled, scale.color.horizontal slider:dir(ltr), scale.color.horizontal slider:dir(rtl):hover, scale.color.horizontal slider:dir(rtl):backdrop, scale.color.horizontal slider:dir(rtl):disabled, scale.color.horizontal slider:dir(rtl):backdrop:disabled, scale.color.horizontal slider:dir(rtl) { margin-bottom: -15px; margin-top: 6px; } scale.color.vertical:dir(ltr) { padding: 0 0 0 15px; } scale.color.vertical:dir(ltr) trough { padding-left: 4px; background-position: 3px 0; border-bottom-right-radius: 0; border-top-right-radius: 0; } scale.color.vertical:dir(ltr) slider:hover, scale.color.vertical:dir(ltr) slider:backdrop, scale.color.vertical:dir(ltr) slider:disabled, scale.color.vertical:dir(ltr) slider:backdrop:disabled, scale.color.vertical:dir(ltr) slider { margin-left: -15px; margin-right: 6px; } scale.color.vertical:dir(rtl) { padding: 0 15px 0 0; } scale.color.vertical:dir(rtl) trough { padding-right: 4px; background-position: -3px 0; border-bottom-left-radius: 0; border-top-left-radius: 0; } scale.color.vertical:dir(rtl) slider:hover, scale.color.vertical:dir(rtl) slider:backdrop, scale.color.vertical:dir(rtl) slider:disabled, scale.color.vertical:dir(rtl) slider:backdrop:disabled, scale.color.vertical:dir(rtl) slider { margin-right: -15px; margin-left: 6px; } scale.color.fine-tune.horizontal:dir(ltr), scale.color.fine-tune.horizontal:dir(rtl) { padding: 0 0 12px 0; } scale.color.fine-tune.horizontal:dir(ltr) trough, scale.color.fine-tune.horizontal:dir(rtl) trough { padding-bottom: 7px; background-position: 0 -6px; } scale.color.fine-tune.horizontal:dir(ltr) slider, scale.color.fine-tune.horizontal:dir(rtl) slider { margin-bottom: -15px; margin-top: 6px; } scale.color.fine-tune.vertical:dir(ltr) { padding: 0 0 0 12px; } scale.color.fine-tune.vertical:dir(ltr) trough { padding-left: 7px; background-position: 6px 0; } scale.color.fine-tune.vertical:dir(ltr) slider { margin-left: -15px; margin-right: 6px; } scale.color.fine-tune.vertical:dir(rtl) { padding: 0 12px 0 0; } scale.color.fine-tune.vertical:dir(rtl) trough { padding-right: 7px; background-position: -6px 0; } scale.color.fine-tune.vertical:dir(rtl) slider { margin-right: -15px; margin-left: 6px; } /************** * Scrollbars * **************/ scrollbar { background-color: #39465c; transition: 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94); } * { -GtkScrollbar-has-backward-stepper: false; -GtkScrollbar-has-forward-stepper: false; } scrollbar:backdrop { background-color: #3b485f; border-color: rgba(27, 33, 44, 0.19); transition: 200ms ease-out; } scrollbar slider { min-width: 6px; min-height: 6px; margin: -1px; border: 4px solid transparent; border-radius: 0; background-clip: padding-box; background-color: #a8acb2; } scrollbar slider:hover { background-color: #d3d5d8; } scrollbar slider:hover:active { background-color: #56cdbb; } scrollbar slider:backdrop { background-color: rgba(106, 112, 123, 0.92); } scrollbar slider:disabled { background-color: transparent; } scrollbar.fine-tune slider { min-width: 4px; min-height: 4px; } scrollbar.fine-tune.horizontal slider { border-width: 5px 4px; } scrollbar.fine-tune.vertical slider { border-width: 4px 5px; } scrollbar.overlay-indicator:not(.dragging):not(.hovering) { border-color: transparent; opacity: 0.4; background-color: transparent; } scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider { margin: 0; min-width: 4px; min-height: 10px; background-color: #fefefe; } scrollbar.overlay-indicator:not(.dragging):not(.hovering) button { min-width: 5px; min-height: 5px; background-color: #fefefe; background-clip: padding-box; border-radius: 100%; -gtk-icon-source: none; } scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal slider { margin: 0 2px; min-width: 40px; } scrollbar.overlay-indicator:not(.dragging):not(.hovering).horizontal button { margin: 1px 2px; min-width: 5px; } scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical slider { margin: 2px 0; min-height: 40px; } scrollbar.overlay-indicator:not(.dragging):not(.hovering).vertical button { margin: 2px 1px; min-height: 5px; } scrollbar.overlay-indicator.dragging, scrollbar.overlay-indicator.hovering { opacity: 0.8; } scrollbar.horizontal slider { min-width: 40px; } scrollbar.vertical slider { min-height: 40px; } scrollbar button { padding: 0; min-width: 12px; min-height: 12px; border-style: none; border-radius: 0; transition-property: min-height, min-width, color; border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; color: #a8acb2; } scrollbar button:hover { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; color: #d3d5d8; } scrollbar button:active, scrollbar button:checked { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; color: #56cdbb; } scrollbar button:disabled { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; color: rgba(168, 172, 178, 0.2); } scrollbar button:backdrop { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; color: rgba(106, 112, 123, 0.92); } scrollbar button:backdrop:disabled { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; color: rgba(106, 112, 123, 0.12); } scrollbar.vertical button.down { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } scrollbar.vertical button.up { -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); } scrollbar.horizontal button.down { -gtk-icon-source: -gtk-icontheme("pan-right-symbolic"); } scrollbar.horizontal button.up { -gtk-icon-source: -gtk-icontheme("pan-left-symbolic"); } treeview ~ scrollbar.vertical { border-top: 1px solid rgba(0, 0, 0, 0.1); margin-top: -1px; } /*********** * Sidebar * ***********/ .sidebar { border-style: none; background-color: #283141; color: #fefefe; } .sidebar frame > border, .sidebar .frame { border: none; } stacksidebar.sidebar:dir(ltr) list, stacksidebar.sidebar.left list, stacksidebar.sidebar.left:dir(rtl) list, .sidebar:dir(ltr), .sidebar.left, .sidebar.left:dir(rtl) { border-right: 1px solid rgba(0, 0, 0, 0.1); border-left-style: none; } stacksidebar.sidebar:dir(rtl) list .sidebar:dir(rtl), stacksidebar.sidebar.right list .sidebar:dir(rtl), .sidebar.right { border-left: 1px solid rgba(0, 0, 0, 0.1); border-right-style: none; } .sidebar:backdrop { background-color: #283141; border-color: rgba(27, 33, 44, 0.19); transition: 200ms ease-out; color: rgba(254, 254, 254, 0.8); } .sidebar list { background-color: transparent; color: #fefefe; } .sidebar list:backdrop { color: rgba(254, 254, 254, 0.8); } .sidebar list row label { padding-left: 10px; } .sidebar list button { border-radius: 50%; padding: 2px; } paned .sidebar.left, paned .sidebar.right, paned .sidebar.left:dir(rtl), paned .sidebar:dir(rtl), paned .sidebar:dir(ltr), paned .sidebar { border-style: none; border-color: rgba(0, 0, 0, 0.1); } stacksidebar row { padding: 10px 4px; } stacksidebar row > label { padding-left: 6px; padding-right: 6px; } stacksidebar row.needs-attention > label { background-size: 6px 6px, 0 0; } /***************** * GtkSpinButton * *****************/ spinbutton:not(.vertical) { padding: 0; box-shadow: none; } spinbutton:not(.vertical):backdrop, spinbutton:not(.vertical):disabled, spinbutton:not(.vertical):backdrop:disabled { box-shadow: none; } spinbutton:not(.vertical) entry { min-width: 28px; margin: 0; background: none; background-color: transparent; border: none; border-radius: 0; } spinbutton:not(.vertical) entry:backdrop:disabled { background-color: #2f394c; } spinbutton:not(.vertical) button { min-height: 16px; margin: 0; padding-bottom: 0; padding-top: 0; background-image: none; border-radius: 0; } spinbutton:not(.vertical) button:hover { box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } spinbutton:not(.vertical) button:disabled { color: rgba(147, 152, 160, 0.3); } spinbutton:not(.vertical) button:active { box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } spinbutton:not(.vertical) button:backdrop { transition: 200ms ease-out; } spinbutton:not(.vertical) button:backdrop:disabled { box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } spinbutton:not(.vertical) button:last-child { border-top-right-radius: 2px; border-bottom-right-radius: 2px; } .osd spinbutton:not(.vertical) button { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; color: #fefefe; border-style: none none none solid; border-color: rgba(0, 0, 0, 0.4); border-radius: 0; box-shadow: none; -gtk-icon-shadow: 0 1px black; } .osd spinbutton:not(.vertical) button:dir(rtl) { border-style: none solid none none; } .osd spinbutton:not(.vertical) button:hover { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; color: #fefefe; border-color: rgba(0, 0, 0, 0.5); background-color: rgba(254, 254, 254, 0.1); -gtk-icon-shadow: 0 1px black; box-shadow: none; } .osd spinbutton:not(.vertical) button:backdrop { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; color: #fefefe; border-color: rgba(0, 0, 0, 0.5); -gtk-icon-shadow: none; box-shadow: none; } .osd spinbutton:not(.vertical) button:disabled { border-color: transparent; background-color: transparent; background-image: none; box-shadow: inset 0 1px rgba(255, 255, 255, 0); text-shadow: none; -gtk-icon-shadow: none; color: rgba(254, 254, 254, 0.5); border-color: rgba(0, 0, 0, 0.5); -gtk-icon-shadow: none; box-shadow: none; } .osd spinbutton:not(.vertical) button:last-child { border-radius: 0 3px 3px 0; } .osd spinbutton:not(.vertical) button:dir(rtl):first-child { border-radius: 3px 0 0 3px; } spinbutton.vertical:disabled { color: #9398a0; } spinbutton.vertical:backdrop:disabled { color: #455570; } spinbutton.vertical:drop(active) { border-color: transparent; box-shadow: none; } spinbutton.vertical entry { min-height: 32px; min-width: 32px; padding: 0; border-radius: 0; margin-top: 0; margin-bottom: 0; } spinbutton.vertical button { min-height: 32px; min-width: 32px; padding: 0; } spinbutton.vertical button.up { border-radius: 2px 2px 0 0; margin-bottom: 0; } spinbutton.vertical button.down { border-radius: 0 0 2px 2px; margin-top: 0; } .osd spinbutton.vertical button:first-child { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(36, 44, 59, 0.8); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .osd spinbutton.vertical button:first-child:hover { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(42, 51, 68, 0.8); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .osd spinbutton.vertical button:first-child:active { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(48, 59, 78, 0.8); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .osd spinbutton.vertical button:first-child:disabled { color: rgba(254, 254, 254, 0.5); border-color: rgba(0, 0, 0, 0.7); background-color: rgba(52, 59, 70, 0.5); background-clip: padding-box; box-shadow: none; text-shadow: none; -gtk-icon-shadow: none; } .osd spinbutton.vertical button:first-child:backdrop { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(30, 37, 49, 0.8); background-clip: padding-box; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } treeview spinbutton:not(.vertical) { min-height: 0; border-style: none; border-radius: 0; } treeview spinbutton:not(.vertical) entry { min-height: 0; padding: 1px 2px; } /*********** * Spinner * ***********/ menu spinner { color: #37b9a5; } /********************* * Spinner Animation * *********************/ @keyframes spin { to { -gtk-icon-transform: rotate(1turn); } } spinner { background: none; opacity: 0; -gtk-icon-source: -gtk-icontheme("process-working-symbolic"); } spinner:checked { opacity: 1; animation: spin 1s linear infinite; } spinner:checked:disabled { opacity: 0.5; } /********** * Switch * **********/ switch { margin-left: 48px; font-size: 0; font-weight: 700; outline-offset: -4px; transition: all 200ms ease-in; border: none; border-radius: 14px; color: transparent; padding: 2px; background-color: rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(0, 0, 0, 0.2), 0px 1px 0px 0px rgba(255, 255, 255, 0.15); } switch:disabled { background-color: #2f394c; } switch:backdrop { background-color: rgba(0, 0, 0, 0.08); transition: 200ms ease-out; } switch:backdrop:disabled { background-color: #2f394c; } switch:active, switch:checked { background-color: #37b9a5; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(0, 0, 0, 0.2), 0px 1px 0px 0px rgba(255, 255, 255, 0.15); } switch:active:backdrop, switch:checked:backdrop { background-color: #37b9a5; } switch:active:backdrop slider:backdrop, switch:checked:backdrop slider:backdrop { box-shadow: none; background-color: rgba(57, 70, 92, 0.9); border: none; } switch slider { padding: 2px; min-width: 18px; min-height: 18px; border-radius: 50%; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94); background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } switch slider:backdrop { padding: 2px; box-shadow: none; background-color: #39465c; } switch trough:active, switch trough:checked { background-color: #37b9a5; } switch trough:active:backdrop, switch trough:checked:backdrop { background-color: #37b9a5; } /************ * Toolbars * ************/ toolbar, .inline-toolbar, searchbar, .location-bar { -GtkWidget-window-dragging: true; padding: 4px; color: #fefefe; background-color: #283141; } toolbar button, .inline-toolbar button, searchbar button, .location-bar button, toolbar button:backdrop, .inline-toolbar button:backdrop, searchbar button:backdrop, .location-bar button:backdrop { border: none; box-shadow: none; background-color: transparent; } toolbar button:hover, .inline-toolbar button:hover, searchbar button:hover, .location-bar button:hover, toolbar button:backdrop:hover, .inline-toolbar button:backdrop:hover, searchbar button:backdrop:hover, .location-bar button:backdrop:hover { -gtk-icon-effect: none; } toolbar { padding: 4px 3px 3px 4px; } .osd toolbar { background-color: transparent; } toolbar.osd { padding: 13px; border: none; border-radius: 2px; background-color: rgba(30, 37, 49, 0.8); } toolbar.osd.left, toolbar.osd.right, toolbar.osd.top, toolbar.osd.bottom { border-radius: 0; } toolbar.horizontal separator { margin: 0 7px 1px 6px; } toolbar.vertical separator { margin: 6px 1px 7px 0; } toolbar:not(.inline-toolbar):not(.osd) switch, toolbar:not(.inline-toolbar):not(.osd) scale, toolbar:not(.inline-toolbar):not(.osd) entry, toolbar:not(.inline-toolbar):not(.osd) spinbutton, toolbar:not(.inline-toolbar):not(.osd) button { margin-right: 1px; margin-bottom: 1px; } .inline-toolbar { padding: 3px; border-width: 0 1px 1px; border-radius: 0; } searchbar, .location-bar { border-width: 0 0 1px; padding: 3px; } .inline-toolbar, searchbar, .location-bar { border-style: solid; border-color: rgba(0, 0, 0, 0.1); background-color: rgba(39, 48, 64, 0.73); } .inline-toolbar:backdrop, searchbar:backdrop, .location-bar:backdrop { border-color: rgba(27, 33, 44, 0.19); background-color: rgba(39, 48, 64, 0.7165); box-shadow: none; transition: 200ms ease-out; } /************ * Tooltips * ************/ tooltip { padding: 2px; /* not working */ border-radius: 3px; box-shadow: none; } tooltip.background { background-color: rgba(30, 37, 49, 0.8); background-clip: padding-box; border: 1px solid rgba(255, 255, 255, 0.1); } tooltip decoration { background-color: transparent; } tooltip * { padding: 1px; background-color: transparent; color: white; } /************** * Tree Views * **************/ treeview.view { border-left-color: #9ca2ad; border-top-color: #283141; } * { -GtkTreeView-horizontal-separator: 4; -GtkTreeView-grid-line-width: 1; -GtkTreeView-grid-line-pattern: ''; -GtkTreeView-tree-line-width: 1; -GtkTreeView-tree-line-pattern: ''; -GtkTreeView-expander-size: 16; } treeview.view:selected:focus, treeview.view:selected { border-radius: 0; } treeview.view:selected:backdrop, treeview.view:selected { border-left-color: #9bdcd2; border-top-color: rgba(254, 254, 254, 0.1); } treeview.view:disabled { color: #9398a0; } treeview.view:disabled:selected { color: #87d5c9; } treeview.view:disabled:selected:backdrop { color: rgba(99, 200, 185, 0.94); } treeview.view:disabled:backdrop { color: #455570; } treeview.view.separator { min-height: 2px; color: #283141; } treeview.view.separator:backdrop { color: rgba(40, 49, 65, 0.1); } treeview.view:backdrop { border-left-color: rgba(126, 131, 141, 0.9); border-top: #283141; } treeview.view:drop(active) { border-style: solid none; border-width: 1px; border-color: #2b9282; } treeview.view:drop(active).after { border-top-style: none; } treeview.view:drop(active).before { border-bottom-style: none; } treeview.view.expander { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); color: #c3c7cd; } treeview.view.expander:dir(rtl) { -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl"); } treeview.view.expander:hover { color: #fefefe; } treeview.view.expander:selected { color: #c2e9e3; } treeview.view.expander:selected:hover { color: #fefefe; } treeview.view.expander:selected:backdrop { color: rgba(176, 227, 219, 0.86); } treeview.view.expander:checked { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); } treeview.view.expander:backdrop { color: rgba(178, 183, 192, 0.86); } treeview.view.progressbar { border: 1px solid #2b9282; border-radius: 4px; background-color: #37b9a5; background-image: linear-gradient(to bottom, #37b9a5, #2b9282); box-shadow: inset 0 1px rgba(255, 255, 255, 0.15), 0 1px rgba(0, 0, 0, 0.1); } treeview.view.progressbar:selected:focus, treeview.view.progressbar:selected { border-radius: 4px; box-shadow: inset 0 1px rgba(255, 255, 255, 0.05); background-image: linear-gradient(to bottom, #39465c, #252e3d); } treeview.view.progressbar:selected:focus:backdrop, treeview.view.progressbar:selected:backdrop { border-color: #3b485f; background-color: #3b485f; } treeview.view.progressbar:backdrop { border-color: #3b485f; background-image: none; box-shadow: none; } treeview.view.trough { background-color: rgba(254, 254, 254, 0.1); border-radius: 4px; } treeview.view.trough:selected:focus, treeview.view.trough:selected { background-color: #2b9282; border-radius: 4px; } treeview.view header button { color: #c3c7cd; background-color: #39465c; font-weight: 700; text-shadow: none; box-shadow: none; margin: 0; } treeview.view header button:hover { color: #e1e3e6; box-shadow: none; transition: none; } treeview.view header button:active { color: #fefefe; transition: none; } treeview.view header button:backdrop { box-shadow: none; } treeview.view header button:last-child:backdrop, treeview.view header button:last-child { border-right-style: none; } treeview.view button.dnd:active, treeview.view button.dnd:selected, treeview.view button.dnd:hover, treeview.view button.dnd, treeview.view header.button.dnd:active, treeview.view header.button.dnd:selected, treeview.view header.button.dnd:hover, treeview.view header.button.dnd { padding: 0 6px; transition: none; background-image: none; background-color: #37b9a5; color: #39465c; border-radius: 0; border-style: none; box-shadow: inset 0 0 0 1px #39465c; text-shadow: none; } treeview.view acceleditor > label { background-color: #37b9a5; } treeview.view header button, treeview.view header button:hover, treeview.view header button:active { padding: 0 6px; border-radius: 0; background-image: none; text-shadow: none; border-width: 1px; border-style: none solid solid none; border-color: rgba(0, 0, 0, 0.1); } treeview.view header button:disabled { border-color: rgba(0, 0, 0, 0.1); background-image: none; } treeview.view header button:backdrop { border-color: rgba(27, 33, 44, 0.19); border-style: none solid solid none; color: rgba(126, 131, 141, 0.9); background-image: none; background-color: #3b485f; } treeview.view header button:backdrop:disabled { border-color: rgba(27, 33, 44, 0.19); background-image: none; } /********************** * Window Decorations * *********************/ decoration { border-radius: 2px; border-width: 0px; box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.2); margin: 10px; } decoration:backdrop { box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.15); transition: 200ms ease-out; } .popup decoration { box-shadow: none; } .csd.popup decoration { border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px transparent; } tooltip.csd decoration { border-radius: 0; box-shadow: none; } messagedialog.csd decoration { border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px transparent; } .solid-csd decoration { border-radius: 0; margin: 4px; background-color: #283141; border: solid 1px rgba(27, 33, 44, 0.19); box-shadow: none; } button.titlebutton { padding: 0; min-width: 14px; min-height: 14px; margin: 0 3px; box-shadow: none; } button.titlebutton.close, button.titlebutton.maximize, button.titlebutton.minimize { color: #283141; background-color: rgba(255, 255, 255, 0.3); border-radius: 50px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); padding: 0; min-width: 14px; min-height: 14px; margin: 0 3px; } button.titlebutton.close:hover, button.titlebutton.close:active, button.titlebutton.close:checked, button.titlebutton.close:backdrop, button.titlebutton.close:disabled, button.titlebutton.close:backdrop:disabled, button.titlebutton.maximize:hover, button.titlebutton.maximize:active, button.titlebutton.maximize:checked, button.titlebutton.maximize:backdrop, button.titlebutton.maximize:disabled, button.titlebutton.maximize:backdrop:disabled, button.titlebutton.minimize:hover, button.titlebutton.minimize:active, button.titlebutton.minimize:checked, button.titlebutton.minimize:backdrop, button.titlebutton.minimize:disabled, button.titlebutton.minimize:backdrop:disabled { color: #283141; border-radius: 50px; } button.titlebutton.close:hover, button.titlebutton.close:active, button.titlebutton.close:checked, button.titlebutton.maximize:hover, button.titlebutton.maximize:active, button.titlebutton.maximize:checked, button.titlebutton.minimize:hover, button.titlebutton.minimize:active, button.titlebutton.minimize:checked { box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.titlebutton.close:backdrop, button.titlebutton.close:disabled, button.titlebutton.close:backdrop:disabled, button.titlebutton.maximize:backdrop, button.titlebutton.maximize:disabled, button.titlebutton.maximize:backdrop:disabled, button.titlebutton.minimize:backdrop, button.titlebutton.minimize:disabled, button.titlebutton.minimize:backdrop:disabled { background-color: rgba(255, 255, 255, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } button.titlebutton.close:hover { background-color: #de3e5b; } button.titlebutton.close:active { background-color: #c72240; } button.titlebutton.maximize:hover { background-color: #9cb7e0; } button.titlebutton.maximize:active { background-color: #759bd4; } button.titlebutton.minimize:hover { background-color: #37b9a5; } button.titlebutton.minimize:active { background-color: #2b9282; } button.titlebutton:backdrop { -gtk-icon-shadow: none; } headerbar.selection-mode button.titlebutton, .titlebar.selection-mode button.titlebutton { text-shadow: 0 -1px rgba(0, 0, 0, 0.62353); -gtk-icon-shadow: 0 -1px rgba(0, 0, 0, 0.62353); } headerbar.selection-mode button.titlebutton:backdrop, .titlebar.selection-mode button.titlebutton:backdrop { -gtk-icon-shadow: none; } .view:selected:focus, iconview:selected:focus, .view:selected, iconview:selected, .view text:selected:focus, iconview text:selected:focus, textview text:selected:focus, .view text:selected, iconview text:selected, textview text:selected, .view text selection:focus, iconview text selection:focus, .view text selection, iconview text selection, textview text selection:focus, textview text selection, flowbox flowboxchild:selected, modelbutton.flat:selected, popover.background checkbutton:selected, popover.background radiobutton:selected, .menuitem.button.flat:selected, spinbutton:not(.vertical) selection:focus, spinbutton:not(.vertical) selection, entry selection:focus, entry selection, row:selected, treeview.view:selected:focus, treeview.view:selected { background-color: #37b9a5; } row:selected label, label:selected, .selection-mode button.titlebutton, .view:selected:focus, iconview:selected:focus, .view:selected, iconview:selected, .view text:selected:focus, iconview text:selected:focus, textview text:selected:focus, .view text:selected, iconview text:selected, textview text:selected, .view text selection:focus, iconview text selection:focus, .view text selection, iconview text selection, textview text selection:focus, textview text selection, flowbox flowboxchild:selected, modelbutton.flat:selected, popover.background checkbutton:selected, popover.background radiobutton:selected, .menuitem.button.flat:selected, spinbutton:not(.vertical) selection:focus, spinbutton:not(.vertical) selection, entry selection:focus, entry selection, row:selected, treeview.view:selected:focus, treeview.view:selected { color: #fefefe; } row:selected label:disabled, label:disabled:selected, .selection-mode button.titlebutton:disabled, iconview:disabled:selected:focus, .view:disabled:selected, iconview:disabled:selected, iconview text:disabled:selected:focus, textview text:disabled:selected:focus, .view text:disabled:selected, iconview text:disabled:selected, textview text:disabled:selected, iconview text selection:disabled:focus, .view text selection:disabled, iconview text selection:disabled, textview text selection:disabled, flowbox flowboxchild:disabled:selected, label:disabled selection, modelbutton.flat:disabled:selected, popover.background checkbutton:disabled:selected, popover.background radiobutton:disabled:selected, .menuitem.button.flat:disabled:selected, spinbutton:not(.vertical) selection:disabled, entry selection:disabled, row:disabled:selected { color: #9bdcd2; } row:selected label:backdrop, label:backdrop:selected, .selection-mode button.titlebutton:backdrop, iconview:backdrop:selected:focus, .view:backdrop:selected, iconview:backdrop:selected, iconview text:backdrop:selected:focus, textview text:backdrop:selected:focus, .view text:backdrop:selected, iconview text:backdrop:selected, textview text:backdrop:selected, iconview text selection:backdrop:focus, .view text selection:backdrop, iconview text selection:backdrop, textview text selection:backdrop, flowbox flowboxchild:backdrop:selected, label:backdrop selection, modelbutton.flat:backdrop:selected, popover.background checkbutton:backdrop:selected, popover.background radiobutton:backdrop:selected, .menuitem.button.flat:backdrop:selected, spinbutton:not(.vertical) selection:backdrop, entry selection:backdrop, row:backdrop:selected { color: rgba(254, 254, 254, 0.8); } row:selected label:backdrop:disabled, label:backdrop:disabled:selected, .selection-mode button.titlebutton:backdrop:disabled, .view:backdrop:disabled:selected, iconview:backdrop:disabled:selected, .view text:backdrop:disabled:selected, iconview text:backdrop:disabled:selected, textview text:backdrop:disabled:selected, .view text selection:backdrop:disabled, iconview text selection:backdrop:disabled, textview text selection:backdrop:disabled, flowbox flowboxchild:backdrop:disabled:selected, label:disabled selection:backdrop, label:backdrop selection:disabled, modelbutton.flat:backdrop:disabled:selected, popover.background checkbutton:backdrop:disabled:selected, popover.background radiobutton:backdrop:disabled:selected, .menuitem.button.flat:backdrop:disabled:selected, spinbutton:not(.vertical) selection:backdrop:disabled, entry selection:backdrop:disabled, row:backdrop:disabled:selected { color: rgba(99, 200, 185, 0.94); } .monospace { font-family: monospace; } /********************** * DE-Specific Styles * **********************/ /********* * Budgie * *********/ .budgie-container { background-color: transparent; } .budgie-container:backdrop { background-color: transparent; } .budgie-container popover list, .budgie-container popover row { border: none; background: none; padding: 0; margin: 0; } .budgie-popover .container, .budgie-popover border, .budgie-popover list, .budgie-popover row { padding: 0; margin: 0; background: none; border: none; box-shadow: none; text-shadow: none; -gtk-icon-shadow: none; opacity: 1; min-width: 0; min-height: 0; } .budgie-popover, .budgie-popover.background { border-radius: 2px; padding: 0; background-color: rgba(40, 49, 65, 0.98); background-clip: border-box; box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.35); border: 1px solid @borders; } .budgie-popover list:hover, .budgie-popover row:hover, .budgie-popover.background list:hover, .budgie-popover.background row:hover { background: none; } .budgie-popover > frame.container, .budgie-popover.background > frame.container { margin: 0 -1px -1px; padding: 2px 0 0; } .budgie-popover > .container { padding: 2px; } .budgie-menu .container { padding: 0; } .budgie-menu button:hover { -gtk-icon-effect: none; } .budgie-menu entry.search { border: none; background: none; padding: 5px 2px; border-bottom: 1px solid @borders; border-radius: 0; font-size: 120%; box-shadow: none; } .budgie-menu entry.search image:dir(ltr) { padding-left: 8px; padding-right: 12px; } .budgie-menu entry.search image:dir(rtl) { padding-left: 12px; padding-right: 8px; } .budgie-menu .categories { border-width: 0; margin-left: 3px; background-color: transparent; } .budgie-menu .categories:dir(ltr) { border-right: 1px solid @borders; } .budgie-menu .categories:dir(rtl) { border-left: 1px solid @borders; } .budgie-menu .category-button { padding: 8px; border-radius: 2px 0 0 2px; font-weight: 400; } .budgie-menu .category-button:hover { background-color: rgba(254, 254, 254, 0.05); color: #fefefe; } .budgie-menu .category-button:active { box-shadow: inset 0 2px 2px -2px rgba(0, 0, 0, 0.2); } .budgie-menu .category-button:checked { color: #fefefe; background-color: rgba(49, 165, 147, 0.8); } .budgie-menu .category-button:checked:disabled { opacity: 0.5; } .budgie-menu .category-button:checked:disabled label { color: rgba(254, 254, 254, 0.7); } .budgie-menu scrollbar { background-color: transparent; border-color: transparent; } .budgie-menu button:not(.category-button) { font-weight: 400; padding-top: 5px; padding-bottom: 5px; border-radius: 0; box-shadow: none; } .budgie-menu undershoot, .budgie-menu overshoot { background: none; } button.budgie-menu-launcher { padding: 0 2px; color: #fefefe; box-shadow: none; background-color: transparent; } button.budgie-menu-launcher:hover { color: #fefefe; } button.budgie-menu-launcher:active, button.budgie-menu-launcher:checked { color: #fefefe; } button.budgie-menu-launcher:backdrop { color: #fefefe; background-color: transparent; } button.budgie-menu-launcher:backdrop:hover { color: #fefefe; } button.budgie-menu-launcher:backdrop:active, button.budgie-menu-launcher:backdrop:checked { color: #37b9a5; box-shadow: none; background-color: transparent; } .user-menu .content-box separator { margin-left: 6px; margin-right: 6px; background-color: rgba(254, 254, 254, 0.1); } .user-menu button { margin: 5px; font-weight: 400; } .user-menu > box.vertical row.activatable:first-child .indicator-item, .user-menu > frame.container > box.vertical row.activatable:first-child .indicator-item { box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); background-color: #7b7bbd; transition-duration: 0.2s; } .user-menu > box.vertical row.activatable:first-child .indicator-item:dir(ltr), .user-menu > frame.container > box.vertical row.activatable:first-child .indicator-item:dir(ltr) { padding-left: 7px; background-position: left center; background-repeat: no-repeat; background-size: 38px auto; } .user-menu > box.vertical row.activatable:first-child .indicator-item:dir(rtl), .user-menu > frame.container > box.vertical row.activatable:first-child .indicator-item:dir(rtl) { padding-right: 7px; background-position: right center; background-repeat: no-repeat; background-size: 38px auto; } .user-menu > box.vertical row.activatable:first-child .indicator-item label, .user-menu > frame.container > box.vertical row.activatable:first-child .indicator-item label { font-weight: 700; color: #fefefe; } .user-menu > box.vertical row.activatable:first-child .indicator-item label:dir(ltr), .user-menu > frame.container > box.vertical row.activatable:first-child .indicator-item label:dir(ltr) { padding-left: 5px; } .user-menu > box.vertical row.activatable:first-child .indicator-item label:dir(rtl), .user-menu > frame.container > box.vertical row.activatable:first-child .indicator-item label:dir(rtl) { padding-right: 5px; } .user-menu > box.vertical row.activatable:first-child .indicator-item image, .user-menu > frame.container > box.vertical row.activatable:first-child .indicator-item image { color: #fefefe; } .user-menu > box.vertical row.activatable:first-child .indicator-item image:first-child, .user-menu > frame.container > box.vertical row.activatable:first-child .indicator-item image:first-child { min-width: 24px; min-height: 20px; } button.raven-trigger { padding-left: 2px; padding-right: 2px; color: #fefefe; box-shadow: none; } button.raven-trigger:hover { color: #fefefe; background-color: transparent; } button.raven-trigger:active, button.raven-trigger:checked { box-shadow: none; background-color: transparent; color: #37b9a5; } button.raven-trigger:backdrop { color: #fefefe; } button.raven-trigger:backdrop:hover { color: #fefefe; } button.raven-trigger:backdrop:active, button.raven-trigger:backdrop:checked { box-shadow: none; color: #37b9a5; background-color: transparent; } .places-menu .container { padding: 0; } .places-menu .message-bar { border-top-left-radius: 3px; border-top-right-radius: 3px; } .places-menu .name-button { border: 0; border-radius: 0; padding: 4px 6px; } .places-menu .unmount-button { padding: 4px 4px; border: 0; border-radius: 0; } .places-menu .places-section-header { padding: 0px; border-bottom: 1px solid rgba(0, 0, 0, 0.05); box-shadow: 0px 1px 1px alpha(@theme_fg_color, 0.03); } .places-menu .places-section-header > button { padding: 8px; border: none; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; } .places-menu .places-list { background: rgba(254, 254, 254, 0.04); border-bottom: 1px solid rgba(0, 0, 0, 0.05); } .places-menu .unlock-area { border-top: 1px solid transparent; border-bottom: 1px solid transparent; } .places-menu .unlock-area entry { border-radius: 0; border: 0; } .places-menu .unlock-area button { border-radius: 0; border: 0; border-left: 1px solid transparent; } .places-menu .alternative-label { font-size: 15px; padding: 3px; } .places-menu .always-expand { background: transparent; border-bottom: none; } .night-light-indicator .container { padding: 0; } .night-light-indicator .view-header { font-size: 14px; padding: 10px; border-bottom: 1px solid mix(@theme_base_color, #000000, 0.35);; box-shadow: 0px 1px 1px alpha(@theme_fg_color, 0.04);; } .night-light-indicator .display-settings-button { border-top-left-radius: 0px; border-top-right-radius: 0px; border: none; padding: 3px; border-top: 1px solid mix(@theme_base_color, #000000, 0.35);; box-shadow: inset 0px 1px 1px alpha(@theme_fg_color, 0.04);; } .budgie-panel { color: #fefefe; background-color: rgba(21, 25, 33, 0.95); background-image: none; box-shadow: none; border: none; transition: all 150ms ease-in; } .budgie-panel .alert { color: #c72240; } .budgie-panel:backdrop { color: #fefefe; background-color: rgba(21, 25, 33, 0.95); } .budgie-panel button { border-top-width: 0; border-bottom-width: 0; border-radius: 0; } .budgie-panel popover list, .budgie-panel popover row { padding: 0; margin: 0; } .budgie-panel label { color: #fefefe; font-weight: 400; } .budgie-panel.transparent { background-color: transparent; } .top .budgie-panel.transparent { border-bottom-color: transparent; } .bottom .budgie-panel.transparent { border-top-color: transparent; } .left .budgie-panel.transparent { border-right-color: transparent; } .right .budgie-panel.transparent { border-left-color: transparent; } .budgie-panel .end-region { background-color: rgba(0, 0, 0, 0.3); border-radius: 0px; } .budgie-panel .end-region separator { background-color: rgba(254, 254, 254, 0.15); } .budgie-panel .end-region label { font-weight: 700; color: #fefefe; } .budgie-panel #tasklist-button, .budgie-panel #tasklist-button:backdrop { outline-color: transparent; transition: all 100ms cubic-bezier(0.25, 0.46, 0.45, 0.94); border-color: rgba(21, 25, 33, 0); border-radius: 0; background-color: transparent; box-shadow: none; background-clip: padding-box; } .budgie-panel button.flat.launcher { outline-color: transparent; transition: all 100ms cubic-bezier(0.25, 0.46, 0.45, 0.94); border-color: rgba(21, 25, 33, 0); border-radius: 0; padding: 0; background-clip: padding-box; background-color: transparent; } .budgie-panel button.flat.launcher { box-shadow: none; } .budgie-panel #tasklist-button:hover, .budgie-panel .unpinned button.flat.launcher:hover, .budgie-panel .pinned button.flat.launcher.running:hover { box-shadow: none; } .budgie-panel #tasklist-button:active, .budgie-panel .unpinned button.flat.launcher:active, .budgie-panel .pinned button.flat.launcher.running:active, .budgie-panel #tasklist-button:checked, .budgie-panel .unpinned button.flat.launcher:checked, .budgie-panel .pinned button.flat.launcher.running:checked { box-shadow: none; } .top .budgie-panel #tasklist-button, .budgie-panel .top #tasklist-button, .top .budgie-panel .unpinned button.flat.launcher, .budgie-panel .unpinned .top button.flat.launcher, .top .budgie-panel .pinned button.flat.launcher.running, .budgie-panel .pinned .top button.flat.launcher.running { padding-bottom: 0px; border-top: 2px solid transparent; } .top .budgie-panel .pinned button.flat.launcher:not(.running) { border-top: 2px solid transparent; } .top .budgie-panel .pinned button.flat.launcher:not(.running):hover { border-top: 2px solid rgba(255, 255, 255, 0.1); } .top .budgie-panel .unpinned button.flat.launcher, .top .budgie-panel .pinned button.flat.launcher.running { border-top: 2px solid rgba(255, 255, 255, 0.1); } .top .budgie-panel #tasklist-button:hover, .budgie-panel .top #tasklist-button:hover, .top .budgie-panel .unpinned button.flat.launcher:hover, .budgie-panel .unpinned .top button.flat.launcher:hover, .top .budgie-panel .pinned button.flat.launcher.running:hover, .budgie-panel .pinned .top button.flat.launcher.running:hover { border-top: 2px solid rgba(255, 255, 255, 0.25); } .top .budgie-panel #tasklist-button:active, .budgie-panel .top #tasklist-button:active, .top .budgie-panel .unpinned button.flat.launcher:active, .budgie-panel .unpinned .top button.flat.launcher:active, .top .budgie-panel .pinned button.flat.launcher.running:active, .budgie-panel .pinned .top button.flat.launcher.running:active, .top .budgie-panel #tasklist-button:checked, .budgie-panel .top #tasklist-button:checked, .top .budgie-panel .unpinned button.flat.launcher:checked, .budgie-panel .unpinned .top button.flat.launcher:checked, .top .budgie-panel .pinned button.flat.launcher.running:checked, .budgie-panel .pinned .top button.flat.launcher.running:checked { border-top: 2px solid #37b9a5; } .bottom .budgie-panel #tasklist-button, .budgie-panel .bottom #tasklist-button, .bottom .budgie-panel .unpinned button.flat.launcher, .budgie-panel .unpinned .bottom button.flat.launcher, .bottom .budgie-panel .pinned button.flat.launcher.running, .budgie-panel .pinned .bottom button.flat.launcher.running { padding-top: 0px; border-bottom: 2px solid transparent; } .bottom .budgie-panel .pinned button.flat.launcher:not(.running) { border-bottom: 2px solid transparent; } .bottom .budgie-panel .pinned button.flat.launcher:not(.running):hover { border-bottom: 2px solid rgba(255, 255, 255, 0.1); } .bottom .budgie-panel .unpinned button.flat.launcher, .bottom .budgie-panel .pinned button.flat.launcher.running { border-bottom: 2px solid rgba(255, 255, 255, 0.1); } .bottom .budgie-panel #tasklist-button:hover, .budgie-panel .bottom #tasklist-button:hover, .bottom .budgie-panel .unpinned button.flat.launcher:hover, .budgie-panel .unpinned .bottom button.flat.launcher:hover, .bottom .budgie-panel .pinned button.flat.launcher.running:hover, .budgie-panel .pinned .bottom button.flat.launcher.running:hover { border-bottom: 2px solid rgba(255, 255, 255, 0.25); } .bottom .budgie-panel #tasklist-button:active, .budgie-panel .bottom #tasklist-button:active, .bottom .budgie-panel .unpinned button.flat.launcher:active, .budgie-panel .unpinned .bottom button.flat.launcher:active, .bottom .budgie-panel .pinned button.flat.launcher.running:active, .budgie-panel .pinned .bottom button.flat.launcher.running:active, .bottom .budgie-panel #tasklist-button:checked, .budgie-panel .bottom #tasklist-button:checked, .bottom .budgie-panel .unpinned button.flat.launcher:checked, .budgie-panel .unpinned .bottom button.flat.launcher:checked, .bottom .budgie-panel .pinned button.flat.launcher.running:checked, .budgie-panel .pinned .bottom button.flat.launcher.running:checked { border-bottom: 2px solid #37b9a5; } .left .budgie-panel #tasklist-button, .budgie-panel .left #tasklist-button, .left .budgie-panel .unpinned button.flat.launcher, .budgie-panel .unpinned .left button.flat.launcher, .left .budgie-panel .pinned button.flat.launcher.running, .budgie-panel .pinned .left button.flat.launcher.running { padding-right: 0px; border-left: 2px solid transparent; } .left .budgie-panel .pinned button.flat.launcher:not(.running) { border-left: 2px solid transparent; } .left .budgie-panel .pinned button.flat.launcher:not(.running):hover { border-left: 2px solid rgba(255, 255, 255, 0.1); } .left .budgie-panel .unpinned button.flat.launcher, .left .budgie-panel .pinned button.flat.launcher.running { border-left: 2px solid rgba(255, 255, 255, 0.1); } .left .budgie-panel #tasklist-button:hover, .budgie-panel .left #tasklist-button:hover, .left .budgie-panel .unpinned button.flat.launcher:hover, .budgie-panel .unpinned .left button.flat.launcher:hover, .left .budgie-panel .pinned button.flat.launcher.running:hover, .budgie-panel .pinned .left button.flat.launcher.running:hover { border-left: 2px solid rgba(255, 255, 255, 0.25); } .left .budgie-panel #tasklist-button:active, .budgie-panel .left #tasklist-button:active, .left .budgie-panel .unpinned button.flat.launcher:active, .budgie-panel .unpinned .left button.flat.launcher:active, .left .budgie-panel .pinned button.flat.launcher.running:active, .budgie-panel .pinned .left button.flat.launcher.running:active, .left .budgie-panel #tasklist-button:checked, .budgie-panel .left #tasklist-button:checked, .left .budgie-panel .unpinned button.flat.launcher:checked, .budgie-panel .unpinned .left button.flat.launcher:checked, .left .budgie-panel .pinned button.flat.launcher.running:checked, .budgie-panel .pinned .left button.flat.launcher.running:checked { border-left: 2px solid #37b9a5; } .right .budgie-panel #tasklist-button, .budgie-panel .right #tasklist-button, .right .budgie-panel .unpinned button.flat.launcher, .budgie-panel .unpinned .right button.flat.launcher, .right .budgie-panel .pinned button.flat.launcher.running, .budgie-panel .pinned .right button.flat.launcher.running { padding-left: 0px; border-right: 2px solid transparent; } .right .budgie-panel .pinned button.flat.launcher:not(.running) { border-right: 2px solid transparent; } .right .budgie-panel .pinned button.flat.launcher:not(.running):hover { border-right: 2px solid rgba(255, 255, 255, 0.1); } .right .budgie-panel .unpinned button.flat.launcher, .right .budgie-panel .pinned button.flat.launcher.running { border-right: 2px solid rgba(255, 255, 255, 0.1); } .right .budgie-panel #tasklist-button:hover, .budgie-panel .right #tasklist-button:hover, .right .budgie-panel .unpinned button.flat.launcher:hover, .budgie-panel .unpinned .right button.flat.launcher:hover, .right .budgie-panel .pinned button.flat.launcher.running:hover, .budgie-panel .pinned .right button.flat.launcher.running:hover { border-right: 2px solid rgba(255, 255, 255, 0.25); } .right .budgie-panel #tasklist-button:active, .budgie-panel .right #tasklist-button:active, .right .budgie-panel .unpinned button.flat.launcher:active, .budgie-panel .unpinned .right button.flat.launcher:active, .right .budgie-panel .pinned button.flat.launcher.running:active, .budgie-panel .pinned .right button.flat.launcher.running:active, .right .budgie-panel #tasklist-button:checked, .budgie-panel .right #tasklist-button:checked, .right .budgie-panel .unpinned button.flat.launcher:checked, .budgie-panel .unpinned .right button.flat.launcher:checked, .right .budgie-panel .pinned button.flat.launcher.running:checked, .budgie-panel .pinned .right button.flat.launcher.running:checked { border-right: 2px solid #37b9a5; } .top .budgie-panel { border-bottom: 1px solid rgba(26, 32, 43, 0.92); } .top .raven-frame { padding: 0; background: none; } .top .raven-frame border { border: none; border-bottom: 1px solid rgba(40, 49, 65, 0.92); } .top .shadow-block { background-color: transparent; background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent); } .bottom .budgie-panel { border-top: 1px solid rgba(26, 32, 43, 0.92); } .bottom .raven-frame { padding: 0; background: none; } .bottom .raven-frame border { border: none; border-top: 1px solid rgba(40, 49, 65, 0.92); } .bottom .shadow-block { background-color: transparent; background-image: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent); } .left .budgie-panel { border-right: 1px solid rgba(26, 32, 43, 0.92); } .left .raven-frame { padding: 0; background: none; } .left .raven-frame border { border: none; border-right: 1px solid rgba(40, 49, 65, 0.92); } .left .shadow-block { background-color: transparent; background-image: linear-gradient(to right, rgba(0, 0, 0, 0.3), transparent); } .right .budgie-panel { border-left: 1px solid rgba(26, 32, 43, 0.92); } .right .raven-frame { padding: 0; background: none; } .right .raven-frame border { border: none; border-left: 1px solid rgba(40, 49, 65, 0.92); } .right .shadow-block { background-color: transparent; background-image: linear-gradient(to left, rgba(0, 0, 0, 0.3), transparent); } .raven { padding: 0; color: #fefefe; background-color: rgba(40, 49, 65, 0.92); transition: 170ms ease-out; } .raven .raven-header { min-height: 32px; color: #fefefe; border: solid rgba(0, 0, 0, 0.05); border-width: 1px 0; background-color: rgba(40, 49, 65, 0.2); } .raven .raven-header * { padding-top: 0; padding-bottom: 0; } .raven .raven-header.top { border-top-style: none; border-color: transparent; margin-top: 3px; min-height: 32px; } .raven .raven-header.top button.image-button:hover { color: #31a593; box-shadow: none; } .raven .raven-header > button.text-button { border-radius: 2px; color: #fefefe; background-color: rgba(177, 30, 57, 0.9); box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1), inset 0px -1px 0px 0px rgba(0, 0, 0, 0.1); } .raven .raven-header > button.text-button:hover { border-radius: 2px; color: #fefefe; background-color: rgba(199, 34, 64, 0.9); box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1), inset 0px -1px 0px 0px rgba(0, 0, 0, 0.1); } .raven .raven-header > button.text-button:active { color: #fefefe; background-color: rgba(218, 40, 73, 0.9); box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1), inset 0px -1px 0px 0px rgba(0, 0, 0, 0.1); } .raven .raven-header.bottom { border-bottom-style: none; } .raven .raven-header button { background-color: transparent; color: #fefefe; border-radius: 0; border: none; box-shadow: none; margin-top: -4px; margin-bottom: -4px; min-height: 32px; } .raven .raven-header button:hover { border-radius: 0; background-color: transparent; box-shadow: inset 0 -3px 0 0 #31a593; } .raven .raven-header button:active, .raven .raven-header button:checked { color: #fefefe; border-radius: 0; background-color: transparent; box-shadow: inset 0 -3px 0 0 #31a593; } .raven .raven-header button:disabled { color: #9398a0; } .raven list { background-color: transparent; } .raven list:selected { background-color: rgba(55, 185, 165, 0.9); } .raven list row, .raven list row.activatable { background-color: transparent; } .raven list row:selected, .raven list row.activatable:selected { background-color: rgba(55, 185, 165, 0.9); } .raven .raven-background { color: #fefefe; background-color: transparent; border-color: transparent; } .raven .raven-background.middle { border-bottom-style: none; } .raven .powerstrip { background-color: transparent; border-top-color: transparent; } .raven .powerstrip button.image-button { border-radius: 50%; padding: 5px; min-width: 32px; margin-bottom: 3px; background: rgba(123, 123, 189, 0.7); color: #fefefe; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); border: none; font-size: 100%; } .raven .powerstrip button.image-button:hover { transition: 170ms ease all; background: rgba(123, 123, 189, 0.85); color: #fefefe; } .raven .powerstrip button.image-button:active { transition: 170ms ease all; background: #7b7bbd; color: #fefefe; } .raven .powerstrip button.image-button:first-child { background: rgba(55, 185, 165, 0.7); } .raven .powerstrip button.image-button:first-child:hover { background: rgba(55, 185, 165, 0.85); } .raven .powerstrip button.image-button:first-child:active { background: #37b9a5; } .raven .powerstrip button.image-button:last-child { background: rgba(199, 34, 64, 0.7); } .raven .powerstrip button.image-button:last-child:hover { background: rgba(199, 34, 64, 0.85); } .raven .powerstrip button.image-button:last-child:active { background: #c72240; } .raven .option-subtitle { font-size: 13px; } calendar.raven-calendar { padding: 6px; color: #fefefe; background-color: rgba(40, 49, 65, 0.2); border-color: transparent; } calendar.raven-calendar:indeterminate { color: alpha(currentColor,0.3); } calendar.raven-calendar:selected { color: #fefefe; background-color: transparent; background-position: center top; background-repeat: no-repeat; background-size: 1.6em 1.6em; background-image: -gtk-scaled(url("../assets/calendar-selected.png"), url("../assets/[email protected]")); } calendar.raven-calendar:backdrop { background-color: transparent; } calendar.raven-calendar.header { color: #fefefe; border: none; border-radius: 0; background-color: transparent; } calendar.raven-calendar button, calendar.raven-calendar button:focus { color: alpha(currentColor,0.5); background-color: transparent; } calendar.raven-calendar button:hover, calendar.raven-calendar button:focus:hover { color: #fefefe; background-color: transparent; } .raven-mpris { color: #fefefe; background-color: rgba(21, 25, 33, 0.9); border: solid rgba(255, 255, 255, 0.1); border-width: 1px 0; border-bottom-color: rgba(0, 0, 0, 0.1); } .raven-mpris button.image-button { padding: 10px; background-color: #39465c; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } .raven-mpris button.image-button:hover { background-color: #37b9a5; } .raven-mpris button.image-button:active { background-color: #31a593; } .raven-mpris button.image-button:first-child { margin-right: 4px; } .raven-mpris button.image-button:last-child { margin-left: 4px; } .raven-mpris button.image-button:last-child, .raven-mpris button.image-button:first-child { padding: 4px; margin-top: 6px; margin-bottom: 6px; } .budgie-notification-window, .budgie-osd-window, .budgie-switcher-window { background: none; border-radius: 1px; } .budgie-notification-window button, .budgie-osd-window button, .budgie-switcher-window button { background-color: #37b9a5; color: #fefefe; border: none; } .budgie-notification-window button:hover, .budgie-osd-window button:hover, .budgie-switcher-window button:hover { background-color: #31a593; border: none; } .budgie-notification-window button:active, .budgie-osd-window button:active, .budgie-switcher-window button:active, .budgie-notification-window button:checked, .budgie-osd-window button:checked, .budgie-switcher-window button:checked { background-color: #31a593; } .budgie-notification.background, .background.budgie-osd, .background.budgie-switcher { border-radius: 1px; } .budgie-notification .notification-title, .budgie-osd .notification-title, .budgie-switcher .notification-title { font-size: 110%; color: #fefefe; } .budgie-notification .notification-body, .budgie-osd .notification-body, .budgie-switcher .notification-body { color: rgba(254, 254, 254, 0.7); } .budgie-notification button, .budgie-osd button, .budgie-switcher button { background-color: transparent; color: #fefefe; } .budgie-notification button:hover, .budgie-osd button:hover, .budgie-switcher button:hover { background-color: transparent; color: #c72240; box-shadow: none; } .budgie-notification button:active, .budgie-osd button:active, .budgie-switcher button:active, .budgie-notification button:checked, .budgie-osd button:checked, .budgie-switcher button:checked { background-color: transparent; color: #b11e39; } .drop-shadow, .budgie-session-dialog.background, .background.budgie-polkit-dialog, .background.budgie-run-dialog { color: #fefefe; background-color: rgba(40, 49, 65, 0.95); box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.15); border-radius: 2px; } .budgie-switcher-window flowbox { color: #fefefe; } .budgie-switcher-window flowboxchild { padding: 3px; margin: 3px; color: #fefefe; } .budgie-switcher-window flowboxchild:hover { background-color: transparent; } .budgie-switcher-window flowboxchild:active { color: #fefefe; } .budgie-switcher-window flowboxchild:selected { color: #fefefe; background-color: rgba(55, 185, 165, 0.5); } .budgie-switcher-window flowboxchild:selected:active { color: #fefefe; } .budgie-switcher-window flowboxchild:selected:hover { background-color: #32a795; } .budgie-switcher-window flowboxchild:selected:disabled { color: rgba(254, 254, 254, 0.7); background-color: rgba(55, 185, 165, 0.7); } .budgie-switcher-window flowboxchild:selected:disabled label { color: rgba(254, 254, 254, 0.7); } .budgie-session-dialog, .budgie-polkit-dialog, .budgie-run-dialog { color: #fefefe; background-color: rgba(21, 25, 33, 0.95); } .budgie-session-dialog label:backdrop, .budgie-polkit-dialog label:backdrop, .budgie-run-dialog label:backdrop { color: rgba(254, 254, 254, 0.8); } .budgie-session-dialog .dialog-title, .budgie-polkit-dialog .dialog-title, .budgie-run-dialog .dialog-title { font-size: 120%; } .budgie-session-dialog .linked.horizontal > button, .budgie-polkit-dialog .linked.horizontal > button, .budgie-run-dialog .linked.horizontal > button { margin-bottom: 0; min-height: 32px; border-bottom: none; border-radius: 0; color: #fefefe; background-color: transparent; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(0, 0, 0, 0.2); } .budgie-session-dialog .linked.horizontal > button label, .budgie-polkit-dialog .linked.horizontal > button label, .budgie-run-dialog .linked.horizontal > button label { font-weight: 400; } .budgie-session-dialog .linked.horizontal > button:first-child, .budgie-polkit-dialog .linked.horizontal > button:first-child, .budgie-run-dialog .linked.horizontal > button:first-child { border-left: none; border-bottom-left-radius: 2px; } .budgie-session-dialog .linked.horizontal > button:last-child, .budgie-polkit-dialog .linked.horizontal > button:last-child, .budgie-run-dialog .linked.horizontal > button:last-child { border-right: none; border-bottom-right-radius: 2px; } .budgie-session-dialog .linked.horizontal > button:hover, .budgie-polkit-dialog .linked.horizontal > button:hover, .budgie-run-dialog .linked.horizontal > button:hover { background-color: rgba(55, 185, 165, 0.9); } .budgie-session-dialog .linked.horizontal > button:hover:backdrop label, .budgie-polkit-dialog .linked.horizontal > button:hover:backdrop label, .budgie-run-dialog .linked.horizontal > button:hover:backdrop label { color: rgba(255, 255, 255, 0.5); } .budgie-session-dialog .linked.horizontal > button.suggested-action, .budgie-polkit-dialog .linked.horizontal > button.suggested-action, .budgie-run-dialog .linked.horizontal > button.suggested-action { background-color: rgba(55, 185, 165, 0.9); } .budgie-session-dialog .linked.horizontal > button.suggested-action:hover, .budgie-polkit-dialog .linked.horizontal > button.suggested-action:hover, .budgie-run-dialog .linked.horizontal > button.suggested-action:hover { background-color: rgba(67, 199, 179, 0.9); } .budgie-session-dialog .linked.horizontal > button.suggested-action:active, .budgie-polkit-dialog .linked.horizontal > button.suggested-action:active, .budgie-run-dialog .linked.horizontal > button.suggested-action:active, .budgie-session-dialog .linked.horizontal > button.suggested-action:checked, .budgie-polkit-dialog .linked.horizontal > button.suggested-action:checked, .budgie-run-dialog .linked.horizontal > button.suggested-action:checked { background-color: rgba(67, 199, 179, 0.9); } .budgie-session-dialog .linked.horizontal > button.destructive-action, .budgie-polkit-dialog .linked.horizontal > button.destructive-action, .budgie-run-dialog .linked.horizontal > button.destructive-action { background-color: rgba(155, 27, 50, 0.9); } .budgie-session-dialog .linked.horizontal > button.destructive-action:hover, .budgie-polkit-dialog .linked.horizontal > button.destructive-action:hover, .budgie-run-dialog .linked.horizontal > button.destructive-action:hover { background-color: rgba(177, 30, 57, 0.9); } .budgie-session-dialog .linked.horizontal > button.destructive-action:active, .budgie-polkit-dialog .linked.horizontal > button.destructive-action:active, .budgie-run-dialog .linked.horizontal > button.destructive-action:active, .budgie-session-dialog .linked.horizontal > button.destructive-action:checked, .budgie-polkit-dialog .linked.horizontal > button.destructive-action:checked, .budgie-run-dialog .linked.horizontal > button.destructive-action:checked { background-color: rgba(177, 30, 57, 0.9); } .budgie-session-dialog entry, .budgie-polkit-dialog entry, .budgie-run-dialog entry { background-color: #39465c; color: #fefefe; } .budgie-session-dialog entry:focus, .budgie-polkit-dialog entry:focus, .budgie-run-dialog entry:focus { background-color: #39465c; } .budgie-session-dialog entry:backdrop, .budgie-polkit-dialog entry:backdrop, .budgie-run-dialog entry:backdrop { background-color: #39465c; } .budgie-polkit-dialog .message { color: rgba(254, 254, 254, 0.7); } .budgie-polkit-dialog .failure { color: #c72240; } .budgie-run-dialog entry.search, .budgie-run-dialog entry.search:focus { font-size: 120%; padding: 8px 5px; border: none; box-shadow: none; } .budgie-run-dialog entry.search image, .budgie-run-dialog entry.search:focus image { color: #fefefe; } .budgie-run-dialog entry.search image:dir(ltr), .budgie-run-dialog entry.search:focus image:dir(ltr) { padding-left: 8px; padding-right: 12px; } .budgie-run-dialog entry.search image:dir(rtl), .budgie-run-dialog entry.search:focus image:dir(rtl) { padding-left: 12px; padding-right: 8px; } .budgie-run-dialog list row:selected .dim-label, .budgie-run-dialog list row:selected label.separator, .budgie-run-dialog list row:selected .titlebar .title:backdrop, .titlebar .budgie-run-dialog list row:selected .title:backdrop, .budgie-run-dialog list row:selected headerbar .title:backdrop, headerbar .budgie-run-dialog list row:selected .title:backdrop, .budgie-run-dialog list row:selected .titlebar .subtitle, .titlebar .budgie-run-dialog list row:selected .subtitle, .budgie-run-dialog list row:selected headerbar .subtitle, headerbar .budgie-run-dialog list row:selected .subtitle { opacity: 1; } .budgie-run-dialog scrolledwindow { border-top: 1px solid transparent; } .budgie-menubar menu { margin: 4px; padding: 5px; border-radius: 0; background-color: rgba(21, 25, 33, 0.95); } .budgie-menubar menu menuitem:hover { background-color: #37b9a5; color: #fefefe; } .budgie-menubar arrow { border: none; min-width: 16px; min-height: 16px; } .budgie-menubar arrow.top { -gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); border-bottom: 1px solid rgba(65, 73, 87, 0.928); } .budgie-menubar arrow.bottom { -gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); border-top: 1px solid rgba(65, 73, 87, 0.928); } .budgie-menubar menuitem accelerator { color: rgba(254, 254, 254, 0.35); } .budgie-menubar menuitem check, .budgie-menubar menuitem radio { min-height: 16px; min-width: 16px; } window.background.budgie-settings-window.csd > box.horizontal > stack > scrolledwindow buttonbox.inline-toolbar { border-style: none none solid; } /************ * Nautilus * ************/ .nautilus-window .sidebar { background-color: transparent; background-image: none; box-shadow: none; } .nautilus-window .sidebar:backdrop { background-color: transparent; background-image: none; } .nautilus-window .sidebar .frame { border-width: 0; } .nautilus-window .sidebar row { padding: 5px 12px; } .nautilus-window iconview { border-width: 0; box-shadow: none; } .nautilus-window iconview .frame { border-width: 0; box-shadow: none; } .nautilus-window.background { background-color: rgba(40, 49, 65, 0.95); } .nautilus-window.background:backdrop { background-color: rgba(40, 49, 65, 0.95); } .nautilus-window notebook > header { border-width: 0px; } .nautilus-window notebook > stack:only-child { background-color: #39465c; } .nautilus-window notebook > stack:only-child:backdrop { background-color: #3b485f; } .nautilus-circular-button { border-radius: 20px; -gtk-outline-radius: 20px; } .disk-space-display { border: 2px solid; } .disk-space-display .unknown { background-color: #888a85; border-color: #555653; } .disk-space-display .used { background-color: #9FB0B9; border-color: #667f8c; } .disk-space-display .free { background-color: #D8D8D8; border-color: #a5a5a5; } .nautilus-desktop { color: #fefefe; } .nautilus-desktop .nautilus-canvas-item { border-radius: 2px; color: #fefefe; text-shadow: 1px 1px rgba(0, 0, 0, 0.6); } .nautilus-desktop .nautilus-canvas-item:active { color: #fefefe; text-shadow: none; } .nautilus-desktop .nautilus-canvas-item:hover { color: #fefefe; text-shadow: none; } .nautilus-desktop .nautilus-canvas-item:selected { color: #fefefe; text-shadow: none; } .nautilus-desktop .nautilus-canvas-item .dim-label:selected, .nautilus-desktop .nautilus-canvas-item label.separator:selected, .nautilus-desktop .nautilus-canvas-item .titlebar .title:selected:backdrop, .titlebar .nautilus-desktop .nautilus-canvas-item .title:selected:backdrop, .nautilus-desktop .nautilus-canvas-item headerbar .title:selected:backdrop, headerbar .nautilus-desktop .nautilus-canvas-item .title:selected:backdrop, .nautilus-desktop .nautilus-canvas-item .titlebar .subtitle:selected, .titlebar .nautilus-desktop .nautilus-canvas-item .subtitle:selected, .nautilus-desktop .nautilus-canvas-item headerbar .subtitle:selected, headerbar .nautilus-desktop .nautilus-canvas-item .subtitle:selected { color: #fefefe; } .nautilus-desktop .nautilus-list .dim-label:selected, .nautilus-desktop .nautilus-list label.separator:selected, .nautilus-desktop .nautilus-list .titlebar .title:selected:backdrop, .titlebar .nautilus-desktop .nautilus-list .title:selected:backdrop, .nautilus-desktop .nautilus-list headerbar .title:selected:backdrop, headerbar .nautilus-desktop .nautilus-list .title:selected:backdrop, .nautilus-desktop .nautilus-list .titlebar .subtitle:selected, .titlebar .nautilus-desktop .nautilus-list .subtitle:selected, .nautilus-desktop .nautilus-list headerbar .subtitle:selected, headerbar .nautilus-desktop .nautilus-list .subtitle:selected { color: #fefefe; } /********* * Gedit * *********/ .gedit-search-slider { padding: 4px; border-radius: 0 0 2px 2px; border: 0; background-color: #283141; } /******************** * Gnome Tweak Tool * *******************/ scrolledwindow.view > viewport.frame > stack > list { border: 1px solid rgba(0, 0, 0, 0.1); } /************** * Mate-Panel * **************/ #PanelWidget, #PanelPlug, #PanelApplet, PanelToplevel.background { color: #fefefe; background-color: #283141; box-shadow: none; } #PanelWidget button, #PanelPlug button, #PanelApplet button, PanelToplevel.background button { font-weight: 400; color: rgba(254, 254, 254, 0.5); border-radius: 0px; border-top: 2px solid transparent; border-bottom: 2px solid transparent; } #PanelWidget button:hover, #PanelWidget button:active, #PanelWidget button:checked, #PanelPlug button:hover, #PanelPlug button:active, #PanelPlug button:checked, #PanelApplet button:hover, #PanelApplet button:active, #PanelApplet button:checked, PanelToplevel.background button:hover, PanelToplevel.background button:active, PanelToplevel.background button:checked { box-shadow: none; background-color: transparent; } #PanelWidget button:hover, #PanelPlug button:hover, #PanelApplet button:hover, PanelToplevel.background button:hover { color: rgba(254, 254, 254, 0.7); border-bottom-color: rgba(55, 185, 165, 0.5); } #PanelWidget button:checked, #PanelPlug button:checked, #PanelApplet button:checked, PanelToplevel.background button:checked { color: rgba(254, 254, 254, 0.9); border-bottom-color: #37b9a5; } #PanelWidget button:last-child, #PanelPlug button:last-child, #PanelApplet button:last-child, PanelToplevel.background button:last-child { font-weight: 700; } #PanelWidget button:last-child label, #PanelPlug button:last-child label, #PanelApplet button:last-child label, PanelToplevel.background button:last-child label { padding: 2px; } #PanelWidget MatePanelAppletFrameDBus, #PanelPlug MatePanelAppletFrameDBus, #PanelApplet MatePanelAppletFrameDBus, PanelToplevel.background MatePanelAppletFrameDBus { border-style: solid; border-color: #283141; } #PanelWidget MatePanelAppletFrameDBus:dir(ltr), #PanelPlug MatePanelAppletFrameDBus:dir(ltr), #PanelApplet MatePanelAppletFrameDBus:dir(ltr), PanelToplevel.background MatePanelAppletFrameDBus:dir(ltr) { border-width: 0 0 0 2px; } #PanelWidget MatePanelAppletFrameDBus:dir(rtl), #PanelPlug MatePanelAppletFrameDBus:dir(rtl), #PanelApplet MatePanelAppletFrameDBus:dir(rtl), PanelToplevel.background MatePanelAppletFrameDBus:dir(rtl) { border-width: 0 2px 0 0; } .mate-panel-applet-slider { background-color: #39465c; } .mate-panel-applet-slider frame { border-width: 1px; border-style: solid; border-color: rgba(0, 0, 0, 0.1); border-radius: 2px; background-color: #39465c; } .mate-panel-applet-slider frame *, .mate-panel-applet-slider frame > border { border: unset; } .brisk-menu .session-button:first-child { background-color: #c72240; } .brisk-menu scrollbar { background-color: #39465c; border-color: transparent; } .brisk-menu entry, .brisk-menu entry:focus { border: none; border-radius: 0; } .brisk-menu entry:focus, .brisk-menu entry:focus:focus { border-bottom: 2px solid #37b9a5; } .brisk-menu .categories-list button.flat { padding-top: unset; padding-bottom: unset; border-radius: 0; -gtk-outline-radius: 0; transition-duration: 0.1s; } .brisk-menu .categories-list button.flat:checked, .brisk-menu .categories-list button.flat:active { background-color: transparent; box-shadow: none; color: #37b9a5; } .brisk-menu .categories-list button.flat image { padding: 8px 0; } .brisk-menu .categories-list button.flat label { padding-bottom: 0.7px; } .brisk-menu box.vertical > box.horizontal > box.vertical > separator.horizontal { min-height: 0; background-color: transparent; } .brisk-menu .apps-list { background-color: #39465c; } .brisk-menu .apps-list row { padding: 2px; } .brisk-menu .apps-list button { box-shadow: none; } .brisk-menu .apps-list row.activatable > button.flat { padding-top: unset; padding-bottom: unset; border-radius: 0; -gtk-outline-radius: 0; font-weight: 400; transition: none; } .brisk-menu .apps-list row.activatable > button.flat > box.horizontal > image { padding: 5.3px 0; } .mate-panel-applet-slider { background-color: transparent; } .mate-panel-applet-slider frame { border-width: 0; } .mate-panel-applet-slider frame *, .mate-panel-applet-slider frame > border { border: unset; } /******** * Caja * ********/ .caja-desktop > widget.entry, .caja-desktop > widget.entry:focus { transition: none; } .caja-desktop > widget.entry:selected, .caja-desktop > widget.entry:focus:selected { color: #fefefe; background-color: #37b9a5; } .caja-navigation-window .caja-side-pane scrolledwindow treeview.view { background-color: transparent; } .caja-navigation-window .caja-side-pane scrolledwindow treeview.view:selected { background-color: #37b9a5; color: #fefefe; } .caja-navigation-window .caja-side-pane notebook { border-top: 1px solid rgba(0, 0, 0, 0.1); } .caja-navigation-window .caja-side-pane notebook .frame { border: none; } .caja-navigation-window .caja-side-pane button.flat:last-child { padding: 10.7px; border-radius: 100px; -gtk-outline-radius: 100px; } .caja-navigation-window toolbar.primary-toolbar { border-bottom: 1px solid rgba(0, 0, 0, 0.1); } .caja-navigation-window toolbar.primary-toolbar button { padding: 4px; } .caja-navigation-window .caja-pathbar button:not(:first-child):not(:last-child) { border-left: 1px solid rgba(0, 0, 0, 0.1); border-radius: 0px; margin: 0 -1px 0 -2px; } .caja-navigation-window .caja-pathbar button:last-child:dir(ltr) { margin-left: -2px; } .caja-navigation-window .caja-pathbar button:last-child:dir(rtl) { margin-right: -2px; } .caja-navigation-window .caja-pathbar button.toggle, .caja-navigation-window .caja-pathbar button.image-button, .caja-navigation-window .caja-pathbar button.text-button { border-radius: 0px; border-left: 1px solid rgba(0, 0, 0, 0.1); margin-right: -1px; } .caja-navigation-window .caja-pathbar button.slider-button, .caja-navigation-window .caja-pathbar button.image-button { margin-right: -1px; } .caja-navigation-window .caja-pathbar button.slider-button:first-child, .caja-navigation-window .caja-pathbar button.image-button:first-child { border-radius: 0px; } .caja-navigation-window statusbar { margin: 0 -10px; } .caja-navigation-window scrolledwindow widget > widget.entry, .caja-navigation-window scrolledwindow widget > widget.entry:focus { transition: none; } .caja-navigation-window scrolledwindow widget > widget.entry:selected, .caja-navigation-window scrolledwindow widget > widget.entry:focus:selected { color: #fefefe; background-color: #37b9a5; } #caja-extra-view-widget { border-bottom: 1px solid rgba(0, 0, 0, 0.1); background-color: #283141; } #caja-extra-view-widget > box > box > label { font-weight: 700; } window#MyControlCenter > frame > box.horizontal > widget > scrolledwindow.frame { border: none; } window#MyControlCenter > frame > box.horizontal > widget > scrolledwindow.frame > widget.view { all: unset; background-color: #283141; } .atril-window scrolledwindow.frame, .xreader-window scrolledwindow.frame { border-style: solid none none; } .pluma-window notebook > header { border-width: 0px; } .pluma-window statusbar * { border: none; } .pluma-window statusbar button { padding: 0; border-radius: 0; } /*********************** * App-Specific Styles * ***********************/ /********* * Geary * *********/ .geary-titlebar-left .separator, .geary-titlebar-right .separator { opacity: 0; } ConversationListView { -GtkTreeView-grid-line-width: 0; } ConversationListView .view:active, ConversationListView iconview:active, ConversationListView .view:selected, ConversationListView iconview:selected { background-color: #37b9a5; color: #fefefe; } ConversationListView .view:active:backdrop, ConversationListView iconview:active:backdrop, ConversationListView .view:selected:backdrop, ConversationListView iconview:selected:backdrop { background-color: #37b9a5; color: rgba(254, 254, 254, 0.8); } ConversationListView .view .cell, ConversationListView iconview .cell { border: solid rgba(0, 0, 0, 0.2); border-width: 0 0 1px 0; } ConversationListView .view .cell:selected, ConversationListView iconview .cell:selected { color: #fefefe; border: 0px solid #2b9282; } /*********** * LightDm * ***********/ #panel_window { background-color: rgba(0, 0, 0, 0.7); color: white; font-weight: 700; box-shadow: inset 0 -1px rgba(0, 0, 0, 0.7); } #panel_window .menubar, #panel_window .menubar > .menuitem menubar, #panel_window menubar > menuitem { background-color: transparent; color: white; font-weight: 700; } #panel_window .menubar .menuitem:disabled, #panel_window menubar menuitem:disabled { color: rgba(255, 255, 255, 0.5); } #panel_window .menubar .menuitem:disabled GtkLabel, #panel_window menubar menuitem:disabled GtkLabel { color: inherit; } #panel_window .menubar .menuitem:disabled label, #panel_window menubar menuitem:disabled label { color: inherit; } #panel_window .menubar .menu > .menuitem, #panel_window menubar menu > menuitem { font-weight: 400; } #login_window, #shutdown_dialog, #restart_dialog { font-weight: 400; border-style: none; background-color: transparent; color: #fefefe; } #content_frame { padding-bottom: 14px; background-color: #283141; border-top-left-radius: 2px; border-top-right-radius: 2px; border: solid rgba(0, 0, 0, 0.1); border-width: 1px 1px 0 1px; } #content_frame button { font-weight: 700; color: #fefefe; outline-color: rgba(254, 254, 254, 0.3); background-color: #39465c; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } #content_frame button:hover { color: #fefefe; outline-color: rgba(254, 254, 254, 0.3); background-color: #39465c; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } #content_frame button:active, #content_frame button:checked { color: #fefefe; outline-color: rgba(254, 254, 254, 0.3); background-color: #37b9a5; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } #content_frame button:disabled { color: #d7dade; outline-color: rgba(254, 254, 254, 0.3); background-color: #2f394c; text-shadow: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } #buttonbox_frame { padding-top: 20px; padding-bottom: 0px; border-style: none; background-color: #283141; border-bottom-left-radius: 2px; border-bottom-right-radius: 2px; border: solid rgba(0, 0, 0, 0.1); border-width: 0 1px 1px 1px; } #buttonbox_frame button { color: #fefefe; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(36, 44, 59, 0.8); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.2), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } #buttonbox_frame button:hover { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(42, 51, 68, 0.8); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } #buttonbox_frame button:active, #buttonbox_frame button:checked { color: white; border-color: rgba(0, 0, 0, 0.7); background-color: rgba(48, 59, 78, 0.8); background-clip: padding-box; outline-color: rgba(254, 254, 254, 0.3); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.25), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.1); } #buttonbox_frame button:disabled { color: rgba(254, 254, 254, 0.5); border-color: rgba(0, 0, 0, 0.7); background-color: rgba(52, 59, 70, 0.5); background-clip: padding-box; box-shadow: none; text-shadow: none; -gtk-icon-shadow: none; } #login_window #user_combobox { color: #fefefe; font-size: 13px; } #login_window #user_combobox .menu, #login_window #user_combobox menu { font-weight: 400; } #user_image { padding: 3px; border-radius: 2px; } #greeter_infobar { border-bottom-width: 0; font-weight: 700; } /*# sourceMappingURL=gtk-dark.css.map */
gpl-3.0
Bodacious/carps
features/steps/timeout.rb
602
require "carps/util/timeout" Given /^a long running command$/ do $command = lambda { loop do end } end Then /^timeout the command after (\d+) second$/ do |t| begin CARPS::timeout t.to_i, "Test command 1" do $command.call end rescue Timeout::Error => e puts "The command was timed out as expected:" puts e.to_s end end Then /^give the command (\d+) second to complete$/ do |t| CARPS::timeout t.to_i, "test command 2" do $command.call end end Given /^a short command$/ do $command = lambda { puts "Hi honey!" } end
gpl-3.0
jonjahren/unity8
tests/mocks/Unity/fake_settingsmodel.h
1780
/* * Copyright (C) 2014 Canonical, Ltd. * * 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; version 3. * * 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/>. */ #ifndef FAKE_SETTINGSMODEL_H #define FAKE_SETTINGSMODEL_H #include <unity/shell/scopes/SettingsModelInterface.h> #include <QList> #include <QSharedPointer> class SettingsModel: public unity::shell::scopes::SettingsModelInterface { Q_OBJECT struct Data { QString id; QString displayName; QString type; QVariant properties; QVariant value; Data(QString const& id_, QString const& displayName_, QString const& type_, QVariant const& properties_, QVariant const& value_) : id(id_), displayName(displayName_), type(type_), properties(properties_), value(value_) {} }; public: explicit SettingsModel(QObject* parent = 0); ~SettingsModel() = default; QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override; bool setData(const QModelIndex&index, const QVariant& value, int role = Qt::EditRole) override; int rowCount(const QModelIndex& parent = QModelIndex()) const override; int count() const override; protected: QList<QSharedPointer<Data>> m_data; }; #endif // FAKE_SETTINGSMODEL_H
gpl-3.0
CINF/DataPresentationWebsite
sym-files2/dygraph/plugins/annotations.js
4587
/** * @license * Copyright 2012 Dan Vanderkam ([email protected]) * MIT-licensed (http://opensource.org/licenses/MIT) */ Dygraph.Plugins.Annotations = (function() { "use strict"; /** Current bits of jankiness: - Uses dygraph.layout_ to get the parsed annotations. - Uses dygraph.plotter_.area It would be nice if the plugin didn't require so much special support inside the core dygraphs classes, but annotations involve quite a bit of parsing and layout. TODO(danvk): cache DOM elements. */ var annotations = function() { this.annotations_ = []; }; annotations.prototype.toString = function() { return "Annotations Plugin"; }; annotations.prototype.activate = function(g) { return { clearChart: this.clearChart, didDrawChart: this.didDrawChart }; }; annotations.prototype.detachLabels = function() { for (var i = 0; i < this.annotations_.length; i++) { var a = this.annotations_[i]; if (a.parentNode) a.parentNode.removeChild(a); this.annotations_[i] = null; } this.annotations_ = []; }; annotations.prototype.clearChart = function(e) { this.detachLabels(); }; annotations.prototype.didDrawChart = function(e) { var g = e.dygraph; // Early out in the (common) case of zero annotations. var points = g.layout_.annotated_points; if (!points || points.length === 0) return; var containerDiv = e.canvas.parentNode; var annotationStyle = { "position": "absolute", "fontSize": g.getOption('axisLabelFontSize') + "px", "zIndex": 10, "overflow": "hidden" }; var bindEvt = function(eventName, classEventName, pt) { return function(annotation_event) { var a = pt.annotation; if (a.hasOwnProperty(eventName)) { a[eventName](a, pt, g, annotation_event); } else if (g.getOption(classEventName)) { g.getOption(classEventName)(a, pt, g, annotation_event ); } }; }; // Add the annotations one-by-one. var area = e.dygraph.plotter_.area; for (var i = 0; i < points.length; i++) { var p = points[i]; if (p.canvasx < area.x || p.canvasx > area.x + area.w || p.canvasy < area.y || p.canvasy > area.y + area.h) { continue; } var a = p.annotation; var tick_height = 6; if (a.hasOwnProperty("tickHeight")) { tick_height = a.tickHeight; } var div = document.createElement("div"); for (var name in annotationStyle) { if (annotationStyle.hasOwnProperty(name)) { div.style[name] = annotationStyle[name]; } } if (!a.hasOwnProperty('icon')) { div.className = "dygraphDefaultAnnotation"; } if (a.hasOwnProperty('cssClass')) { div.className += " " + a.cssClass; } var width = a.hasOwnProperty('width') ? a.width : 16; var height = a.hasOwnProperty('height') ? a.height : 16; if (a.hasOwnProperty('icon')) { var img = document.createElement("img"); img.src = a.icon; img.width = width; img.height = height; div.appendChild(img); } else if (p.annotation.hasOwnProperty('shortText')) { div.appendChild(document.createTextNode(p.annotation.shortText)); } div.style.left = (p.canvasx - width / 2) + "px"; if (a.attachAtBottom) { div.style.top = (area.h - height - tick_height) + "px"; } else { div.style.top = (p.canvasy - height - tick_height) + "px"; } div.style.width = width + "px"; div.style.height = height + "px"; div.title = p.annotation.text; div.style.color = g.colorsMap_[p.name]; div.style.borderColor = g.colorsMap_[p.name]; a.div = div; g.addEvent(div, 'click', bindEvt('clickHandler', 'annotationClickHandler', p, this)); g.addEvent(div, 'mouseover', bindEvt('mouseOverHandler', 'annotationMouseOverHandler', p, this)); g.addEvent(div, 'mouseout', bindEvt('mouseOutHandler', 'annotationMouseOutHandler', p, this)); g.addEvent(div, 'dblclick', bindEvt('dblClickHandler', 'annotationDblClickHandler', p, this)); containerDiv.appendChild(div); this.annotations_.push(div); var ctx = e.drawingContext; ctx.save(); ctx.strokeStyle = g.colorsMap_[p.name]; ctx.beginPath(); if (!a.attachAtBottom) { ctx.moveTo(p.canvasx, p.canvasy); ctx.lineTo(p.canvasx, p.canvasy - 2 - tick_height); } else { ctx.moveTo(p.canvasx, area.h); ctx.lineTo(p.canvasx, area.h - 2 - tick_height); } ctx.closePath(); ctx.stroke(); ctx.restore(); } }; annotations.prototype.destroy = function() { this.detachLabels(); }; return annotations; })();
gpl-3.0
antmd/graph-tool
src/graph/centrality/graph_katz.cc
2580
// graph-tool -- a general graph modification and manipulation thingy // // Copyright (C) 2006-2015 Tiago de Paula Peixoto <[email protected]> // // 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/>. #include "graph_filtering.hh" #include <boost/python.hpp> #include "graph.hh" #include "graph_selectors.hh" #include "graph_katz.hh" using namespace std; using namespace boost; using namespace graph_tool; void katz(GraphInterface& g, boost::any w, boost::any c, boost::any beta, long double alpha, double epsilon, size_t max_iter) { if (!w.empty() && !belongs<writable_edge_scalar_properties>()(w)) throw ValueException("edge property must be writable"); if (!belongs<vertex_floating_properties>()(c)) throw ValueException("centrality vertex property must be of floating point" " value type"); if (!beta.empty() && !belongs<vertex_floating_properties>()(beta)) throw ValueException("personalization vertex property must be of floating point" " value type"); typedef ConstantPropertyMap<double, GraphInterface::edge_t> weight_map_t; typedef boost::mpl::push_back<writable_edge_scalar_properties, weight_map_t>::type weight_props_t; if(w.empty()) w = weight_map_t(1.); typedef ConstantPropertyMap<double, GraphInterface::vertex_t> beta_map_t; typedef boost::mpl::push_back<vertex_floating_properties, beta_map_t>::type beta_props_t; if(beta.empty()) beta = beta_map_t(1.); run_action<>()(g, std::bind(get_katz(), placeholders::_1, g.GetVertexIndex(), placeholders::_2, placeholders::_3, placeholders::_4, alpha, epsilon, max_iter), weight_props_t(), vertex_floating_properties(), beta_props_t())(w, c, beta); } void export_katz() { using namespace boost::python; def("get_katz", &katz); }
gpl-3.0
BlueSteelAUS/amidst
src/main/java/amidst/settings/SettingBase.java
674
package amidst.settings; import java.util.Objects; import java.util.function.Consumer; import java.util.function.UnaryOperator; import amidst.documentation.ThreadSafe; @ThreadSafe public class SettingBase<T> implements Setting<T> { private final Consumer<T> setter; private volatile T value; public SettingBase(T defaultValue, UnaryOperator<T> getter, Consumer<T> setter) { Objects.requireNonNull(defaultValue); this.setter = setter; this.set(getter.apply(defaultValue)); } @Override public T get() { return value; } @Override public synchronized void set(T value) { Objects.requireNonNull(value); this.value = value; setter.accept(value); } }
gpl-3.0
chriskmanx/qmole
QMOLEDEV/gnome-keyring-3.1.4/ui/gku-prompt-util.c
6057
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ /* gku-prompt-tool.c - Handles gui authentication for the keyring daemon. Copyright (C) 2009 Stefan Walter Gnome keyring 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 2 of the License, or (at your option) any later version. Gnome keyring 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., 675 Mass Ave, Cambridge, MA 02139, USA. Author: Stef Walter <[email protected]> */ #include "config.h" #include "gku-prompt-util.h" #include "egg/egg-dh.h" #include "egg/egg-hex.h" #include "egg/egg-padding.h" #include "egg/egg-secure-memory.h" void gku_prompt_util_encode_mpi (GKeyFile *key_file, const gchar *section, const gchar *field, gcry_mpi_t mpi) { gcry_error_t gcry; guchar *data; gsize n_data; g_return_if_fail (key_file); g_return_if_fail (section); g_return_if_fail (field); g_return_if_fail (mpi); /* Get the size */ gcry = gcry_mpi_print (GCRYMPI_FMT_USG, NULL, 0, &n_data, mpi); g_return_if_fail (gcry == 0); data = g_malloc0 (n_data); /* Write into buffer */ gcry = gcry_mpi_print (GCRYMPI_FMT_USG, data, n_data, &n_data, mpi); g_return_if_fail (gcry == 0); gku_prompt_util_encode_hex (key_file, section, field, data, n_data); g_free (data); } void gku_prompt_util_encode_hex (GKeyFile *key_file, const gchar *section, const gchar *field, gconstpointer data, gsize n_data) { gchar *value; g_return_if_fail (key_file); g_return_if_fail (section); g_return_if_fail (field); value = egg_hex_encode (data, n_data); g_key_file_set_value (key_file, section, field, value); g_free (value); } gpointer gku_prompt_util_decode_hex (GKeyFile *key_file, const gchar *section, const gchar *field, gsize *n_result) { gpointer result = NULL; gchar *data; g_return_val_if_fail (key_file, NULL); g_return_val_if_fail (section, NULL); g_return_val_if_fail (field, NULL); g_return_val_if_fail (n_result, NULL); data = g_key_file_get_value (key_file, section, field, NULL); if (data != NULL) result = egg_hex_decode (data, -1, n_result); g_free (data); return result; } gboolean gku_prompt_util_decode_mpi (GKeyFile *key_file, const gchar *section, const gchar *field, gcry_mpi_t *mpi) { gcry_error_t gcry; gpointer data; gsize n_data; g_return_val_if_fail (key_file, FALSE); g_return_val_if_fail (section, FALSE); g_return_val_if_fail (field, FALSE); g_return_val_if_fail (mpi, FALSE); data = gku_prompt_util_decode_hex (key_file, section, field, &n_data); if (data == NULL) return FALSE; gcry = gcry_mpi_scan (mpi, GCRYMPI_FMT_USG, data, n_data, NULL); g_free (data); return (gcry == 0); } gpointer gku_prompt_util_encrypt_text (gconstpointer key, gsize n_key, gconstpointer iv, gsize n_iv, const gchar *text, gsize *n_result) { gcry_cipher_hd_t cih; gcry_error_t gcry; guchar* padded; guchar* result; gsize n_text; gsize pos; g_return_val_if_fail (key, NULL); g_return_val_if_fail (n_key == 16, NULL); g_return_val_if_fail (iv, NULL); g_return_val_if_fail (n_iv == 16, NULL); gcry = gcry_cipher_open (&cih, GCRY_CIPHER_AES128, GCRY_CIPHER_MODE_CBC, 0); if (gcry) { g_warning ("couldn't create aes cipher context: %s", gcry_strerror (gcry)); return NULL; } /* 16 = 128 bits */ gcry = gcry_cipher_setkey (cih, key, 16); g_return_val_if_fail (gcry == 0, NULL); /* 16 = 128 bits */ gcry = gcry_cipher_setiv (cih, iv, 16); g_return_val_if_fail (gcry == 0, NULL); /* Pad the text properly */ n_text = strlen (text); if (!egg_padding_pkcs7_pad (egg_secure_realloc, 16, text, n_text, (gpointer*)&padded, n_result)) g_return_val_if_reached (NULL); result = g_malloc0 (*n_result); for (pos = 0; pos < *n_result; pos += 16) { gcry = gcry_cipher_encrypt (cih, result + pos, 16, padded + pos, 16); g_return_val_if_fail (gcry == 0, NULL); } gcry_cipher_close (cih); egg_secure_clear (padded, *n_result); egg_secure_free (padded); return result; } gchar* gku_prompt_util_decrypt_text (gconstpointer key, gsize n_key, gconstpointer iv, gsize n_iv, gconstpointer data, gsize n_data) { gcry_cipher_hd_t cih; gcry_error_t gcry; gchar *result, *padded; gsize pos, n_result; g_return_val_if_fail (key, NULL); g_return_val_if_fail (n_key == 16, NULL); if (n_iv != 16) { g_warning ("prompt response has iv of wrong length"); return NULL; } if (n_data % 16 != 0) { g_warning ("prompt response encrypted password of wrong length"); return NULL; } gcry = gcry_cipher_open (&cih, GCRY_CIPHER_AES128, GCRY_CIPHER_MODE_CBC, 0); if (gcry) { g_warning ("couldn't create aes cipher context: %s", gcry_strerror (gcry)); return NULL; } /* 16 = 128 bits */ gcry = gcry_cipher_setkey (cih, key, 16); g_return_val_if_fail (gcry == 0, NULL); /* 16 = 128 bits */ gcry = gcry_cipher_setiv (cih, iv, 16); g_return_val_if_fail (gcry == 0, NULL); /* Allocate memory for the result */ padded = egg_secure_alloc (n_data); for (pos = 0; pos < n_data; pos += 16) { gcry = gcry_cipher_decrypt (cih, padded + pos, 16, (guchar*)data + pos, 16); g_return_val_if_fail (gcry == 0, NULL); } gcry_cipher_close (cih); if (!egg_padding_pkcs7_unpad (egg_secure_realloc, 16, padded, n_data, (gpointer*)&result, &n_result)) result = NULL; egg_secure_free (padded); if (result && !g_utf8_validate (result, n_result, NULL)) { egg_secure_free (result); result = NULL; } return result; }
gpl-3.0
sovaz1997/ChessProblemGenerator
stockfish-8-src/src/misc.cpp
5207
/* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) Copyright (C) 2008-2015 Marco Costalba, Joona Kiiski, Tord Romstad Copyright (C) 2015-2016 Marco Costalba, Joona Kiiski, Gary Linscott, Tord Romstad Stockfish 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. Stockfish 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/>. */ #include <fstream> #include <iomanip> #include <iostream> #include <sstream> #include "misc.h" #include "thread.h" using namespace std; namespace { /// Version number. If Version is left empty, then compile date in the format /// DD-MM-YY and show in engine_info. const string Version = "8"; /// Our fancy logging facility. The trick here is to replace cin.rdbuf() and /// cout.rdbuf() with two Tie objects that tie cin and cout to a file stream. We /// can toggle the logging of std::cout and std:cin at runtime whilst preserving /// usual I/O functionality, all without changing a single line of code! /// Idea from http://groups.google.com/group/comp.lang.c++/msg/1d941c0f26ea0d81 struct Tie: public streambuf { // MSVC requires split streambuf for cin and cout Tie(streambuf* b, streambuf* l) : buf(b), logBuf(l) {} int sync() { return logBuf->pubsync(), buf->pubsync(); } int overflow(int c) { return log(buf->sputc((char)c), "<< "); } int underflow() { return buf->sgetc(); } int uflow() { return log(buf->sbumpc(), ">> "); } streambuf *buf, *logBuf; int log(int c, const char* prefix) { static int last = '\n'; // Single log file if (last == '\n') logBuf->sputn(prefix, 3); return last = logBuf->sputc((char)c); } }; class Logger { Logger() : in(cin.rdbuf(), file.rdbuf()), out(cout.rdbuf(), file.rdbuf()) {} ~Logger() { start(""); } ofstream file; Tie in, out; public: static void start(const std::string& fname) { static Logger l; if (!fname.empty() && !l.file.is_open()) { l.file.open(fname, ifstream::out); cin.rdbuf(&l.in); cout.rdbuf(&l.out); } else if (fname.empty() && l.file.is_open()) { cout.rdbuf(l.out.buf); cin.rdbuf(l.in.buf); l.file.close(); } } }; } // namespace /// engine_info() returns the full name of the current Stockfish version. This /// will be either "Stockfish <Tag> DD-MM-YY" (where DD-MM-YY is the date when /// the program was compiled) or "Stockfish <Version>", depending on whether /// Version is empty. const string engine_info(bool to_uci) { const string months("Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec"); string month, day, year; stringstream ss, date(__DATE__); // From compiler, format is "Sep 21 2008" ss << "Stockfish " << Version << setfill('0'); if (Version.empty()) { date >> month >> day >> year; ss << setw(2) << day << setw(2) << (1 + months.find(month) / 4) << year.substr(2); } ss << (Is64Bit ? " 64" : "") << (HasPext ? " BMI2" : (HasPopCnt ? " POPCNT" : "")) << (to_uci ? "\nid author ": " by ") << "T. Romstad, M. Costalba, J. Kiiski, G. Linscott"; return ss.str(); } /// Debug functions used mainly to collect run-time statistics static int64_t hits[2], means[2]; void dbg_hit_on(bool b) { ++hits[0]; if (b) ++hits[1]; } void dbg_hit_on(bool c, bool b) { if (c) dbg_hit_on(b); } void dbg_mean_of(int v) { ++means[0]; means[1] += v; } void dbg_print() { if (hits[0]) cerr << "Total " << hits[0] << " Hits " << hits[1] << " hit rate (%) " << 100 * hits[1] / hits[0] << endl; if (means[0]) cerr << "Total " << means[0] << " Mean " << (double)means[1] / means[0] << endl; } /// Used to serialize access to std::cout to avoid multiple threads writing at /// the same time. std::ostream& operator<<(std::ostream& os, SyncCout sc) { static Mutex m; if (sc == IO_LOCK) m.lock(); if (sc == IO_UNLOCK) m.unlock(); return os; } /// Trampoline helper to avoid moving Logger to misc.h void start_logger(const std::string& fname) { Logger::start(fname); } /// prefetch() preloads the given address in L1/L2 cache. This is a non-blocking /// function that doesn't stall the CPU waiting for data to be loaded from memory, /// which can be quite slow. #ifdef NO_PREFETCH void prefetch(void*) {} #else void prefetch(void* addr) { # if defined(__INTEL_COMPILER) // This hack prevents prefetches from being optimized away by // Intel compiler. Both MSVC and gcc seem not be affected by this. __asm__ (""); # endif # if defined(__INTEL_COMPILER) || defined(_MSC_VER) _mm_prefetch((char*)addr, _MM_HINT_T0); # else __builtin_prefetch(addr); # endif } #endif
gpl-3.0
aidanhs/boomerang
symbols/libidloader.cpp
2186
#ifndef _WIN32 #include <dlfcn.h> #else #include <windows.h> #endif #include "SymbolMatcher.h" #include "config.h" // For UNDERSCORE_NEEDED etc #include <iostream> #define FACTORY_PROC "getInstanceFor" SymbolMatcher * SymbolMatcherFactory_getInstanceFor(Prog *prog, const char *sSymbolContainer, const char *hint) { std::string libName = "libid"; SymbolMatcher *res; // Load the specific loader library #ifndef _WIN32 // Cygwin, Unix/Linux libName = std::string("lib/lib") + libName; #ifdef __CYGWIN__ libName += ".dll"; // Cygwin wants .dll, but is otherwise like Unix #else #if HOST_OSX libName += ".dylib"; #else libName += ".so"; #endif #endif static void* dlHandle = dlopen(libName.c_str(), RTLD_LAZY); if (dlHandle == NULL) { fprintf( stderr, "Could not open dynamic loader library %s\n", libName.c_str()); fprintf( stderr, "%s\n", dlerror()); //fclose(f); return NULL; } // Use the handle to find the "construct" function #if UNDERSCORE_NEEDED #define UNDERSCORE "_" #else #define UNDERSCORE #endif SYMMATCH_FACTORY pFcn = (SYMMATCH_FACTORY) dlsym(dlHandle, UNDERSCORE FACTORY_PROC); #else // Else MSVC, MinGW libName += ".dll"; // Example: ElfBinaryFile.dll (same dir as boomerang.exe) #ifdef __MINGW32__ libName = "lib/lib" + libName; #endif static HMODULE hModule = LoadLibrary(libName.c_str()); if(hModule == NULL) { int err = GetLastError(); fprintf( stderr, "Could not open dynamic loader library %s (error #%d)\n", libName.c_str(), err); return NULL; } // Use the handle to find the "construct" function SYMMATCH_FACTORY pFcn = (SYMMATCH_FACTORY) GetProcAddress((HINSTANCE)hModule, FACTORY_PROC); #endif if (pFcn == NULL) { fprintf( stderr, "Loader library %s does not have a "FACTORY_PROC" function\n", libName.c_str()); #ifndef _WIN32 fprintf( stderr, "dlerror returns %s\n", dlerror()); #endif return NULL; } // Call the construct function res = (*pFcn)(prog, sSymbolContainer, hint); return res; }
gpl-3.0
s20121035/rk3288_android5.1_repo
libcore/luni/src/main/java/java/util/Timer.java
19820
/* * 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 java.util; /** * Timers schedule one-shot or recurring {@link TimerTask tasks} for execution. * Prefer {@link java.util.concurrent.ScheduledThreadPoolExecutor * ScheduledThreadPoolExecutor} for new code. * * <p>Each timer has one thread on which tasks are executed sequentially. When * this thread is busy running a task, runnable tasks may be subject to delays. * * <p>One-shot tasks are scheduled to run at an absolute time or after a relative * delay. * * <p>Recurring tasks are scheduled with either a fixed period or a fixed rate: * <ul> * <li>With the default <strong>fixed-period execution</strong>, each * successive run of a task is scheduled relative to the start time of * the previous run, so two runs are never fired closer together in time * than the specified {@code period}. * <li>With <strong>fixed-rate execution</strong>, the start time of each * successive run of a task is scheduled without regard for when the * previous run took place. This may result in a series of bunched-up runs * (one launched immediately after another) if delays prevent the timer * from starting tasks on time. * </ul> * * <p>When a timer is no longer needed, users should call {@link #cancel}, which * releases the timer's thread and other resources. Timers not explicitly * cancelled may hold resources indefinitely. * * <p>This class does not offer guarantees about the real-time nature of task * scheduling. Multiple threads can share a single timer without * synchronization. */ public class Timer { private static final class TimerImpl extends Thread { private static final class TimerHeap { private int DEFAULT_HEAP_SIZE = 256; private TimerTask[] timers = new TimerTask[DEFAULT_HEAP_SIZE]; private int size = 0; private int deletedCancelledNumber = 0; public TimerTask minimum() { return timers[0]; } public boolean isEmpty() { return size == 0; } public void insert(TimerTask task) { if (timers.length == size) { TimerTask[] appendedTimers = new TimerTask[size * 2]; System.arraycopy(timers, 0, appendedTimers, 0, size); timers = appendedTimers; } timers[size++] = task; upHeap(); } public void delete(int pos) { // posible to delete any position of the heap if (pos >= 0 && pos < size) { timers[pos] = timers[--size]; timers[size] = null; downHeap(pos); } } private void upHeap() { int current = size - 1; int parent = (current - 1) / 2; while (timers[current].when < timers[parent].when) { // swap the two TimerTask tmp = timers[current]; timers[current] = timers[parent]; timers[parent] = tmp; // update pos and current current = parent; parent = (current - 1) / 2; } } private void downHeap(int pos) { int current = pos; int child = 2 * current + 1; while (child < size && size > 0) { // compare the children if they exist if (child + 1 < size && timers[child + 1].when < timers[child].when) { child++; } // compare selected child with parent if (timers[current].when < timers[child].when) { break; } // swap the two TimerTask tmp = timers[current]; timers[current] = timers[child]; timers[child] = tmp; // update pos and current current = child; child = 2 * current + 1; } } public void reset() { timers = new TimerTask[DEFAULT_HEAP_SIZE]; size = 0; } public void adjustMinimum() { downHeap(0); } public void deleteIfCancelled() { for (int i = 0; i < size; i++) { if (timers[i].cancelled) { deletedCancelledNumber++; delete(i); // re-try this point i--; } } } private int getTask(TimerTask task) { for (int i = 0; i < timers.length; i++) { if (timers[i] == task) { return i; } } return -1; } } /** * True if the method cancel() of the Timer was called or the !!!stop() * method was invoked */ private boolean cancelled; /** * True if the Timer has become garbage */ private boolean finished; /** * Contains scheduled events, sorted according to * {@code when} field of TaskScheduled object. */ private TimerHeap tasks = new TimerHeap(); /** * Starts a new timer. * * @param name thread's name * @param isDaemon daemon thread or not */ TimerImpl(String name, boolean isDaemon) { this.setName(name); this.setDaemon(isDaemon); this.start(); } /** * This method will be launched on separate thread for each Timer * object. */ @Override public void run() { while (true) { TimerTask task; synchronized (this) { // need to check cancelled inside the synchronized block if (cancelled) { return; } if (tasks.isEmpty()) { if (finished) { return; } // no tasks scheduled -- sleep until any task appear try { this.wait(); } catch (InterruptedException ignored) { } continue; } long currentTime = System.currentTimeMillis(); task = tasks.minimum(); long timeToSleep; synchronized (task.lock) { if (task.cancelled) { tasks.delete(0); continue; } // check the time to sleep for the first task scheduled timeToSleep = task.when - currentTime; } if (timeToSleep > 0) { // sleep! try { this.wait(timeToSleep); } catch (InterruptedException ignored) { } continue; } // no sleep is necessary before launching the task synchronized (task.lock) { int pos = 0; if (tasks.minimum().when != task.when) { pos = tasks.getTask(task); } if (task.cancelled) { tasks.delete(tasks.getTask(task)); continue; } // set time to schedule task.setScheduledTime(task.when); // remove task from queue tasks.delete(pos); // set when the next task should be launched if (task.period >= 0) { // this is a repeating task, if (task.fixedRate) { // task is scheduled at fixed rate task.when = task.when + task.period; } else { // task is scheduled at fixed delay task.when = System.currentTimeMillis() + task.period; } // insert this task into queue insertTask(task); } else { task.when = 0; } } } boolean taskCompletedNormally = false; try { task.run(); taskCompletedNormally = true; } finally { if (!taskCompletedNormally) { synchronized (this) { cancelled = true; } } } } } private void insertTask(TimerTask newTask) { // callers are synchronized tasks.insert(newTask); this.notify(); } /** * Cancels timer. */ public synchronized void cancel() { cancelled = true; tasks.reset(); this.notify(); } public int purge() { if (tasks.isEmpty()) { return 0; } // callers are synchronized tasks.deletedCancelledNumber = 0; tasks.deleteIfCancelled(); return tasks.deletedCancelledNumber; } } private static final class FinalizerHelper { private final TimerImpl impl; FinalizerHelper(TimerImpl impl) { this.impl = impl; } @Override protected void finalize() throws Throwable { try { synchronized (impl) { impl.finished = true; impl.notify(); } } finally { super.finalize(); } } } private static long timerId; private synchronized static long nextId() { return timerId++; } /* This object will be used in synchronization purposes */ private final TimerImpl impl; // Used to finalize thread @SuppressWarnings("unused") private final FinalizerHelper finalizer; /** * Creates a new named {@code Timer} which may be specified to be run as a * daemon thread. * * @throws NullPointerException if {@code name == null} */ public Timer(String name, boolean isDaemon) { if (name == null) { throw new NullPointerException("name == null"); } this.impl = new TimerImpl(name, isDaemon); this.finalizer = new FinalizerHelper(impl); } /** * Creates a new named {@code Timer} which does not run as a daemon thread. * * @throws NullPointerException if {@code name == null} */ public Timer(String name) { this(name, false); } /** * Creates a new {@code Timer} which may be specified to be run as a daemon thread. * * @param isDaemon {@code true} if the {@code Timer}'s thread should be a daemon thread. */ public Timer(boolean isDaemon) { this("Timer-" + Timer.nextId(), isDaemon); } /** * Creates a new non-daemon {@code Timer}. */ public Timer() { this(false); } /** * Cancels the {@code Timer} and all scheduled tasks. If there is a * currently running task it is not affected. No more tasks may be scheduled * on this {@code Timer}. Subsequent calls do nothing. */ public void cancel() { impl.cancel(); } /** * Removes all canceled tasks from the task queue. If there are no * other references on the tasks, then after this call they are free * to be garbage collected. * * @return the number of canceled tasks that were removed from the task * queue. */ public int purge() { synchronized (impl) { return impl.purge(); } } /** * Schedule a task for single execution. If {@code when} is less than the * current time, it will be scheduled to be executed as soon as possible. * * @param task * the task to schedule. * @param when * time of execution. * @throws IllegalArgumentException * if {@code when.getTime() < 0}. * @throws IllegalStateException * if the {@code Timer} has been canceled, or if the task has been * scheduled or canceled. */ public void schedule(TimerTask task, Date when) { if (when.getTime() < 0) { throw new IllegalArgumentException("when < 0: " + when.getTime()); } long delay = when.getTime() - System.currentTimeMillis(); scheduleImpl(task, delay < 0 ? 0 : delay, -1, false); } /** * Schedule a task for single execution after a specified delay. * * @param task * the task to schedule. * @param delay * amount of time in milliseconds before execution. * @throws IllegalArgumentException * if {@code delay < 0}. * @throws IllegalStateException * if the {@code Timer} has been canceled, or if the task has been * scheduled or canceled. */ public void schedule(TimerTask task, long delay) { if (delay < 0) { throw new IllegalArgumentException("delay < 0: " + delay); } scheduleImpl(task, delay, -1, false); } /** * Schedule a task for repeated fixed-delay execution after a specific delay. * * @param task * the task to schedule. * @param delay * amount of time in milliseconds before first execution. * @param period * amount of time in milliseconds between subsequent executions. * @throws IllegalArgumentException * if {@code delay < 0} or {@code period <= 0}. * @throws IllegalStateException * if the {@code Timer} has been canceled, or if the task has been * scheduled or canceled. */ public void schedule(TimerTask task, long delay, long period) { if (delay < 0 || period <= 0) { throw new IllegalArgumentException(); } scheduleImpl(task, delay, period, false); } /** * Schedule a task for repeated fixed-delay execution after a specific time * has been reached. * * @param task * the task to schedule. * @param when * time of first execution. * @param period * amount of time in milliseconds between subsequent executions. * @throws IllegalArgumentException * if {@code when.getTime() < 0} or {@code period <= 0}. * @throws IllegalStateException * if the {@code Timer} has been canceled, or if the task has been * scheduled or canceled. */ public void schedule(TimerTask task, Date when, long period) { if (period <= 0 || when.getTime() < 0) { throw new IllegalArgumentException(); } long delay = when.getTime() - System.currentTimeMillis(); scheduleImpl(task, delay < 0 ? 0 : delay, period, false); } /** * Schedule a task for repeated fixed-rate execution after a specific delay * has passed. * * @param task * the task to schedule. * @param delay * amount of time in milliseconds before first execution. * @param period * amount of time in milliseconds between subsequent executions. * @throws IllegalArgumentException * if {@code delay < 0} or {@code period <= 0}. * @throws IllegalStateException * if the {@code Timer} has been canceled, or if the task has been * scheduled or canceled. */ public void scheduleAtFixedRate(TimerTask task, long delay, long period) { if (delay < 0 || period <= 0) { throw new IllegalArgumentException(); } scheduleImpl(task, delay, period, true); } /** * Schedule a task for repeated fixed-rate execution after a specific time * has been reached. * * @param task * the task to schedule. * @param when * time of first execution. * @param period * amount of time in milliseconds between subsequent executions. * @throws IllegalArgumentException * if {@code when.getTime() < 0} or {@code period <= 0}. * @throws IllegalStateException * if the {@code Timer} has been canceled, or if the task has been * scheduled or canceled. */ public void scheduleAtFixedRate(TimerTask task, Date when, long period) { if (period <= 0 || when.getTime() < 0) { throw new IllegalArgumentException(); } long delay = when.getTime() - System.currentTimeMillis(); scheduleImpl(task, delay, period, true); } /* * Schedule a task. */ private void scheduleImpl(TimerTask task, long delay, long period, boolean fixed) { synchronized (impl) { if (impl.cancelled) { throw new IllegalStateException("Timer was canceled"); } long when = delay + System.currentTimeMillis(); if (when < 0) { throw new IllegalArgumentException("Illegal delay to start the TimerTask: " + when); } synchronized (task.lock) { if (task.isScheduled()) { throw new IllegalStateException("TimerTask is scheduled already"); } if (task.cancelled) { throw new IllegalStateException("TimerTask is canceled"); } task.when = when; task.period = period; task.fixedRate = fixed; } // insert the newTask into queue impl.insertTask(task); } } }
gpl-3.0
aburrell/davitpy
davitpy/models/tsyganenko/__init__.py
21946
# -*- coding: utf-8 -*- # Copyright (C) 2012 VT SuperDARN Lab # Full license can be found in LICENSE.txt """tsyganenko module This modules containes the following object(s): Classes ------------------------------------------------------------- tsygTrace Wraps fortran subroutines in one convenient class ------------------------------------------------------------- Module ------------------------------- tsygFort Fortran subroutines ------------------------------- """ import tsygFort import logging class tsygTrace(object): """models.tsyganenko.trace Trace magnetic field line(s) from point(s) Parameters ---------- lat : Optional[ ] latitude [degrees] lon : Optional[ ] longitude [degrees] rho : Optional[ ] distance from center of the Earth [km] filename : Optional[ ] load a trace object directly from a file coords : Optional[str] coordinates used for start point ['geo'] datetime : Optional[datetime] a python datetime object vswgse : Optional[list, float] solar wind velocity in GSE coordinates [m/s, m/s, m/s] pdyn : Optional[float] solar wind dynamic pressure [nPa] dst : Optional[flaot] Dst index [nT] byimf : Optional[float] IMF By [nT] bzimf : Optional[float] IMF Bz [nT] lmax : Optional[int] maximum number of points to trace rmax : Optional[float] upper trace boundary in Re rmin : Optional[float] lower trace boundary in Re dsmax : Optional[float] maximum tracing step size err : Optional[float] tracing step tolerance Attributes ---------- lat : latitude [degrees] lon : longitude [degrees] rho : distance from center of the Earth [km] coords : str coordinates used for start point ['geo'] vswgse : list solar wind velocity in GSE coordinates [m/s, m/s, m/s] pdyn : float solar wind dynamic pressure [nPa] dst : flaot Dst index [nT] byimf : float IMF By [nT] bzimf : float IMF Bz [nT] datetime : Optional[datetime] a python datetime object Returns ------- Elements of this object: lat[N/S]H : latitude of the trace footpoint in Northern/Southern hemispher lon[N/S]H : longitude of the trace footpoint in Northern/Southern hemispher rho[N/S]H : distance of the trace footpoint in Northern/Southern hemispher Examples -------- from numpy import arange, zeros, ones import tsyganenko # trace a series of points lats = arange(10, 90, 10) lons = zeros(len(lats)) rhos = 6372.*ones(len(lats)) trace = tsyganenko.tsygTrace(lats, lons, rhos) # Print the results nicely print trace # Plot the traced field lines ax = trace.plot() # Or generate a 3d view of the traced field lines ax = trace.plot3d() # Save your trace to a file for later use trace.save('trace.dat') # And when you want to re-use the saved trace trace = tsyganenko.tsygTrace(filename='trace.dat') Notes ----- **FUNCTION**: trace(lat, lon, rho, coords='geo', datetime=None, vswgse=[-400.,0.,0.], Pdyn=2., Dst=-5., ByIMF=0., BzIMF=-5. lmax=5000, rmax=60., rmin=1., dsmax=0.01, err=0.000001) Written by Sebastien 2012-10 """ def __init__(self, lat=None, lon=None, rho=None, filename=None, coords='geo', datetime=None, vswgse=[-400.,0.,0.], pdyn=2., dst=-5., byimf=0., bzimf=-5., lmax=5000, rmax=60., rmin=1., dsmax=0.01, err=0.000001): from datetime import datetime as pydt assert (None not in [lat, lon, rho]) or filename, 'You must provide either (lat, lon, rho) or a filename to read from' if None not in [lat, lon, rho]: self.lat = lat self.lon = lon self.rho = rho self.coords = coords self.vswgse = vswgse self.pdyn = pdyn self.dst = dst self.byimf = byimf self.bzimf = bzimf # If no datetime is provided, defaults to today if datetime is None: datetime = pydt.utcnow() self.datetime = datetime iTest = self.__test_valid__() if not iTest: self.__del__() self.trace() elif filename: self.load(filename) def __test_valid__(self): """Test the validity of input arguments to the tsygTrace class and trace method Written by Sebastien 2012-10 """ assert (len(self.vswgse) == 3), 'vswgse must have 3 elements' assert (self.coords.lower() == 'geo'), '{}: this coordinae system is not supported'.format(self.coords.lower()) # A provision for those who want to batch trace try: [l for l in self.lat] except: self.lat = [self.lat] try: [l for l in self.lon] except: self.lon = [self.lon] try: [r for r in self.rho] except: self.rho = [self.rho] try: [d for d in self.datetime] except: self.datetime = [self.datetime for l in self.lat] # Make sure they're all the sam elength assert (len(self.lat) == len(self.lon) == len(self.rho) == len(self.datetime)), \ 'lat, lon, rho and datetime must me the same length' return True def trace(self, lat=None, lon=None, rho=None, coords=None, datetime=None, vswgse=None, pdyn=None, dst=None, byimf=None, bzimf=None, lmax=5000, rmax=60., rmin=1., dsmax=0.01, err=0.000001): """See tsygTrace for a description of each parameter Any unspecified parameter default to the one stored in the object Unspecified lmax, rmax, rmin, dsmax, err has a set default value Parameters ---------- lat : Optional[ ] latitude [degrees] lon : Optional[ ] longitude [degrees] rho : Optional[ ] distance from center of the Earth [km] coords : Optional[str] coordinates used for start point ['geo'] datetime : Optional[datetime] a python datetime object vswgse : Optional[list, float] solar wind velocity in GSE coordinates [m/s, m/s, m/s] pdyn : Optional[float] solar wind dynamic pressure [nPa] dst : Optional[flaot] Dst index [nT] byimf : Optional[float] IMF By [nT] bzimf : Optional[float] IMF Bz [nT] lmax : Optional[int] maximum number of points to trace rmax : Optional[float] upper trace boundary in Re rmin : Optional[float] lower trace boundary in Re dsmax : Optional[float] maximum tracing step size err : Optional[float] tracing step tolerance Written by Sebastien 2012-10 """ from numpy import radians, degrees, zeros # Store existing values of class attributes in case something is wrong # and we need to revert back to them if lat: _lat = self.lat if lon: _lon = self.lon if rho: _rho = self.rho if coords: _coords = self.coords if vswgse: _vswgse = self.vswgse if not datetime is None: _datetime = self.datetime # Pass position if new if lat: self.lat = lat lat = self.lat if lon: self.lon = lon lon = self.lon if rho: self.rho = rho rho = self.rho if not datetime is None: self.datetime = datetime datetime = self.datetime # Set necessary parameters if new if coords: self.coords = coords coords = self.coords if not datetime is None: self.datetime = datetime datetime = self.datetime if vswgse: self.vswgse = vswgse vswgse = self.vswgse if pdyn: self.pdyn = pdyn pdyn = self.pdyn if dst: self.dst = dst dst = self.dst if byimf: self.byimf = byimf byimf = self.byimf if bzimf: self.bzimf = bzimf bzimf = self.bzimf # Test that everything is in order, if not revert to existing values iTest = self.__test_valid__() if not iTest: if lat: self.lat = _lat if lon: _self.lon = lon if rho: self.rho = _rho if coords: self.coords = _coords if vswgse: self.vswgse = _vswgse if not datetime is None: self.datetime = _datetime # Declare the same Re as used in Tsyganenko models [km] Re = 6371.2 # Initialize trace array self.l = zeros(len(lat)) self.xTrace = zeros((len(lat),2*lmax)) self.yTrace = self.xTrace.copy() self.zTrace = self.xTrace.copy() self.xGsw = self.l.copy() self.yGsw = self.l.copy() self.zGsw = self.l.copy() self.latNH = self.l.copy() self.lonNH = self.l.copy() self.rhoNH = self.l.copy() self.latSH = self.l.copy() self.lonSH = self.l.copy() self.rhoSH = self.l.copy() # And now iterate through the desired points for ip in xrange(len(lat)): # This has to be called first tsygFort.recalc_08(datetime[ip].year,datetime[ip].timetuple().tm_yday, datetime[ip].hour,datetime[ip].minute,datetime[ip].second, vswgse[0],vswgse[1],vswgse[2]) # Convert lat,lon to geographic cartesian and then gsw r, theta, phi, xgeo, ygeo, zgeo = tsygFort.sphcar_08( rho[ip]/Re, radians(90.-lat[ip]), radians(lon[ip]), 0., 0., 0., 1) if coords.lower() == 'geo': xgeo, ygeo, zgeo, xgsw, ygsw, zgsw = tsygFort.geogsw_08( xgeo, ygeo, zgeo, 0. ,0. ,0. , 1) self.xGsw[ip] = xgsw self.yGsw[ip] = ygsw self.zGsw[ip] = zgsw # Trace field line inmod = 'IGRF_GSW_08' exmod = 'T96_01' parmod = [pdyn, dst, byimf, bzimf, 0, 0, 0, 0, 0, 0] # First towards southern hemisphere maptoL = [-1, 1] for mapto in maptoL: xfgsw, yfgsw, zfgsw, xarr, yarr, zarr, l = tsygFort.trace_08( xgsw, ygsw, zgsw, mapto, dsmax, err, rmax, rmin, 0, parmod, exmod, inmod, lmax ) # Convert back to spherical geographic coords xfgeo, yfgeo, zfgeo, xfgsw, yfgsw, zfgsw = tsygFort.geogsw_08( 0. ,0. ,0. , xfgsw, yfgsw, zfgsw, -1) geoR, geoColat, geoLon, xgeo, ygeo, zgeo = tsygFort.sphcar_08( 0., 0., 0., xfgeo, yfgeo, zfgeo, -1) # Get coordinates of traced point if mapto == 1: self.latSH[ip] = 90. - degrees(geoColat) self.lonSH[ip] = degrees(geoLon) self.rhoSH[ip] = geoR*Re elif mapto == -1: self.latNH[ip] = 90. - degrees(geoColat) self.lonNH[ip] = degrees(geoLon) self.rhoNH[ip] = geoR*Re # Store trace if mapto == -1: self.xTrace[ip,0:l] = xarr[l-1::-1] self.yTrace[ip,0:l] = yarr[l-1::-1] self.zTrace[ip,0:l] = zarr[l-1::-1] elif mapto == 1: self.xTrace[ip,self.l[ip]:self.l[ip]+l] = xarr[0:l] self.yTrace[ip,self.l[ip]:self.l[ip]+l] = yarr[0:l] self.zTrace[ip,self.l[ip]:self.l[ip]+l] = zarr[0:l] self.l[ip] += l # Resize trace output to more minimum possible length self.xTrace = self.xTrace[:,0:self.l.max()] self.yTrace = self.yTrace[:,0:self.l.max()] self.zTrace = self.zTrace[:,0:self.l.max()] def __str__(self): """Print object information in a nice way Written by Sebastien 2012-10 """ # Declare print format outstr = ''' vswgse=[{:6.0f},{:6.0f},{:6.0f}] [m/s] pdyn={:3.0f} [nPa] dst={:3.0f} [nT] byimf={:3.0f} [nT] bzimf={:3.0f} [nT] '''.format(self.vswgse[0], self.vswgse[1], self.vswgse[2], self.pdyn, self.dst, self.byimf, self.bzimf) outstr += '\nCoords: {}\n'.format(self.coords) outstr += '(latitude [degrees], longitude [degrees], distance from center of the Earth [km])\n' # Print stuff for ip in xrange(len(self.lat)): outstr += ''' ({:6.3f}, {:6.3f}, {:6.3f}) @ {} --> NH({:6.3f}, {:6.3f}, {:6.3f}) --> SH({:6.3f}, {:6.3f}, {:6.3f}) '''.format(self.lat[ip], self.lon[ip], self.rho[ip], self.datetime[ip].strftime('%H:%M UT (%d-%b-%y)'), self.latNH[ip], self.lonNH[ip], self.rhoNH[ip], self.latSH[ip], self.lonSH[ip], self.rhoSH[ip]) return outstr def save(self, filename): """Save trace information to a file Parameters ---------- filename : str Written by Sebastien 2012-10 """ import cPickle as pickle with open( filename, "wb" ) as fileObj: pickle.dump(self, fileObj) def load(self, filename): """load trace information from a file Parameters ---------- filename : str Written by Sebastien 2012-10 """ import cPickle as pickle with open( filename, "rb" ) as fileObj: obj = pickle.load(fileObj) for k, v in obj.__dict__.items(): self.__dict__[k] = v def plot(self, proj='xz', color='b', onlyPts=None, showPts=False, showEarth=True, disp=True, **kwargs): """Generate a 2D plot of the trace projected onto a given plane Graphic keywords apply to the plot method for the field lines Parameters ---------- proj : Optional[str] the projection plane in GSW coordinates color : Optional[char] field line color onlyPts : Optional[ ] if the trace countains multiple point, only show the specified indices (list) showEarth : Optional[bool] Toggle Earth disk visibility on/off showPts : Optional[bool] Toggle start points visibility on/off disp : Optional[bool] invoke pylab.show() **kwargs : see matplotlib.axes.Axes.plot Returns ------- ax : matplotlib axes object Written by Sebastien 2012-10 """ from pylab import gcf, gca, show from matplotlib.patches import Circle from numpy import pi, linspace, outer, ones, size, cos, sin, radians, cross from numpy.ma import masked_array assert (len(proj) == 2) or \ (proj[0] in ['x','y','z'] and proj[1] in ['x','y','z']) or \ (proj[0] != proj[1]), 'Invalid projection plane' fig = gcf() ax = fig.gca() ax.set_aspect('equal') # First plot a nice disk for the Earth if showEarth: circ = Circle(xy=(0,0), radius=1, facecolor='0.8', edgecolor='k', alpha=.5, zorder=0) ax.add_patch(circ) # Select indices to show if onlyPts is None: inds = xrange(len(self.lat)) else: try: inds = [ip for ip in onlyPts] except: inds = [onlyPts] # Then plot the traced field line for ip in inds: # Select projection plane if proj[0] == 'x': xx = self.xTrace[ip,0:self.l[ip]] xpt = self.xGsw[ip] ax.set_xlabel(r'$X_{GSW}$') xdir = [1,0,0] elif proj[0] == 'y': xx = self.yTrace[ip,0:self.l[ip]] xpt = self.yGsw[ip] ax.set_xlabel(r'$Y_{GSW}$') xdir = [0,1,0] elif proj[0] == 'z': xx = self.zTrace[ip,0:self.l[ip]] xpt = self.zGsw[ip] ax.set_xlabel(r'$Z_{GSW}$') xdir = [0,0,1] if proj[1] == 'x': yy = self.xTrace[ip,0:self.l[ip]] ypt = self.xGsw[ip] ax.set_ylabel(r'$X_{GSW}$') ydir = [1,0,0] elif proj[1] == 'y': yy = self.yTrace[ip,0:self.l[ip]] ypt = self.yGsw[ip] ax.set_ylabel(r'$Y_{GSW}$') ydir = [0,1,0] elif proj[1] == 'z': yy = self.zTrace[ip,0:self.l[ip]] ypt = self.zGsw[ip] ax.set_ylabel(r'$Z_{GSW}$') ydir = [0,0,1] sign = 1 if -1 not in cross(xdir,ydir) else -1 if 'x' not in proj: zz = sign*self.xGsw[ip] indMask = sign*self.xTrace[ip,0:self.l[ip]] < 0 if 'y' not in proj: zz = sign*self.yGsw[ip] indMask = sign*self.yTrace[ip,0:self.l[ip]] < 0 if 'z' not in proj: zz = sign*self.zGsw[ip] indMask = sign*self.zTrace[ip,0:self.l[ip]] < 0 # Plot ax.plot(masked_array(xx, mask=~indMask), masked_array(yy, mask=~indMask), zorder=-1, color=color, **kwargs) ax.plot(masked_array(xx, mask=indMask), masked_array(yy, mask=indMask), zorder=1, color=color, **kwargs) if showPts: ax.scatter(xpt, ypt, c='k', s=40, zorder=zz) if disp: show() return ax def plot3d(self, onlyPts=None, showEarth=True, showPts=False, disp=True, xyzlim=None, zorder=1, linewidth=2, color='b', **kwargs): """Generate a 3D plot of the trace Graphic keywords apply to the plot3d method for the field lines Parameters ---------- onlyPts : Optional[ ] if the trace countains multiple point, only show the specified indices (list) showEarth : Optional[bool] Toggle Earth sphere visibility on/off showPts : Optional[bool] Toggle start points visibility on/off disp : Optional[bool] invoke pylab.show() xyzlim : Optional[ ] 3D axis limits zorder : Optional[int] 3D layers ordering linewidth : Optional[int] field line width color : Optional[char] field line color **kwargs : see mpl_toolkits.mplot3d.axes3d.Axes3D.plot3D Returns ------- ax : matplotlib axes axes object Written by Sebastien 2012-10 """ from mpl_toolkits.mplot3d import proj3d from numpy import pi, linspace, outer, ones, size, cos, sin, radians from pylab import gca, gcf, show fig = gcf() ax = fig.gca(projection='3d') # First plot a nice sphere for the Earth if showEarth: u = linspace(0, 2 * pi, 179) v = linspace(0, pi, 179) tx = outer(cos(u), sin(v)) ty = outer(sin(u), sin(v)) tz = outer(ones(size(u)), cos(v)) ax.plot_surface(tx,ty,tz,rstride=10, cstride=10, color='grey', alpha=.5, zorder=0, linewidth=0.5) # Select indices to show if onlyPts is None: inds = xrange(len(self.lat)) else: try: inds = [ip for ip in onlyPts] except: inds = [onlyPts] # Then plot the traced field line for ip in inds: ax.plot3D( self.xTrace[ip,0:self.l[ip]], self.yTrace[ip,0:self.l[ip]], self.zTrace[ip,0:self.l[ip]], zorder=zorder, linewidth=linewidth, color=color, **kwargs) if showPts: ax.scatter3D(self.xGsw[ip], self.yGsw[ip], self.zGsw[ip], c='k') # Set plot limits if not xyzlim: xyzlim = max( [ ax.get_xlim3d().max(), ax.get_ylim3d().max(), ax.get_zlim3d().max(), ] ) ax.set_xlim3d([-xyzlim,xyzlim]) ax.set_ylim3d([-xyzlim,xyzlim]) ax.set_zlim3d([-xyzlim,xyzlim]) if disp: show() return ax
gpl-3.0
DenKomm/Main-LCARS-x32-Project
LCARSengineering/LCARSengineering/frmEngineering.vb
8569
Public Class frmEngineering Inherits LCARS.LCARSForm Dim pData As Object Dim myWMI As Object Dim WMIavailable As Boolean = False Private Sub tmrSysMon_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tmrSysMon.Tick 'FileOpen(1, Application.StartupPath & "\eLog.txt", OpenMode.Output) Dim val As Integer = pData.getCPU 'PrintLine(1, "Got CPU data.") liProc.Value = val 'PrintLine(1, "Set CPU meter.") Dim myMem As Memory.MEMORYSTATUS = pData.memory.getmemory 'PrintLine(1, "Got MemoryStatus object.") Dim totalMem As Int64 = (myMem.dwTotalPhys.ToUInt64() \ 1024) \ 1024 'PrintLine(1, "Got total physical memory.") If (myMem.dwTotalPhys.ToUInt64() \ 1024) Mod 1024 > 0 Then totalMem += 1 End If If totalMem >= 1024 Then lblMemTotal.Text = totalMem / 1024 & "GB" Else lblMemTotal.Text = totalMem & "MB" End If 'PrintLine(1, "Parsed memory data.") Dim usedPercent As Integer = ((myMem.dwTotalPhys.ToUInt64() - myMem.dwAvailPhys.ToUInt64()) / myMem.dwTotalPhys.ToUInt64()) * 100 'PrintLine(1, "Got used memory percentage.") liMem.Value = usedPercent 'PrintLine(1, "Set used memory meter.") If WMIavailable = True Then 'PrintLine(1, "WMI Available = TRUE") totalMem = (myWMI.PhysicalMemoryCapacity / 1024) / 1024 'PrintLine(1, "Got WMI Total Physical Memory.") If totalMem >= 1024 Then Label2.Text = Math.Round(totalMem / 1024, 2) & "GB" Else Label2.Text = Math.Round(totalMem) & "MB" End If 'PrintLine(1, "Parsed WMI memory.") Dim OSinfo() As String = myWMI.OsName.Split("|") 'PrintLine(1, "Got OSInfo object.") lblMan.Text = myWMI.Manufacturer.ToUpper 'PrintLine(1, "Got Manufacturer.") lblModel.Text = myWMI.Model.ToUpper 'PrintLine(1, "Got Model.") lblOS.Text = OSinfo(0).ToUpper 'PrintLine(1, "Got OS Text.") lblOSver.Text = myWMI.OSVersion.ToUpper 'PrintLine(1, "Got OS version.") lblOSpart.Text = OSinfo(2).ToUpper 'PrintLine(1, "Got OS partition.") lblOSDir.Text = OSinfo(1).ToUpper 'PrintLine(1, "Got System Directory.") Try lblBootupState.Text = myWMI.BootupState.ToUpper 'PrintLine(1, "Got Bootup state.") Catch ex As Exception End Try Try lblSystemName.Text = myWMI.SystemName.ToUpper 'PrintLine(1, "Got System name.") Catch ex As Exception End Try Try lblPysProcCount.Text = myWMI.PhysicalProcessorCount.ToUpper 'PrintLine(1, "Got Physical Processor Count.") Catch ex As Exception End Try Try lblLogProcCount.Text = myWMI.LogicalProcessorCount.ToUpper 'PrintLine(1, "Got Logical Processor count.") Catch End Try Try lblMemInfo.Text = String.Join(vbNewLine, myWMI.PropertyList).ToUpper 'PrintLine(1, "Got memory info.") Catch End Try Else 'PrintLine(1, "WMI Available = FALSE") End If 'PrintLine(1, "Got to end of timer.") 'FileClose(1) End Sub Private Sub frmEngineering_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing If System.Environment.OSVersion.Platform = PlatformID.Win32Windows Then pData.Terminate() End If End Sub Private Sub frmEngineering_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If System.Environment.OSVersion.Platform = PlatformID.Win32Windows Then pData = New Win98Data If pData.init = False Then MsgBox("Error initializing performance data.") End If Else pData = New WinNTData End If Try myWMI = New clsWMI pnlWMIdata.Visible = True WMIavailable = True Catch ex As Exception lblWMImessage.Visible = True End Try tmrSysMon_Tick(sender, e) tmrSysMon.Enabled = True 'Dim myProps() As String = myWMI.PropertyList 'For Each myProp As String In myProps ' ListBox1.Items.Add(myProp) 'Next End Sub Private Sub sbExitMyComp_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles sbExitMyComp.Click Me.Close() End Sub Private Sub StandardButton6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Me.WindowState = FormWindowState.Minimized End Sub Private Sub LevelIndicator1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) MsgBox(liProc.Size.ToString) End Sub Private Sub fbTopBorder_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub Private Sub pnlWMIdata_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles pnlWMIdata.Paint End Sub Private Sub label18_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles label18.Click End Sub End Class Public Class Win98Data Dim hKey As Microsoft.Win32.RegistryKey Public Memory As New Memory Public Function Init() As Boolean Try 'start the counter by reading the value of the 'StartStat' key hKey = Microsoft.Win32.Registry.DynData hKey = hKey.OpenSubKey("PerfStats\StartStat", True) hKey.GetValue("KERNEL\CPUUsage").ToString() 'get current counter's value hKey = Microsoft.Win32.Registry.DynData hKey = hKey.OpenSubKey("PerfStats\StatData") Return True Catch ex As Exception Return False End Try End Function Public Function GetCPU() As Integer Dim result As Byte() = hKey.GetValue("KERNEL\CPUUsage", 0) Return CInt(result(0)) End Function Public Sub Terminate() hKey.Close() 'stopping the counter hKey = Microsoft.Win32.Registry.DynData hKey = hKey.OpenSubKey("PerfStats\StopStat", True) hKey.GetValue("KERNEL\CPUUsage", 0) hKey.Close() End Sub End Class Public Class WinNTData Dim myProcUsage As New System.Diagnostics.PerformanceCounter("Processor", "% Processor Time", "_Total") Dim ramCounter As New System.Diagnostics.PerformanceCounter("Memory", "Available MBytes") Dim myInfo As New Devices.ComputerInfo Public Memory As New Memory Public ReadOnly Property GetCPU() As Integer Get Return CInt(myProcUsage.NextValue) End Get End Property Public ReadOnly Property GetMemUsed() As Integer Get Return myInfo.TotalPhysicalMemory - ramCounter.NextValue End Get End Property Public ReadOnly Property GetMemRemaining() As Integer Get Return ramCounter.NextValue End Get End Property Public ReadOnly Property GetTotalPhysicalMemory() As Integer Get Return myInfo.TotalPhysicalMemory() End Get End Property End Class Public Class Memory Public Structure MEMORYSTATUS Dim dwLength As UInt32 Dim dwMemoryLoad As UInt32 Dim dwTotalPhys As UIntPtr Dim dwAvailPhys As UIntPtr Dim dwTotalPageFile As UIntPtr Dim dwAvailPageFile As UIntPtr Dim dwTotalVirtual As UIntPtr Dim dwAvailVirtual As UIntPtr End Structure Private Declare Function GlobalMemoryStatus Lib "kernel32" _ (ByRef ms As MEMORYSTATUS) As Integer Public Function GetMemory() As MEMORYSTATUS Dim ms As MEMORYSTATUS 'ms.dwLength = Len(ms) GlobalMemoryStatus(ms) Return ms ms = Nothing End Function End Class
gpl-3.0
benjsmith/mubiomics
scripts/pool_otus.py
6450
#!/usr/bin/env python #Pools assigned OTUs with identical names and renumbers the remaining distinct #OTUs. Also allows filtering out OTUs with less than "min_cts" in at least #one sample. # Copyright (C) <2012> <Benjamin C. Smith> # # 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 sys, os, re, argparse, csv from numpy import array, sum, append, amax, hstack, savetxt, linspace from itertools import product from time import strftime parser = argparse.ArgumentParser(description='''Filter an OTU table by pooling OTUs with identical names. (Optionally: discard OTUs with less than a specified minimum proportion of counts in any one sample)''') parser.add_argument('-i','--infile', required=True, nargs=1, type=str, help='''input filepath. Should be a tab-delimited OTU table.''') parser.add_argument('-o', '--outfile', required=True, nargs=1, type=str, help='''output filepath. The resulting pooled OTU table is written here.''') parser.add_argument('-k', '--keep', nargs=1, default=[0], type=float, help='''set the minimum percentile of matched taxa to keep based on maximum reads per sample for each taxon. E.g., setting 50 will keep the taxon with a maximum number of reads per sample that represents the 50th percentile and all taxa above. In microbial communities, there is usually a high degree of taxon uneveness and their distribution may have a long tail. For this reason, you may be required to set this value much higher than you would normally expect, to filter out taxa with very small read numbers.''') parser.add_argument('-r', '--reads', action='store_true', help='''print information about number of reads''') args = parser.parse_args() min_cts = args.keep[0] if min_cts >= 100 or min_cts < 0: print "Invalid minimum count threshold (-k/--keep parameter). \ Value must be >= 0 and < 100 ." sys.exit(1) infile = args.infile[0] outfile = args.outfile[0] print "\nRun started " + strftime("%Y-%m-%d %H:%M:%S") + "." #collect sample names, using first line of file inhandle = csv.reader(open(infile, 'rU'), delimiter='\t') outhandle = csv.writer(open(outfile, 'wb'), delimiter='\t') for line in inhandle: if line[0][0] == "#": if line[0]=="#OTU ID": sample_ids = [column for column in line if \ re.search(column, "#OTU ID"'|'"Consensus Lineage")==None] outhandle.writerow(line) else: break otu_names = [] otu_dict = {} #build list of OTU names inhandle = csv.reader(open(infile, 'rU'), delimiter='\t') for line in inhandle : if line[0][0]!="#": if line[-1] not in otu_names: otu_names.append(line[-1]) # K,V = name of taxon, list of number of occurrences in each sample #there may be more than one V for each K. otu_dict[line[-1]] = [line[1:-1]] else : otu_dict[line[-1]].append(line[1:-1]) #create array of total counts per sample per otu by summing columns for all lists of #counts for each otu counts_per_otu=array([array(lists, dtype=int).sum(axis=0) for lists in otu_dict.values()]) #Calculate the total reads in the table prior to filtering tot_start_cts = counts_per_otu.sum() #Order the taxa according to maximum number of counts in a sample ordered_taxa=sorted([(name, max(counts)) for name, counts in zip(otu_dict.keys(), counts_per_otu)], key=lambda taxon: taxon[1]) #Calculate the rank above which to keep taxa based on the specified percentile. #Subtract 1 because python list numbering starts at 0. keep_rank=int(round((min_cts/100)*len(ordered_taxa)+0.5))-1 otu_table = [] #empty array that will be filled with filtered count data ictr = 1 #counter for assigning new OTU IDs. #counters for tracking numbers of reads in intial and final OTU tables tot_end_cts = 0 for i, entry in enumerate(ordered_taxa): key=entry[0] if i >= keep_rank and entry[1]>0: #create row for output if key != 'Noise' : #if not the "Noise" OTU add otu_id from ictr # and increment it by 1. otu_id = array( [ictr], dtype=object) ictr += 1 else: # if "Noise" OTU, set otu_id to '0' and don't increment ictr. otu_id = array( [0], dtype=object) otu_counts=array(otu_dict[key], dtype=int).sum(axis=0) otu_name = array( [key], dtype=object) otu_row = hstack( (otu_id, otu_counts, otu_name) ) tot_end_cts += otu_counts.sum() otu_table.append(otu_row.tolist()) final_otu_table=otu_table #otu_table = array(otu_table) # convert to numpy array to allow easy sorting #final_otu_table = otu_table[otu_table[:,0].argsort(),:].tolist() # sort #otu_table by otu_id and convert back to list for row in final_otu_table: outhandle.writerow(row) print "Finished.\n" print "Final OTU table preview: " print array(final_otu_table) # Write log logpath = open(str(os.path.splitext(outfile)[0]) + ".log","wb") logpath.write("Logfile for OTU pooling of " \ + infile + "\n" + strftime("%Y-%m-%d %H:%M:%S") + "\n\n" \ "Parameters specified:\n" \ "Minimum read threshold: " + str(min_cts) + "\n" \ "Counts:" "\nTotal reads in input OTU table: " + str(tot_start_cts) + "\n" \ "Total reads in output OTU table: " + str(tot_end_cts) + "\n" \ "Reads discarded through retaining " + str(min_cts) \ + " percentile and above: " + str(tot_start_cts-tot_end_cts) + "\n" \ "Maximum reads per sample of " + str(min_cts) + " percentile: " + str(ordered_taxa[keep_rank][1]) + "\n" ) logpath.close() print "\n\nLog file written (" + str(os.path.splitext(outfile)[0]) + ".log" + ")\n" if args.reads: print '\nTotal reads in input OTU table: ' + str(tot_start_cts) print 'Total reads in output OTU table: ' + str(tot_end_cts) print 'Reads discarded through retaining' + str(min_cts) \ + ' percentile and above: ' + str(tot_start_cts-tot_end_cts) print 'Maximum reads per sample of ' + str(min_cts) + ' percentile: ' \ + str(ordered_taxa[keep_rank][1]) + "\n"
gpl-3.0
nitware/estore
src/Libraries/SmartStore.Core/Search/Facets/FacetValue.cs
3289
using System; using System.Globalization; using SmartStore.Utilities; namespace SmartStore.Core.Search.Facets { [Serializable] public class FacetValue : IEquatable<FacetValue>, ICloneable<FacetValue> { public FacetValue() { } public FacetValue(object value, IndexTypeCode typeCode) { Value = value; TypeCode = typeCode; IsRange = false; } public FacetValue(object value, object upperValue, IndexTypeCode typeCode, bool includesLower, bool includesUpper) { Value = value; UpperValue = upperValue; TypeCode = typeCode; IncludesLower = includesLower; IncludesUpper = includesUpper; IsRange = true; } public object Value { get; set; } public object UpperValue { get; set; } public IndexTypeCode TypeCode { get; set; } public bool IncludesLower { get; set; } public bool IncludesUpper { get; set; } public bool IsRange { get; set; } public bool IsSelected { get; set; } public bool IsEmpty { get { return TypeCode == IndexTypeCode.Empty && Value == null; } } #region Metadata public string Label { get; set; } public int ParentId { get; set; } public int DisplayOrder { get; set; } public FacetSorting? Sorting { get; set; } public string PictureUrl { get; set; } public string Color { get; set; } #endregion public override int GetHashCode() { if (Value != null && UpperValue != null) { var combiner = HashCodeCombiner .Start() .Add(Value.GetHashCode()) .Add(UpperValue.GetHashCode()); return combiner.CombinedHash; } else if (UpperValue != null) { return UpperValue.GetHashCode(); } else if (Value != null) { return Value.GetHashCode(); } return 0; } public bool Equals(FacetValue other) { if (other == null || other.TypeCode != TypeCode || other.IsRange != IsRange) { return false; } if (other.IsRange) { if (other.IncludesLower != IncludesLower || other.IncludesUpper != IncludesUpper) { return false; } if (other.Value == null && Value == null && other.UpperValue == null && UpperValue == null) { return true; } if (other.UpperValue != null && !other.UpperValue.Equals(UpperValue)) { return false; } } if (other.Value == null && Value == null) { return true; } return other.Value != null && other.Value.Equals(Value); } public override bool Equals(object obj) { return this.Equals(obj as FacetValue); } public override string ToString() { var result = string.Empty; var valueStr = Value != null ? Convert.ToString(Value, CultureInfo.InvariantCulture) : string.Empty; if (IsRange) { var upperValueStr = UpperValue != null ? Convert.ToString(UpperValue, CultureInfo.InvariantCulture) : string.Empty; if (upperValueStr.HasValue()) { result = string.Concat(valueStr, "~", upperValueStr); } else { result = valueStr; } } else { result = valueStr; } return result; } public FacetValue Clone() { return (FacetValue)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }
gpl-3.0
elainenaomi/sciwonc-dataflow-examples
dissertation2017/Experiment 2/logs/w-08_2/20170118T133145+0000/00/00/sessioncompute_1_ID0000004.sh
1228
#!/bin/bash set -e pegasus_lite_version_major="4" pegasus_lite_version_minor="7" pegasus_lite_version_patch="0" pegasus_lite_enforce_strict_wp_check="true" pegasus_lite_version_allow_wp_auto_download="true" . pegasus-lite-common.sh pegasus_lite_init # cleanup in case of failures trap pegasus_lite_signal_int INT trap pegasus_lite_signal_term TERM trap pegasus_lite_exit EXIT echo -e "\n################################ Setting up workdir ################################" 1>&2 # work dir export pegasus_lite_work_dir=$PWD pegasus_lite_setup_work_dir echo -e "\n###################### figuring out the worker package to use ######################" 1>&2 # figure out the worker package to use pegasus_lite_worker_package echo -e "\n##################### setting the xbit for executables staged #####################" 1>&2 # set the xbit for any executables staged /bin/chmod +x wikiflow-sessioncompute_1-1.0 echo -e "\n############################# executing the user tasks #############################" 1>&2 # execute the tasks set +e pegasus-kickstart -n wikiflow::sessioncompute_1:1.0 -N ID0000004 -R condorpool -L example_workflow -T 2017-01-18T13:31:45+00:00 ./wikiflow-sessioncompute_1-1.0 job_ec=$? set -e
gpl-3.0