Instruction
stringlengths
14
778
input_code
stringlengths
0
4.24k
output_code
stringlengths
1
5.44k
Add Material theme for android 5.0
<?xml version="1.0" encoding="utf-8"?> <resources> <style name="MyMaterialTheme" parent="MyMaterialTheme.Base"> <item name="android:windowContentTransitions">true</item> <item name="android:windowAllowEnterTransitionOverlap">true</item> <item name="android:windowAllowReturnTransitionOverlap">true</item> <item name="android:windowSharedElementEnterTransition">@android:transition/move</item> <item name="android:windowSharedElementExitTransition">@android:transition/move</item> </style> </resources>
Add query to gather the visible tags for posts (take into account only the tags for published posts)
<query-mapping package='AWA.Blogs.Models'> <query name='blog-tag-cloud'> <comment>Get the list of tags associated with all the database entities of a given type</comment> <sql> SELECT t.name, count(e.id) FROM awa_post AS p INNER JOIN awa_tagged_entity AS e ON e.entity_id = p.id AND e.entity_type = :entity_type INNER JOIN awa_tag AS t ON t.id = e.tag_id WHERE p.status > 0 GROUP BY t.id </sql> </query> </query-mapping>
Support POST/PUT requests with a Content-Location header instead of a request body
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"> <!-- Context that supports the actual ModeShape JCR itself --> <context:annotation-config/> <context:property-placeholder/> <bean name="modeshapeRepofactory" class="org.fcrepo.kernel.spring.ModeShapeRepositoryFactoryBean" p:repositoryConfiguration="${fcrepo.modeshape.configuration:/config/minimal-default/repository.json}"/> <bean class="org.modeshape.jcr.JcrRepositoryFactory"/> </beans>
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:p="http://www.springframework.org/schema/p" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"> <!-- Context that supports the actual ModeShape JCR itself --> <context:annotation-config/> <context:property-placeholder/> <bean name="modeshapeRepofactory" class="org.fcrepo.kernel.spring.ModeShapeRepositoryFactoryBean" p:repositoryConfiguration="${fcrepo.modeshape.configuration:/config/minimal-default/repository.json}"/> <bean class="org.modeshape.jcr.JcrRepositoryFactory"/> <bean id="connectionManager" class="org.apache.http.impl.conn.PoolingHttpClientConnectionManager" /> </beans>
Create layout for nav bar.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" android:background="#000000" android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity"> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:background="#ff007223" android:paddingBottom="2dp"> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:background="#575757"> <TextView android:layout_width="0dp" android:layout_height="wrap_content" android:id="@+id/distance_button" android:layout_weight="1" android:padding="@dimen/activity_half_margin" android:layout_marginStart="2dp" android:layout_marginLeft="2dp" android:gravity="center" android:background="#ffffff" android:textColor="#ff007223" android:text="@string/length"/> <TextView android:layout_width="0dp" android:layout_height="wrap_content" android:id="@+id/volume_button" android:layout_weight="1" android:padding="@dimen/activity_half_margin" android:layout_marginStart="2dp" android:layout_marginLeft="2dp" android:gravity="center" android:background="#ffffff" android:textColor="#ff007223" android:text="@string/volume"/> <TextView android:layout_width="0dp" android:layout_height="wrap_content" android:id="@+id/weight_button" android:layout_weight="1" android:padding="@dimen/activity_half_margin" android:layout_marginStart="2dp" android:layout_marginLeft="2dp" android:layout_marginEnd="2dp" android:layout_marginRight="2dp" android:gravity="center" android:background="#ffffff" android:textColor="#ff007223" android:text="@string/weight"/> </LinearLayout> </LinearLayout> </RelativeLayout>
Add sotolito core package group file
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE comps PUBLIC "-//Red Hat, Inc.//DTD Comps info//EN" "comps.dtd"> <comps> <group> <id>sotolito-core</id> <default>false</default> <uservisible>true</uservisible> <display_order>1024</display_order> <name>Sotolito Core</name> <description></description> <packagelist> <packagereq type="mandatory">ansible</packagereq> <packagereq type="mandatory">cockpit</packagereq> <packagereq type="mandatory">git</packagereq> <packagereq type="mandatory">podman</packagereq> <packagereq type="mandatory">skopeo</packagereq> </packagelist> </group> </comps>
Remove proxy config from integration test
<?xml version="1.0"?> <settings> <!-- Configuration for the maven-invoker-plugin (integration test) --> <profiles> <profile> <id>it-repo</id> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <id>local.central</id> <url>@localRepositoryUrl@</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>local.central</id> <url>@localRepositoryUrl@</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles> <!-- Just to test proxy configuration --> <proxies> <proxy> <active>true</active> <protocol>http</protocol> <host>127.0.0.1</host> <port>8888</port> <username>proxyuser</username> <password>somepassword</password> <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts> </proxy> </proxies> </settings>
<?xml version="1.0"?> <settings> <!-- Configuration for the maven-invoker-plugin (integration test) --> <profiles> <profile> <id>it-repo</id> <activation> <activeByDefault>true</activeByDefault> </activation> <repositories> <repository> <id>local.central</id> <url>@localRepositoryUrl@</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>local.central</id> <url>@localRepositoryUrl@</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles> </settings>
Revert "JAVADOC ---------------------- Petite modification Suppression parser class Javadocs all comments"
<?xml version="1.0" encoding="UTF-8"?> <simulation> <tache nom="decoupe">2</tache> <tache nom="forgeage">6</tache> <tache nom="traitement">2</tache> <tache nom="emballage">2</tache> <commande client="Alztom" duree_expedition="3"> <echeance date="15/11/1969"> <quantite>15000</quantite> </echeance> <echeance date="01/12/1969"> <quantite>15000</quantite> </echeance> <echeance date="15/12/1969"> <quantite>15000</quantite> </echeance> <echeance date="01/01/1970"> <quantite>15</quantite> </echeance> <echeance date="15/01/1970"> <quantite>15000</quantite> </echeance> <echeance date="01/02/1970"> <quantite>15000</quantite> </echeance> </commande> <commande client="Tomy" duree_expedition="2"> <echeance date="01/02/1970"> <quantite>5000</quantite> </echeance> <echeance date="05/02/1970"> <quantite>5000</quantite> </echeance> <echeance date="10/02/1970"> <quantite>5000</quantite> </echeance> <echeance date="15/02/1970"> <quantite>5000</quantite> </echeance> <echeance date="20/02/1970"> <quantite>5000</quantite> </echeance> <echeance date="25/02/1970"> <quantite>5000</quantite> </echeance> </commande> <prix>10000</prix> <boulons>1000</boulons> <tempsLivraison>10</tempsLivraison> <minStock>1</minStock> <maxStock>2</maxStock> <enExploitation>0</enExploitation> <heureTravail>7</heureTravail> <jourTravail>5</jourTravail> <coutUsineHeure>1000</coutUsineHeure> <pourcentageAugQuantite>10.0</pourcentageAugQuantite> <coursMensuelAcier>2.0</coursMensuelAcier> <margeSouhaite>70.0</margeSouhaite> </simulation>
Remove resource section again since Maven generates source jars automatically
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.google.gwt.gwtmockito</groupId> <artifactId>gwtmockito-parent</artifactId> <version>1.0.1-SNAPSHOT</version> </parent> <artifactId>gwtmockito</artifactId> <name>GwtMockito</name> <build> <resources> <resource> <directory>src/main/java</directory> </resource> </resources> </build> <dependencies> <!-- GWT dependencies --> <dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-dev</artifactId> </dependency> <dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-user</artifactId> </dependency> <!-- Other dependencies --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> </dependency> <dependency> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> </dependency> </dependencies> </project>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.google.gwt.gwtmockito</groupId> <artifactId>gwtmockito-parent</artifactId> <version>1.0.1-SNAPSHOT</version> </parent> <artifactId>gwtmockito</artifactId> <name>GwtMockito</name> <dependencies> <!-- GWT dependencies --> <dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-dev</artifactId> </dependency> <dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-user</artifactId> </dependency> <!-- Other dependencies --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> </dependency> <dependency> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> </dependency> </dependencies> </project>
Modify spd_decoder, eff_config, unit tests. Modify dependent files
<!-- IBM_PROLOG_BEGIN_TAG --> <!-- This is an automatically generated prolog. --> <!-- --> <!-- $Source: src/import/chips/p9/procedures/xml/error_info/p9_memory_mss_eff_config.xml $ --> <!-- --> <!-- OpenPOWER HostBoot Project --> <!-- --> <!-- Contributors Listed Below - COPYRIGHT 2015,2019 --> <!-- [+] International Business Machines Corp. --> <!-- --> <!-- --> <!-- 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. --> <!-- --> <!-- IBM_PROLOG_END_TAG --> <!-- --> <!-- @file memory_mss_timing.xml --> <!-- @brief Error xml for timing.H --> <!-- --> <!-- *HWP HWP Owner: Andre Marin <aamarin@us.ibm.com> --> <!-- *HWP HWP Backup: Brian Silver <bsilver@us.ibm.com> --> <!-- *HWP Team: Memory --> <!-- *HWP Level: 1 --> <!-- *HWP Consumed by: HB:FSP --> <!-- --> <hwpErrors> <hwpError> <rc>RC_MSS_INVALID_TEMP_REF_RANGE</rc> <description> Invalid Temperature reference range recieved from platform. </description> <ffdc>TEMP_REF_RANGE</ffdc> <ffdc>ENCODING_REV</ffdc> <callout> <target>DIMM_TARGET</target> <priority>HIGH</priority> </callout> <deconfigure> <target>DIMM_TARGET</target> </deconfigure> </hwpError> </hwpErrors>
Add invalid session error fixture.
<?xml version="1.0" encoding="UTF-8"?><error xmlns="http://www.force.com/2009/06/asyncapi/dataload"> <exceptionCode>InvalidSessionId</exceptionCode> <exceptionMessage>Invalid session id</exceptionMessage> </error>
Add DBUS APIs to allow asynchronous avatar fetching
<?xml version="1.0" encoding="utf-8"?> <node name="/Service_Iface" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> <interface name="com.intel.Mojito.Service"> <method name="GetPersonaIcon" tp:name-for-bindings="Get_Persona_Icon"> <arg name="uri" type="s" direction="out"/> </method> <method name="UpdateStatus" tp:name-for-bindings="Update_Status"> <arg name="status_message" type="s" direction="in"/> <arg name="success" type="b" direction="out"/> </method> <method name="GetCapabilities" tp:name-for-bindings="Get_Capabilities"> <arg name="can_get_persona_icon" type="b" direction="out"/> <arg name="can_update_status" type="b" direction="out"/> </method> <signal name="CapabilitiesChanged" tp:name-for-bindings="Capabilities_Changed"> <arg name="can_get_persona_icon" type="b"/> <arg name="can_update_status" type="b"/> </signal> </interface> </node>
<?xml version="1.0" encoding="utf-8"?> <node name="/Service_Iface" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> <interface name="com.intel.Mojito.Service"> <method name="GetPersonaIcon" tp:name-for-bindings="Get_Persona_Icon"> <arg name="uri" type="s" direction="out"/> </method> <method name="UpdateStatus" tp:name-for-bindings="Update_Status"> <arg name="status_message" type="s" direction="in"/> <arg name="success" type="b" direction="out"/> </method> <method name="GetCapabilities" tp:name-for-bindings="Get_Capabilities"> <arg name="can_get_persona_icon" type="b" direction="out"/> <arg name="can_update_status" type="b" direction="out"/> </method> <signal name="CapabilitiesChanged" tp:name-for-bindings="Capabilities_Changed"> <arg name="can_get_persona_icon" type="b"/> <arg name="can_update_status" type="b"/> </signal> <method name="RequestAvatar" tp:name-for-bindings="Request_Avatar"/> <signal name="AvatarRetrieved" tp:name-for-bindings="Avatar_Retrieved"> <arg name="path" type="s"/> </signal> </interface> </node>
Add manifest for unit tests
<manifest package="com.smartdevicelink" xmlns:android="http://schemas.android.com/apk/res/android"> <uses-sdk android:minSdkVersion="8"/> <uses-permission android:name="android.permission.BLUETOOTH" /> <!-- Required to pair Bluetooth devices --> <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> <uses-permission android:name="android.permission.INTERNET" /> <!-- Required to check if WiFi is enabled --> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <instrumentation android:name="android.test.InstrumentationTestRunner" android:targetPackage="com.smartdevicelink.test" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <application android:debuggable="true"> <uses-library android:name="android.test.runner" /> </application> </manifest>
Add xml for tracker face
<?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android" > <item> <shape android:shape="oval" android:id="@+id/face_color"> <size android:width="150dp" android:height="150dp"/> <solid android:color="#70BF41"/> </shape> </item> <item android:drawable="@drawable/ic_tracker_smile" android:id="@+id/face_icon" android:top="40dp" android:left="40dp" android:bottom="40dp" android:right="40dp"/> </layer-list>
Build file for checking out perl dependencies from their respective cvses.
<?xml version="1.0"?> <!-- Targets for checking out dependencies for the healthchecks. Use ant clean to delete the directory with the checkouts. --> <project name="checkoutDependencies" default="checkoutPerlDependencies" basedir=".."> <property file="buildfiles/build.properties" /> <!-- Directory where checkout will be placed --> <property name="perlDependencyCheckoutDir" value="perlcodeTest" /> <target name = "checkoutPerlDependencies" description = "" depends = "checkoutEnsemblDependency,checkoutBioperlDependency" /> <!-- All checkouts go into this directory --> <target name="createPerlDependencyDir" description=""> <mkdir dir="${perlDependencyCheckoutDir}" /> </target> <!-- Deletes the directory with the checkouts --> <target name="clean" description=""> <delete dir="${perlDependencyCheckoutDir}"/> </target> <!-- Checkouts of the Ensembl API --> <target name="checkoutEnsemblDependency" description="" depends="createPerlDependencyDir"> <property name="ensemblRevisionOption" value="-r branch-ensembl-59" /> <property name="ensemblCvsRoot" value=":pserver:cvsuser:CVSUSER@cvs.sanger.ac.uk:/cvsroot/ensembl" /> <cvs cvsRoot="${ensemblCvsRoot}" command="checkout -d ${perlDependencyCheckoutDir}/ensembl ${ensemblRevisionOption} ensembl" /> <cvs cvsRoot="${ensemblCvsRoot}" command="checkout -d ${perlDependencyCheckoutDir}/ensembl-variation ${ensemblRevisionOption} ensembl-variation" /> </target> <!-- Checkouts of Bioperl --> <target name="checkoutBioperlDependency" description="" depends="createPerlDependencyDir"> <mkdir dir="${perlDependencyCheckoutDir}"/> <!-- <property name="bioperlRoot" value=":pserver:cvs@code.open-bio.org:/home/repository/bioperl" /> <cvs cvsRoot="${bioperlRoot}" command="checkout -d ${bioperlRoot}/bioperl-live -r bioperl-release-1-2-3 bioperl-live" /> --> <exec dir="." executable="svn" os="Linux"> <arg line="checkout http://svn.github.com/bioperl/bioperl-live.git perlcodeTest/bioperl-live"/> </exec> </target> </project>
Remove conflicting theme property from Application
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.reactnativenavigation"> <application android:theme="@style/Theme.AppCompat.Light.NoActionBar"> <activity android:name=".controllers.NavigationActivity" /> <activity android:name=".controllers.PortraitNavigationActivity" android:screenOrientation="portrait" /> <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" android:exported="false" /> </application> </manifest>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.reactnativenavigation"> <application> <activity android:name=".controllers.NavigationActivity" /> <activity android:name=".controllers.PortraitNavigationActivity" android:screenOrientation="portrait" /> <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" android:exported="false" /> </application> </manifest>
Add system event layout item
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) 2016 Qiscus. ~ ~ 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. --> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content"> <TextView android:id="@+id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_marginBottom="8dp" android:layout_marginTop="4dp" android:textColor="@color/qiscus_secondary_text" android:textSize="14sp" android:text="Today" android:visibility="visible"/> <LinearLayout android:id="@+id/message" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_below="@+id/date" android:layout_marginBottom="4dp" android:layout_marginEnd="24dp" android:layout_marginLeft="24dp" android:layout_marginRight="24dp" android:layout_marginStart="24dp" android:background="@drawable/qiscus_rounded_primary_light_chat_bg" android:orientation="vertical" android:padding="8dp"> <com.vanniktech.emoji.EmojiTextView android:id="@+id/contents" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="4dp" android:autoLink="all" android:linksClickable="true" android:text="You are admin asasa asasasasasasasasasas sasas sas" android:textColor="@color/qiscus_primary_text" android:textColorLink="@color/qiscus_primary_text" android:textSize="16sp" app:emojiSize="22sp"/> </LinearLayout> <!-- Add this view because Xiaomi need it --> <View android:layout_width="match_parent" android:layout_height="0dp" android:layout_below="@+id/message"/> </RelativeLayout>
Index page for the internal website
<menu> <section> <heading>System information</heading> <item><ulink url="http://www.flymine.org/usage">Web server usage</ulink></item> </section> <section> <heading>Design documents</heading> <item><ulink url="/internal/design/initial_thoughts">Initial thoughts</ulink></item> <item><ulink url="/internal/design/design_issues">Design issues</ulink></item> <item><ulink url="/internal/design/usage_scenarios">Usage scenarios</ulink></item> <item><ulink url="/internal/design/functional_requirements">Functional requirements</ulink></item> </section> <section> <heading>Reports</heading> <item><ulink url="/internal/reports/ismb2002">ISMB 2002</ulink></item> </section> </menu>
Add exp_i2c_scom driver that will be consumed by HB/SBE platforms
<!-- IBM_PROLOG_BEGIN_TAG --> <!-- This is an automatically generated prolog. --> <!-- --> <!-- $Source: src/import/chips/ocmb/explorer/procedures/xml/error_info/exp_i2c_scom_errors.xml $ --> <!-- --> <!-- OpenPOWER HostBoot Project --> <!-- --> <!-- Contributors Listed Below - COPYRIGHT 2018,2019 --> <!-- [+] International Business Machines Corp. --> <!-- --> <!-- --> <!-- 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. --> <!-- --> <!-- IBM_PROLOG_END_TAG --> <hwpErrors> <hwpError> <rc>RC_I2C_GET_SCOM_INVALID_READ_SIZE</rc> <description> First Byte data returned from the i2c register read contains the size of the remaining bytes returned. This should match the number of bytes we requested. </description> <ffdc>TARGET</ffdc> <ffdc>ADDRESS</ffdc> <ffdc>SIZE_RETURNED</ffdc> <ffdc>SIZE_REQUESTED</ffdc> </hwpError> <hwpError> <rc>RC_I2C_SCOM_EXPECTED_IBM_INDICATOR</rc> <description> First Byte of the address passed to i2c_scom operation did not match what was required for IBM scom. I2c scoms associated with 64 bits of are assumed to be IBM scoms and must have 0x08 set in the first byte of the address. </description> <ffdc>TARGET</ffdc> <ffdc>ADDRESS</ffdc> </hwpError> <hwpError> <rc>RC_I2C_SCOM_UNEXPECTED_IBM_INDICATOR</rc> <description> First Byte of the address passed to i2c_scom operation had 0x08 set which indicates IBM scom. But the data associated with the address does not match IBM scom data size. </description> <ffdc>TARGET</ffdc> <ffdc>ADDRESS</ffdc> </hwpError> </hwpErrors>
Add default beans for init in the archetype
#set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd"> <!-- The Set<User> of defaultUsers --> <util:set id="defaultUsers" value-type="de.terrestris.shogun2.model.User"> <bean id="adminUser" class="de.terrestris.shogun2.model.User"> <property name="firstName" value="First Name"/> <property name="lastName" value="Last Name"/> <property name="accountName" value="admin"/> <property name="password" value="password"/> <property name="active" value="true"/> </bean> </util:set> </beans>
Add SUSE Cloud 3 mediacheck trigger
<?xml version="1.0" encoding="UTF-8"?> <project> <actions/> <description>This is the meta job that triggers the openstack-mediacheck job multiple times with different parameters.</description> <logRotator> <daysToKeep>-1</daysToKeep> <numToKeep>5</numToKeep> <artifactDaysToKeep>-1</artifactDaysToKeep> <artifactNumToKeep>-1</artifactNumToKeep> </logRotator> <keepDependencies>false</keepDependencies> <properties/> <scm class="hudson.scm.NullSCM"/> <canRoam>true</canRoam> <disabled>false</disabled> <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding> <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding> <triggers class="vector"> <org.jenkinsci.plugins.urltrigger.URLTrigger> <spec>*/5 * * * *</spec> <entries> <org.jenkinsci.plugins.urltrigger.URLTriggerEntry> <url>http://download.suse.de/ibs/Devel:/Cloud:/3/images/iso/</url> <proxyActivated>false</proxyActivated> <checkStatus>false</checkStatus> <statusCode>200</statusCode> <checkLastModificationDate>false</checkLastModificationDate> <inspectingContent>true</inspectingContent> <contentTypes> <org.jenkinsci.plugins.urltrigger.content.SimpleContentType/> </contentTypes> </org.jenkinsci.plugins.urltrigger.URLTriggerEntry> </entries> <labelRestriction>false</labelRestriction> </org.jenkinsci.plugins.urltrigger.URLTrigger> </triggers> <concurrentBuild>false</concurrentBuild> <builders/> <publishers> <hudson.plugins.parameterizedtrigger.BuildTrigger> <configs> <hudson.plugins.parameterizedtrigger.BuildTriggerConfig> <configs> <hudson.plugins.parameterizedtrigger.PredefinedBuildParameters> <properties>OBS_PROJECT=SUSE:SLE-11-SP3:Update:Products:Test </properties> </hudson.plugins.parameterizedtrigger.PredefinedBuildParameters> </configs> <projects>openstack-mediacheck, </projects> <condition>SUCCESS</condition> <triggerWithNoParameters>true</triggerWithNoParameters> </hudson.plugins.parameterizedtrigger.BuildTriggerConfig> </configs> </hudson.plugins.parameterizedtrigger.BuildTrigger> </publishers> <buildWrappers/> </project>
Create custom layout for CrimeList
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent"> <CheckBox android:id="@+id/list_item_crime_solved_check_box" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:padding="4dp"/> <TextView android:id="@+id/list_item_crime_title_text_view" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_toLeftOf="@id/list_item_crime_solved_check_box" android:textStyle="bold" android:padding="4dp" tools:text="Crime Title"/> <TextView android:id="@+id/list_item_crime_date_text_view" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_toLeftOf="@id/list_item_crime_solved_check_box" android:layout_below="@id/list_item_crime_title_text_view" android:padding="4dp" tools:text="Crime Date"/> </RelativeLayout>
Make feed for KDE category
--- layout: null --- <?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <title>{{ site.title }}</title> <description>{{ site.description }}</description> <link>{{ site.BASE_PATH }}/</link> <atom:link href="{{ site.BASE_PATH }}/{{ site.rss_path }}" rel="self" type="application/rss+xml" /> {% for post in site.categories.kde limit:10 %} <item> <title>{{ post.title }}</title> <description>{{ post.content | xml_escape }}</description> <pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate> <link>{{ site.BASE_PATH }}{{ post.url }}</link> <guid isPermaLink="true">{{ site.BASE_PATH }}{{ post.url }}</guid> </item> {% endfor %} </channel> </rss>
Create empty files for OMI init procedures.
<!-- IBM_PROLOG_BEGIN_TAG --> <!-- This is an automatically generated prolog. --> <!-- --> <!-- $Source: src/import/chips/ocmb/explorer/procedures/xml/attribute_info/exp_omi_init.xml $ --> <!-- --> <!-- OpenPOWER HostBoot Project --> <!-- --> <!-- Contributors Listed Below - COPYRIGHT 2018,2019 --> <!-- [+] International Business Machines Corp. --> <!-- --> <!-- --> <!-- 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. --> <!-- --> <!-- IBM_PROLOG_END_TAG --> <!-- @file exp_omi_init.xml --> <!-- @brief Attribute xml for exp_omi_init --> <!-- --> <!-- *HWP HWP Owner: Benjamin Gass <bgass@us.ibm.com> --> <!-- *HWP HWP Backup: Andre Marin <aamarin@us.ibm.com> --> <!-- *HWP FW Owner: Daniel Crowell <dcrowell@us.ibm.com> --> <!-- *HWP Team: Memory --> <!-- *HWP Level: 2 --> <!-- *HWP Consumed by: FSP:HB --> <!-- --> <attributes> </attributes>
Add tool to split tables
<tool id="humann2_split_table" name="Split HUMAnN2 table" version="0.1.0"> <description></description> <requirements> <requirement type="package" version="2.2.4">bowtie2</requirement> <requirement type="package" version="2.0">metaphlan2</requirement> <requirement type="package" version="0.6.13">diamond</requirement> <requirement type="package" version="2.0">humann2</requirement> </requirements> <stdio> <exit_code range="1:" /> </stdio> <version_command> <![CDATA[ humann2_split_table --version ]]> </version_command> <command><![CDATA[ humann2_split_table -i "input_file" -o "output" ]]></command> <inputs> <param name="input_file" type="data" format="tsv,biom" label="Gene/pathway table to read" help=""/> </inputs> <outputs> <outputs> <data format="txt" name="report"> <discover_datasets pattern="__designation__" ext="tabular" directory="output" visible="true" /> </data> </outputs> </outputs> <tests> <test> <param name="input_file" value="humann2_input.fasta"/> </test> </tests> <help><![CDATA[ **What it does** Split HUMAnN2 table is a tool to split a gene/pathway table in table per sample. HUMAnN is a pipeline for efficiently and accuretly profiling the presence/absence and abundance of microbial pathways in a community from metagenomic or metatranscriptomic sequencing data. `Read more about the tool <http://huttenhower.sph.harvard.edu/humann2/manual>`_. ]]></help> <citations> </citations> </tool>
Add definition file for AboutLibraries
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="define_appupdater"></string> <string name="library_appupdater_author">Javier Santos</string> <string name="library_appupdater_authorWebsite">https://github.com/javiersantos</string> <string name="library_appupdater_libraryName">AppUpdater</string> <string name="library_appupdater_libraryDescription">AppUpdater is a library that checks for your apps\' updates on Google Play, GitHub and Amazon, showing a Material dialog, Snackbar or notification when a new version is available.</string> <string name="library_appupdater_libraryWebsite">https://github.com/javiersantos/AppUpdater</string> <string name="library_appupdater_licenseId">apache_2_0</string> <string name="library_appupdater_isOpenSource">true</string> <string name="library_appupdater_repositoryLink">https://github.com/javiersantos/AppUpdater</string> </resources>
Add .externalToolBuilders folder to SVN ignore list.
<project default="copy-resources"> <target name="init"/> <target name="copy-resources" depends="init"> <copy todir="target/classes/META-INF" filtering="false"> <fileset dir="target/notice-and-license" includes="" excludes="**/*.java"/> </copy> </target> </project>
Add a master file to include all others.
<?xml version="1.0" encoding="UTF-8"?> <database xmlns="http://nouveau.freedesktop.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> <import file="nvchipsets.xml" /> <domain name="NV_MMIO" bare="yes" prefix="chipset"> <reg8 offset="0x300000" name="PROM" length="0x10000" variants="NV04-" /> <reg8 offset="0x700000" name="PRAMIN" length="0x100000" variants="NV04-" /> </domain> <import file="nv_ptimer.xml" /> </database>
Add sample Go CD pipeline/template configuration
<pipelines group="pypackage_docker"> <pipeline name="continuous_integration" template="continuous_integration"> <materials> <git url="https://github.com/cloudhotspot/pypackage-docker.git" /> </materials> </pipeline> </pipelines> <templates> <pipeline name="continuous_integration"> <stage name="build_base_images"> <jobs> <job name="make_images"> <tasks> <exec command="make"> <arg>image</arg> <arg>docker/base</arg> </exec> <exec command="make"> <arg>image</arg> <arg>docker/dev</arg> <runif status="passed" /> </exec> </tasks> </job> <job name="make_agent_image"> <tasks> <exec command="make"> <arg>image</arg> <arg>docker/agent</arg> </exec> </tasks> </job> </jobs> </stage> <stage name="run_unit_integration_tests"> <jobs> <job name="make_test"> <tasks> <exec command="make"> <arg>test</arg> </exec> </tasks> <artifacts> <test src="src/xunittest.xml" /> <test src="src/coverage.xml" /> <test src="reports/*" /> </artifacts> </job> </jobs> </stage> <stage name="build_application_artefacts"> <jobs> <job name="make_build"> <tasks> <exec command="make"> <arg>build</arg> </exec> </tasks> </job> </jobs> </stage> <stage name="build_release_image"> <jobs> <job name="make_release"> <tasks> <exec command="make"> <arg>release</arg> </exec> </tasks> </job> </jobs> </stage> </pipeline> </templates>
Add settings.xml for CI deployment (Travis)
<?xml version="1.0" encoding="UTF-8"?> <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <localRepository/> <interactiveMode/> <usePluginRegistry/> <offline/> <pluginGroups/> <servers> <server> <id>sonatype-nexus-snapshots</id> <username>${env.CI_DEPLOY_USERNAME}</username> <password>${env.CI_DEPLOY_PASSWORD}</password> </server> </servers> <mirrors/> <proxies/> <profiles/> <activeProfiles/> </settings>
Add brazilian portuguese string translation.
<?xml version="1.0" encoding="utf-8"?> <resources> <!-- Titles --> <string name="title_sign_in_your_server">Faça login no seu servidor</string> <string name="title_log_in">Entrar</string> <string name="title_sign_up">Inscreva-se</string> <!-- Actions --> <string name="action_connect">Conectar</string> <!-- Regular information messages --> <string name="msg_username">nome de usuário</string> <string name="msg_password">senha</string> <string name="msg_name">nome</string> <string name="msg_new_in_rocket_chat">Novo no Rocket Chat?</string> <string name="msg_2fa_code">Código 2FA</string> </resources>
Remove the cell broadcast menu for Soft Bank
<?xml version="1.0" encoding="utf-8"?> <!-- /* ** Copyright 2013, The Android Open Source Project ** ** 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. */ --> <!-- These resources are around just to allow their values to be customized for different hardware and product builds. --> <resources> <!-- XXXXX NOTE THE FOLLOWING RESOURCES USE THE WRONG NAMING CONVENTION. Please don't copy them, copy anything else. --> <!-- Set to true to add links to Cell Broadcast app from Settings and MMS app. --> <bool name="config_cellBroadcastAppLinks">false</bool> </resources>
Move suet samples to common ekb makefile process
<!-- IBM_PROLOG_BEGIN_TAG --> <!-- This is an automatically generated prolog. --> <!-- --> <!-- $Source: src/import/chips/p9/procedures/xml/error_info/proc_example_errors.xml $ --> <!-- --> <!-- OpenPOWER HostBoot Project --> <!-- --> <!-- Contributors Listed Below - COPYRIGHT 2015,2016 --> <!-- [+] International Business Machines Corp. --> <!-- --> <!-- --> <!-- 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. --> <!-- --> <!-- IBM_PROLOG_END_TAG --> <hwpErrors> <hwpError> <rc>RC_PROC_EXAMPLE_ERROR</rc> <description> test example </description> <buffer>BUFFER</buffer> <callout> <procedure>CODE</procedure> <priority>HIGH</priority> </callout> </hwpError> </hwpErrors>
Add base FAPI2 attribute definitions
<!-- IBM_PROLOG_BEGIN_TAG --> <!-- This is an automatically generated prolog. --> <!-- --> <!-- $Source: src/import/hwpf/fapi2/xml/attribute_info/chip_attributes.xml $ --> <!-- --> <!-- OpenPOWER HostBoot Project --> <!-- --> <!-- Contributors Listed Below - COPYRIGHT 2015,2019 --> <!-- [+] International Business Machines Corp. --> <!-- --> <!-- --> <!-- 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. --> <!-- --> <!-- IBM_PROLOG_END_TAG --> <attributes> <!-- ******************************************************************************** --> <attribute> <id>ATTR_NAME</id> <targetType>TARGET_TYPE_PROC_CHIP, TARGET_TYPE_MEMBUF_CHIP</targetType> <description> Product name of a chip target. Provided by the MRW. </description> <valueType>uint8</valueType> <enum> NONE = 0x0, CENTAUR = 0x3, NIMBUS = 0x5, CUMULUS = 0x6 </enum> <platInit/> <privledged/> </attribute> <!-- ********************************************************************* --> <attribute> <id>ATTR_EC</id> <targetType>TARGET_TYPE_PROC_CHIP, TARGET_TYPE_MEMBUF_CHIP</targetType> <description> EC level of a chip target. Read from the chip by the platform </description> <valueType>uint8</valueType> <platInit/> <!-- To make HWPs data driven, this is a privileged attribute that cannot be accessed by normal HWPs. --> <privileged/> </attribute> <!-- ********************************************************************* --> </attributes>
Add today list item layout
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center_horizontal" android:minHeight="?android:attr/listPreferredItemHeight" android:padding="16dp"> <LinearLayout android:orientation="vertical" android:layout_height="wrap_content" android:layout_width="0dp" android:layout_weight="1" android:gravity="center_horizontal" android:layout_marginTop="18dp"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Today, July 24" android:id="@+id/list_item_date_textview" android:layout_marginBottom="12dp" android:textSize="18sp" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="24°" android:id="@+id/list_item_high_textview" android:textSize="24sp" android:layout_marginBottom="8dp" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="18°" android:id="@+id/list_item_low_textview" android:textSize="24sp" /> </LinearLayout> <LinearLayout android:orientation="vertical" android:layout_width="0dp" android:layout_weight="1" android:layout_height="wrap_content" android:gravity="center_horizontal"> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/list_item_icon" android:src="@drawable/ic_launcher" android:minWidth="120dp" android:minHeight="120dp" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Clear" android:id="@+id/list_item_forecast_textview" android:textSize="18sp" /> </LinearLayout> </LinearLayout>
Add Bing Webmaster Tools verification
<?xml version="1.0"?> <users> <user>D0B848245AA5970FCC988B2A73A79226</user> </users>
Add advanced graph example (dungeon)
<?xml version="1.0" encoding="UTF-8"?> <story> <macro name="monster"> <alt>orcs</alt> <alt>trolls</alt> <alt>skeletons</alt> </macro> <dice name="d6" sides="6" /> <dice name="d3" sides="3" /> <graph name="dungeon" start="99"> <node id="99" connections="1">Entrence</node> <node id="1" connections="2,3">Corridor</node> <node id="2" connections="1">Small room with {%d3} {#monster}</node> <node id="3" connections="1,4">Big room with {%d6} {#monster}</node> <node id="4" connections="1">Fountain</node> </graph> <loop times="10"> <sentence>{@dungeon}</sentence> <br/> </loop> </story>
Add swizzle node NE template
<?xml version='1.0' encoding='UTF-8'?> <templates> <using package='maya'/> <template name='NEasSwizzle'> <attribute name='outColor' type='maya.float3'> <label>Out Color</label> </attribute> <attribute name='outAlpha' type='maya.float'> <label>Out Alpha</label> </attribute> <attribute name='outVector' type='maya.float3'> <label>Out Vector</label> </attribute> <attribute name='color' type='maya.float3'> <label>Color</label> </attribute> <attribute name='alpha' type='maya.float'> <label>Alpha</label> </attribute> <attribute name='vector' type='maya.float3'> <label>Vector</label> </attribute> </template> <view name='NEDefault' template='NEasSwizzle'> <property name='outColor'/> <property name='outAlpha'/> <property name='outVector'/> <property name='color'/> <property name='alpha'/> <property name='vector'/> </view> </templates>
Create layout movie grid item
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <ImageView android:id="@+id/movie_poster" android:layout_width="match_parent" android:layout_height="match_parent" android:adjustViewBounds="true" android:scaleType="fitCenter"/> </LinearLayout>
Add example form for creating a clinic and contact at same time
<?xml version="1.0"?> <h:html xmlns="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:jr="http://openrosa.org/javarosa" xmlns:orx="http://openrosa.org/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <h:head> <h:title>New Place</h:title> <model> <instance> <data id="clinic" version="1"> <clinic> <name/> <external_id/> <parent/> <contact/> </clinic> <meta> <instanceID/> </meta> <new_person> <name/> <phone/> </new_person> </data> </instance> <bind nodeset="/data/clinic/name" required="true()" type="string"/> <bind nodeset="/data/clinic/external_id" type="string"/> <bind nodeset="/data/clinic/parent" type="db:district_hospital"/> <bind nodeset="/data/clinic/contact" type="db:person" required="true()"/> <bind nodeset="/data/new_person" type="string" relevant="/data/clinic/contact = 'NEW'"/> <bind nodeset="/data/new_person/name" type="string" required="true()"/> <bind nodeset="/data/new_person/phone" type="phone" required="true()"/> </model> </h:head> <h:body class="pages"> <group appearance="field-list" ref="/data/clinic"> <input ref="/data/clinic/name"> <label>{{'clinic.name' | translate}}</label> </input> <input ref="/data/clinic/external_id"> <label>{{'clinic.external_id' | translate}}</label> </input> <input ref="/data/clinic/parent" appearance="db-object"> <label>{{'clinic.parent' | translate}}</label> </input> <input ref="/data/clinic/contact" appearance="db-object"> <label>{{'clinic.contact' | translate}}</label> </input> </group> <group appearance="field-list" ref="/data/new_person"> <label>{{'person.new' || translate}}</label> <input ref="/data/new_person/name"> <label>{{'person.name' | translate}}</label> </input> <input ref="/data/new_person/phone" type="phone"> <label>{{'person.phone' | translate}}</label> </input> </group> </h:body> </h:html>
Test byteseek handles senior bit of ~bitmask correctly
<?xml version="1.0" encoding="UTF-8"?> <FFSignatureFile xmlns="http://www.nationalarchives.gov.uk/pronom/SignatureFile" Version="1" DateCreated="2012-05-28T14:33:44+01:00"> <InternalSignatureCollection> <InternalSignature ID="1" Specificity="Specific"> <ByteSequence Reference="BOFoffset"> <SubSequence MinFragLength="0" Position="1" SubSeqMaxOffset="0" SubSeqMinOffset="0"> <Sequence>'test' ~FF</Sequence> </SubSequence> </ByteSequence> </InternalSignature> </InternalSignatureCollection> <FileFormatCollection> <FileFormat ID="1" Name="Test: Any Bitmask" PUID="any/1" Version="1.0" MIMEType="text/x-test-signature"> <InternalSignatureID>1</InternalSignatureID> <Extension>ext</Extension> </FileFormat> </FileFormatCollection></FFSignatureFile>
Add empty files for plug-rules mirror
<!-- IBM_PROLOG_BEGIN_TAG --> <!-- This is an automatically generated prolog. --> <!-- --> <!-- $Source: src/import/chips/p9/procedures/xml/error_info/p9_memory_mss_plug_rules.xml $ --> <!-- --> <!-- OpenPOWER HostBoot Project --> <!-- --> <!-- Contributors Listed Below - COPYRIGHT 2016,2019 --> <!-- [+] International Business Machines Corp. --> <!-- --> <!-- --> <!-- 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. --> <!-- --> <!-- IBM_PROLOG_END_TAG --> <hwpErrors> </hwpErrors>
Add a script to launch the weather balloon.
<?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="http://jsbsim.sf.net/JSBSimScript.xsl"?> <!-- JSBSim -aircraft=weather-balloon -initfile=reset10 -logdirectivefile=aircraft/weather-balloon/balloon_log.xml -end-time=600000 -simulation-rate=120 --> <runscript xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://jsbsim.sf.net/JSBSimScript.xsd" name="Launch the weather balloon"> <description>This run is for testing the weather balloon model.</description> <use aircraft="weather-balloon" initialize="reset10"/> <run start="0.0" end="600000" dt="0.00833333"> <property value="60"> simulation/notify-time-trigger </property> <event name="initialize"> <condition>simulation/sim-time-sec ge 0.25</condition> <notify/> </event> <event name="Repeating Notify" persistent="true"> <description>Output message at periodic intervals</description> <notify> <property>position/h-agl-ft</property> <property>velocities/vt-fps</property> <property>metrics/radius-ft</property> </notify> <condition> simulation/sim-time-sec >= simulation/notify-time-trigger </condition> <set name="simulation/notify-time-trigger" value="60" type="FG_DELTA"/> </event> <event name="Terminate"> <description> End condition. Balloon is empty and on the ground. </description> <condition> metrics/radius-ft lt 0.1 position/h-agl-ft lt 1 </condition> <set name="simulation/terminate" value="1.0"/> <notify> <property>simulation/sim-time-sec</property> </notify> </event> </run> </runscript>
Add a empty manifest for AndroidInfrared
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.github.timnew.androidinfrared" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="16" /> </manifest>
Revert "Enable hard fault handler by default"
<?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE rca SYSTEM "../../xml/driver.dtd"> <rca version="1.0"> <driver type="core" name="cortex"> <parameter name="allocator" type="enum" values="newlib;block_allocator"> block_allocator </parameter> <parameter name="enable_gpio" type="bool">true</parameter> <parameter name="vector_table_in_ram" type="bool">false</parameter> <parameter name="enable_hardfault_handler_log" type="bool">true</parameter> <template>startup.c.in</template> <template>delay.sx.in</template> <template>syscalls.cpp.in</template> <static>cxxabi.cpp</static> <static>default_handler.sx</static> <!-- Systick Timer --> <static>systick/systick_timer.hpp</static> <static>systick/systick_timer.cpp</static> <template core="cortex-m3|cortex-m4|cortex-m4f">hard_fault_handler.cpp.in</template> <static core="cortex-m3|cortex-m4|cortex-m4f">hard_fault.sx</static> </driver> </rca>
<?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE rca SYSTEM "../../xml/driver.dtd"> <rca version="1.0"> <driver type="core" name="cortex"> <parameter name="allocator" type="enum" values="newlib;block_allocator"> block_allocator </parameter> <parameter name="enable_gpio" type="bool">true</parameter> <parameter name="vector_table_in_ram" type="bool">false</parameter> <parameter name="enable_hardfault_handler_log" type="bool">false</parameter> <template>startup.c.in</template> <template>delay.sx.in</template> <template>syscalls.cpp.in</template> <static>cxxabi.cpp</static> <static>default_handler.sx</static> <!-- Systick Timer --> <static>systick/systick_timer.hpp</static> <static>systick/systick_timer.cpp</static> <template core="cortex-m3|cortex-m4|cortex-m4f">hard_fault_handler.cpp.in</template> <static core="cortex-m3|cortex-m4|cortex-m4f">hard_fault.sx</static> </driver> </rca>
Change project builder to maven
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.m4gik</groupId> <artifactId>rsa-algorithm</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>json-generator</name> <url>http://maven.apache.org</url> <properties> <log4j.properties.directory>src/main/java</log4j.properties.directory> </properties> <repositories> <repository> <snapshots> <enabled>false</enabled> </snapshots> <id>central</id> <name>Maven Repository Switchboard</name> <url>http://repo1.maven.org/maven2</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <releases> <updatePolicy>never</updatePolicy> </releases> <snapshots> <enabled>false</enabled> </snapshots> <id>central</id> <name>Maven Plugin Repository</name> <url>http://repo1.maven.org/maven2</url> </pluginRepository> </pluginRepositories> <dependencies> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-vfs2</artifactId> <version>2.0</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.4</version> </dependency> </dependencies> <build> <resources> <resource> <directory>${log4j.properties.directory}</directory> <includes> <include>log4j.properties</include> </includes> </resource> </resources> </build> </project>
Update to Android Studio 2.1
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="Encoding"> <file url="PROJECT" charset="UTF-8" /> </component> </project>
Add polish translations thanks to MB4DROID
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2013 The Android Open Source Project 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. --> <resources> <!-- Default title for color picker dialog [CHAR LIMIT=30] --> <string name="cpv_default_title">Wybierz kolor</string> <string name="cpv_presets">Kolory domyślne</string> <string name="cpv_custom">Dostosuj</string> <string name="cpv_select">Wybierz</string> <string name="cpv_transparency">Przezroczystość</string> </resources>
Add REST and Hibernate support
<?xml version="1.0" encoding="UTF-8"?> <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> <persistence-unit name="com.ror.res"> <provider>org.hibernate.ejb.HibernatePersistence</provider> <class>com.ror.res.entity.Person</class> <properties> <property name="hibernate.connection.url" value="jdbc:mysql://localhost:3306/resdb"/> <property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver"/> <property name="hibernate.connection.username" value="resdbapp"/> <property name="hibernate.connection.password" value="YOUR-APP-PASSWORD"/> <property name="hibernate.archive.autodetection" value="class"/> <property name="hibernate.show_sql" value="true"/> <property name="hibernate.format_sql" value="true"/> <property name="hbm2ddl.auto" value="update"/> </properties> </persistence-unit> </persistence>
Add AboutLibraries configuration file for library
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="define_int_vntfontlistpreference">year;owner</string> <string name="library_vntfontlistpreference_author">Niklas Baudy</string> <string name="library_vntfontlistpreference_libraryName">VNTFontListPreference</string> <string name="library_vntfontlistpreference_libraryDescription">This is an easy to use custom preference, which opens a dialog with a list of available fonts. The selected font gets automatically saved and you are able to set the font directory as well as the defaultValue.</string> <string name="library_vntfontlistpreference_libraryVersion">0.1.3</string> <string name="library_vntfontlistpreference_libraryWebsite">https://github.com/vanniktech/VNTFontListPreference</string> <string name="library_vntfontlistpreference_licenseId">apache_2_0</string> <string name="library_vntfontlistpreference_isOpenSource">true</string> <string name="library_vntfontlistpreference_repositoryLink">https://github.com/vanniktech/VNTFontListPreference</string> <string name="library_vntfontlistpreference_classPath">com.vanniktech.vntfontlistpreference.VNTFontListPreference</string> <!-- Custom variables section --> <string name="library_vntfontlistpreference_owner">Niklas Baudy</string> <string name="library_vntfontlistpreference_year">2015</string> </resources>
Build file for side utilities, not mandatory for Audiveris main build
<!-- +=====================================================================+ --> <!-- | | --> <!-- | u t i l s . x m l | --> <!-- | | --> <!-- +=====================================================================+ --> <project name="utils" basedir=".."> <description> Just a collection of utility targets (not part of main-stream Audiveris project) </description> <!-- Give users first chance to override properties --> <property file="${user.home}/.audiveris/build.properties"/> <property name="dev.dir" location="${basedir}/src"/> <property name="config.dir" location="${basedir}/config"/> <property name="nb.javadoc.dir" location="${basedir}/dist/javadoc"/> <!-- Give users second chance to override properties --> <property file="${dev.dir}/build.properties"/> <!-- Finally, get all default property values --> <property file="${dev.dir}/build.default.properties"/> <!-- Load the environment variables --> <property environment="env"/> <!-- ======== --> <!-- S A V E --> <!-- ======== --> <target name="save" depends="-init" description="Make a backup of all important files." > <mkdir dir="${backup.dir}/${ant.project.name}"/> <!-- Save relevant directories --> <zip update="yes" destfile="${backup.dir}/${ant.project.name}/${DSTAMP}-${machine.name}-src.zip" > <fileset dir="${basedir}" includes="build.xml, src/**, config/**, icons/**, www/**, train/*.def, nb/jp/**" excludes="${dist.excludes},www/docs/api/**,www/branding/**,nb/jp/dist/**"/> </zip> </target> <!-- ============= --> <!-- U P L O A D --> <!-- ============= --> <target name="upload" depends="save" description="Upload backup to personal pages on an FTP server."> <echo message="Uploading backup file ..."/> <copy verbose="${verbose}" todir="${netbackup.dir}/${ant.project.name}"> <fileset dir="${backup.dir}/${ant.project.name}"> <include name="**/${DSTAMP}-${machine.name}-*.zip"/> </fileset> </copy> </target> <!-- ======= --> <!-- U M L --> <!-- ======= --> <target name="uml" depends="-uml" description="Generation of UML drawings"/> <target name="global-update" description="garbage"> <replaceregexp replace="" match="// to report bugs .*//$" > <fileset dir="${src.dir}" includes="**/Main.java" /> </replaceregexp> </target> <target name="zip-java" description="zip all Java files"> <zip destfile="${src.dir}/../newfiles.zip" > <!-- Launcher --> <zipfileset dir="${src.dir}/.." includes="**/*.java" /> </zip> </target> </project>
Set UTF-8 as default project and properties file encoding
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="Encoding" defaultCharsetForPropertiesFiles="UTF-8"> <file url="PROJECT" charset="UTF-8" /> </component> </project>
Revert "Switching to the new docker image and deploying to artifactory with "-java11" in the version number."
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.xal</groupId> <artifactId>openxal</artifactId> <version>2.3-SNAPSHOT</version> </parent> <artifactId>openxal.dist</artifactId> <packaging>pom</packaging> <pluginRepositories> <pluginRepository> <id>jcenter</id> <url>https://jcenter.bintray.com</url> </pluginRepository> </pluginRepositories> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>3.1.1</version> <configuration> <descriptors> <descriptor>assembly.xml</descriptor> </descriptors> <finalName>openxal-${project.version}</finalName> <tarLongFileMode>posix</tarLongFileMode> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>
Configure code sniffer for PSR-2
<?xml version="1.0"?> <ruleset> <rule ref="PSR1.Classes.ClassDeclaration"/> <rule ref="PSR1.Files.SideEffects"/> <rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/> <rule ref="Generic.CodeAnalysis.EmptyStatement"/> <rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier"/> <rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/> <rule ref="Generic.CodeAnalysis.JumbledIncrementer"/> <rule ref="Generic.Files.ByteOrderMark"/> <rule ref="Generic.NamingConventions.ConstructorName"/> <rule ref="Squiz.Scope.MemberVarScope"/> <rule ref="Squiz.PHP.ForbiddenFunctions"/> <rule ref="Squiz.PHP.CommentedOutCode"/> <rule ref="Squiz.PHP.GlobalKeyword"/> <rule ref="Squiz.Functions.FunctionDuplicateArgument"/> <rule ref="Squiz.Operators.ValidLogicalOperators"/> <rule ref="PSR2.Classes.PropertyDeclaration"/> <rule ref="PSR2.Classes.ClassDeclaration"/> <rule ref="PSR2.Methods.MethodDeclaration"/> <rule ref="PSR2.Namespaces.UseDeclaration"/> <rule ref="PSR2.ControlStructures.SwitchDeclaration"/> </ruleset>
Fix for failing bamboo test
<?xml version="1.0" encoding="UTF-8"?> <definitions id="definitions" xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:activiti="http://activiti.org/bpmn-extensions" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.activiti.org/bpmn2.0"> <process id="nestedSubProcessQueryTest"> <startEvent id="theStart" /> <sequenceFlow id="flow1" sourceRef="theStart" targetRef="callSubProcess" /> <callActivity id="callSubProcess" calledElement="nestedSimpleSubProcess" /> <sequenceFlow id="flow3" sourceRef="callSubProcess" targetRef="theEnd" /> <endEvent id="theEnd" /> </process> </definitions>
Increase default interval between retries for oozie actions. (Venkat Ranganathan via Swapan Shridhar)
<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <!-- /** * 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. */ --> <configuration supports_final="false"> <property> <name>oozie.action.retry.interval</name> <value>30</value> <description> The interval between retries of an action in case of failure </description> <value-attributes> <type>custom</type> </value-attributes> <on-ambari-upgrade add="true"/> </property> </configuration>
Allow tomcat to discover its logging config
<!-- Copyright 2012 SURFnet bv, The Netherlands 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. --> <Context> <Parameter name="logbackConfigurationFilePrefix" value="dashboard" override="false"/> </Context>
Add a basic PHPUnit configuration file
<phpunit bootstrap="vendor/autoload.php" colors="true"> <testsuites> <testsuite name="Keymedia API"> <directory>tests</directory> </testsuite> </testsuites> <filter> <whitelist> <directory>src/</directory> </whitelist> </filter> </phpunit>
Add recipe for installing version 0.11.4 of the FastQC package
<?xml version="1.0"?> <tool_dependency> <package name="FastQC" version="0.11.4"> <install version="1.0"> <actions_group> <actions os="linux" architecture="x86_64"> <action type="download_by_url" sha256sum="adb233f9fae7b02fe99e716664502adfec1b9a3fbb84eed4497122d6d33d1fe7">https://depot.galaxyproject.org/software/fastqc/fastqc_0.11.4_linux_all.zip</action> <action type="move_directory_files"> <source_directory>../FastQC</source_directory> <destination_directory>$INSTALL_DIR</destination_directory> <action type="shell_command">chmod ugo+x $INSTALL_DIR/fastqc</action> </action> </actions> <actions os="darwin" architecture="x86_64"> <action type="download_by_url" sha256sum="bd4089397cfa1086d81e7b29508542d2478917df8d1ef1fb494616da1b8e651a">https://depot.galaxyproject.org/software/fastqc/fastqc_0.11.4_darwin_all.dmg</action> <action type="shell_command"> hdiutil attach fastqc_v0.11.4.dmg &amp;&amp; cp -R /Volumes/FastQC/FastQC.app $INSTALL_DIR &amp;&amp; hdiutil detach /Volumes/FastQC </action> <action type="shell_command">chmod ugo+x $INSTALL_DIR/fastqc</action> </actions> <action type="set_environment"> <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable> </action> </actions_group> </install> </package> </tool_dependency>
Add alternate UI for tablet as layout-sw600dp.
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:baselineAligned="false" android:divider="?android:attr/dividerHorizontal" android:orientation="horizontal" tools:context="com.example.android.sunshine.app.MainActivity"> <!-- This layout is a two-pane layout for the Items master/detail flow. --> <fragment android:id="@+id/fragment_forecast" android:name="com.example.android.sunshine.app.ForecastFragment" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="2" tools:layout="@android:layout/list_content" /> <FrameLayout android:id="@+id/weather_detail_container" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="4" /> </LinearLayout>
Add missing file for tests
<?xml version="1.0" encoding="UTF-8"?> <registry xmlns="http://ws.apache.org/ns/synapse" provider="org.wso2.carbon.mediation.registry.ESBRegistry"> <parameter name="root">file:repository/samples/resources/</parameter> <parameter name="cachableDuration">15000</parameter> </registry>
Add bouncycastle library (new sdklib dependency)
<component name="libraryTable"> <library name="bouncy-castle"> <CLASSES> <root url="jar://$TOOLS_PREBUILTS$/common/m2/repository/org/bouncycastle/bcpkix-jdk15on/1.48/bcpkix-jdk15on-1.48.jar!/" /> <root url="jar://$TOOLS_PREBUILTS$/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/bcprov-jdk15on-1.48.jar!/" /> </CLASSES> <JAVADOC /> <SOURCES> <root url="jar://$TOOLS_PREBUILTS$/common/m2/repository/org/bouncycastle/bcpkix-jdk15on/1.48/bcpkix-jdk15on-1.48-sources.jar!/" /> <root url="jar://$TOOLS_PREBUILTS$/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/bcprov-jdk15on-1.48-sources.jar!/" /> </SOURCES> </library> </component>
Add initial dependencies and maven apt plugin.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.github.grundlefleck</groupId> <artifactId>autovalue-example</artifactId> <version>1.0-SNAPSHOT</version> <packaging>jar</packaging> <name>autovalue-example</name> <url>http://maven.apache.org</url> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>apt-maven-plugin</artifactId> <version>1.0-alpha-2</version> <executions> <execution> <goals> <goal>process</goal> <goal>test-process</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>2.0.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>17.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.google.auto.value</groupId> <artifactId>auto-value</artifactId> <version>1.0-rc1</version> <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit-dep</artifactId> <version>4.8</version> <scope>test</scope> </dependency> </dependencies> </project>
Create a new xml file to display the list view
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> <ImageView android:id="@+id/imageView1" android:layout_width="80dp" android:layout_height="80dp" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:layout_marginTop="10dp" android:layout_marginBottom="10dp" android:contentDescription="Image Place"/> <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="10dp" android:layout_toRightOf="@+id/imageView1" android:layout_centerVertical="true" android:text="Text Description" android:textAppearance="?android:attr/textAppearanceLarge" /> </RelativeLayout>
Fix issue on QuestionDescriptor destruction
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd"> <changeSet author="fx (generated)" id="1392966694116-8"> <dropNotNullConstraint columnDataType="int8" columnName="parentgame_id" tableName="team"/> <dropForeignKeyConstraint baseTableName="triggerinstance" baseTableSchemaName="public" constraintName="fk_triggerinstance_variableinstance_id"/> <dropTable tableName="triggerinstance"/> </changeSet> </databaseChangeLog>
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd"> <changeSet author="fx (generated)" id="1392966695116-9"> <sql> DELETE FROM listinstance c WHERE EXISTS (SELECT * FROM mcqquestioninstance q WHERE c.variableinstance_id = q.variableinstance_id) </sql> </changeSet> </databaseChangeLog>
Add flag to WebView apks specifying that these apks contain WebView.
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="{{package|default('com.android.webview')}}"> <uses-sdk android:minSdkVersion="{{minsdk|default(21)}}" android:targetSdkVersion="{{targetsdk|default(21)}}"> </uses-sdk> <uses-feature android:name="android.hardware.touchscreen" android:required="false"/> <application android:label="Android System WebView" android:icon="@drawable/icon_webview" android:multiArch="true"> <activity android:name="com.android.webview.chromium.LicenseActivity" android:label="@string/license_activity_title" > <intent-filter> <action android:name="android.settings.WEBVIEW_LICENSE" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED" android:value="true" /> </activity> <provider android:name="com.android.webview.chromium.LicenseContentProvider" android:exported="true" android:authorities="com.android.webview.chromium.LicenseContentProvider" /> </application> </manifest>
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="{{package|default('com.android.webview')}}"> <uses-sdk android:minSdkVersion="{{minsdk|default(21)}}" android:targetSdkVersion="{{targetsdk|default(21)}}"> </uses-sdk> <uses-feature android:name="android.hardware.touchscreen" android:required="false"/> <application android:label="Android System WebView" android:icon="@drawable/icon_webview" android:multiArch="true"> <activity android:name="com.android.webview.chromium.LicenseActivity" android:label="@string/license_activity_title" > <intent-filter> <action android:name="android.settings.WEBVIEW_LICENSE" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> <meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED" android:value="true" /> </activity> <provider android:name="com.android.webview.chromium.LicenseContentProvider" android:exported="true" android:authorities="com.android.webview.chromium.LicenseContentProvider" /> <meta-data android:name="com.android.webview.WebViewLibrary" android:value="libwebviewchromium.so" /> </application> </manifest>
Cut down on logging during tests.
<!-- https://www.playframework.com/documentation/latest/SettingsLogger --> <configuration> <appender name="FILE" class="ch.qos.logback.core.FileAppender"> <file>${application.home:-.}/logs/application.log</file> <encoder> <pattern>%date [%level] from %logger in %thread - %message%n%xException</pattern> </encoder> </appender> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern>%highlight([%level]) %logger{15} - %message%n%xException{10}</pattern> </encoder> </appender> <appender name="ASYNCFILE" class="ch.qos.logback.classic.AsyncAppender"> <appender-ref ref="FILE" /> </appender> <appender name="ASYNCSTDOUT" class="ch.qos.logback.classic.AsyncAppender"> <appender-ref ref="STDOUT" /> </appender> <logger name="com.jsherz.luskydive" level="DEBUG" /> <logger name="org.flywaydb.core" level="WARN" /> <logger name="com.zaxxer.hikari" level="WARN" /> <logger name="akka.event.slf4j" level="WARN" /> <root level="INFO"> <appender-ref ref="ASYNCFILE" /> <appender-ref ref="ASYNCSTDOUT" /> </root> </configuration>
Check in Run configuration for Apptentive Tests.
<component name="ProjectRunConfigurationManager"> <configuration default="false" name="Apptentive Tests" type="AndroidTestRunConfigurationType" factoryName="Android Tests" activateToolWindowBeforeRun="false"> <module name="test-app" /> <option name="TESTING_TYPE" value="0" /> <option name="INSTRUMENTATION_RUNNER_CLASS" value="" /> <option name="METHOD_NAME" value="" /> <option name="CLASS_NAME" value="com.apptentive.android.sdk.tests.module.engagement.criteria.CornerCases" /> <option name="PACKAGE_NAME" value="com.apptentive.android.sdk.tests.module.engagement" /> <option name="EXTRA_OPTIONS" value="" /> <option name="TARGET_SELECTION_MODE" value="USB_DEVICE" /> <option name="PREFERRED_AVD" value="" /> <option name="CLEAR_LOGCAT" value="true" /> <option name="SHOW_LOGCAT_AUTOMATICALLY" value="true" /> <option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" /> <option name="FORCE_STOP_RUNNING_APP" value="true" /> <option name="DEBUGGER_TYPE" value="Java" /> <option name="USE_LAST_SELECTED_DEVICE" value="false" /> <option name="PREFERRED_AVD" value="" /> <option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" /> <option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" /> <Hybrid> <option name="WORKING_DIR" value="" /> <option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" /> </Hybrid> <Native> <option name="WORKING_DIR" value="" /> <option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" /> </Native> <Java /> <method /> </configuration> </component>
Add basic layout file for my contributions
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> </LinearLayout>
Create POM with all JUnit 5 dependencies
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.codefx.demo</groupId> <artifactId>junit-5</artifactId> <version>1.0-SNAPSHOT</version> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <junit5-version>5.0.0-ALPHA</junit5-version> </properties> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins> </build> <dependencies> <!-- this is all you need to write tests with JUnit 5 --> <dependency> <groupId>org.junit</groupId> <artifactId>junit5-api</artifactId> <version>${junit5-version}</version> <scope>test</scope> </dependency> <!-- to execute v5-tests as part of a v4-run, we need these two artifacts --> <dependency> <!-- contains the engine that actually runs the v5-tests --> <groupId>org.junit</groupId> <artifactId>junit5-engine</artifactId> <version>${junit5-version}</version> <scope>test</scope> </dependency> <dependency> <!-- contains the runner that adapts v5-tests for a v4-run --> <groupId>org.junit</groupId> <artifactId>junit4-runner</artifactId> <version>${junit5-version}</version> <scope>test</scope> </dependency> <!-- other test libraries work out of the box. e.g. ... --> <dependency> <!-- ... AssertJ ... --> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>3.3.0</version> <scope>test</scope> </dependency> <dependency> <!-- ... or Mockito ... --> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>1.10.19</version> <scope>test</scope> </dependency> </dependencies> </project>
Integrate Ivy Ant task into orientdb POM
<?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.hawk</groupId> <artifactId>mondo-hawk</artifactId> <version>0.0.1-SNAPSHOT</version> </parent> <groupId>org.hawk</groupId> <artifactId>org.hawk.orientdb</artifactId> <version>1.0.0-SNAPSHOT</version> <packaging>eclipse-plugin</packaging> </project>
<?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.hawk</groupId> <artifactId>mondo-hawk</artifactId> <version>0.0.1-SNAPSHOT</version> </parent> <groupId>org.hawk</groupId> <artifactId>org.hawk.orientdb</artifactId> <version>1.0.0-SNAPSHOT</version> <packaging>eclipse-plugin</packaging> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.8</version> <executions> <execution> <id>fetch-deps</id> <phase>generate-resources</phase> <configuration> <target> <ivy:retrieve pattern="lib/[type]s/[artifact]-[revision].[ext]" xmlns:ivy="antlib:org.apache.ivy.ant"/> </target> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.apache.ivy</groupId> <artifactId>ivy</artifactId> <version>2.4.0</version> </dependency> </dependencies> </plugin> </plugins> </build> </project>
Configure logging at WARN level for docs tests.
<configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <!-- Encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder by default. --> <encoder> <!-- See https://logback.qos.ch/manual/layouts.html#ClassicPatternLayout --> <pattern>%highlight([%d{HH:mm:ss.SSS} %-5level %logger{36}]) %message%n</pattern> </encoder> </appender> <!-- LOOK: Below are two example logging configurations. Use them as references when you need to selectively enable loggers, such as during development/debugging. Please make sure that you revert that config before committing to master; we don't want unnecessary log messages clogging our CI output. --> <!-- Log all messages from the "thredds.featurecollection" family of loggers at level DEBUG or higher to STDOUT. Each of our classes has its own logger, and that logger has the same name as the class itself. So, when we reference the "thredds.featurecollection" logger family, we're configuring the loggers of all classes in the "thredds.featurecollection" package, both main and test. Setting the additivity attribute to "false" prevents messages from being propagated to any logger that is higher in the hierarchy (such as the root logger). We don't want duplicate messages printed to STDOUT. --> <!-- <logger name="thredds.featurecollection" level="DEBUG" additivity="false"> <appender-ref ref="STDOUT" /> </logger> --> <!-- This configuration element is similar to the one above except that it only affects a single logger: the one in thredds.featurecollection.TestFeatureDatasetCapabilitiesXML. --> <!-- <logger name="thredds.featurecollection.TestFeatureDatasetCapabilitiesXML" level="DEBUG" additivity="false"> <appender-ref ref="STDOUT" /> </logger> --> <!-- Log all messages at level WARN or higher to STDOUT. --> <root level="WARN"> <appender-ref ref="STDOUT" /> </root> </configuration>
Add multi-company rule for ticketbai invoices
<?xml version="1.0" encoding="utf-8" ?> <!-- Copyright 2021 Binovo IT Human Project SL Copyright 2022 Landoo Sistemas de Informacion SL License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). --> <odoo> <record id="l10n_es_tbai_invoice_rule" model="ir.rule"> <field name="name">Ticketbai Invoice Multi-Company</field> <field name="model_id" ref="l10n_es_ticketbai_api.model_tbai_invoice" /> <field eval="True" name="global" /> <field name="domain_force" >['|',('company_id','=',False),('company_id','in',company_ids)]</field> </record> </odoo>
Add empty memory explorer error XML
<!-- IBM_PROLOG_BEGIN_TAG --> <!-- This is an automatically generated prolog. --> <!-- --> <!-- $Source: src/import/chips/ocmb/explorer/procedures/xml/error_info/mss_exp_errors.xml $ --> <!-- --> <!-- OpenPOWER HostBoot Project --> <!-- --> <!-- Contributors Listed Below - COPYRIGHT 2018,2019 --> <!-- [+] International Business Machines Corp. --> <!-- --> <!-- --> <!-- 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. --> <!-- --> <!-- IBM_PROLOG_END_TAG --> <hwpErrors> </hwpErrors>
Add a config for Maven for command line builds.
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.openxcplatform</groupId> <artifactId>openxc-starter</artifactId> <packaging>apk</packaging> <name>OpenXC Starter App</name> <version>6.0.0-SNAPSHOT</version> <description>Starter Android app for OpenXC</description> <url>http://openxcplatform.com</url> <licenses> <license> <name>New BSD License</name> <url>http://opensource.org/licenses/BSD-3-Clause</url> <distribution>repo</distribution> </license> </licenses> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <android.version>4.1.1.4</android.version> <android.platform>19</android.platform> <java.version>1.7</java.version> <android-maven.version>3.8.1</android-maven.version> </properties> <dependencies> <dependency> <groupId>com.google.android</groupId> <artifactId>android</artifactId> <version>${android.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.openxcplatform</groupId> <artifactId>openxc</artifactId> <version>${project.version}</version> <type>apklib</type> </dependency> </dependencies> <build> <finalName>${project.artifactId}</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <plugin> <groupId>com.jayway.maven.plugins.android.generation2</groupId> <artifactId>android-maven-plugin</artifactId> <version>${android-maven.version}</version> <extensions>true</extensions> <configuration> <dexOptimize>false</dexOptimize> <dex> <jvmArguments> <argument>-Xms256m</argument> <argument>-Xmx1052m</argument> </jvmArguments> </dex> <sdk> <platform>${android.platform}</platform> </sdk> <undeployBeforeDeploy>false</undeployBeforeDeploy> </configuration> </plugin> </plugins> <sourceDirectory>src</sourceDirectory> </build> </project>
Add interesting test case for OPTICS.
<!DOCTYPE dataset PUBLIC "GeneratorByModel.dtd" "GeneratorByModel.dtd"> <dataset random-seed="1" test-model="1"> <cluster name="Cluster_1" size="200"> <uniform min="0.0" max="0.4" /> <uniform min="0.3" max="0.7" /> <clip min="0 0" max="1 1"/> </cluster> <cluster name="Cluster_2" size="200"> <uniform min="0.6" max="1.0" /> <uniform min="0.3" max="0.7" /> <clip min="0 0" max="1 1"/> </cluster> <cluster name="Cluster_3" size="800"> <uniform min="0.25" max="0.75" /> <uniform min="0.4" max="0.6" /> <clip min="0 0" max="1 1"/> </cluster> <cluster name="Noise" size="10" density-correction="20"> <uniform min="0" max="1" /> <uniform min="0" max="1" /> </cluster> </dataset>
Add the query to retrieve the list of reviews
<?xml version="1.0" encoding="UTF-8"?> <query-mapping package='Atlas.Reviews.Models'> <description> List of blogs </description> <class name="Atlas.Reviews.Models.List_Info" bean="yes"> <comment>The list of reviews.</comment> <property type='Identifier' name="id"> <comment>the review identifier.</comment> </property> <property type='String' name="title"> <comment>the review title.</comment> </property> <property type='String' name="site"> <comment>the review site.</comment> </property> <property type='Date' name="date"> <comment>the review date.</comment> </property> <property type='Boolean' name="allow_comments"> <comment>the whether comments are allowed.</comment> </property> <property type='Identifier' name="reviewer_id"> <comment>the reviewer identifier.</comment> </property> <property type='String' name="reviewer_name"> <comment>the reviewer name.</comment> </property> <property type='String' name="reviewer_email"> <comment>the reviewer email address.</comment> </property> <property type='String' name="text"> <comment>the review text.</comment> </property> </class> <query name='list'> <comment>Get the list of reviews</comment> <sql> SELECT r.id, r.title, r.site, r.create_date, r.allow_comments, r.reviewer_id, a.name, e.email, r.text FROM atlas_review AS r INNER JOIN awa_user AS a ON r.reviewer_id = a.id INNER JOIN awa_email AS e ON a.email_id = e.id ORDER BY r.create_date DESC LIMIT :first, :last </sql> <sql-count> SELECT count(r.id) FROM atlas_review AS r </sql-count> </query> </query-mapping>
Add logger configuration to reduce output
<configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder by default --> <encoder> <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> </encoder> </appender> <logger name="org.kie.server" level="INFO" /> <logger name="org.apache.http" level="WARN" /> <logger name="org.apache.maven" level="WARN" /> <logger name="bitronix" level="ERROR" /> <root level="INFO"> <appender-ref ref="STDOUT"/> </root> </configuration>
Add autocorrection of string missing apostrophes escaping
<component name="InspectionProjectProfileManager"> <profile version="1.0"> <option name="myName" value="Project Default" /> <inspection_tool class="AndroidLintDrawAllocation" enabled="true" level="ERROR" enabled_by_default="true" /> </profile> </component>
<component name="InspectionProjectProfileManager"> <profile version="1.0"> <option name="myName" value="Project Default" /> <inspection_tool class="AndroidLintDrawAllocation" enabled="true" level="ERROR" enabled_by_default="true" /> <inspection_tool class="SSBasedInspection" enabled="true" level="ERROR" enabled_by_default="true"> <replaceConfiguration name="Escape apostrophes in Android string XMLs" text="&lt;string $attributes$&gt;$text$&lt;/string&gt;" recursive="false" caseInsensitive="true" type="XML" reformatAccordingToStyle="true" shortenFQN="true" useStaticImport="true" replacement="&lt;string $attributes$&gt;$fixedText$&lt;/string&gt;"> <constraint name="attributes" within="" contains="" /> <constraint name="text" regexp=".*[^\\]'.*" maxCount="2147483647" within="" contains="" /> <variableDefinition name="fixedText" script="&quot;text.getValue().replaceAll( &quot;\\\\'|\'&quot;, &quot;\\\\'&quot; )&quot;" /> </replaceConfiguration> </inspection_tool> </profile> </component>
Add Norwegian summary and description to the add-on XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <addon id="script.rnfmov" name="Random Movie" version="1.0.0" provider-name="pdnagilum"> <requires> <import addon="xbmc.python" version="2.14.0"/> </requires> <extension point="xbmc.python.script" library="addon.py"> <provides>executable</provides> </extension> <extension point="xbmc.addon.metadata"> <platform>all</platform> <summary lang="en">Play Random Movie</summary> <description lang="en">Play a random movie from your library</description> <license>MIT License</license> <language>EN</language> <source>https://github.com/nagilum/script.rndmov</source> <email>pdnagilum@gmail.com</email> </extension> </addon>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <addon id="script.rnfmov" name="Random Movie" version="1.0.0" provider-name="pdnagilum"> <requires> <import addon="xbmc.python" version="2.14.0"/> </requires> <extension point="xbmc.python.script" library="addon.py"> <provides>executable</provides> </extension> <extension point="xbmc.addon.metadata"> <platform>all</platform> <summary lang="en">Play Random Movie</summary> <summary lang="no">Spill av tilfeldig film</summary> <description lang="en">Play a random movie from your Kodi library. Choose from all, watched, or unwatched.</description> <description lang="no">Spill en tilfeldig film fra film bibliteket i Kodi. Velg fra alle, sette, eller usette.</description> <license>MIT License</license> <language>EN</language> <source>https://github.com/nagilum/script.rndmov</source> <email>pdnagilum@gmail.com</email> </extension> </addon>
Add missing reflection cache class.
<module rename-to="net.mostlyoriginal.ContribPluginProfiler"> <source path="api"/> <source path="plugin"/> <extend-configuration-property name="artemis.reflect.include" value="net.mostlyoriginal.plugin.ProfilerPlugin" /> <extend-configuration-property name="artemis.reflect.include" value="net.mostlyoriginal.plugin.profiler" /> <extend-configuration-property name="gdx.files.classpath" value="net/mostlyoriginal/plugin/profiler/skin/default.fnt" /> <extend-configuration-property name="gdx.files.classpath" value="net/mostlyoriginal/plugin/profiler/skin/default.png" /> <extend-configuration-property name="gdx.files.classpath" value="net/mostlyoriginal/plugin/profiler/skin/uiskin.atlas" /> <extend-configuration-property name="gdx.files.classpath" value="net/mostlyoriginal/plugin/profiler/skin/uiskin.json" /> <extend-configuration-property name="gdx.files.classpath" value="net/mostlyoriginal/plugin/profiler/skin/uiskin.png" /> </module>
<module rename-to="net.mostlyoriginal.ContribPluginProfiler"> <source path="api"/> <source path="plugin"/> <extend-configuration-property name="artemis.reflect.include" value="net.mostlyoriginal.plugin.ProfilerPlugin" /> <extend-configuration-property name="artemis.reflect.include" value="net.mostlyoriginal.plugin.profiler" /> <extend-configuration-property name="artemis.reflect.include" value="net.mostlyoriginal.plugin.ProfilerSystem"/> <extend-configuration-property name="gdx.files.classpath" value="net/mostlyoriginal/plugin/profiler/skin/default.fnt" /> <extend-configuration-property name="gdx.files.classpath" value="net/mostlyoriginal/plugin/profiler/skin/default.png" /> <extend-configuration-property name="gdx.files.classpath" value="net/mostlyoriginal/plugin/profiler/skin/uiskin.atlas" /> <extend-configuration-property name="gdx.files.classpath" value="net/mostlyoriginal/plugin/profiler/skin/uiskin.json" /> <extend-configuration-property name="gdx.files.classpath" value="net/mostlyoriginal/plugin/profiler/skin/uiskin.png" /> </module>
Fix definition of image parameter
<?xml version='1.0' encoding='UTF-8'?> <module version="1.0"> <context-param> <param-name>images.thumbnail_command</param-name> <param-value>"C:/Program Files/ImageMagick-6.7.8-Q8/convert.exe" -verbose -resize 64x64 -background white -gravity center -extent 64x64 -format jpg -quality 75 \#{src} \#{dst}</param-value> </context-param> <managed-bean> <description>This bean allows to create a storage folder.</description> <managed-bean-name>storageFolder</managed-bean-name> <managed-bean-class>AWA.Storages.Beans.Folder_Bean</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean> <servlet-mapping> <servlet-name>storage</servlet-name> <url-pattern>/storages/files/*</url-pattern> </servlet-mapping> <filter-mapping> <filter-name>service</filter-name> <url-pattern>/images/*.html</url-pattern> </filter-mapping> <filter-mapping> <filter-name>auth-filter</filter-name> <url-pattern>/images/*.html</url-pattern> </filter-mapping> </module>
<?xml version='1.0' encoding='UTF-8'?> <module version="1.0"> <context-param> <param-name>images.thumbnail_command</param-name> <!-- "C:/Program Files/ImageMagick-6.7.8-Q8/convert.exe" -verbose -resize 64x64 -background white -gravity center -extent 64x64 -format jpg -quality 75 \#{src} \#{dst} --> <param-value>convert -verbose -resize 64x64 -background white -gravity center -extent 64x64 -format jpg -quality 75 \#{src} \#{dst}</param-value> </context-param> <managed-bean> <description>This bean allows to create a storage folder.</description> <managed-bean-name>storageFolder</managed-bean-name> <managed-bean-class>AWA.Storages.Beans.Folder_Bean</managed-bean-class> <managed-bean-scope>request</managed-bean-scope> </managed-bean> <servlet-mapping> <servlet-name>storage</servlet-name> <url-pattern>/storages/files/*</url-pattern> </servlet-mapping> <filter-mapping> <filter-name>service</filter-name> <url-pattern>/images/*.html</url-pattern> </filter-mapping> <filter-mapping> <filter-name>auth-filter</filter-name> <url-pattern>/images/*.html</url-pattern> </filter-mapping> </module>
Enable "Upload only on Wi-Fi" by default
<?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" android:key="preferences"> <EditTextPreference android:key="nickname" android:title="@string/enter_nickname" android:summary="@string/enter_nickname_longtext" /> <CheckBoxPreference android:key="wifi_only" android:title="@string/upload_wifi_only_title" android:summary="@string/upload_wifi_only_summary" android:defaultValue="false"/> <CheckBoxPreference android:key="geofence_switch" android:title="@string/geofencing_off" android:defaultValue="false" /> <Preference android:key="geofence_here" android:title="@string/geofencing_enable" android:summary="@string/geofencing_desc" /> </PreferenceScreen>
<?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" android:key="preferences"> <EditTextPreference android:key="nickname" android:title="@string/enter_nickname" android:summary="@string/enter_nickname_longtext" /> <CheckBoxPreference android:key="wifi_only" android:title="@string/upload_wifi_only_title" android:summary="@string/upload_wifi_only_summary" android:defaultValue="true" /> <CheckBoxPreference android:key="geofence_switch" android:title="@string/geofencing_off" android:defaultValue="false" /> <Preference android:key="geofence_here" android:title="@string/geofencing_enable" android:summary="@string/geofencing_desc" /> </PreferenceScreen>
Revert "change template to include icons"
<td class="selection"><input type="checkbox" <% if(selected){ %> checked="checked" <% } %>/></td> <td class="title"> <a href="<%- getURL %>" class="state-<%- review_state %> contenttype-<%- Type.toLowerCase() %>"> <%- Title %> </a> </td> <% _.each(activeColumns, function(column){ %> <% if(_.has(availableColumns, column)) { %> <td class="<%- column %>"><%- attributes[column] %></td> <% } %> <% }); %> <td class="actionmenu-container"> </td>
<td class="selection"><input type="checkbox" <% if(selected){ %> checked="checked" <% } %>/></td> <td class="title"> <a href="<%- getURL %>"> <% if(['File', 'Image'].indexOf(attributes.Type) !== -1){ %> <span class="glyphicon glyphicon-file"></span> <% } %> <% if(attributes.is_folderish) { %> <span class="glyphicon glyphicon-folder-open"></span> <% } %> <%- Title %> </a> </td> <% _.each(activeColumns, function(column){ %> <% if(_.has(availableColumns, column)) { %> <td class="<%- column %>"><%- attributes[column] %></td> <% } %> <% }); %> <td class="actionmenu-container"> </td>
Change project ITWeddingc2016.04. Create main activity with WebViewer component.
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" android:paddingBottom="@dimen/activity_vertical_margin" tools:context="ua.uagames.itwedding.v201604.MainActivity"> <TextView android:text="Hello World!" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </RelativeLayout>
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context="ua.uagames.itwedding.v201604.MainActivity"> <WebView android:id="@+id/viewer" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1"/> </LinearLayout>
Add required functions to allow these tools to be better used in sites for the gateway.
<?xml version="1.0"?> <registration> <tool id="sakai.mailbox" title="Email Archive" description="For viewing email sent to the site."> <configuration name="channel" value="" /> <configuration name="pagesize" value="20" /> <category name="course" /> <category name="project" /> <category name="portfolio" /> </tool> </registration>
<?xml version="1.0"?> <registration> <tool id="sakai.mailbox" title="Email Archive" description="For viewing email sent to the site."> <configuration name="channel" value="" /> <configuration name="pagesize" value="20" /> <category name="course" /> <category name="project" /> <category name="portfolio" /> <configuration name="functions.require" value="mail.read" /> </tool> </registration>
Remove shared attribute from services definitions
<?xml version="1.0" encoding="UTF-8" ?> <container xmlns="http://www.symfony-project.org/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.symfony-project.org/schema/dic/services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd"> <parameters> <parameter key="zend.cache_manager.class">Zend\Cache\Manager</parameter> </parameters> <services> <service id="zend.cache_manager" class="%zend.cache_manager.class%" shared="true"> </service> </services> </container>
<?xml version="1.0" encoding="UTF-8" ?> <container xmlns="http://www.symfony-project.org/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.symfony-project.org/schema/dic/services http://www.symfony-project.org/schema/dic/services/services-1.0.xsd"> <parameters> <parameter key="zend.cache_manager.class">Zend\Cache\Manager</parameter> </parameters> <services> <service id="zend.cache_manager" class="%zend.cache_manager.class%"> </service> </services> </container>
Add sidebar link to display project_name
<?xml version='1.0' encoding='UTF-8'?> <hudson.plugins.sidebar__link.SidebarLinkPlugin plugin="sidebar-link@1.7"> <links> {% set jenkins_http_port = pillar['system_features']['configure_jenkins']['jenkins_http_port'] %} {% set jenkins_master_hostname = pillar['system_hosts'][pillar['system_host_roles']['jenkins_master_role']['assigned_hosts'][0]]['hostname'] %} <hudson.plugins.sidebar__link.LinkAction> <!-- NOTE: Instead of guessing absolute linke (with schema, hostname, port), specify relative URL. --> <url>/quietDown</url> <text>Block builds</text> <!-- NOTE: Set image to some known resource shipped with Jenkins. --> <icon>/images/24x24/lock.png</icon> </hudson.plugins.sidebar__link.LinkAction> </links> </hudson.plugins.sidebar__link.SidebarLinkPlugin>
<?xml version='1.0' encoding='UTF-8'?> <hudson.plugins.sidebar__link.SidebarLinkPlugin plugin="sidebar-link@1.7"> <links> {% set jenkins_http_port = pillar['system_features']['configure_jenkins']['jenkins_http_port'] %} {% set jenkins_master_hostname = pillar['system_hosts'][pillar['system_host_roles']['jenkins_master_role']['assigned_hosts'][0]]['hostname'] %} <!-- This brings "Quiet Down" action from "Manage Jenkins" -> "Prepare for Shutdown" to the sidebar on the main page. --> <hudson.plugins.sidebar__link.LinkAction> <!-- NOTE: Instead of guessing absolute linke (with schema, hostname, port), specify relative URL. --> <url>/quietDown</url> <text>Block builds</text> <!-- NOTE: Set image to some known resource shipped with Jenkins. --> <icon>/images/24x24/lock.png</icon> </hudson.plugins.sidebar__link.LinkAction> <!-- This link only shows project_name on its title to quickly distinguish Jenkins instances. --> <hudson.plugins.sidebar__link.LinkAction> <url>/</url> <text>project_name: {{ pillar['project_name'] }}</text> <!-- NOTE: Set image to some known resource shipped with Jenkins. --> <icon>/images/24x24/attribute.png</icon> </hudson.plugins.sidebar__link.LinkAction> </links> </hudson.plugins.sidebar__link.SidebarLinkPlugin>
Upgrade Apache Commons Collections to v3.2.2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.github.musikk</groupId> <artifactId>classreader</artifactId> <version>0.0.1-SNAPSHOT</version> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.0</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>15.0</version> </dependency> <dependency> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> <version>3.2.1</version> </dependency> </dependencies> </project>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.github.musikk</groupId> <artifactId>classreader</artifactId> <version>0.0.1-SNAPSHOT</version> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.0</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>15.0</version> </dependency> <dependency> <groupId>commons-collections</groupId> <artifactId>commons-collections</artifactId> <version>3.2.2</version> </dependency> </dependencies> </project>
Improve recent app item layout
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" > <ImageView android:id="@+id/icon" android:layout_width="35dp" android:layout_height="35dp" android:layout_margin="10dp" android:layout_centerVertical="true" android:src="@drawable/ic_launcher" /> <TextView android:id="@+id/name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toRightOf="@id/icon" android:paddingLeft="8dp" android:paddingRight="8dp" android:paddingTop="8dp" android:textAppearance="?android:attr/textAppearanceLarge" /> <TextView android:id="@+id/notification_time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/name" android:layout_toRightOf="@id/icon" android:paddingLeft="8dp" android:textAppearance="?android:attr/textAppearanceSmall" /> </RelativeLayout>
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" > <ImageView android:id="@+id/icon" android:layout_width="35dp" android:layout_height="35dp" android:layout_margin="10dp" android:layout_centerVertical="true" android:src="@drawable/ic_launcher" /> <TextView android:id="@+id/name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toRightOf="@id/icon" android:paddingLeft="8dp" android:paddingRight="8dp" android:paddingTop="8dp" android:textAppearance="?android:attr/textAppearanceLarge" /> <TextView android:id="@+id/notification_time" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@id/name" android:layout_toRightOf="@id/icon" android:paddingLeft="8dp" android:layout_marginBottom="4dp" android:textAppearance="?android:attr/textAppearanceSmall" /> </RelativeLayout>
Add blueprint config for edbi hook
<?xml version="1.0" encoding="utf-8" ?> <!-- Licensed to the Austrian Association for Software Tool Integration (AASTI) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The AASTI 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. --> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd" > </blueprint>
<?xml version="1.0" encoding="utf-8" ?> <!-- Licensed to the Austrian Association for Software Tool Integration (AASTI) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The AASTI 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. --> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd"> <reference id="indexEngine" interface="org.openengsb.core.edbi.api.IndexEngine"/> <reference id="authenticationContext" interface="org.openengsb.core.api.security.AuthenticationContext"/> <service id="edbIndexHook" interface="org.openengsb.core.ekb.api.hooks.EKBPostCommitHook"> <bean class="org.openengsb.framework.edbi.hook.IndexHook"> <property name="indexEngine" ref="indexEngine"/> <property name="authenticationContext" ref="authenticationContext"/> </bean> </service> </blueprint>
Fix PyCharm run configuration for Flask web app
<component name="ProjectRunConfigurationManager"> <configuration default="false" name="flask" type="PythonConfigurationType" factoryName="Python"> <option name="INTERPRETER_OPTIONS" value="" /> <option name="PARENT_ENVS" value="true" /> <envs> <env name="PYTHONUNBUFFERED" value="1" /> </envs> <option name="SDK_HOME" value="" /> <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> <option name="IS_MODULE_SDK" value="true" /> <option name="ADD_CONTENT_ROOTS" value="true" /> <option name="ADD_SOURCE_ROOTS" value="true" /> <module name="Pycroft" /> <EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" runner="coverage.py" /> <option name="SCRIPT_NAME" value="$PROJECT_DIR$/server_run.py" /> <option name="PARAMETERS" value="" /> <option name="SHOW_COMMAND_LINE" value="false" /> <RunnerSettings RunnerId="PyDebugRunner" /> <RunnerSettings RunnerId="PythonRunner" /> <ConfigurationWrapper RunnerId="PyDebugRunner" /> <ConfigurationWrapper RunnerId="PythonRunner" /> <method /> </configuration> </component>
<component name="ProjectRunConfigurationManager"> <configuration default="false" name="flask" type="PythonConfigurationType" factoryName="Python"> <option name="INTERPRETER_OPTIONS" value="" /> <option name="PARENT_ENVS" value="true" /> <envs> <env name="PYTHONUNBUFFERED" value="1" /> <env name="PYCROFT_DB_URI" value="postgresql+psycopg2:///pycroft?host=/var/run/postgresql" /> </envs> <option name="SDK_HOME" value="" /> <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" /> <option name="IS_MODULE_SDK" value="true" /> <option name="ADD_CONTENT_ROOTS" value="true" /> <option name="ADD_SOURCE_ROOTS" value="true" /> <module name="Pycroft" /> <EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" runner="coverage.py" /> <PathMappingSettings> <option name="pathMappings"> <list> <mapping local-root="$PROJECT_DIR$" remote-root="/pycroft" /> </list> </option> </PathMappingSettings> <option name="SCRIPT_NAME" value="$PROJECT_DIR$/server_run.py" /> <option name="PARAMETERS" value="--exposed --debug" /> <option name="SHOW_COMMAND_LINE" value="false" /> <RunnerSettings RunnerId="PyDebugRunner" /> <RunnerSettings RunnerId="PythonRunner" /> <ConfigurationWrapper RunnerId="PyDebugRunner" /> <ConfigurationWrapper RunnerId="PythonRunner" /> <method /> </configuration> </component>
Update the copyright cofig file for newer IntelliJ.
<component name="CopyrightManager"> <copyright> <option name="notice" value="/*&#10; * Copyright &amp;#36;today.year-present Facebook, Inc.&#10; *&#10; * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may&#10; * not use this file except in compliance with the License. You may obtain&#10; * a copy of the License at&#10; *&#10; * http://www.apache.org/licenses/LICENSE-2.0&#10; *&#10; * Unless required by applicable law or agreed to in writing, software&#10; * distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT&#10; * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the&#10; * License for the specific language governing permissions and limitations&#10; * under the License.&#10; */" /> <option name="keyword" value="Copyright" /> <option name="allowReplaceKeyword" value="" /> <option name="myName" value="Facebook" /> <option name="myLocal" value="true" /> </copyright> </component>
<component name="CopyrightManager"> <copyright> <option name="notice" value="Copyright &amp;#36;{today.year}-present Facebook, Inc.&#10;&#10; Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may&#10; not use this file except in compliance with the License. You may obtain&#10; a copy of the License at&#10;&#10; http://www.apache.org/licenses/LICENSE-2.0&#10;&#10; Unless required by applicable law or agreed to in writing, software&#10; distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT&#10; WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the&#10; License for the specific language governing permissions and limitations&#10; under the License." /> <option name="keyword" value="Copyright" /> <option name="allowReplaceKeyword" value="" /> <option name="myName" value="Facebook" /> <option name="myLocal" value="true" /> </copyright> </component>
Fix synopsis theme color when the text was small (Theme)
<TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/SynopsisContent" android:layout_width="wrap_content" android:layout_height="match_parent" android:text="@string/card_content_loading" />
<TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/SynopsisContent" android:layout_width="match_parent" android:layout_height="match_parent" android:text="@string/card_content_loading" />
Set jdk version back to 1.7
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="EntryPointsManager"> <entry_points version="2.0" /> </component> <component name="FrameworkDetectionExcludesConfiguration"> <file type="gwt" url="file://$PROJECT_DIR$" /> </component> <component name="IdProvider" IDEtalkID="11C57B850FE838F53EEF9BF094C97ADB" /> <component name="MavenProjectsManager"> <option name="originalFiles"> <list> <option value="$PROJECT_DIR$/pom.xml" /> </list> </option> </component> <component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" /> </project>
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="EntryPointsManager"> <entry_points version="2.0" /> </component> <component name="FrameworkDetectionExcludesConfiguration"> <file type="gwt" url="file://$PROJECT_DIR$" /> </component> <component name="IdProvider" IDEtalkID="11C57B850FE838F53EEF9BF094C97ADB" /> <component name="MavenProjectsManager"> <option name="originalFiles"> <list> <option value="$PROJECT_DIR$/pom.xml" /> </list> </option> </component> <component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="1.7" project-jdk-type="JavaSDK" /> </project>
Add scp goal to Ant script for automagic deployments
<?xml version="1.0"?> <project name="coin-portal-dist-build" default="build" basedir="."> <!-- Ant for replacing the property version in the spring config --> <target name="build" description="Replace the version token with the pom-version"> <copy file="${basedir}/src/main/resources/context/teams.xml" tofile="${basedir}/target/resources/context/teams.xml" overwrite="true"> <filterset> <filter token="VERSION" value="${coin-version}" /> </filterset> </copy> </target> </project>
<?xml version="1.0"?> <project name="coin-teams-dist-build" default="build" basedir="."> <!-- Ant for replacing the property version in the spring config --> <target name="build" description="Replace the version token with the pom-version"> <copy file="${basedir}/src/main/resources/context/teams.xml" tofile="${basedir}/target/resources/context/teams.xml" overwrite="true"> <filterset> <filter token="VERSION" value="${coin-version}"/> </filterset> </copy> </target> <!-- Usage: ant -f coin-portal-dist/build.xml -Dmachine=t04.dev.coin.surf.net scp --> <!-- Cannot directly call executable 'scp', because ant does not support the wildcard use --> <target name="scp" description="SecureCoPies the tar.gz to the configured machine"> <exec executable="sh" failonerror="true" failifexecutionfails="true"> <arg line="-cv 'scp ${basedir}/target/coin-portal-dist-*.tar.gz ${machine}:/home/bamboo/dist/'"/> </exec> </target> </project>
Change GridView scroll bar style to match padding
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context="eu.redray.trevie.MovieGridFragment" tools:showIn="@layout/activity_main"> <GridView android:id="@+id/movie_grid" android:layout_width="match_parent" android:layout_height="match_parent" android:clipToPadding="false" android:gravity="center" android:numColumns="2" android:paddingBottom="2dp" android:paddingLeft="2dp" android:paddingRight="2dp" android:paddingTop="4dp" android:scrollbarStyle="outsideInset" android:stretchMode="columnWidth"/> </LinearLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" tools:context="eu.redray.trevie.MovieGridFragment" tools:showIn="@layout/activity_main"> <GridView android:id="@+id/movie_grid" android:layout_width="match_parent" android:layout_height="match_parent" android:clipToPadding="false" android:gravity="center" android:numColumns="2" android:paddingBottom="2dp" android:paddingLeft="2dp" android:paddingRight="2dp" android:paddingTop="4dp" android:scrollbarStyle="outsideOverlay" android:stretchMode="columnWidth"/> </LinearLayout>
Clean and simplify res_config view
<?xml version="1.0" encoding="utf-8"?> <odoo> <record id="res_config_settings_view_form" model="ir.ui.view"> <field name="name">res.config.settings.view.form.inherit.website.sale.coupon</field> <field name="model">res.config.settings</field> <field name="inherit_id" ref="website.res_config_settings_view_form"/> <field name="arch" type="xml"> <xpath expr="//div[@id='sale_coupon']" position="replace"> <div class="mt16" attrs="{'invisible': [('module_sale_coupon', '=', False)]}"> <button name="%(sale_coupon.sale_coupon_program_action_promo_program)d" icon="fa-arrow-right" type="action" string="Promotion Programs" class="btn-link"/> </div> <div attrs="{'invisible': [('module_sale_coupon', '=', False)]}"> <button name="%(sale_coupon.sale_coupon_program_action_coupon_program)d" icon="fa-arrow-right" type="action" string="Coupon Programs" class="btn-link"/> </div> </xpath> </field> </record> </odoo>
<?xml version="1.0" encoding="utf-8"?> <odoo> <record id="res_config_settings_view_form" model="ir.ui.view"> <field name="name">res.config.settings.view.form.inherit.website.sale.coupon</field> <field name="model">res.config.settings</field> <field name="inherit_id" ref="website.res_config_settings_view_form"/> <field name="arch" type="xml"> <xpath expr="//div[@id='sale_coupon']" position="after"> <div class="content-group"> <div class="mt16" attrs="{'invisible': [('module_sale_coupon', '=', False)]}"> <button name="%(sale_coupon.sale_coupon_program_action_promo_program)d" icon="fa-arrow-right" type="action" string="Promotion Programs" class="btn-link"/> </div> <div attrs="{'invisible': [('module_sale_coupon', '=', False)]}"> <button name="%(sale_coupon.sale_coupon_program_action_coupon_program)d" icon="fa-arrow-right" type="action" string="Coupon Programs" class="btn-link"/> </div> </div> </xpath> </field> </record> </odoo>
Reduce logging in tests to INFO level
<configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern> %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n%rootException </pattern> </encoder> </appender> <logger name="org.hibernate" level="INFO" /> <root level="DEBUG"> <appender-ref ref="STDOUT" /> </root> <appender name="STDOUT-SQL" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern> [%10t] [SQL] - %msg %n </pattern> </encoder> </appender> <!-- set to TRACE to see hibernate generated sql--> <logger name="org.hibernate.SQL" level="INFO"> <!--<logger name="org.hibernate.SQL" level="TRACE">--> <appender-ref ref="STDOUT-SQL" /> </logger> </configuration>
<configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern> %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n%rootException </pattern> </encoder> </appender> <logger name="org.hibernate" level="INFO" /> <root level="INFO"> <appender-ref ref="STDOUT" /> </root> <appender name="STDOUT-SQL" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern> [%10t] [SQL] - %msg %n </pattern> </encoder> </appender> <!-- set to TRACE to see hibernate generated sql--> <logger name="org.hibernate.SQL" level="INFO"> <!--<logger name="org.hibernate.SQL" level="TRACE">--> <appender-ref ref="STDOUT-SQL" /> </logger> </configuration>
Add picking_state field to purchase order view tree. TT37597
<?xml version="1.0" encoding="UTF-8" ?> <odoo> <record id="purchase_order_form" model="ir.ui.view"> <field name="model">purchase.order</field> <field name="inherit_id" ref="purchase.purchase_order_form" /> <field name="arch" type="xml"> <field name="currency_id" position="after"> <field name="picking_state" attrs="{'invisible':[('picking_state','=', 'draft')]}" /> </field> </field> </record> <record id="purchase_order_tree" model="ir.ui.view"> <field name="model">purchase.order</field> <field name="inherit_id" ref="purchase.purchase_order_tree" /> <field name="arch" type="xml"> <field name="state" position="after"> <field name="picking_state" attrs="{'invisible':[('picking_state','=', 'draft')]}" /> </field> </field> </record> </odoo>
<?xml version="1.0" encoding="UTF-8" ?> <odoo> <record id="purchase_order_form" model="ir.ui.view"> <field name="model">purchase.order</field> <field name="inherit_id" ref="purchase.purchase_order_form" /> <field name="arch" type="xml"> <field name="currency_id" position="after"> <field name="picking_state" attrs="{'invisible':[('picking_state','=', 'draft')]}" /> </field> </field> </record> <record id="purchase_order_tree" model="ir.ui.view"> <field name="model">purchase.order</field> <field name="inherit_id" ref="purchase.purchase_order_tree" /> <field name="arch" type="xml"> <field name="state" position="after"> <field name="picking_state" attrs="{'invisible':[('picking_state','=', 'draft')]}" /> </field> </field> </record> <record id="purchase_order_view_tree" model="ir.ui.view"> <field name="model">purchase.order</field> <field name="inherit_id" ref="purchase.purchase_order_view_tree" /> <field name="arch" type="xml"> <field name="state" position="after"> <field name="picking_state" optional="hide" attrs="{'invisible':[('picking_state','=', 'draft')]}" /> </field> </field> </record> </odoo>
Fix bugs that prevented uploading the pressure.
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.google.android.apps.pressuresensorservice"> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> <application android:allowBackup="true" android:label="@string/app_name" android:icon="@drawable/ic_launcher" android:theme="@style/AppTheme"> <receiver android:name=".MyOnBootReceiver" > <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> </intent-filter> </receiver> <activity android:name=".MainActivity" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <intent-filter> <action android:name="com.google.android.apps.pressuresensorservice.OnPressure" /> </intent-filter> </activity> <service android:enabled="true" android:name=".PressureSensorIntentService"> <intent-filter> <action android:name = "com.google.android.apps.pressuresensorservice.PressureSensorIntentService"> </action> </intent-filter> </service> </application> </manifest>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.google.android.apps.pressuresensorservice"> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> <application android:allowBackup="true" android:label="@string/app_name" android:icon="@drawable/ic_launcher" android:theme="@style/AppTheme"> <receiver android:name=".MyOnBootReceiver" > <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> </intent-filter> </receiver> <activity android:name=".MainActivity" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <intent-filter> <action android:name="com.google.android.apps.pressuresensorservice.OnPressure" /> </intent-filter> </activity> <service android:enabled="true" android:name=".PressureSensorIntentService"> <intent-filter> <action android:name = "com.google.android.apps.pressuresensorservice.PressureSensorIntentService"> </action> </intent-filter> </service> <service android:name=".UploadIntentService"> </service> </application> </manifest>