Author: rwhitcomb
Date: Tue Jan 17 00:02:46 2017
New Revision: 1779123
URL: http://svn.apache.org/viewvc?rev=1779123&view=rev
Log:
Update mergeinfo for r1703029 into trunk
Modified:
pivot/trunk/ (props changed)
Propchange: pivot/t
Author: rwhitcomb
Date: Tue Jan 17 17:52:38 2017
New Revision: 1779224
URL: http://svn.apache.org/viewvc?rev=1779224&view=rev
Log:
PIVOT-965: Add "defaultLanguage" attribute to BXMLSerializer so that custom
scripting language (for instance, "rhino" for compatibility) can
Author: rwhitcomb
Date: Tue Jan 24 23:24:25 2017
New Revision: 1780122
URL: http://svn.apache.org/viewvc?rev=1780122&view=rev
Log:
PIVOT-965 (more): Finally have the XMLViewer application running with Java 8
and Nashorn script engine. After extensive debugging and exhaustive rework
of the
Author: rwhitcomb
Date: Fri Feb 17 18:34:30 2017
New Revision: 1783447
URL: http://svn.apache.org/viewvc?rev=1783447&view=rev
Log:
PIVOT-992: Change the "getSelectedText" method of TextPane to just use the
equivalent
call to "getText(start, finish)" instead of doing a
Author: rwhitcomb
Date: Fri Feb 17 18:39:51 2017
New Revision: 1783448
URL: http://svn.apache.org/viewvc?rev=1783448&view=rev
Log:
PIVOT-992: Change the "getSelectedText" method of TextPane to just use the
equivalent
call to "getText(start, finish)" instead of doing a
Author: rwhitcomb
Date: Fri Feb 17 19:26:04 2017
New Revision: 1783453
URL: http://svn.apache.org/viewvc?rev=1783453&view=rev
Log:
PIVOT-992: Merge some ancillary changes (piecemeal) from "trunk" into
"branches/2.0.x" that are needed to make the TextPane changes merged
Author: rwhitcomb
Date: Wed Apr 12 22:19:58 2017
New Revision: 1791190
URL: http://svn.apache.org/viewvc?rev=1791190&view=rev
Log:
Add a convenience method to TreeView to expand all the parents of a particular
path so that the node at the path is fully exposed. I needed this in our
applica
Author: rwhitcomb
Date: Mon Apr 24 15:04:50 2017
New Revision: 1792480
URL: http://svn.apache.org/viewvc?rev=1792480&view=rev
Log:
PIVOT-993: Update Version.java to work with Oracle JDK 8u131.
Problem related to trying to parse the "131" value into a byte
which results in overflo
Author: rwhitcomb
Date: Mon Apr 24 16:52:38 2017
New Revision: 1792518
URL: http://svn.apache.org/viewvc?rev=1792518&view=rev
Log:
PIVOT-993: Update Version.java to work with Oracle JDK 8u131.
Problem related to trying to parse the "131" value into a byte
which results in overflo
Author: rwhitcomb
Date: Mon Apr 24 18:45:14 2017
New Revision: 1792531
URL: http://svn.apache.org/viewvc?rev=1792531&view=rev
Log:
PIVOT-993: Update Version.java to correctly calculate the long
"getNumber()" value. Update IllegalArgumentException messages to
indicate up to 7FFF i
Author: rwhitcomb
Date: Mon Apr 24 18:50:14 2017
New Revision: 1792532
URL: http://svn.apache.org/viewvc?rev=1792532&view=rev
Log:
PIVOT-993: Update Version.java to correctly calculate the long
"getNumber()" value. Update IllegalArgumentException messages to
indicate up to 7FFF i
Author: rwhitcomb
Date: Mon Apr 24 18:59:32 2017
New Revision: 1792534
URL: http://svn.apache.org/viewvc?rev=1792534&view=rev
Log:
Allow JDK8 to build our Jenkins maintenance builds.
Modified:
pivot/branches/jenkins/build.xml
Modified: pivot/branches/jenkins/build.xml
URL:
Author: rwhitcomb
Date: Mon Apr 24 22:47:35 2017
New Revision: 1792556
URL: http://svn.apache.org/viewvc?rev=1792556&view=rev
Log:
Code cleanup: Initialize "message" parameter in Alert's no-arg
constructor to an empty string to avoid IllegalArgumentException
when Label text w
Author: rwhitcomb
Date: Mon Apr 24 22:53:03 2017
New Revision: 1792557
URL: http://svn.apache.org/viewvc?rev=1792557&view=rev
Log:
Code cleanup: Initialize "message" parameter in Alert's no-arg
constructor to an empty string to avoid IllegalArgumentException
when Label text w
Author: rwhitcomb
Date: Tue Apr 25 00:26:26 2017
New Revision: 1792559
URL: http://svn.apache.org/viewvc?rev=1792559&view=rev
Log:
PIVOT-995: Need to reload the "typeImageView" after an Alert or Prompt window
close event has cleared it, when the window is re-opened.
Otherwise th
Author: rwhitcomb
Date: Tue Apr 25 00:28:12 2017
New Revision: 1792561
URL: http://svn.apache.org/viewvc?rev=1792561&view=rev
Log:
PIVOT-995: Need to reload the "typeImageView" after an Alert or Prompt window
close event has cleared it, when the window is re-opened.
Otherwise th
Author: rwhitcomb
Date: Tue Apr 25 16:14:22 2017
New Revision: 1792629
URL: http://svn.apache.org/viewvc?rev=1792629&view=rev
Log:
Code cleanup: Just some tiny changes to the XMLViewer application, suggested
as I was getting it to work again with Nashorn scripting engine.
Modified:
p
Author: rwhitcomb
Date: Tue Apr 25 16:15:52 2017
New Revision: 1792630
URL: http://svn.apache.org/viewvc?rev=1792630&view=rev
Log:
More work on using the Utils.checkNull utility method and his brothers in more
key places.
Also moved some of the index checking methods into Utils as well, so
Author: rwhitcomb
Date: Tue Apr 25 16:59:16 2017
New Revision: 1792636
URL: http://svn.apache.org/viewvc?rev=1792636&view=rev
Log:
More work on using the Utils.checkNull utility method and his brothers in other
places.
Modified:
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/t
Author: rwhitcomb
Date: Wed Apr 26 17:14:16 2017
New Revision: 1792775
URL: http://svn.apache.org/viewvc?rev=1792775&view=rev
Log:
PIVOT-996: Update the Version.decode() method to deal gracefully with a known
fail
case from the SAP JVM where the JVM version string doesn't have the &
Author: rwhitcomb
Date: Wed Apr 26 17:41:11 2017
New Revision: 1792783
URL: http://svn.apache.org/viewvc?rev=1792783&view=rev
Log:
PIVOT-996: Update the Version.decode() method to deal gracefully with a known
fail
case from the SAP JVM where the JVM version string doesn't have the &
Author: rwhitcomb
Date: Wed Apr 26 19:00:11 2017
New Revision: 1792793
URL: http://svn.apache.org/viewvc?rev=1792793&view=rev
Log:
PIVOT-996: Add new code to ApplicationContext to get the Java Runtime version,
which is in addition to the Java JVM version, and to make it available to other
Author: rwhitcomb
Date: Wed Apr 26 19:04:32 2017
New Revision: 1792794
URL: http://svn.apache.org/viewvc?rev=1792794&view=rev
Log:
PIVOT-996: Add new code to ApplicationContext to get the Java Runtime version,
which is in addition to the Java JVM version, and to make it available to other
Author: rwhitcomb
Date: Wed Apr 26 20:33:25 2017
New Revision: 1792807
URL: http://svn.apache.org/viewvc?rev=1792807&view=rev
Log:
PIVOT-996: Yet more safety measures: Parse the version strings inside a new
"safelyDecodeVersion()" method that traps all exceptions and provides an
&
Author: rwhitcomb
Date: Wed Apr 26 20:41:17 2017
New Revision: 1792808
URL: http://svn.apache.org/viewvc?rev=1792808&view=rev
Log:
PIVOT-996: Yet more safety measures: Parse the version strings inside a new
"safelyDecodeVersion()" method that traps all exceptions and provides an
&
Author: rwhitcomb
Date: Mon May 1 19:08:58 2017
New Revision: 1793399
URL: http://svn.apache.org/viewvc?rev=1793399&view=rev
Log:
Add some new convenience methods for the Alert class -- a new "error"
alert that sets MessageType.ERROR, and overrides to set the preferred
width of t
Author: rwhitcomb
Date: Tue May 2 15:07:34 2017
New Revision: 1793523
URL: http://svn.apache.org/viewvc?rev=1793523&view=rev
Log:
Fix use of Java 8 method that is not supported by Java 7 (recent changes
to BXMLSerializer.java).
Modified:
pivot/trunk/core/src/org/apache/pivot/b
Author: rwhitcomb
Date: Mon May 8 17:33:41 2017
New Revision: 1794420
URL: http://svn.apache.org/viewvc?rev=1794420&view=rev
Log:
Add functionality to ScriptApplication such that it will look
for the "src=" file as a local file if it can't find it in the
classpath as a resou
Author: rwhitcomb
Date: Mon May 8 17:46:01 2017
New Revision: 1794425
URL: http://svn.apache.org/viewvc?rev=1794425&view=rev
Log:
Add a "script.bat" as a shortcut way of running ScriptApplication
conveniently from the command line on Windows. The *nix script
has already been
Author: rwhitcomb
Date: Wed May 10 22:38:41 2017
New Revision: 1794769
URL: http://svn.apache.org/viewvc?rev=1794769&view=rev
Log:
PIVOT-965: Further changes needed to resolve user script functions
that used to work with Rhino, but need more processing to work with
Nashorn. This time it i
Author: rwhitcomb
Date: Fri May 12 03:45:21 2017
New Revision: 1794915
URL: http://svn.apache.org/viewvc?rev=1794915&view=rev
Log:
Code cleanup: do some internal refactoring of the keyboard handling in
TerraTextInputSkin just for clarity.
Modified:
pivot/trunk/wtk-terra/src/org/ap
Author: rwhitcomb
Date: Mon May 15 01:06:58 2017
New Revision: 1795128
URL: http://svn.apache.org/viewvc?rev=1795128&view=rev
Log:
Trying to debug why unit tests are failing on Jenkins:
* Halt and fail the build if the unit tests fail.
* Turn on "verbose" for the tests to see exactl
Author: rwhitcomb
Date: Mon May 15 02:02:42 2017
New Revision: 1795130
URL: http://svn.apache.org/viewvc?rev=1795130&view=rev
Log:
Remove "haltonfailure" for unit tests to allow all tests to complete.
Modified:
pivot/trunk/build.xml
Modified: pivot/trunk/build.
Author: rwhitcomb
Date: Mon May 15 05:57:23 2017
New Revision: 1795135
URL: http://svn.apache.org/viewvc?rev=1795135&view=rev
Log:
Tweak some line wrapping and do a static import to reduce line length.
Modified:
pivot/trunk/wtk/src/org/apache/pivot/wtk/DesktopApplicationContext.
Author: rwhitcomb
Date: Mon May 15 19:41:22 2017
New Revision: 1795235
URL: http://svn.apache.org/viewvc?rev=1795235&view=rev
Log:
Add "hamcrest-core-1.3.jar" to the Jenkins build to resolve the dependencies
in JUnit 4.12.
Added:
pivot/jenkins/ci-builds-on-jenkins/lib/hamcres
Author: rwhitcomb
Date: Mon May 15 20:03:20 2017
New Revision: 1795236
URL: http://svn.apache.org/viewvc?rev=1795236&view=rev
Log:
Reset test verbosity to "false" now that we have identified and resolved
the cause of the Jenkins test failures.
Modified:
pivot/trunk/bu
Author: rwhitcomb
Date: Mon May 15 21:09:49 2017
New Revision: 1795242
URL: http://svn.apache.org/viewvc?rev=1795242&view=rev
Log:
Extend the ScriptApplication program to be able to display BXML files
that don't have a Window (or a subclass of it) as the outermost component
by creating
Author: rwhitcomb
Date: Mon May 15 22:18:59 2017
New Revision: 1795246
URL: http://svn.apache.org/viewvc?rev=1795246&view=rev
Log:
Use some Utils methods in ListenerList to simplify / regularize some of the
parameter validation checks.
Make a new "checkZeroBasedIndex" method in Uti
Author: rwhitcomb
Date: Wed May 17 17:29:09 2017
New Revision: 1795435
URL: http://svn.apache.org/viewvc?rev=1795435&view=rev
Log:
PIVOT-997: Deprecate and remove use of WTKListenerList since it is a now
unnecessary and empty class.
This is first of a set of changes to the internal WTK
Author: rwhitcomb
Date: Wed May 17 18:03:41 2017
New Revision: 1795437
URL: http://svn.apache.org/viewvc?rev=1795437&view=rev
Log:
PIVOT-997: Remove the "TextInputMethodListener.java" mistakenly added in the
previous
commit. This is part of another change that is not complete
Author: rwhitcomb
Date: Wed May 17 18:17:11 2017
New Revision: 1795441
URL: http://svn.apache.org/viewvc?rev=1795441&view=rev
Log:
PIVOT-997: Another round of changing WTKListenerList to just ListenerList
as part of the effort to deprecate and then remove this now empty class.
Modi
Author: rwhitcomb
Date: Wed May 17 18:25:15 2017
New Revision: 1795442
URL: http://svn.apache.org/viewvc?rev=1795442&view=rev
Log:
PIVOT-997: Another round of changing WTKListenerList to just ListenerList
as part of the effort to deprecate and then remove this now empty class.
Modi
Author: rwhitcomb
Date: Wed May 17 18:45:30 2017
New Revision: 1795444
URL: http://svn.apache.org/viewvc?rev=1795444&view=rev
Log:
PIVOT-997: Remove premature references to TextInputMethodListener which were
inadvertently added in addition to the changes for WTKListenerList.
Modi
Author: rwhitcomb
Date: Thu May 18 01:50:14 2017
New Revision: 1795471
URL: http://svn.apache.org/viewvc?rev=1795471&view=rev
Log:
PIVOT-850: First phase of Input Method Editor support for the text controls:
1) Add the infrastructure to pass the message in/out of the text fields from
Author: rwhitcomb
Date: Wed May 24 15:58:57 2017
New Revision: 1796076
URL: http://svn.apache.org/viewvc?rev=1796076&view=rev
Log:
Add two convenience classes for ListView and Spinner that implement the
respective ItemBindMapping interfaces in terms of an Integer value that
represents just
Author: rwhitcomb
Date: Wed May 24 16:13:32 2017
New Revision: 1796077
URL: http://svn.apache.org/viewvc?rev=1796077&view=rev
Log:
Correct misplaced opening braces, according to the existing Pivot
style guidelines.
Modified:
pivot/trunk/wtk/src/org/apache/pivot/wtk/con
Author: rwhitcomb
Date: Thu May 25 20:07:30 2017
New Revision: 1796188
URL: http://svn.apache.org/viewvc?rev=1796188&view=rev
Log:
Add a new flavor of Utils.checkNull that only requires the one argument,
which will throw an IllegalArgumentException with no message.
Modified:
pivot/trunk/
Author: rwhitcomb
Date: Thu May 25 21:10:19 2017
New Revision: 1796197
URL: http://svn.apache.org/viewvc?rev=1796197&view=rev
Log:
PIVOT-850: Fix the problem of the Kanji input entry window being misplaced
because the "getTextLocation" method is supposed to return screen-relati
Author: rwhitcomb
Date: Thu May 25 22:13:00 2017
New Revision: 1796215
URL: http://svn.apache.org/viewvc?rev=1796215&view=rev
Log:
PIVOT-850: Fixed a problem where backspace to completely erase text using
the input method editors would cause an exception. The solution is to clear
Author: rwhitcomb
Date: Thu May 25 23:22:18 2017
New Revision: 1796226
URL: http://svn.apache.org/viewvc?rev=1796226&view=rev
Log:
More work on using the Utils.checkNull utility method and his brothers in other
places.
Modified:
pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/LabelSkin.
Author: rwhitcomb
Date: Fri May 26 00:26:23 2017
New Revision: 1796229
URL: http://svn.apache.org/viewvc?rev=1796229&view=rev
Log:
More work on using the Utils.checkNull utility method and his brothers in other
places.
Modified:
pivot/trunk/charts/src/org/apache/pivot/charts/ChartView.
Author: rwhitcomb
Date: Fri May 26 20:19:35 2017
New Revision: 1796337
URL: http://svn.apache.org/viewvc?rev=1796337&view=rev
Log:
In preparation for switching to Java 8 for "trunk" builds, fix a couple
of the core tests that were failing in this configuration due to stricter
type
Author: rwhitcomb
Date: Mon May 29 17:17:52 2017
New Revision: 1796667
URL: http://svn.apache.org/viewvc?rev=1796667&view=rev
Log:
PIVOT-998: Update build requirements for "trunk" to Java 8.
First step is to change the compiler source and target to 1.8
in the "build.pro
Author: rwhitcomb
Date: Mon May 29 18:41:19 2017
New Revision: 1796670
URL: http://svn.apache.org/viewvc?rev=1796670&view=rev
Log:
PIVOT-999: First update to take advantage of Java 8 features:
* Make a couple "default" methods in the Dictionary interface to
get and set Integer va
Author: rwhitcomb
Date: Mon May 29 19:32:55 2017
New Revision: 1796681
URL: http://svn.apache.org/viewvc?rev=1796681&view=rev
Log:
More work on using the Utils.checkNull utility method and his brothers in other
places.
Modified:
pivot/trunk/wtk/src/org/apache/pivot/wtk/
Author: rwhitcomb
Date: Mon May 29 19:35:10 2017
New Revision: 1796682
URL: http://svn.apache.org/viewvc?rev=1796682&view=rev
Log:
Add additional flavor of "decodeColor" method in GraphicsUtilities so that the
IllegalArgumentException thrown can identify the argument that is in err
Author: rwhitcomb
Date: Mon May 29 19:49:01 2017
New Revision: 1796686
URL: http://svn.apache.org/viewvc?rev=1796686&view=rev
Log:
PIVOT-999: Another round of taking advantage of Java 8 features, plus
some other changes:
* Use the new default "getIntValue" and "setIntValue&
Author: rwhitcomb
Date: Mon May 29 20:04:10 2017
New Revision: 1796689
URL: http://svn.apache.org/viewvc?rev=1796689&view=rev
Log:
Check for null font dictionary input to "deriveFont" in Theme.java;
Use class name to derive Theme PROVIDER_NAME.
Modified:
pivot/trunk/wtk/src/or
Author: rwhitcomb
Date: Mon May 29 22:19:29 2017
New Revision: 1796710
URL: http://svn.apache.org/viewvc?rev=1796710&view=rev
Log:
PIVOT-999 and others: More use of Utils.checkNull to validate input parameters;
Using Dictionary.getIntValues for int valued styles in many places.
Modi
Author: rwhitcomb
Date: Mon May 29 22:24:30 2017
New Revision: 1796711
URL: http://svn.apache.org/viewvc?rev=1796711&view=rev
Log:
Using "Utils.checkNull" in Theme. Also make a private "checkColorIndex"
method to consolidate common code and give a consistent error messa
Author: rwhitcomb
Date: Mon May 29 22:25:33 2017
New Revision: 1796712
URL: http://svn.apache.org/viewvc?rev=1796712&view=rev
Log:
More work on using the Utils.checkNull utility method and his brothers in other
places.
Modified:
pivot/trunk/core/src/org/apache/pivot/json/JSONSerializer.
Author: rwhitcomb
Date: Mon May 29 22:26:51 2017
New Revision: 1796713
URL: http://svn.apache.org/viewvc?rev=1796713&view=rev
Log:
PIVOT-999: Use the new default "getIntValue()" and "setIntValue()"
methods in the Dictionary interface.
Modified:
pivot/trunk/tutori
Author: rwhitcomb
Date: Tue May 30 14:36:51 2017
New Revision: 1796874
URL: http://svn.apache.org/viewvc?rev=1796874&view=rev
Log:
PIVOT-999: Use the new "forEach" iterator with lambdas to simplify
the ListenerList notification code in Window. Also clean up some
other code in ther
Author: rwhitcomb
Date: Tue May 30 15:32:52 2017
New Revision: 1796883
URL: http://svn.apache.org/viewvc?rev=1796883&view=rev
Log:
Add Javadoc to the Vote.tally() method to explain the algorithm.
Use Utils.checkNull() in there also.
Modified:
pivot/trunk/core/src/org/apache/pivot/
Author: rwhitcomb
Date: Tue May 30 17:42:02 2017
New Revision: 1796903
URL: http://svn.apache.org/viewvc?rev=1796903&view=rev
Log:
PIVOT-999: Take advantage of default interface methods in Java 8:
Remove the "remove()" method in ImmutableIterator because it is
already implemented
Author: rwhitcomb
Date: Tue May 30 18:16:41 2017
New Revision: 1796910
URL: http://svn.apache.org/viewvc?rev=1796910&view=rev
Log:
PIVOT-999: Take advantage of default interface methods in Java 8:
Remove the "remove()" method in EmptyIterator because it is
already implemented
Author: rwhitcomb
Date: Tue May 30 19:04:05 2017
New Revision: 1796915
URL: http://svn.apache.org/viewvc?rev=1796915&view=rev
Log:
PIVOT-999: Add a test class for ImmutableIterator to make sure the
changes made for Java 8 didn't break anything.
Added:
pivot/trunk/core/test/org/apa
Author: rwhitcomb
Date: Tue May 30 19:55:47 2017
New Revision: 1796922
URL: http://svn.apache.org/viewvc?rev=1796922&view=rev
Log:
PIVOT-999: Update all the listener list notification methods in Component
so that they use the new Java 8 "forEach" iteration method. This also involv
Author: rwhitcomb
Date: Tue May 30 20:27:16 2017
New Revision: 1796934
URL: http://svn.apache.org/viewvc?rev=1796934&view=rev
Log:
PIVOT-999: Add a DictionaryTest to test the new default "getIntValue" and
"setIntValue" methods in the Dictionary interface.
Added:
p
Author: rwhitcomb
Date: Thu Jun 1 21:34:44 2017
New Revision: 1797271
URL: http://svn.apache.org/viewvc?rev=1797271&view=rev
Log:
Code cleanup: Request focus on the window content in ScriptApplication to
eliminate the need to click on the window to begin interacting with it.
Add batch file
Author: rwhitcomb
Date: Fri Jun 2 03:35:23 2017
New Revision: 1797311
URL: http://svn.apache.org/viewvc?rev=1797311&view=rev
Log:
PIVOT-850: Solve cursor positioning problems (with the possible exception
of when the caret is at the end of the text) with composed and committed
text intermin
Author: rwhitcomb
Date: Fri Jun 2 15:21:11 2017
New Revision: 1797402
URL: http://svn.apache.org/viewvc?rev=1797402&view=rev
Log:
PIVOT-850: Update the text width calculations to use an average of the
TextLayout "bounds" and the "pixel bounds" which can differ by 4 pixels
Author: rwhitcomb
Date: Fri Jun 2 16:46:08 2017
New Revision: 1797410
URL: http://svn.apache.org/viewvc?rev=1797410&view=rev
Log:
PIVOT-999: Use the "forEach" method for all the ListenerList
notifications in TextArea and TextPane.
Modified:
pivot/trunk/wtk/src/org/ap
Author: rwhitcomb
Date: Fri Jun 2 20:28:13 2017
New Revision: 1797428
URL: http://svn.apache.org/viewvc?rev=1797428&view=rev
Log:
PIVOT-850: Fix several problems with TextInput and InputMethodEditors:
* Properly do scrolling during text composition (before commit).
* When accepting text cha
Author: rwhitcomb
Date: Wed Jun 7 15:59:22 2017
New Revision: 1797962
URL: http://svn.apache.org/viewvc?rev=1797962&view=rev
Log:
PIVOT-999: Add a default "getColorValue" method to Dictionary as this is
also a fairly common operation in the skin classes.
Use it in one place (man
Author: rwhitcomb
Date: Thu Jun 8 14:46:19 2017
New Revision: 1798071
URL: http://svn.apache.org/viewvc?rev=1798071&view=rev
Log:
PIVOT-850: Move calculations of caret rectangle from TerraTextInputSkin
to GraphicsUtilities so it can be reused by the multi-line controls.
Modified:
p
Author: rwhitcomb
Date: Thu Jun 8 14:48:18 2017
New Revision: 1798073
URL: http://svn.apache.org/viewvc?rev=1798073&view=rev
Log:
PIVOT-850: Rearrange the "text_area_test.bxml" so that the length and selection
values
are displayed in Labels underneath. Rearrange the text ini
Author: rwhitcomb
Date: Thu Jun 8 15:40:48 2017
New Revision: 1798082
URL: http://svn.apache.org/viewvc?rev=1798082&view=rev
Log:
PIVOT-850: Add a missing @return from the previous change to GraphicsUtilities.
Modified:
pivot/trunk/wtk/src/org/apache/pivot/wtk/GraphicsUtilities.
Author: rwhitcomb
Date: Thu Jun 8 20:40:00 2017
New Revision: 1798122
URL: http://svn.apache.org/viewvc?rev=1798122&view=rev
Log:
PIVOT-999: Rename the "getIntValue" and etc. new methods in Dictionary
to just "getInt()", "getColor()" and etc. for code bre
Author: rwhitcomb
Date: Fri Jun 9 03:30:28 2017
New Revision: 1798170
URL: http://svn.apache.org/viewvc?rev=1798170&view=rev
Log:
PIVOT-850: Move the new composed text methods and add Javadoc as explanation
to them in TextInput.java.
Modified:
pivot/trunk/wtk/src/org/apache/pivot
Author: rwhitcomb
Date: Mon Jun 12 05:24:29 2017
New Revision: 1798413
URL: http://svn.apache.org/viewvc?rev=1798413&view=rev
Log:
PIVOT-850: Adjust the text width calculations to just use the
TextLayout.advance
value (adjusted to (int)Math.ceil(...) of course). This is completely accurate
Author: rwhitcomb
Date: Mon Jun 12 05:40:09 2017
New Revision: 1798415
URL: http://svn.apache.org/viewvc?rev=1798415&view=rev
Log:
Code cleanup: Make debugging simpler (less verbose) by using the simple class
name for Dimensions.toString() resulting in just "Dimensions[WxH]".
Author: rwhitcomb
Date: Mon Jun 12 06:33:40 2017
New Revision: 1798416
URL: http://svn.apache.org/viewvc?rev=1798416&view=rev
Log:
PIVOT-999: Several cleanups to Span:
* One more place to check parameter for null using "Utils.checkNull".
* Change the "toString" method to a
Author: rwhitcomb
Date: Tue Jun 13 00:28:01 2017
New Revision: 1798555
URL: http://svn.apache.org/viewvc?rev=1798555&view=rev
Log:
PIVOT-850: Fix a caret positioning problem in TextInput.
Modified:
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraTextInputSkin.java
Modi
Author: rwhitcomb
Date: Tue Jun 13 16:04:20 2017
New Revision: 1798611
URL: http://svn.apache.org/viewvc?rev=1798611&view=rev
Log:
Code cleanup: Update PlainTextSerializer (used by TextPane) to have a larger
interal buffer for reading and writing, and make the size configurable.
Make use of
Author: rwhitcomb
Date: Tue Jun 13 19:17:30 2017
New Revision: 1798631
URL: http://svn.apache.org/viewvc?rev=1798631&view=rev
Log:
Code enhancement: Use the new
ApplicationContext.runAndScheduleRecurringCallback()
in several places where it is applicable: spinner, scrolling, etc.
This
Author: rwhitcomb
Date: Tue Jun 13 20:09:05 2017
New Revision: 1798635
URL: http://svn.apache.org/viewvc?rev=1798635&view=rev
Log:
PIVOT-850: First round of changes to allow Input Method Editors to work
with TextPane. This involves several things:
1. Change AttributedStringCharacterIterato
Author: rwhitcomb
Date: Wed Jun 14 14:57:08 2017
New Revision: 1798697
URL: http://svn.apache.org/viewvc?rev=1798697&view=rev
Log:
Code cleanup: Use "switch" on string arguments to make the startup code
cleaner in DesktopApplicationContext for getting the startup properties.
Modif
Author: rwhitcomb
Date: Wed Jun 14 18:43:31 2017
New Revision: 1798734
URL: http://svn.apache.org/viewvc?rev=1798734&view=rev
Log:
Code enhancement: Add some methods to Span:
* normalStart() -> returns the lesser of start,end
* normalEnd() -> returns greater of start,end
* normalEquals
Author: rwhitcomb
Date: Wed Jun 14 18:46:08 2017
New Revision: 1798735
URL: http://svn.apache.org/viewvc?rev=1798735&view=rev
Log:
Code enhancement: Add two new methods to Utils:
* defaultToString() -> returns string description of object just as
Object.toString() would.
* simpleDefaultT
Author: rwhitcomb
Date: Wed Jun 14 18:48:05 2017
New Revision: 1798736
URL: http://svn.apache.org/viewvc?rev=1798736&view=rev
Log:
Code enhancement: Add a "toHexString()" method to StringUtils for debugging
purposes: formats the characters of a string as hex values.
Modified:
Author: rwhitcomb
Date: Wed Jun 14 18:54:31 2017
New Revision: 1798737
URL: http://svn.apache.org/viewvc?rev=1798737&view=rev
Log:
Code enhancement: Add and new "ClassUtils" class and two new methods to Console
(for debugging purposes):
ClassUtils is meant to hold static metho
Author: rwhitcomb
Date: Wed Jun 14 21:58:23 2017
New Revision: 1798783
URL: http://svn.apache.org/viewvc?rev=1798783&view=rev
Log:
PIVOT-850: Fix a raft of bugs in TextPane related to display of
composed text and caret positioning, mostly when at the end of a
line/paragraph. And most of
Author: rwhitcomb
Date: Wed Jun 14 22:15:31 2017
New Revision: 1798784
URL: http://svn.apache.org/viewvc?rev=1798784&view=rev
Log:
PIVOT-850: Resolve one last exception found on OSX when the selected text
is empty (null) in TextPane.
Modified:
pivot/trunk/wtk/src/org/apache/pivot/wtk/
Author: rwhitcomb
Date: Wed Jun 14 23:00:35 2017
New Revision: 1798786
URL: http://svn.apache.org/viewvc?rev=1798786&view=rev
Log:
PIVOT-850: Still have a problem in the end-of-paragraph caret calculations
that may be timing-related: sometimes the character bounds comes back null.
So, pu
Author: rwhitcomb
Date: Sat Jun 24 00:58:09 2017
New Revision: 1799725
URL: http://svn.apache.org/viewvc?rev=1799725&view=rev
Log:
Code cleanup: Rename "xxxArgument" to "xxxValue" in parameter names.
Add an "expand()" method to Bounds.
Add BoundsTest that
Author: rwhitcomb
Date: Sat Jun 24 01:08:38 2017
New Revision: 1799726
URL: http://svn.apache.org/viewvc?rev=1799726&view=rev
Log:
Code enhancement: Add JSON parsing for a point to include a list format:
[ x, y ]
Add Javadoc to Point.decode() to explain it all.
Modified:
pivot/trunk
Author: rwhitcomb
Date: Thu Jul 6 22:08:51 2017
New Revision: 180
URL: http://svn.apache.org/viewvc?rev=180&view=rev
Log:
PIVOT-1001: Fix problem where a TextInput without text and with an empty prompt
(not null, but empty) can cause an IllegalArgumentException from an empty
Author: rwhitcomb
Date: Fri Jul 7 15:30:44 2017
New Revision: 1801182
URL: http://svn.apache.org/viewvc?rev=1801182&view=rev
Log:
Remove incorrect comment in TextPaneSkinTextNodeView.
Modified:
pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TextPaneSkinTextNodeView.java
Modified:
p
Author: rwhitcomb
Date: Fri Jul 7 15:35:03 2017
New Revision: 1801184
URL: http://svn.apache.org/viewvc?rev=1801184&view=rev
Log:
Update the BUILD file to say we now require JUnit 4.11 or greater
(with separate "hamcrest-core"), and check for the "assertNotEquals"
me
301 - 400 of 973 matches
Mail list logo