2015-09-11 Jiri Vanek <jvanek@redhat.com>
Pre-release tuning
* Makefile.am: (netx-html-gen.stamp) set number of changests to 20 (since 1.5.2)
* NEWS: date of 1.5.3 set
* configure.ac: (AC_INIT) set to use 1.5.3
2015-09-10 Jiri Vanek <jvanek@redhat.com>
* tests/netx/unit/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningPanelTest.java:
Backuped, reset and restored .appletTrustSettings so its content can not affect test
2015-09-10 Jiri Vanek <jvanek@redhat.com>
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
(stripFileImp) fixed typo on variable of normlaized to normalized
2015-09-03 Jiri Vanek <jvanek@redhat.com>
* NEWS: mentioned fixes for RH1233697, RH1233667 and reuse of MissingALACAdialog
for unsigned applications
2015-09-03 Jiri Vanek <jvanek@redhat.com>
Fixed ArrayIndexOutOfBound in version cornercase issue
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java:
length of array is checked,
* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/VersionRestrictionTest.java:
added tests for this case
* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImplTest.java:
(updateAppletActionTest1) adapted to version string
2015-09-03 Jiri Vanek <jvanek@redhat.com>
Added identificator to .appletTrustSettings to specify version of file
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java:
added handling of version - readVersion, versionPreffix, backup, currentVersion.
(readLine) when first line is read, it is checked for version and acted. If
loaded version is missing or older then current 2, then file is not loaded.
otherwise normal loading. (writeContent) now inserts header with version.
(actOnVersionLoad) new method, handling consequences of recognized x current version
(backupOldFile) new method, backuping old file as .appletTrustSettings.version-backup
* netx/net/sourceforge/jnlp/util/UrlUtils.java: consumed exception during
normalization is logged only to console/verbose
* tests/netx/unit/net/sourceforge/jnlp/security/SecurityDialogsTest.java:
added considering of version
* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/LegacyUnsignedAppletActionStorageImplTest.java:
same
* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImplTest.java:
same
* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/VersionRestrictionTest.java:
new test file testing version recognition and processing
2015-09-02 Jiri Vanek <jvanek@redhat.com>
All UrlRegEx-es got unified and correct quoting
* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletActionTableModel.java:
(addRow) now uses factory methods of quoteAndStar form UrlRegEx
* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java:
same, but of exact. Removed redundant space in APPEXTSECguiPanelTableInvalid key
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionEntry.java:
same of exact.
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
same
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageExtendedImpl.java:
same
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java:
same
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UrlRegEx.java:
constructor made private, field final. Creation allowed over factory methods of
quote. quoteAndStar, exact. Added and iprved mehtods for visualisation
* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/UrlRegExTest.java:
new test file with tests to new methods in UrlRegex
2015-09-02 Jiri Vanek <jvanek@redhat.com>
Newline characters are banned from saving to .appletTrustSettings
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/InvalidLineException.java:
New file. Exception to be specially handled if error appear in saved line.
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionEntry.java:
(serializeToReadableAndParseableString) if new-line appear in line,
InvalidLineException is thrown
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java:
(writeContent) InvalidLineException is expected and logged.
* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmationTest.java:
adapted and quite a lot of tests added.
* tests/reproducers/simple/UnicodeLineBreak/resources/UnicodeLineBreak.java:
* tests/reproducers/simple/UnicodeLineBreak/srcs/UnicodeLineBreak.java:
* tests/reproducers/simple/UnicodeLineBreak/testcases/UnicodeLineBreakTests.java:
half automated reproducer of this behavior
2015-09-01 Jiri Vanek <jvanek@redhat.com>
Saving of status of dialogs for "whole codebase" now includes also document base
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
(updateAppletAction) now saves base of docbase instead of .* "for remember for codebase"
stripFile - new method, ensuring docbase do not contains file
* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmationTest.java:
added testSripFile unit test for new method
* tests/reproducers/simple/FakeCodebase/resources/FakeCodebase.html.in:
* tests/reproducers/simple/FakeCodebase/resources/FakeCodebase.jnlp.in:
* tests/reproducers/simple/FakeCodebase/resources/OriginalCodebase.html:
* tests/reproducers/simple/FakeCodebase/resources/OriginalCodebase.jnlp:
* tests/reproducers/simple/FakeCodebase/srcs/FakeCodebase.java:
* tests/reproducers/simple/FakeCodebase/testcases/FakeCodebaseTests.java:
Reproducer of this behavior
2015-09-01 Jiri Vanek <jvanek@redhat.com>
application-library-allowable-codebase dialog made available for unsigned apps
* netx/net/sourceforge/jnlp/resources/Messages.properties: (ALACAMissingMainTitle)
added warning about possible consequences of resources out of docbase.
(ALACAMatchingMainTitle) the red higlights changed to green and added calming
words about it.
* netx/net/sourceforge/jnlp/resources/Messages_cs.properties: same
* netx/net/sourceforge/jnlp/resources/Messages_de.properties: same
* netx/net/sourceforge/jnlp/resources/Messages_pl.properties: adapted to red
to green recoloring
* netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java:
(checkApplicationLibraryAllowableCodebaseAttribute) removed return for in case
of unsigned app. Fixed check for all matching resources against codebase and docbase
If app is unsigned, then value in manifest is ignored. Missing alaca required
also in low security mode
* tests/netx/unit/net/sourceforge/jnlp/runtime/ManifestAttributesCheckerTest.java:
new file to test stripDocbase.
* netx/net/sourceforge/jnlp/security/dialogs/MatchingALACAttributePanel.java
removed not working checkbox for rembering the action.
2015-07-20 Jiri Vanek <jvanek@redhat.com>
Tuned permissions attribute behavior for unsigned jnlps
* NEWS: change of permissions attribute mentioned in news
* netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java:
permissions sandbox and signed app and unsigned app with permissions all-permissions
now run in sandbox instead of not at all.
2015-07-20 Jiri Vanek <jvanek@redhat.com>
Fixed download service
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (fillInPartJars)
for-each loop replaced by indexed loop to prevent ConcurrentModificationException
2015-06-25 Jiri Vanek <jvanek@redhat.com>
Fixed to short buttons for localized text - RH1231441
* NEWS: mentioned RH1231441
* netx/net/sourceforge/jnlp/security/dialogs/AppletWarningPane.java: removed
set of preferred sizes to minimal size
* netx/net/sourceforge/jnlp/security/dialogs/PasswordAuthenticationPane.java
same
* netx/net/sourceforge/jnlp/security/dialogs/CertWarningPane.java: same
* netx/net/sourceforge/jnlp/security/dialogs/MissingALACAttributePanel.java:
same
* netx/net/sourceforge/jnlp/security/dialogs/MissingPermissionsAttributePanel.java:
same
2015-04-17 Jiri Vanek <jvanek@redhat.com>
Added tagsoup and rhino to javadoc classpath to prevent docline errors
* Maefile.am: (stamps/netx-docs.stamp) (stamps/plugin-docs.stamp)
added classpath parameter with rhino and tagsoup
2015-04-17 Jiri Vanek <jvanek@redhat.com>
fixed doclint errors
* netx/net/sourceforge/jnlp/JNLPFile.java:
* netx/net/sourceforge/jnlp/util/FileUtils.java:
* netx/net/sourceforge/nanoxml/XMLElement.java:
* netx/net/sourceforge/nanoxml/XMLParseException.java:
2015-03-03 Jie Kang <jkang@redhat.com>
Fix DeadLockTest reproducers
* tests/reproducers/simple/deadlocktest/testcases/DeadLockTestTest.java:
(testSimpletest1lunchFork), (testSimpletest1lunchNoFork) removed division
by two in final assert
2014-11-27 Jiri Vanek <jvanek@redhat.com>
Post 1.5.2 changes
* NEWS: added 1.5.3 section
* configure.ac: (AC_INIT) bumped to 1.5.3pre
2014-11-25 Jiri Vanek <jvanek@redhat.com>
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-June/028399.html (long thread)
* netx/net/sourceforge/jnlp/Launcher.java: using PropertyDesc.fromString to
add resources.
* netx/net/sourceforge/jnlp/PropertyDesc.java: New method fromString to handle
parsing
* netx/net/sourceforge/jnlp/runtime/Boot.java: is now merging the properties
to main configuration.
* tests/netx/unit/net/sourceforge/jnlp/PropertyDescTest.java: new file. Added
tests for fromString.
2014-11-25 Jiri Vanek <jvanek@redhat.com>
* netx/net/sourceforge/jnlp/Launcher.java: (fromUrl) file from href get
substituted codebase from previous one if it is missing in new one.
2014-11-25 Jie Kang <jkang@redhat.com>
Fixed newly failing unit test: JavaConsoleTest:CreatePluginHeaderTestNotOK
* tests/netx/unit/net/sourceforge/jnlp/util/logging/JavaConsoleTest.java
(CreatePluginHeaderTestNotOK): Added a new failing string
(CreatePluginHeaderTestOK): Old string from NotOk moved to this test