You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2013/03/11 16:49:22 UTC
svn commit: r1455197 [1/3] - in /pivot/trunk: ./
examples/src/org/apache/pivot/examples/svg/ tests/src/org/apache/pivot/tests/
tests/src/org/apache/pivot/tests/issues/pivot859/
wtk-terra/src/org/apache/pivot/wtk/skin/terra/
wtk/src/org/apache/pivot/wtk...
Author: smartini
Date: Mon Mar 11 15:49:22 2013
New Revision: 1455197
URL: http://svn.apache.org/r1455197
Log:
merge fixes from 2.0.x
Added:
pivot/trunk/examples/src/org/apache/pivot/examples/svg/logo-64x64.png (with props)
pivot/trunk/tests/src/org/apache/pivot/tests/image_view_svg_test.bxml
pivot/trunk/tests/src/org/apache/pivot/tests/logo.svg
Modified:
pivot/trunk/README
pivot/trunk/RELEASE-NOTES
pivot/trunk/examples/src/org/apache/pivot/examples/svg/svg_example.bxml
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot859/pivot859.html
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraPushButtonSkin.java
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTableViewSkin.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/Label.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/content/ButtonDataRenderer.java
pivot/trunk/wtk/src/org/apache/pivot/wtk/media/Image.java
Modified: pivot/trunk/README
URL: http://svn.apache.org/viewvc/pivot/trunk/README?rev=1455197&r1=1455196&r2=1455197&view=diff
==============================================================================
--- pivot/trunk/README (original)
+++ pivot/trunk/README Mon Mar 11 15:49:22 2013
@@ -16,24 +16,24 @@ in their associated libraries:
Distribution JARs
=================
-* Core (pivot-core-2.0.2.jar):
+* Core (pivot-core-2.1.0.jar):
A set of common, non-UI-specific classes.
-* WTK (pivot-wtk-2.0.2.jar):
+* WTK (pivot-wtk-2.1.0.jar):
Classes for user interface development, including windows, dialogs, buttons,
lists, text input, layout, drag and drop, XML markup, etc.
-* WTK Terra Theme (pivot-wtk-terra-2.0.2.jar):
+* WTK Terra Theme (pivot-wtk-terra-2.1.0.jar):
The default WTK theme provider for Pivot, responsible for the look & feel of
the user interface components.
-* Web (pivot-web-2.0.2.jar):
+* Web (pivot-web-2.1.0.jar):
Classes to facilitate communication with remote data services.
-* Web Server (pivot-web-server-2.0.2.jar):
+* Web Server (pivot-web-server-2.1.0.jar):
Classes to facilitate implementation of server-side data services.
-* Charting (pivot-charts-2.0.2.jar):
+* Charting (pivot-charts-2.1.0.jar):
Classes for adding interactive charting capabilities to Pivot applications.
To begin developing with Pivot, simply include the necessary libraries on your
@@ -90,4 +90,4 @@ Documentation
Pivot home page: http://pivot.apache.org/
Demos: http://pivot.apache.org/demos/
Tutorials: http://pivot.apache.org/tutorials/
-Javadoc: http://pivot.apache.org/2.0.2/docs/api/
+Javadoc: http://pivot.apache.org/2.1.0/docs/api/
Modified: pivot/trunk/RELEASE-NOTES
URL: http://svn.apache.org/viewvc/pivot/trunk/RELEASE-NOTES?rev=1455197&r1=1455196&r2=1455197&view=diff
==============================================================================
--- pivot/trunk/RELEASE-NOTES (original)
+++ pivot/trunk/RELEASE-NOTES Mon Mar 11 15:49:22 2013
@@ -15,33 +15,47 @@
limitations under the License.
================================================================================
-Release Notes for Pivot 2.0.2:
+Release Notes for Pivot 2.0.3:
** New Feature
+ * [PIVOT-455] - Add an alignment style to TerraTextInputSkin
+ * [PIVOT-731] - Ignore Flag for controls within a Rollup Heading
+ * [PIVOT-834] - Form.getSection(Component) to return the section for nested components
** Improvement
- * [PIVOT-508] - TextArea displays blinking cursor even when it's in read-only mode.
- * [PIVOT-771] - getSelectedIndex()/getSelectedPath() in TreeView, ListView and TableView should not throw Exception when in SelectMode.MULTI
- * [PIVOT-836] - Improve Performance of Graphics
- * [PIVOT-839] - Czech localization
- * [PIVOT-840] - Improve instructions on how to use BXML in an application
- * [PIVOT-842] - Disable volatile buffer even in unsigned Applets, using the existing flag
- * [PIVOT-845] - Russian localization
- * [PIVOT-847] - Update SVGSalamander jars to the latest stable version
- * [PIVOT-852] - add methods for show/log info, callable even from dynamic languages include files
- * [PIVOT-854] - Improvements of Palette
+ * [PIVOT-536] - BXMLSerializer should provide a structure error object when a serializer error occurs
+ * [PIVOT-558] - BeanAdapter should have a putAll method to allow multiple property set in one method call...especially useful when setting properties from a JSON string
+ * [PIVOT-679] - TableViewImageCellRenderer should render disabled rows with an opacity of 0.5f
+ * [PIVOT-783] - Calling setScale on scaleDecorator doesn't update the display
+ * [PIVOT-784] - Improvement in clear() and clearSelection() methods in some components
+ * [PIVOT-857] - Add activity indicator to file browser while loading a directory
+ * [PIVOT-867] - Ability to selectively enable/disable a Tree node
+ * [PIVOT-870] - Small improvements in BXMLSerializer for interacting with JavaScript (inside the JVM)
+ * [PIVOT-875] - JSON should support using pivot.collections.Map directly
+ * [PIVOT-879] - Need access to Displays list in order to support multiple host windows
+ * [PIVOT-883] - Update Javadoc for ComponentStateListener method arguments
+ * [PIVOT-889] - Allow newline to do hard break in Label text when wrapping
+ * [PIVOT-893] - Set lower default value for maximumLength in TextInput and TextArea
+ * [PIVOT-896] - do not allow to set text to null in Labels
** Bug
- * [PIVOT-707] - TextArea cant be edited when pivot applet loses focus
- * [PIVOT-738] - artefact problem with 2 scrollPane and TableView
- * [PIVOT-751] - TabPaneSelectionListener#selectedIndexChanged called twice when first tab is inserted
- * [PIVOT-782] - java7 / applets : input fields not working
- * [PIVOT-800] - FileBrowserSheet#setSelectedFile() does not take effect
- * [PIVOT-811] - ScrollPane painting lag / ListView focus issues
- * [PIVOT-832] - FileBrowserSheet.setRootDirectory(...) fails the first time on drives other than system volume
- * [PIVOT-835] - TextPane is unusable in 2.0.1 release
- * [PIVOT-837] - TabPane with vertical tabOrientation and corner's content with top verticalAlignment
- * [PIVOT-855] - Compilation errors with Java 7 (JDK 1.7)
+ * [PIVOT-655] - FileBrowserSheet save dialog appends the saveas field content to the selected folders/file
+ * [PIVOT-721] - ButtonDataRenderer#setFillIcon has no effect, because its BoxPane doesn't have fill style
+ * [PIVOT-781] - Unable to get an initially maximized HostFrame in DesktopApplicationContext due to bug in Java 6 under ubuntu/linux
+ * [PIVOT-843] - Copy Paste issues with CF_DIB clipboard type image
+ * [PIVOT-859] - Multi-page applet failed to route to respond
+ * [PIVOT-860] - CPU Usage at 100% when displaying an Expander
+ * [PIVOT-861] - Memory leak: Window icon ImageListenerList retains reference to closed windows, preventing garbage collection
+ * [PIVOT-862] - FileBrowser [Sheet] display the contents of the root instead of actual folder in some circumstancies
+ * [PIVOT-865] - Crash in Save, As dialog when path + filename entered in text field
+ * [PIVOT-872] - Build error with JDK 7 Update 7
+ * [PIVOT-874] - StockTracker: removing multiple symbols may remove unselected ones too
+ * [PIVOT-876] - When user presses the tab key the applet loses focus and never regains it
+ * [PIVOT-880] - NPE when calling FileBrowser.setRootDirectory using a UNC path
+ * [PIVOT-887] - Tutorial example code for NumericSpinnerData doesn't work as shown
+ * [PIVOT-888] - Nullpointer Exception while editing TextArea with text property two-way bounded
+ * [PIVOT-892] - DoubleValidator and FloatValidator do not allow exponents to be entered
+ * [PIVOT-898] - fillIcon in buttons seems to let images display with wrong dimension
** Task
Added: pivot/trunk/examples/src/org/apache/pivot/examples/svg/logo-64x64.png
URL: http://svn.apache.org/viewvc/pivot/trunk/examples/src/org/apache/pivot/examples/svg/logo-64x64.png?rev=1455197&view=auto
==============================================================================
Binary file - no diff available.
Propchange: pivot/trunk/examples/src/org/apache/pivot/examples/svg/logo-64x64.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: pivot/trunk/examples/src/org/apache/pivot/examples/svg/svg_example.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/examples/src/org/apache/pivot/examples/svg/svg_example.bxml?rev=1455197&r1=1455196&r2=1455197&view=diff
==============================================================================
--- pivot/trunk/examples/src/org/apache/pivot/examples/svg/svg_example.bxml (original)
+++ pivot/trunk/examples/src/org/apache/pivot/examples/svg/svg_example.bxml Mon Mar 11 15:49:22 2013
@@ -26,14 +26,38 @@ limitations under the License.
<BoxPane orientation="vertical" styles="{padding:12,
horizontalAlignment:'center', verticalAlignment:'center'}">
<Label text="Welcome to Apache Pivot!" styles="{font:{size:16}}"/>
+ <Label text="" styles="{font:{size:16}}"/> <!-- spacer //-->
- <ImageView image="@logo.svg" styles="{verticalAlignment:'top'}"/>
+ <ImageView image="@logo.svg" styles="{verticalAlignment:'top'}"
+ tooltipText="Pivot Logo as SVG Image"
+ />
+ <Label text="" styles="{font:{size:16}}"/> <!-- spacer //-->
<BoxPane>
- <PushButton>
+ <PushButton tooltipText="Button with PNG Image inside">
<dataRenderer>
- <content:ButtonDataRenderer orientation="vertical" iconWidth="64" iconHeight="64"
- fillIcon="true"/>
+ <content:ButtonDataRenderer orientation="vertical"
+ iconWidth="64" iconHeight="64"
+ fillIcon="true"
+ />
+ </dataRenderer>
+
+ <buttonData>
+ <content:ButtonData icon="@logo-64x64.png" text="Say Hello"/>
+ </buttonData>
+
+ <buttonPressListeners>
+ function buttonPressed(button) {
+ org.apache.pivot.wtk.Prompt.prompt("Hello from Pivot", button.window);
+ }
+ </buttonPressListeners>
+ </PushButton>
+ <PushButton tooltipText="Button with SVG Image inside">
+ <dataRenderer>
+ <content:ButtonDataRenderer orientation="vertical"
+ iconWidth="64" iconHeight="64"
+ fillIcon="true"
+ />
</dataRenderer>
<buttonData>
@@ -47,6 +71,8 @@ limitations under the License.
</buttonPressListeners>
</PushButton>
</BoxPane>
+ <Label text="" styles="{font:{size:16}}"/> <!-- spacer //-->
+
</BoxPane>
</ScrollPane>
</Border>
Added: pivot/trunk/tests/src/org/apache/pivot/tests/image_view_svg_test.bxml
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/image_view_svg_test.bxml?rev=1455197&view=auto
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/image_view_svg_test.bxml (added)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/image_view_svg_test.bxml Mon Mar 11 15:49:22 2013
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+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.
+-->
+
+<Window title="ImageView Test" maximized="true"
+ xmlns:bxml="http://pivot.apache.org/bxml"
+ xmlns="org.apache.pivot.wtk">
+ <ImageView image="@logo.svg"
+ styles="{fill:false, preserveAspectRatio:false,
+ horizontalAlignment:'left', verticalAlignment:'bottom'}"/>
+</Window>
Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot859/pivot859.html
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot859/pivot859.html?rev=1455197&r1=1455196&r2=1455197&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot859/pivot859.html (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot859/pivot859.html Mon Mar 11 15:49:22 2013
@@ -1,19 +1,19 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!--
-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.
+<!--
+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.
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
@@ -131,3 +131,4 @@ limitations under the License.
</body>
</html>
+