Ignore:
Timestamp:
Feb 11, 2013, 8:53:47 PM (13 years ago)
Author:
dmik
Message:

Merge icedtea-web v1.3 to trunk.

Location:
trunk/icedtea-web
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/icedtea-web

  • trunk/icedtea-web/ChangeLog

    r348 r418  
    1 2011-08-31  Deepak Bhole <dbhole@redhat.com>
    2 
    3         * NEWS: Prepare for 1.1.2
    4         * configure.ac: Same
     12012-08-27  Deepak Bhole <dbhole@redhat.com>
     2
     3        * configure.ac: Prepare for 1.3
     4        * NEWS: Same
     5
     62012-08-27  Deepak Bhole <dbhole@redhat.com>
     7
     8        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
     9        (getAccessControlContextForClassLoading): Catch ClassCircularityErrors and
     10        ignore them (thus denying permission to caller).
     11
     122012-08-13  Jiri Vanek  <jvanek@redhat.com>
     13
     14        * tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
     15        (executeProcessUponURL)Fixed wrong call in previous commit which was
     16        causing null process name.
     17        * tests/reproducers/simple/AppletTest/testcases/AppletTestTests.java:
     18        Removed unused import.
     19
     202012-08-13  Jiri Vanek  <jvanek@redhat.com>
     21
     22        Reproducers of PR955
     23        * tests/reproducers/simple/LocalisedInformationElement/resources/LocalisedInformationElement1.jnlp:
     24        * tests/reproducers/simple/LocalisedInformationElement/resources/LocalisedInformationElement2.jnlp:
     25        * tests/reproducers/simple/LocalisedInformationElement/resources/LocalisedInformationElement3.jnlp:
     26        * tests/reproducers/simple/LocalisedInformationElement/resources/LocalisedInformationElement4.jnlp:
     27        Test jnlp files with various combinations of locales, reproducers of PR955.
     28        * tests/reproducers/simple/LocalisedInformationElement/resources/LocalisedInformationElement_noLoc.jnlp
     29        Jnlp file with which is not affected by PR955 and is helping to catch error in LOCALE changing hack
     30        * tests/reproducers/simple/LocalisedInformationElement/srcs/LocalisedInformationElement.java:
     31        Reproducer main class, after loading prints out default locale.
     32        * tests/reproducers/simple/LocalisedInformationElement/testcases/LocalisedInformationElementTest.java:
     33        Testcases launching above jnlps under various locales.
     34        * tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
     35        Added set of methods allowing passing of custom variables to ThreadedProcess.
     36        * tests/test-extensions/net/sourceforge/jnlp/ThreadedProcess.java:
     37        Added processing of custom variables.
     38
     392012-08-22  Danesh Dadachanji  <ddadacha@redhat.com>
     40
     41        Fix PR955: regression: SweetHome3D fails to run
     42        * NEWS: Added entry for PR955
     43        * netx/net/sourceforge/jnlp/JNLPFile.java: New enum Match that represents
     44        the level of precision to use when matching locales.
     45        (localMatches): Renamed to localeMatches, added matchLevel paramater
     46        and updated conditionals to handle the level of precision specified by it.
     47        (getVendor): New method that returns an information's vendor text.
     48        (getInformation): Added override methods for getTitle and getVendor
     49        that are used by the anonymous class to filter by locale. All three
     50        methods now go through all levels of precision to search for the best
     51        fitted locale.
     52        (getResources), (getResourcesDescs): Updated to check if any level of
     53        precision matches when searching for locales.
     54        (parse): Added call to checkForTitleVendor.
     55        * netx/net/sourceforge/jnlp/Parser.java
     56        (checkForTitleVendor): New method to check for availability of localized
     57        title and vendor from the information tags. Throws ParseException.
     58        (getInfo): Replace loop with foreach loop.
     59        (getInformationDesc): Remove check for present title and vendor.
     60        (getLocale): Variant returned can now use everything after the eigth
     61        element of the locale's string.
     62        * netx/net/sourceforge/jnlp/resources/Messages.properties:
     63        Update missing title and vendor messages to mention localization.
     64        * tests/reproducers/simple/InformationTitleVendorParser/testcases/InformationTitleVendorParserTest.java:
     65        Update output string as per new changes to Messages internationalizations.
     66        * tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java:
     67        New unit test that checks the localesMatches method in JNLPFile.
     68        * tests/netx/unit/net/sourceforge/jnlp/MockJNLPFile.java:
     69        New class used to create a mock JNLPFile object.
     70        * tests/netx/unit/net/sourceforge/jnlp/ParserTest.java:
     71        New unit test that checks that the return of getTitle and getVendor
     72        have localized information.
     73
     742012-08-21  Jiri Vanek  <jvanek@redhat.com>
     75
     76        * tests/test-extensions/net/sourceforge/jnlp/ProcessAssasin.java:
     77        (sigInt), (sigKill), (sigTerm) new methods for various killing of
     78        processes by kill.
     79        (kill) new method, launching kill process.
     80        (destroyProcess ) is now calling sigInt instead of unwrapped sigTerm.
     81
     822012-08-21  Jiri Vanek  <jvanek@redhat.com>
     83
     84        * launcher/javaws.in: java is now launched by exec
     85
     862012-08-17  Adam Domurad  <adomurad@redhat.com>
     87
     88        Fixes PR588, cookies set in the java cookie jar are now stored properly
     89        * plugin/icedteanp/IcedTeaNPPlugin.cc
     90        (set_cookie_info): New, uses setvalueforurl
     91        (consume_plugin_message): Additional message added allowing
     92        set_cookie_info to be used from the java side.
     93        * plugin/icedteanp/java/sun/applet/PluginCookieManager.java: Now
     94        overrides put method, results in set_cookie_info calls in C++
     95        * plugin/icedteanp/java/sun/applet/PluginMain.java: Passes
     96        PluginStreamHandler to PluginCookieManager to allow C++ side
     97        communication
     98
     992012-08-17  Adam Domurad  <adomurad@redhat.com>
     100
     101        * plugin/icedteanp/IcedTeaNPPlugin.cc
     102        (consume_plugin_message): New, called by consume_message, handles
     103        cookie and proxy info retrieval, and setting cookie info
     104        (consume_message): Call consume_plugin_message for "plugin ..."
     105        messages
     106
     1072012-08-17  Adam Domurad  <adomurad@redhat.com>
     108
     109        Reproducers for PR588, sets persistent and session cookies in the
     110        cookie jar and tries to read them with various means.
     111        * tests/reproducers/signed/SavingCookies/resources/CheckCookie.html:
     112        Print the cookie store contents
     113        * tests/reproducers/signed/SavingCookies/resources/CheckCookieAndGotoClear.html:
     114        Print the cookie store contents, and then go to
     115        ClearPersistentCookie.html with showDocument
     116        * tests/reproducers/signed/SavingCookies/resources/ClearPersistentCookie.html:
     117        Clear the test cookie so it does not interfere with further tests
     118        * tests/reproducers/signed/SavingCookies/resources/SavePersistentCookie.html:
     119        Create a persistent cookie
     120        * tests/reproducers/signed/SavingCookies/resources/SavePersistentCookieAndGotoCheck.html:
     121        Create a persistent cookie and check it with showDocument
     122        * tests/reproducers/signed/SavingCookies/resources/SaveSessionCookie.html:
     123        Create a session cookie
     124        * tests/reproducers/signed/SavingCookies/resources/SaveSessionCookieAndGotoCheck.html:
     125        Create a session cookie and check it with showDocument
     126        * tests/reproducers/signed/SavingCookies/srcs/CheckingCookies.java:
     127        Checks the contents of the cookie store.
     128        Depending on the test, this may go to another page upon completion.
     129        * tests/reproducers/signed/SavingCookies/srcs/SavingCookies.java:
     130        Store cookies in the java cookie store. Depending on the test, this may
     131        go to another page upon completion.
     132        * tests/reproducers/signed/SavingCookies/testcases/SavingCookiesTests.java
     133        Test driver for testing persistent and session cookies in different
     134        ways
     135
     1362012-08-18  Jiri Vanek  <jvanek@redhat.com>
     137
     138        * tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java: added
     139        VERBOSE_OPTION constant with -verbose value for javaws launching.
     140
     1412012-08-17  Jiri Vanek  <jvanek@redhat.com>
     142
     143        * tests/reproducers/simple/deadlocktest/testcases/DeadLockTestTest.java:
     144        (testDeadLockTestTerminatedBody) removed tests for killed-process and
     145        termination of remaining javas put on correct place.
     146        * tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
     147        (executeBrowser)  stout and stderr listeners forwarded to next method in
     148        correct order.
     149
     1502012-08-14  Danesh Dadachanji  <ddadacha@redhat.com>
     151
     152        Small addition to NEWS entry and bug annotation indicating the PR975 fix.
     153        * NEWS: Add entry for PR975
     154        * tests/reproducers/signed/ClasspathManifestTest/testcases/ClasspathManifestTest.java:
     155        Add bug annotation for PR975.
     156
     1572012-08-14  Danesh Dadachanji  <ddadacha@redhat.com>
     158
     159        Classpaths in jars' manifests are only considered when the applet is run
     160        without using jnlp_href and a JNLP file.
     161        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (activateJars):
     162        Add conditional check for use of jnlp_href.
     163        * tests/reproducers/signed/Classpath.Manifest.Test.Helper/srcs/CheckForClasspath.java:
     164        Applet whose jar is stored in a subdir under the test engine server.
     165        * tests/reproducers/signed/ClasspathManifestTest/resources/ClasspathManifestAppletTest.html:
     166        * tests/reproducers/signed/ClasspathManifestTest/resources/ClasspathManifestAppletTest.jnlp:
     167        * tests/reproducers/signed/ClasspathManifestTest/resources/ClasspathManifestApplicationTest.jnlp:
     168        * tests/reproducers/signed/ClasspathManifestTest/resources/ClasspathManifestJNLPHrefTest.html:
     169        * tests/reproducers/signed/ClasspathManifestTest/srcs/ClasspathManifest.java:
     170        * tests/reproducers/signed/ClasspathManifestTest/srcs/META-INF/MANIFEST.MF:
     171        * tests/reproducers/signed/ClasspathManifestTest/testcases/ClasspathManifestTest.java:
     172        Test if manifest entry is searched for classpath only when in the plugin
     173        is run without using jnlp_href.
     174
     1752012-08-14  Adam Domurad  <adomurad@redhat.com>
     176
     177        Reproducer for allowing unsigned content in META-INF/ folder.
     178        Derives from ReadPropertiesSigned test's signed jar.
     179        * tests/reproducers/custom/UnsignedContentInMETAINF/resources/UnsignedContentInMETAINF.jnlp:
     180        New, runs a modified version of ReadPropertiesSigned.jar (UnsignedContentInMETAINF.jar)
     181        * tests/reproducers/custom/UnsignedContentInMETAINF/srcs/META-INF/unsigned_file_in_metainf:
     182        New, placed into a modified version of ReadPropertiesSigned.jar
     183        (UnsignedContentInMETAINF.jar) so that there is unsigned content in the
     184        META-INF/ folder.
     185        * tests/reproducers/custom/UnsignedContentInMETAINF/srcs/Makefile:
     186        New, creates a modified version of ReadPropertiesSigned.jar, named
     187        UnsignedContentInMETAINF.jar, and places unsigned content inside its
     188        META-INF/ folder
     189        * tests/reproducers/custom/UnsignedContentInMETAINF/testcases/UnsignedContentInMETAINF.java:
     190        Test driver for jnlp file
     191
     1922012-08-14  Adam Domurad  <adomurad@redhat.com>
     193
     194        Unit test for method in JCV, isMetaInfFile()
     195        * netx/net/sourceforge/jnlp/tools/JarCertVerifier.java:
     196        Made isMetaInfFile package-private for testing purposes.
     197        * tests/netx/unit/net/sourceforge/jnlp/tools/JarCertVerifierTest.java:
     198        New, tests isMetaInfFile
     199
     2002012-08-07  Adam Domurad  <adomurad@redhat.com>
     201
     202        Fixes PR1106, plugin crashing with firefox + archlinux/gentoo
     203        * plugin/icedteanp/IcedTeaNPPlugin.cc
     204        (initialize_browser_functions): Account for the fact that
     205        browserTable->size can be larger than sizeof(NPNetscapeFuncs)
     206
     2072012-07-31  Jiri Vanek  <jvanek@redhat.com>
     208            Peter Hatina  <phatina@redhat.com>
     209
     210        Introduced configure option --with-gtk=2|3|default to be able
     211        to compile against different version of GTK+ (2.x or 3.x).
     212        * NEWS: mentioned bug fix
     213        * acinclude.m4: (ITW_GTK_CHECK_VERSION) macro for getting GTK+ version
     214        (ITW_GTK_CHECK) macro for checking GTK+ version
     215
     2162012-07-24  Adam Domurad  <adomurad@redhat.com>
     217
     218        CVE-2012-3422, RH840592: Potential read from an uninitialized
     219        memory location.
     220        * plugin/icedteanp/IcedTeaNPPlugin.cc
     221        (get_cookie_info): Only attempt to perform this operation if there is a
     222        valid plugin instance
     223        (get_proxy_info): Only attempt to perform this operation if there is a
     224        valid plugin instance
     225
     2262012-07-24  Adam Domurad  <adomurad@redhat.com>
     227
     228        * plugin/icedteanp/IcedTeaPluginUtils.cc
     229        (IcedTeaPluginUtilities::strSplit): Replace usage of " " with proper
     230        delimiter
     231
     2322012-07-24  Adam Domurad  <adomurad@redhat.com>
     233
     234        Refactor JNLPFile#launchType into its own interface type (as opposed to
     235        Object), LaunchDesc.
     236        * netx/net/sourceforge/jnlp/AppletDesc.java: Add override annotation to
     237        getMainClass().
     238        * netx/net/sourceforge/jnlp/ApplicationDesc.java: Same as above
     239        * netx/net/sourceforge/jnlp/InstallerDesc.java: Same as above
     240        * netx/net/sourceforge/jnlp/JNLPFile.java: Make launchType a
     241        LaunchDesc object. Update getLaunchInfo() accordingly.
     242        * netx/net/sourceforge/jnlp/LaunchDesc.java: New launch description.
     243        * netx/net/sourceforge/jnlp/Parser.java
     244        (getLauncher): Return type changed to LaunchDesc
     245        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: Replace
     246        occurences of instanceof with respect to launchType.
     247
     2482012-07-18  Danesh Dadachanji  <ddadacha@redhat.com>
     249
     250        Fix RH838417, Fix RH838559: Disambiguate signed applet security prompt
     251        from certificate warning.
     252        * NEWS: Added entries for RH838417 and RH838559.
     253        * netx/net/sourceforge/jnlp/resources/Messages.properties:
     254        Added SWarnFullPermissionsIgnorePolicy and updated SHttpsUnverified.
     255        * netx/net/sourceforge/jnlp/security/CertWarningPane.java: Display
     256        SWarnFullPermissionsIgnorePolicy if the cert is from a jar and is either
     257        unverified or has a signing error. Also added warning.png to HTTPS dialogs.
     258
     2592012-07-11  Jiri Vanek  <jvanek@redhat.com>
     260
     261        try to close browser before kill it
     262        * tests/reproducers/signed/AppletTestSigned/testcases/AppletTestSignedTests.java:
     263        * tests/reproducers/simple/AppletTest/testcases/AppletTestTests.java:
     264        * tests/reproducers/simple/CheckServices/testcases/CheckServicesTests.java
     265        (evaluateSignedApplet) addapted to properly closed browser
     266        * tests/reproducers/simple/CheckServices/srcs/CheckServices.java:
     267        removed fixme section as it shuld work now     
     268        * tests/test-extensions/net/sourceforge/jnlp/ProcessAssasin.java
     269        (destroyProcess) new method, launching kill with SIGTERM before clasical
     270        process.destroy()
     271        * tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
     272        removed Set<Thread> terminated, should be removed long ago
     273
     2742012-07-09  Saad Mohammad  <smohammad@redhat.com>
     275
     276        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (initializeExtensions):
     277        Checks and assigns the main-class name prior to the for loop.
     278
     2792012-07-09  Martin Olsson  <martin@minimum.se>
     280
     281        * plugin/icedteanp/IcedTeaPluginUtils.cc: Change calls from g_free
     282        to free when allocated with calloc.
     283        * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
     284        (PluginRequestProcessor::call): Make sure args_array doesnt hold
     285        garbage when freed.
     286        (_loadURL): Change calls from g_free to free when allocated with
     287        calloc.
     288
     2892012-07-09  Adam Domurad  <adomurad@redhat.com>
     290
     291        Ignore invalid jar files in applets, like the oracle plugin does.
     292        * netx/net/sourceforge/jnlp/cache/IllegalResourceDescriptorException.java:
     293        New exception type for ResourceTracker to throw instead of
     294        IllegalArgumentException
     295        * netx/net/sourceforge/jnlp/cache/IllegalResourceDescriptorException.java:
     296        Throws IllegalArgumentDescriptorException instead of
     297        IllegalArgumentException.
     298        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
     299        (isInvalidJar): New, checks for ZipException in new JarFile(...)
     300        (shouldFilterInvalidJars): New, checks if we are in an applet
     301        (initializeResources): if 'shouldFilterInvalidJars()' is true and a jar
     302        is not a valid jar file, the jar is filtered out and normal execution
     303        continues.
     304
     3052012-07-03  Saad Mohammad  <smohammad@redhat.com>
     306
     307        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
     308        (JNLPClassLoader): New constructor that accepts an additional parameter
     309        containing the main class name.
     310        (getInstance): Accepts mainName as parameter to override application's
     311        main class name
     312        (initializeExtensions): Passes in the name of the application's main class
     313        when creating a new JNLPClassLoader instance.
     314        (initializeResources): If the loader owns no jars, it will consider
     315        itself as signed if all of the extension loaders are signed. Also, if the
     316        extension jars have the main class, it will set foundMainJar to true.
     317        (initializeResources): If the main class was not found, check if it was
     318        found within the extension jars.
     319        (checkForMain): Uses the overwritten main class name (if set) when
     320        searching for the main within the jars.
     321        (hasMainJar): Returns true if this loader holds the main jar.
     322        (hasMainInExtensions): Returns true if extension loaders have the main jar
     323        * tests/jnlp_tests/signed/ExtensionJnlp/resources/UsesSignedJarExtension.jnlp:
     324        * tests/jnlp_tests/signed/ExtensionJnlp/resources/UsesSignedJnlpExtension.jnlp:
     325        * tests/jnlp_tests/signed/ExtensionJnlp/resources/UsesSignedJnlpJarAndSignedJarExtension.jnlp:
     326        Launching jnlps that use extension jnlp as its resource.
     327        * tests/jnlp_tests/signed/ExtensionJnlp/resources/UsesSignedJar.jnlp:
     328        Launching jnlp that directly launches SignedJarResource class.
     329        * tests/jnlp_tests/signed/ExtensionJnlp/resources/UsesSignedJnlp.jnlp:
     330        Launching jnlp that directly launches SignedJnlpResource class.
     331        * tests/jnlp_tests/signed/ExtensionJnlp/testcases/ExtensionJnlpTest.java:
     332        Testcase that tests the launching of jnlp files containing extension jnlps
     333        as resource.
     334        * tests/jnlp_tests/signed/SignedJarResource/resources/SignedJarExtension.jnlp:
     335        Component jnlp file that is used as an extension resource.
     336        * tests/jnlp_tests/signed/SignedJarResource/srcs/SignedJarResource.java:
     337        A simple java class that outputs a string.
     338        * tests/jnlp_tests/signed/SignedJnlpResource/resources/UnmatchingSignedJnlpExtension.jnlp:
     339        Component jnlp file that is used as an extension resource and does not
     340        match the signed jnlp file.
     341        * tests/jnlp_tests/signed/SignedJnlpResource/resources/MatchingSignedJnlpExtension.jnlp:
     342        Component jnlp file that is used as an extension resource and matches the
     343        signed jnlp file.
     344        * tests/jnlp_tests/signed/SignedJnlpResource/srcs/JNLP-INF/APPLICATION_TEMPLATE.jnlp:
     345        Signed jnlp file.
     346        * tests/jnlp_tests/signed/SignedJnlpResource/srcs/SignedJnlpResource.java:
     347        A simple java class that outputs a string.
     348
     3492012-07-02  Jiri Vanek  <jvanek@redhat.com>
     350
     351        Added missing headers
     352        * tests/reproducers/simple/CreateClassLoader/resources/CreateClassLoader.jnlp:
     353        * tests/reproducers/simple/ReadEnvironment/resources/ReadEnvironment.jnlp:
     354        * tests/reproducers/simple/ReadProperties/resources/ReadProperties1.jnlp:
     355        * tests/reproducers/simple/ReadProperties/resources/ReadProperties2.jnlp:
     356        * tests/reproducers/simple/RedirectStreams/resources/RedirectStreams.jnlp:
     357        * tests/reproducers/simple/ReplaceSecurityManager/resources/ReplaceSecurityManager.jnlp:
     358        * tests/reproducers/simple/SetContextClassLoader/resources/SetContextClassLoader.jnlp:
     359        * tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
     360        * tests/test-extensions/net/sourceforge/jnlp/annotations/Bug.java:
     361        * tests/test-extensions/net/sourceforge/jnlp/annotations/KnownToFail.java:
     362        * tests/test-extensions/net/sourceforge/jnlp/annotations/NeedsDisplay.java:
     363        * tests/test-extensions/net/sourceforge/jnlp/annotations/TestInBrowsers.java:
     364        * tests/test-extensions/net/sourceforge/jnlp/browsertesting/Browser.java:
     365        * tests/test-extensions/net/sourceforge/jnlp/browsertesting/BrowserFactory.java:
     366        * tests/test-extensions/net/sourceforge/jnlp/browsertesting/BrowserTest.java:
     367        * tests/test-extensions/net/sourceforge/jnlp/browsertesting/BrowserTestRunner.java:
     368        * tests/test-extensions/net/sourceforge/jnlp/browsertesting/Browsers.java:
     369        * tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/Chrome.java:
     370        * tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/Chromium.java:
     371        * tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/Epiphany.java:
     372        * tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/Firefox.java:
     373        * tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/LinuxBrowser.java:
     374        * tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/Midory.java:
     375        * tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/MozillaFamilyLinuxBrowser.java:
     376        * tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/Opera.java:
     377        added license headers
     378
     3792012-07-02  Jiri Vanek  <jvanek@redhat.com>
     380
     381        Makefile adapted to recent (three changelog items) refactoring
     382        * Makefile.am: (JNLP_TESTS_ENGINE_SRCDIR) now points correctly to
     383        test-extensions. (JNLP_TESTS_ENGINE_TESTS_SRCDIR) new variable for
     384        test-extensions-tests. (JNLP_TESTS_SRCDIR) now points to reproducers.
     385        (JNLP_TESTS_ENGINE_TESTS_DIR) new variable for built
     386        JNLP_TESTS_ENGINE_TESTS_SRCDIR
     387        (netx-dist-tests-tests-source-files.txt) new target for list of
     388        content of JNLP_TESTS_ENGINE_TESTS_SRCDIR.
     389        (stamps/netx-dist-tests-tests-compile.stamp) new target for compiling
     390        netx-dist-tests-tests-source-files.txt
     391        (netx-dist-tests-source-files.tx) now depends on
     392        stamps/netx-dist-tests-tests-compile.stamp
     393        ($(REPRODUCERS_CLASS_NAMES)) target is now working in JNLP_TESTS_ENGINE_TESTS_DIR
     394        instead of JNLP_TESTS_ENGINE_DIR
     395        (stamps/run-netx-dist-tests.stamp): added JNLP_TESTS_ENGINE_TESTS_DIR to classpath
     396        (stamps/run-unit-test-code-coverage.stamp), (stamps/run-reproducers-test-code-coverage.stamp)
     397        added JNLP_TESTS_ENGINE_TESTS_DIR to classpath and
     398        JNLP_TESTS_ENGINE_TESTS_SRCDIR to sources path
     399
     4002012-07-02  Jiri Vanek  <jvanek@redhat.com>
     401
     402        All tests from test-extensions extracted to test-extensions-tests.
     403        All inner classes in test-extensions extracted as outer classes
     404        * tests/test-extensions/net/sourceforge/jnlp/ResourcesTest.java:
     405        moved to test-extensions-tests
     406        * tests/test-extensions-tests/net/sourceforge/jnlp/ResourcesTest.java:
     407        new file, copied from test-extensions
     408        * tests/test-extensions-tests/net/sourceforge/jnlp/ServerAccessTest.java:
     409        all tests from original ServerAccess.java
     410        * tests/test-extensions/net/sourceforge/jnlp/ContentReader.java:
     411        * tests/test-extensions/net/sourceforge/jnlp/LogItem.java:
     412        * tests/test-extensions/net/sourceforge/jnlp/LoggingBottleneck.java:
     413        * tests/test-extensions/net/sourceforge/jnlp/ProcessAssasin.java:
     414        * tests/test-extensions/net/sourceforge/jnlp/ProcessResult.java:
     415        * tests/test-extensions/net/sourceforge/jnlp/ServerLauncher.java:
     416        * tests/test-extensions/net/sourceforge/jnlp/TestsLogs.java:
     417        * tests/test-extensions/net/sourceforge/jnlp/ThreadedProcess.java:
     418        * tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java:
     419        new files, extracted classes from ServerAccess
     420        * tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
     421        extracted tests and inner classes
     422
     4232012-07-02  Jiri Vanek  <jvanek@redhat.com>
     424
     425        hg move tests/netx/jnlp_testsengine/ tests/test-extensions
     426
     4272012-07-02  Jiri Vanek  <jvanek@redhat.com>
     428
     429        hg move tests/jnlp_tests/ tests/reproducers
     430
     4312012-06-29  Jiri Vanek  <jvanek@redhat.com>
     432
     433        Fixed resource tests and Browsers.none behavior
     434        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java:
     435        Added slash into all executeBrowsers urls.
     436        Added midori and epiphany to simple proxies test.
     437        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/BrowserTestRunner.java:
     438        Corrected handling of Browsers.none together with -Dmodified.browsers.run switch
     439
     4402012-06-28  Omair Majid  <omajid@redhat.com>
     441
     442        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
     443        (findClass): Invoke CodeBaseClassLoader.findClass with a flag to avoid
     444        infinite recursion.
     445        (CodeBaseClassLoader.findClass(String)): Delegate to ...
     446        (CodeBaseClassLoader.findClass(String,boolean)): New method.
     447        * tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java
     448        (testParentClassLoaderIsAskedForClasses): New method.
     449
     4502012-06-28 Jiri Vanek <jvanek@redhat.com>
     451
     452        Correctly backup all log files re-writable by emma during code-coverage
     453        * Makefile.am: (EMMA_MODIFIED_FILES) new variable with list of files to
     454        backup/restore. (stamps/run-unit-test-code-coverage.stamp) and
     455        (stamps/run-reproducers-test-code-coverage.stamp) are now iterating over
     456        EMMA_MODIFIED_FILES instead of enumerating them
     457
     4582012-06-28  Jiri Vanek  <jvanek@redhat.com>
     459
     460        Removed repeated re-runing of tests during coverage, stamped pac tests
     461        * Makefile.am: (check-pac-functions) moved to target aliases and replaced
     462        by stamps/check-pac-functions.stamp.
     463        (clean-netx-unit-tests) added removing of  stamps/check-pac-functions.stamp
     464        (stamps/exported-test-certs.stamp): no longer depends on
     465        netx-dist-tests-remove-cert-from-public, logic of it have to be
     466        copy-pasted from here.
     467        (stamps/run-unit-test-code-coverage.stamp): no longer depends on check,
     468        but was added direct dependences
     469
     4702012-06-28  Adam Domurad  <adomurad@redhat.com>
     471
     472        Allow for folders in archive tag.
     473        * netx/net/sourceforge/jnlp/PluginBridge.java:
     474        (PluginBridge) Changes jar -> archive, parse contents with
     475        addArchiveEntries.
     476        (addArchiveEntries) New method. Adds entries ending with / to the list
     477        of folders.
     478        (getCodeBaseFolders) Returns the folders collected by addArchiveEntries
     479        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
     480        (initializeResources) If ran as plugin, add archive tag folders to the
     481        code base loader.
     482
     4832012-06-27  Adam Domurad  <adomurad@redhat.com>
     484
     485        Tests folders in archive tag
     486        * tests/jnlp_tests/custom/AppletFolderInArchiveTag/testcases/AppletFolderInArchiveTagTests.java:
     487        Runs html file in browser
     488        * tests/jnlp_tests/custom/AppletFolderInArchiveTag/srcs/Makefile:
     489        packages compiled source files in folder
     490        * tests/jnlp_tests/custom/AppletFolderInArchiveTag/srcs/AppletFolderInArchiveTag.java:
     491        Simple output to confirm it is running
     492        * tests/jnlp_tests/custom/AppletFolderInArchiveTag/resources/AppletFolderInArchiveTag.html:
     493        Has folder in its archive tag that contains a class file
     494
     4952012-06-26  Jiri Vanek  <jvanek@redhat.com>
     496
     497        Added slipped midori and epiphany to recognized browsers.
     498        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/BrowserFactory.java:
     499        (BrowserFactory) added slipped cases for creating Epiphany and Midori singletons
     500
     5012012-06-26  Jiri Vanek  <jvanek@redhat.com>
     502
     503        * Makefile.am:  Most crucial variables exported to be used by custom Makefiles
     504        (CUSTOM_REPRODUCERS): new variable to hold custom name
     505        (ALL_NONCUSTOM_REPRODUCERS): new variable for gathering all except custom reproducers
     506        (ALL_REPRODUCERS): now contains also custom ones
     507        (stamps/junit-jnlp-dist-dirs): now depends also on junit-jnlp-dist-custom.txt
     508        (junit-jnlp-dist-custom.txt): new target scanning for directories in jnlp_tests/custom
     509        and saving them as list for future purposes.
     510        (stamps/netx-dist-tests-prepare-reproducers.stamp): and
     511        ( stamps/change-dots-to-paths.stamp):iterate through ALL_NONCUSTOM_REPRODUCERS
     512        instead of ALL__REPRODUCERS
     513        (stamps/process-custom-reproducers.stamp) : new target for iterating by
     514        junit-jnlp-dist-custom.txt through  jnlp_tests/custom/srcs* and launching
     515        make prepare-reproducer in each.
     516        (clean-custom-reproducers): same as above but launching make clean-reproducer
     517        (run-netx-dist-tests) now depends on stamps/process-custom-reproducers.stamp
     518        (clean-netx-dist-tests): now depends on clean-custom-reproducers and is removing
     519        stamps/netx-dist-tests-copy-resources.stamp
     520        (stamps/netx-dist-tests-copy-resources.stamp): new target extracting
     521        copying of resources from stamps/netx-dist-tests-compile-testcases.stamp
     522        * tests/jnlp_tests/README: described this mechanism a bit
     523
     5242012-06-26 Jiri Vanek <jvanek@redhat.com>
     525
     526        Reproducer for classes which should be loaded before verification but are not
     527        * tests/jnlp_tests/signed/InternalClassloaderWithDownloadedResource/resources/InternalClassloaderWithDownloadedResource-applet-hack.jnlp
     528        jnlp launcher of applet variant with injecting new url to classlaoder
     529        * tests/jnlp_tests/signed/InternalClassloaderWithDownloadedResource/resources/InternalClassloaderWithDownloadedResource-applet-new.jnlp
     530        jnlp launcher of applet variant with custom classlaoder
     531        * tests/jnlp_tests/signed/InternalClassloaderWithDownloadedResource/resources/InternalClassloaderWithDownloadedResource-hack.html
     532        html launcher of applet variant with injecting new url to classlaoder
     533        * tests/jnlp_tests/signed/InternalClassloaderWithDownloadedResource/resources/InternalClassloaderWithDownloadedResource-hack.jnlp
     534        jnlp launcher of application variant with injecting new url to classlaoder
     535        * tests/jnlp_tests/signed/InternalClassloaderWithDownloadedResource/resources/InternalClassloaderWithDownloadedResource-new.html
     536        html launcher of applet variant with custom classlaoder
     537        * tests/jnlp_tests/signed/InternalClassloaderWithDownloadedResource/resources/InternalClassloaderWithDownloadedResource-new.jnlp
     538        jnlp launcher of application variant with custom classlaoder
     539        * tests/jnlp_tests/signed/InternalClassloaderWithDownloadedResource/srcs/InternalClassloaderWithDownloadedResource.java:
     540        Both application and applet reproducing behavior of this bug
     541        * tests/jnlp_tests/signed/InternalClassloaderWithDownloadedResource/testcases/InternalClassloaderWithDownloadedResourceTest.java:
     542        Testcase launching jnlp application, jnlp applet and html applet
     543
     5442012-06-26  Jiri Vanek  <jvanek@redhat.com>
     545
     546        Last hope for not downloaded resources to be verified
     547        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
     548        (getCodeSourceSecurity): will now try to download and verify resource
     549        which was downloaded outside of netx.
     550        (alreadyTried) set for memory of once tried resources to not try again
     551
     5522012-06-25  Adam Domurad  <adomurad@redhat.com>
     553
     554        Small comment cleanup to classes with missing or wrong descriptions.
     555        * plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java:
     556        Comment at top fixed
     557        * plugin/icedteanp/java/sun/applet/AppletSecurityContextManager.java:
     558        Same
     559        * plugin/icedteanp/java/sun/applet/PluginException.java: Same
     560        * plugin/icedteanp/java/sun/applet/PluginCallRequestFactory.java: Same
     561        * netx/net/sourceforge/jnlp/PluginBridge.java: Add class description.
     562        * plugin/icedteanp/java/sun/applet/PluginCallRequest.java:
     563        Removed FIXME that had already been fixed.
     564
     5652012-06-25  Adam Domurad  <adomurad@redhat.com>
     566
     567        Allow passing of plugin tables and browser tables in NP_Initialize that
     568        are not the expected length but still large enough for our purposes.
     569        * plugin/icedteanp/IcedTeaNPPlugin.cc
     570        (initialize_browser_functions): New function to check size of passed
     571        browser function table, and initialize 'browser_functions' global
     572        variable.
     573        (initialize_plugin_table): New function to check size of passed
     574        plugin function table, and initialize proper plugin callbacks.
     575        (NP_Initialize): Make use of initialization helper functions, get
     576        rid of old size tests and error if the helper functions fail.
     577
     5782012-06-20  Adam Domurad  <adomurad@redhat.com>
     579
     580        * netx/net/sourceforge/jnlp/tools/JarCertVerifier.java
     581        (verifyJar): two for loops made into for-each loops
     582
     5832012-06-19  Jiri Vanek  <jvanek@redhat.com>
     584
     585        various test for browser engine
     586        * tests/jnlp_tests/simple/AppletTest/resources/appletAutoTests.html:
     587        fixed missing parenthesis
     588        * tests/jnlp_tests/simple/AppletTest/resources/appletAutoTests2.html:
     589        new test excluding XslowX for applets
     590        * tests/jnlp_tests/simple/AppletTest/testcases/AppletTestTests:
     591        (doubleChrome) test for ensuring that two chrome browsers launched
     592        behind themselves will not cause errors as they were without
     593        criticalFixes patch
     594        (AppletInBrowserTest) and (AppletInBrowserTestXslowX) testing methods
     595        for all browser
     596        * tests/jnlp_tests/simple/AppletTest/testcases/AppletBaseURLTest:
     597        * tests/jnlp_tests/simple/AppletTest/testcases/CheckServicesTests:
     598        * tests/jnlp_tests/simple/AppletTest/testcases/AppletReadsInvalidJarTests:
     599        Included @TestInBrowser instead of plain executeBrowser
     600        * tests/jnlp_tests/simple/deadlocktest/srcs/DeadlockTest.java: improved
     601        to print sometimes something out
     602        * tests/jnlp_tests/simple/deadlocktest/testcases/DeadLockTestTest.java:
     603        (testDeadLockTestTerminatedBody) enhanced to ensure that not so much is
     604        lost when process is terminated, but showing that something can be lost
     605        (which is correct)
     606        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java:
     607        (testNonExisitngBrowserWillNotDeadlock) testing taht when no browser is
     608        set, then no deadlock happens as happen before criticalFixes's deadlyException
     609        (testUnexistingProcessWillFailRecognizedly)  is actually testing deadlyException
     610        (testNonExisitngBrowserWillNotCauseMess) some but with annotation which
     611        was also harming output of tool little bit without TestInBrowsersAnnotation fixed.
     612        (testBrowsers2) is testing all browsers configuration without annotation
     613        and (testBrowser3) do the same configuration tests annotation driven
     614        (testBrowser) body of above two methods. Is testing whether used
     615        browsers are correctly linked with latest build
     616        (testBrowsers1) is testing parsing of -D variable
     617        (testListeners) annotated that needs display
     618        * tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java:
     619        annotated with Bug annotation
     620
     6212012-06-19  Jiri Vanek  <jvanek@redhat.com>
     622
     623        introduced possibility to run comfortably applets+html reproducers
     624        * Makefile.am: used BROWSER_TESTS_MODIFICATION variable to pass global
     625        switch from configure
     626        * acinclude.m4: (IT_SET_GLOBAL_BROWSERTESTS_BHAVIOUR) new method
     627        handling --with-browser-tests
     628        * configure.ac: used IT_SET_GLOBAL_BROWSERTESTS_BHAVIOUR
     629        switch and passing  BROWSER_TESTS_MODIFICATION variable to Makefile.
     630        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
     631        (currentBrowser) variable holding injected browser for ServerAccess instance
     632        (loggedBrowser) static variable keeping id of (currentBrowser) for static
     633        logging purposes
     634        (modifyMethodWithForBrowser) new function changing the name of method to
     635        "method - browser" for logging purposes
     636        (getBrowserLocation) - returning path to process to be launched when
     637        browser requested
     638        (getBrowserParams) - gathering set default's browser settings
     639        (set/getCurrentBrowsers) - set browser by id/return id of set browser
     640        (set/getCurrentBrowser) - set browser instance /returns instance of
     641        current browser
     642        (executeBrowser) family of methods now cooperate with above methods for
     643        default set browser
     644        (executeBrowser(Browser) family to work with implicit browser
     645        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/annotations/TestInBrowsers.java:
     646        annotation for determining which browser(s) to use with annotated method
     647        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/Browser.java:
     648        interface for dealing with various browsers
     649        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/BrowserFactory.java:
     650        singleton for mapping configured browsers x requested browser x browsers proxies
     651        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/BrowserTest.java:
     652        Forefather of all testcases which have methods to do tests iniside browser.
     653        Is allowing correct annotation -> proxy trasnver to VirtualServer for
     654        selected method and is requesting custom runner from junit framework
     655        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/BrowserTestRunner.java:
     656        custom test Ruuner which is responsible for translating annotation and
     657        run the method mutlipletimes for each requested browser and to name it properly
     658        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/Browsers.java:
     659        enumeration of abstract browsers and theirs sets or subsets.
     660        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/browsers/*:
     661        individual browsers proxies and theirs abstractions,namely:
     662        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/browsers/Opera.java:
     663        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/browsers/Firefox.java:
     664        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/browsers/Chrome.java:
     665        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/browsers/Chromium.java:
     666        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/browsers/Midori.java:
     667        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/browsers/Epiphany.java:
     668        proxies for  browsers as name suggests
     669        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/browsers/LinuxBrowser.java:
     670        abstract forefather for all browsers implementing Browser interface. Is
     671        setting /usr/bin as bin path, libjavaplugin.so as default plugin library name,
     672        intorducing stubs for methods (eg 32/64 bit libs)
     673        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/browsers/MozillaFamilyLinuxBrowser:
     674        forefather for all browsers except Opera. Is unifying .mozilla/plugins directories
     675
     6762012-06-15  Jiri Vanek  <jvanek@redhat.com>
     677
     678        * tests/jnlp_tests/simple/AppletTest/resources/appletAutoTests.html:
     679        Added quotes around parameters  of html applet tag.
     680        * tests/jnlp_tests/simple/deadlocktest/testcases/DeadLockTestTest.java:
     681        Output verification is counting with repeated and probably unfinished outputs.
     682        * tests/jnlp_tests/simple/deadlocktest/srcs/DeadlockTest.java
     683        Is now printing out sentence in intervals to avoid destroy-consume as much as possible
     684        * tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java:
     685        Added bug annotation with threads on distro-pkg-dev
     686
     6872012-06-15  Adam Domurad  <adomurad@redhat.com>
     688
     689        Fixed two memory leaks
     690        * plugin/icedteanp/IcedTeaNPPlugin.cc
     691        (consume_message): Call to g_strsplit matched with call to g_strfreev.
     692        * plugin/icedteanp/IcedTeaPluginUtils.cc
     693        (post): Removed copy of string, which assumed consumer freed string
     694        (which was not true and not always possible)
     695
     6962012-06-11  Danesh Dadachanji  <ddadacha@redhat.com>
     697
     698        PR855: AppletStub getDocumentBase() doesn't return full URL
     699        * NEWS: Added PR855 entry.
     700        * plugin/icedteanp/IcedTeaNPPlugin.cc (plugin_get_documentbase):
     701        Assign documentbase_copy directly to href's value instead of iterating
     702        through the segments to remove the file from the path.
     703        * tests/jnlp_tests/simple/AppletBaseURLTest/srcs/AppletBaseURL.java:
     704        * tests/jnlp_tests/simple/AppletBaseURLTest/testcases/AppletBaseURLTest.java:
     705        * tests/jnlp_tests/simple/AppletBaseURLTest/resources/AppletBaseURLTest.html:
     706        * tests/jnlp_tests/simple/AppletBaseURLTest/resources/AppletBaseURLTest.jnlp:
     707        * tests/jnlp_tests/simple/AppletBaseURLTest/resources/AppletJNLPHrefBaseURLTest.html:
     708        New reproducer that checks the URLS that document and codebase
     709        point are correct.
     710
     7112012-06-13  Danesh Dadachanji  <ddadacha@redhat.com>
     712
     713        Update CheckServices reproducer to handle browser testcase.
     714        * tests/jnlp_tests/simple/CheckServices/testcases/CheckServicesTests.java:
     715        Added browser test and annotation, refactored asserts into helper method.
     716        * tests/jnlp_tests/simple/CheckServices/resources/CheckPluginServices.html:
     717        New browser test file that runs applet using jnlp_href.
     718
     7192012-06-13  Jiri Vanek  <jvanek@redhat.com>
     720
     721        * tests/junit-runner/JunitLikeXmlOutputListener.java:
     722        Introduced TEST_IGNORED_ATTRIBUTE to mark test as ignored if should be.
     723        * tests/report-styles/jreport.xsl: Applied correct text and style for
     724        tests with attribute ignored.
     725
     7262012-06-12  Adam Domurad  <adomurad@redhat.com>
     727
     728        Fixes PR722, javaws failing to run with unsigned content in META-INF/
     729        * NEWS: Added entry: Fixes PR722
     730        * netx/net/sourceforge/jnlp/tools/JarCertVerifier.java: Changed
     731        isSignatureRelated => isMetaInfFile. Now all files under META-INF/ are
     732        disregarded in checking the jar signage.
     733
     7342012-06-11  Jiri Vanek  <jvanek@redhat.com>
     735
     736        Implemented xml logging backend
     737        * Makefile.am: (stamps/run-netx-unit-tests.stamp) and
     738        (stamps/run-netx-dist-tests.stamp) removed redirection of streams as
     739        logging is now done in ServerAccess tests extensions
     740        added xsltproc execution above generated xml log
     741        xsltproc generating results html files is now receiving result of above
     742        as parameter
     743        * tests/report-styles/jreport.xsl: log parameter is now accepted, and
     744        if set, then all tests are linking into specified file to show the log
     745        * tests/report-styles/report.css: added styles for new links
     746        * tests/report-styles/index.js: new functions to work for result of below sheet
     747        * tests/report-styles/logs.xsl: new file, sheet to convert xml log to html file
     748        * tests/report-styles/output.css: new file, styles of above html file
     749        * tests/jnlp_tests/simple/deadlocktest/testcases/DeadLockTestTest.java:
     750        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java:
     751        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
     752        Tests', server's and ProcessAssasin's logs are now redirected to bottleneck
     753        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
     754        (LOGS_REPRINT) flag for debugging purposes, will enable reprinting to
     755        stdout/err again
     756        (DEFAULT_LOG_FILE ) default name of xml output
     757        (DEFAULT_STDERR_FILE)(DEFAULT_STDOUT_FILE)(DEFAULT_STDLOGS_FILE) default
     758        values of plain text output files
     759        (*ELEMENT) and( (*ATTRIBUTE) variables keeping repeated names of xml
     760        output parts
     761        (writeXmlLog) method called from Sytsem.hook to save xml log
     762        (addToXmlLog) method to record item to xml structure
     763        (TestsLogs) and (LogItem) inner classes to keep logging information
     764        (log) is now reprinting message with id to std out/err dependently on
     765        (LOGS_REPRINT) but always to internal streams, possilbe exception is thrown
     766        (logException) new method, shortcut to log exception in same way as message
     767        (getTestMethod) now can handle methods inside ServerAccess class too
     768
     7692012-06-11  Adam Domurad  <adomurad@redhat.com>
     770
     771        * NEWS: Added mention of fixing PR518
     772
     7732012-06-07  Saad Mohammad  <smohammad@redhat.com>
     774
     775        Allows the user to configure browser paths and/or disable browsers.
     776        * acinclude.m4 (IT_FIND_BROWSER): Checks if the browser is set to be
     777        disabled, or if the path provided is valid. Otherwise, it locates the
     778        default path to the browser if found on the system.
     779        * configure.ac: Uses IT_FIND_BROWSER to find/configure browsers.
     780
     7812012-06-06  Deepak Bhole <dbhole@redhat.com>
     782
     783        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
     784        (getAccessControlContextForClassLoading): Iterate over codebase URLs only
     785        if codeBaseLoader is not null.
     786
     7872012-06-05  Deepak Bhole <dbhole@redhat.com>
     788
     789        PR861: Allow loading from non codebase hosts. Allow code to connect to
     790        hosting server.
     791        * netx/net/sourceforge/jnlp/SecurityDesc.java
     792        (getSandBoxPermissions): Only add host if it is not empty.
     793        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
     794        (getPermissions): Add SocketPermission for code source host.
     795        (findLoadedClassAll): Call super methods privileged so that connection to
     796        non codebase hosts can be made.
     797        (findClass): Same.
     798        (findResourcesBySearching): Same. Also use privileged context for enum
     799        operations because the enum is defined on the fly by URLClassLoader and
     800        checks for hosting server connectivity via next().
     801        (getAccessControlContextForClassLoading): New method. Returns a control
     802        context for classloader operations like find/load/etc.
     803        (CodeBaseClassLoader::findClass): Call super methods privileged so that
     804        connection to non codebase hosts can be made.
     805        (CodeBaseClassLoader::findResource): Same.
     806
     8072012-06-05  Jiri Vanek  <jvanek@redhat.com>
     808
     809        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/annotations/KnownToFail.java
     810        New file. Annotation for marking failing tests.
     811        * tests/report-styles/jreport.xsl:
     812        * tests/junit-runner/LessVerboseTextListener.java:
     813        * tests/junit-runner/JunitLikeXmlOutputListener.java:  Added counting
     814        and printing of @KnownToFail annotations if presented.
     815        * tests/jnlp_tests/simple/Spaces can be everywhere/testcases/SpacesCanBeEverywhereTests.java:
     816        (SpacesCanBeEverywhereRemoteTests1) (SpacesCanBeEverywhereRemoteTests2)
     817        (SpacesCanBeEverywhereRemoteTests3)
     818        * tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java: (testTemplateCDATA)
     819        (testApplicationCDATA)
     820        * tests/netx/unit/net/sourceforge/jnlp/ParserCornerCases.java:
     821        (testCDataFirstChild) (testCDataSecondChild) (testCommentInAttributes)
     822        * tests/netx/unit/net/sourceforge/jnlp/ParserMalformedXml.java:
     823        (testMalformedArguments) (testTagNotClosed) (testUnquotedAttributes)
     824        marked as KnownToFail
     825
     8262012-06-05  Jiri Vanek  <jvanek@redhat.com>
     827
     828        isDateInRange renamed to isDateInRange_internallForIcedTeaWebTesting
     829        * netx/net/sourceforge/jnlp/runtime/pac-funcs.js: and
     830        * tests/netx/pac/pac-funcs-test.js:
     831        (isDateInRange): Renamed to isDateInRange_internallForIcedTeaWebTesting.
     832        (isDateInRange_internallForIcedTeaWebTesting): New function
     833
     8342012-06-04  Saad Mohammad <smohammad@redhat.com>
     835
     836        Added signed jnlp file tests.
     837        * tests/jnlp_tests/signed/SignedJnlpApplication/resources/SignedJnlpApplication1.jnlp:
     838        Launching jnlp file that matches the signed jnlp application file.
     839        * tests/jnlp_tests/signed/SignedJnlpApplication/resources/SignedJnlpApplication2.jnlp:
     840        * tests/jnlp_tests/signed/SignedJnlpApplication/resources/SignedJnlpApplication3.jnlp:
     841        Launching jnlp file that does not match the signed jnlp application file.
     842        * tests/jnlp_tests/signed/SignedJnlpApplication/srcs/JNLP-INF/APPLICATION.jnlp:
     843        Signed jnlp application file.
     844        * tests/jnlp_tests/signed/SignedJnlpApplication/srcs/SignedJnlpApplication.java:
     845        A simple java class that outputs a string.
     846        * tests/jnlp_tests/signed/SignedJnlpApplication/testcases/SignedJnlpApplicationTest.java:
     847        Testcase that tests the launching of applications with a signed jnlp
     848        application file.
     849        * tests/jnlp_tests/signed/SignedJnlpTemplate/resources/SignedJnlpTemplate1.jnlp:
     850        Launching jnlp file that matches the signed jnlp application template file.
     851        * tests/jnlp_tests/signed/SignedJnlpTemplate/resources/SignedJnlpTemplate2.jnlp:
     852        * tests/jnlp_tests/signed/SignedJnlpTemplate/resources/SignedJnlpTemplate3.jnlp:
     853        Launching jnlp file that does not match the signed jnlp application
     854        template file.
     855        * tests/jnlp_tests/signed/SignedJnlpTemplate/srcs/JNLP-INF/APPLICATION_TEMPLATE.jnlp:
     856        Signed jnlp application template file.
     857        * tests/jnlp_tests/signed/SignedJnlpTemplate/srcs/SignedJnlpTemplate.java:
     858        A simple java class that outputs a string.
     859        * tests/jnlp_tests/signed/SignedJnlpTemplate/testcases/SignedJnlpTemplateTest.java:
     860        Testcase that tests the launching of applications with a signed jnlp
     861        application template file.
     862        * tests/jnlp_tests/simple/UnsignedJnlpApplication/resources/UnsignedJnlpApplication1.jnlp:
     863        Launching jnlp file that matches the unsigned jnlp application file.
     864        * tests/jnlp_tests/simple/UnsignedJnlpApplication/resources/UnsignedJnlpApplication2.jnlp:
     865        * tests/jnlp_tests/simple/UnsignedJnlpApplication/resources/UnsignedJnlpApplication3.jnlp:
     866        Launching jnlp file that does not match the unsigned jnlp application file.
     867        * tests/jnlp_tests/simple/UnsignedJnlpApplication/srcs/JNLP-INF/APPLICATION.jnlp:
     868        Unsigned jnlp application file.
     869        * tests/jnlp_tests/simple/UnsignedJnlpApplication/srcs/UnsignedJnlpApplication.java:
     870        A simple java class that outputs a string.
     871        * tests/jnlp_tests/simple/UnsignedJnlpApplication/testcases/UnsignedJnlpApplicationTest.java:
     872        Testcase that tests the launching of applications with an unsigned jnlp
     873        application file.
     874        * tests/jnlp_tests/simple/UnsignedJnlpTemplate/resources/UnsignedJnlpTemplate1.jnlp:
     875        Launching jnlp file that matches the unsigned jnlp application
     876        template file.
     877        * tests/jnlp_tests/simple/UnsignedJnlpTemplate/resources/UnsignedJnlpTemplate2.jnlp:
     878        * tests/jnlp_tests/simple/UnsignedJnlpTemplate/resources/UnsignedJnlpTemplate3.jnlp:
     879        Launching jnlp file that does not match the unsigned jnlp application
     880        template file.
     881        * tests/jnlp_tests/simple/UnsignedJnlpTemplate/srcs/JNLP-INF/APPLICATION_TEMPLATE.jnlp:
     882        Unsigned jnlp application template file.
     883        * tests/jnlp_tests/simple/UnsignedJnlpTemplate/srcs/UnsignedJnlpTemplate.java:
     884        A simple java class that outputs a string.
     885        * tests/jnlp_tests/simple/UnsignedJnlpTemplate/testcases/UnsignedJnlpTemplateTest.java:
     886        Testcase that tests the launching of applications with an unsigned jnlp
     887        application template file.
     888        * tests/jnlp_tests/signed/SignedJnlpCaseTestOne/resources/SignedJnlpCaseTestOne1.jnlp:
     889        Launching jnlp file that matches the signed jnlp application file.
     890        * tests/jnlp_tests/signed/SignedJnlpCaseTestOne/resources/SignedJnlpCaseTestOne2.jnlp:
     891        Launching jnlp file that does not match the signed jnlp application file.
     892        * tests/jnlp_tests/signed/SignedJnlpCaseTestOne/srcs/JNLP-INF/aPpLiCaTioN.jnlp:
     893        Signed jnlp application file.
     894        * tests/jnlp_tests/signed/SignedJnlpCaseTestOne/srcs/SignedJnlpCase.java:
     895        A simple java class that outputs a string.
     896        * tests/jnlp_tests/signed/SignedJnlpCaseTestOne/testcases/SignedJnlpCaseOneTest.java:
     897        Testcase that tests the case-sensitivity of the signed jnlp application's
     898        filename.
     899        * tests/jnlp_tests/signed/SignedJnlpCaseTestTwo/resources/SignedJnlpCaseTestTwo1.jnlp:
     900        Launching jnlp file that matches the signed jnlp application template file.
     901        * tests/jnlp_tests/signed/SignedJnlpCaseTestTwo/resources/SignedJnlpCaseTestTwo2.jnlp:
     902        Launching jnlp file that does not match the signed jnlp application
     903        template file.
     904        * tests/jnlp_tests/signed/SignedJnlpCaseTestTwo/srcs/JNLP-INF/aPpLiCaTiOn_tEmPlAte.jnlp:
     905        Signed jnlp application template file.
     906        * tests/jnlp_tests/signed/SignedJnlpCaseTestTwo/srcs/SignedJnlpCase.java:
     907        A simple java class that outputs a string.
     908        * tests/jnlp_tests/signed/SignedJnlpCaseTestTwo/testcases/SignedJnlpCaseTwoTest.java:
     909        Testcase that tests the case-sensitivity of the signed jnlp application
     910        template's filename.
     911
     9122012-06-04  Danesh Dadachanji  <ddadacha@redhat.com>
     913
     914        Fix to handle absolute paths passed into jnlp_href's value.
     915        * netx/net/sourceforge/jnlp/PluginBridge.java
     916        (PluginBridge): Uses context of codebase to evaluate jnlp_href's value.
     917        Uses JNLPCreator's create method to make new JNLPFile variables.
     918        New constructor that wraps around the original one, creating a new
     919        JNLPCreator to use.
     920        * netx/net/sourceforge/jnlp/JNLPCreator.java: New strategy pattern class
     921        to be used to wrap around the creation of a JNLPFile. Replace this creator
     922        when unit testing to skip running parsing code.
     923        * tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java:
     924        New class to unit test getEvaluatedJNLPHref.
     925
     9262012-06-04  Adam Domurad  <adomurad@redhat.com>
     927
     928        Added self to AUTHORS.
     929        This patch fixes PR518, ensures null termination of strings based off
     930        of NPVariant results.
     931        * plugin/icedteanp/IcedTeaPluginUtils.h: Added declaration of
     932        NPVariantAsString
     933        * plugin/icedteanp/IcedTeaPluginUtils.cc
     934        (NPVariantAsString): New. Converts an NPVariant to a
     935        std::string, assumes it is a valid NPString.
     936        (isObjectJSArray): Now uses NPVariantAsString, minor cleanup.
     937        * plugin/icedteanp/IcedTeaJavaRequestProcessor.cc
     938        (plugin_get_documentbase): Now uses NPVariantAsString.
     939        * plugin/icedteanp/IcedTeaNPPlugin.cc
     940        (NPVariantToString): Now uses NPVariantAsString, minor cleanup.
     941
     9422012-06-01  Deepak Bhole <dbhole@redhat.com>
     943
     944        PR863: Error passing strings to applet methods in Chromium
     945        * plugin/icedteanp/IcedTeaJavaRequestProcessor.cc
     946        (createJavaObjectFromVariant): Account for length of the characters.
     947        * plugin/icedteanp/IcedTeaNPPlugin.cc (plugin_get_documentbase): Same.
     948        * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc (_eval): Print the
     949        string's c_str rather than utf8characters.
     950        * plugin/icedteanp/IcedTeaPluginUtils.cc (printNPVariant): Account for
     951        length of the characters.
     952        (NPVariantToString): Same.
     953        (isObjectJSArray): Same.
     954
     9552012-05-30  Jiri Vanek  <jvanek@redhat.com>
     956
     957        Enabled multiple certificates and extracted variables
     958        * Makefile.am: EXPORTED_TEST_CERT by EXPORTED_TEST_CERT_PREFIX and
     959        EXPORTED_TEST_CERT_SUFFIX for further composition
     960        SIGNED_REPRODUCERS new variable for  iterating through signed reproducers
     961        SIMPLE_REPRODUCERS new variable for  iterating through simple reproducers
     962        ALL_REPRODUCER new variable for  iterating through all reproducers
     963        (junit-jnlp-dist-signed.txt) replaced by
     964        (stamps/junit-jnlp-dist-signed.stamp) which generates
     965        junit-jnlp-dist-signedX.txt for each directory with signed reproducers
     966        (stamps/netx-dist-tests-prepare-reproducers.stamp)
     967        (stamps/change-dots-to-paths.stamp)
     968        (stamps/netx-dist-tests-compile-testcases.stamp)
     969        (run-netx-dist-codecoverage): extracted variables
     970        (clean-netx-dist-tests): iterates through all the list and removes them
     971        (stamps/netx-dist-tests-sign-some-reproducers.stamp): now iterate through
     972        SIGNED_REPRODUCERS and creates special certificate for each member. Each
     973        jar from this directory is then signed by corresponding certificate
     974        (netx-dist-tests-remove-cert-from-public): iterates through all certificates
     975        (stamps/netx-dist-tests-import-cert-to-public): exports each certificate
     976        created during tests preparations
     977        ($(EXPORTED_TEST_CERT)) replaced by stamps/exported-test-certs.stamp which
     978        create for each of SIGNED_REPRODUCERS individual certificate
     979        (tests/jnlp_tests/README): mentioned possibility of multiple certificate
     980
     9812012-05-29  Jiri Vanek  <jvanek@redhat.com>
     982
     983        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (getPermissions):
     984        New rethrow of exceptions and following condition make more accurate.
     985
     9862012-05-29  Jiri Vanek  <jvanek@redhat.com>
     987
     988        Get rid of repeated sout/serr  in reproducers testcases/unit tests and
     989        introduce bottleneck for loging.
     990        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
     991        (PROCESS_LOG) static flag for enabling/disabling automatic logging of
     992        statically executed processes.
     993        (logErrorReprint) (logOutputReprint) (logNoReprint) new methods, to call 
     994        logging bottleneck.
     995        (log) main logging bottleneck, reprint message to according stream with
     996        calling test-class and test-method as suffix.
     997        (getTestMethod) new method to analyze calling test-method.
     998        (executeProcess) enhanced for conditional automatic logging of start of
     999        process and outputs of process.
     1000        * tests/jnlp_tests/signed/AppletTestSigned/testcases/AppletTestSignedTests.java:
     1001        * tests/jnlp_tests/signed/CacheReproducer/testcases/CacheReproducerTest.java:
     1002        * tests/jnlp_tests/signed/MissingJar/testcases/MissingJarTest.java:
     1003        * tests/jnlp_tests/signed/ReadPropertiesSigned/testcases/ReadPropertiesSignedTest.java:
     1004        * tests/jnlp_tests/signed/Spaces can be everywhere signed/testcases/SpacesCanBeEverywhereTestsSigned.java:
     1005        * tests/jnlp_tests/simple/AccessClassInPackage/testcases/AccessClassInPackageTest.java:
     1006        * tests/jnlp_tests/simple/AddShutdownHook/testcases/AddShutdownHookTest.java:
     1007        * tests/jnlp_tests/simple/AllStackTraces/testcases/AllStackTracesTest.java:
     1008        * tests/jnlp_tests/simple/AppletTest/testcases/AppletTestTests.java:
     1009        * tests/jnlp_tests/simple/CheckServices/testcases/CheckServicesTests.java:
     1010        * tests/jnlp_tests/simple/CreateClassLoader/testcases/CreateClassLoaderTest.java:
     1011        * tests/jnlp_tests/simple/InformationTitleVendorParser/testcases/InformationTitleVendorParserTest.java:
     1012        * tests/jnlp_tests/simple/ManifestedJar1/testcases/ManifestedJar1Test.java:
     1013        * tests/jnlp_tests/simple/ReadEnvironment/testcases/ReadEnvironmentTest.java:
     1014        * tests/jnlp_tests/simple/ReadProperties/testcases/ReadPropertiesTest.java:
     1015        * tests/jnlp_tests/simple/RedirectStreams/testcases/RedirectStreamsTest.java:
     1016        * tests/jnlp_tests/simple/ReplaceSecurityManager/testcases/ReplaceSecurityManagerTest.java:
     1017        * tests/jnlp_tests/simple/SetContextClassLoader/testcases/SetContextClassLoaderTest.java:
     1018        * tests/jnlp_tests/simple/Spaces can be everywhere/testcases/SpacesCanBeEverywhereTests.java:
     1019        * tests/jnlp_tests/simple/deadlocktest/testcases/DeadLockTestTest.java:
     1020        * tests/jnlp_tests/simple/simpletest1/testcases/SimpleTest1Test.java:
     1021        * tests/jnlp_tests/simple/simpletest2/testcases/SimpleTest2Test.java:
     1022        * tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java:
     1023        * tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java:
     1024        * tests/netx/unit/net/sourceforge/jnlp/util/replacements/BASE64EncoderTest.java:
     1025        all System.out replaced by ServerAccess.logOutputReprint
     1026        and System.err replaced by ServerAccess.logErrorReprint
     1027
     10282012-05-25  Adam Domurad <adomurad@redhat.com>
     1029
     1030        Changed for-loops over iterators and indices to for-each loops if they
     1031        were sufficient and clearer.
     1032        * netx/net/sourceforge/jnlp/JNLPFile.java: Changed for-loops that could
     1033        be expressed more clearly as for-each loops.
     1034        * netx/net/sourceforge/jnlp/PluginBridge.java: Same
     1035        * netx/net/sourceforge/jnlp/ResourcesDesc.java: Same
     1036        * netx/net/sourceforge/jnlp/cache/CacheUtil.java: Same
     1037        * netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java: Same
     1038        * netx/net/sourceforge/jnlp/cache/Resource.java: Same
     1039        * netx/net/sourceforge/jnlp/cache/ResourceTracker.java: Same
     1040        * netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java: Same
     1041        * netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java: Same
     1042        * plugin/icedteanp/java/netscape/javascript/JSObject.java: Same
     1043        * plugin/icedteanp/java/sun/applet/JavaConsole.java: Same
     1044        * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: Same
     1045
     10462012-05-23  Adam Domurad  <adomurad@redhat.com>
     1047        Removed instances of snprintf where buffer size was not known. Added
     1048        buffer size constant for allocating buffers for numeric conversions.
     1049        * plugin/icedteanp/IcedTeaNPPlugin.cc: Removed usage of snprintf for
     1050        simple blanking of strings. Buffer size was misguided previously.
     1051        Used NUM_STR_BUFFER_SIZE constant to replace magic numbers/
     1052        * plugin/icedteanp/IcedTeaPluginUtils.cc: Made
     1053        NPVariantToString(NPVariant variant, std::string* result) use two
     1054        space indentation. Used NUM_STR_BUFFER_SIZE constant to replace magic
     1055        numbers.
     1056        * plugin/icedteanp/IcedTeaPluginUtils.h: Added constant,
     1057        NUM_STR_BUFFER_SIZE.
     1058
     10592012-05-24  Danesh Dadachanji <ddadacha@redhat.com>
     1060
     1061        Fix use of src dir instead of build dir when whitelisting.
     1062        * Makefile.am (REPRODUCERS_CLASS_WHITELIST): Use abs_top_srcdir
     1063        instead of abs_top_builddir.
     1064
     10652012-05-23  Martin Olsson <martin@minimum.se>
     1066
     1067        * plugin/icedteanp/IcedTeaPluginUtils.cc:
     1068        Tiny fixup for changeset 383; don't do free(stack_variable).
     1069
     10702012-05-20  Jiri Vanek  <jvanek@redhat.com>
     1071
     1072        Reproducers engine enhanced for jars in subdirectories by "." naming convention
     1073        * Makefile.am: (stamps/change-dots-to-paths.stamp) new target to copy jars
     1074        with dots (.jar omitted) to the java-like package/directory structure in
     1075        jnlp_test_server
     1076        (EXPORTED_TEST_CERT) now depends on  stamps/change-dots-to-paths.stamp
     1077        (clean-netx-dist-tests) removes stamps/change-dots-to-paths.stamp too.
     1078
     10792012-05-24  Jiri Vanek  <jvanek@redhat.com>
     1080
     1081        Introduced whitelist for reproducers
     1082        * netx-dist-tests-whitelist: new file, contains regular expressions
     1083        (separated by space) for expr to select testcases which only will be
     1084        run. By default set to all by expression .*
     1085        * Makefile.am: (REPRODUCERS_CLASS_NAMES) When class with testcases is
     1086        going to be included in list, it is at first check for match in whitelist.
     1087        If there is no match, will not be included.
     1088
     10892012-05-24  Martin Olsson <martin@minimum.se>
     1090       
     1091        * plugin/icedteanp/IcedTeaPluginUtils.cc:
     1092        Fix two typos.
     1093
     10942012-05-23  Deepak Bhole <dbhole@redhat.com>
     1095
     1096        * AUTHORS: Added Martin Olsson to list.
     1097
     10982012-05-23  Martin Olsson  <martin@minimum.se>
     1099
     1100        * plugin/icedteanp/IcedTeaNPPlugin.cc:
     1101        Use g_mutex_free instead of g_free to free appletviewer_mutex (fixes
     1102        crash).
     1103
     11042012-05-23  Deepak Bhole <dbhole@redhat.com>
     1105
     1106        * ChangeLog: Converted spaces to tabs in an older entry
     1107
     11082012-05-23  Jiri Vanek  <jvanek@redhat.com>
     1109
     1110        * netx/net/sourceforge/jnlp/resources/Messages.properties: fixed error
     1111        in PBadNonrelativeUrl
     1112
     11132012-05-23 Jiri Vanek  <jvanek@redhat.com>
     1114
     1115        Added more debugging outputs
     1116        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
     1117        (getCodeSourceSecurity): added output message when no SecurityDesc is found
     1118        for some url/resource
     1119        * netx/net/sourceforge/jnlp/resources/Messages.properties: added LNoSecInstance
     1120        and LCertFoundIn values
     1121        * netx/net/sourceforge/jnlp/security/KeyStores.java: (getPathToKeystore):
     1122        new method, able to search for file used for creating of KeyStore if possible
     1123        * netx/net/sourceforge/jnlp/security/CertificateUtils.java: (inKeyStores)
     1124        using getPathToKeystore for debug output
     1125
     11262012-05-23  Jiri Vanek  <jvanek@redhat.com>
     1127
     1128        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (getPermissions):
     1129        Any exception from this method is consumed somewhere. I have cough exception,
     1130        reprint it in debug mode and re-throw (to be lost). Main condition in this
     1131        method had several possible NullPointer exceptions. Separated and thrown before
     1132        this condition.
     1133
     11342012-05-23  Jiri Vanek  <jvanek@redhat.com>
     1135
     1136        Enhanced about dialog
     1137        * extra/net/sourceforge/javaws/about/Main.java: Main frame and Main tab
     1138        renamed from "About NetX" to "About IcedTea-Web and NetX".
     1139        * extra/net/sourceforge/javaws/about/resources/about.html: mentioned
     1140        IcedTea-Web.
     1141        * extra/net/sourceforge/javaws/about/resources/notes.html: List of authors
     1142        synchronized with AUTHORS, mentioned classpath's IcedTea-Web as homepage
     1143        of IcedTea-web.
     1144
     11452012-05-23  Jiri Vanek  <jvanek@redhat.com>
     1146
     1147        Fixed error in reproducers source preparation
     1148        * Makefile.am: (stamps/netx-dist-tests-prepare-reproducers.stamp) removed
     1149        inappropriately used quotes when copying notSrcFiles. Source files now
     1150        copied only if src dir exists in reproducer
     1151
     11522012-05-22  Adam Domurad  <adomurad@redhat.com>
     1153
     1154        Changed allocation of small, fixed-size buffers to stack-based
     1155        allocations. Changed occurences of sprintf to the safer function
     1156        snprintf, added buffer information. While unlikely to change
     1157        functionality, snprintf adds an extra check to prevent buffer
     1158        overflows.
     1159        * plugin/icedteanp/IcedTeaNPPlugin.cc: Allocation of small buffers
     1160        using malloc changed to stack allocation & changed sprintf calls to
     1161        buffer-size aware snprintf calls.
     1162        * plugin/icedteanp/IcedTeaPluginUtils.cc: Same as above.
     1163
     11642012-05-22  Jiri Vanek  <jvanek@redhat.com>
     1165
     1166        * tests/jnlp_tests/signed/ReadPropertiesSigned/testcases/ReadPropertiesSignedTest.java:
     1167        * tests/jnlp_tests/simple/AddShutdownHook/testcases/AddShutdownHookTest.java:
     1168        * tests/jnlp_tests/simple/AllStackTraces/testcases/AllStackTracesTest.java:
     1169        * tests/jnlp_tests/simple/CreateClassLoader/testcases/CreateClassLoaderTest.java:
     1170        * tests/jnlp_tests/simple/ReadEnvironment/testcases/ReadEnvironmentTest.java:
     1171        * tests/jnlp_tests/simple/ReadProperties/testcases/ReadPropertiesTest.java:
     1172        * tests/jnlp_tests/simple/RedirectStreams/testcases/RedirectStreamsTest.java:
     1173        * tests/jnlp_tests/simple/ReplaceSecurityManager/testcases/ReplaceSecurityManagerTest.java:
     1174        * tests/jnlp_tests/simple/SetContextClassLoader/testcases/SetContextClassLoaderTest.java:
     1175        All exact matches upon AccessControlException replaced by regular expression matching both jdk7 and jdk6 syntax
     1176
     11772012-05-21  Jiri Vanek  <jvanek@redhat.com>
     1178
     1179        * Makefile.am: mzilla-filesystem linking targets now counts also with
     1180        midori and epiphany. Extracted duplicated entries to variables
     1181        * configure.ac: added  check for midori and epiphany
     1182
     11832012-05-21  Jiri Vanek  <jvanek@redhat.com>
     1184
     1185        Added detection of installed browsers and added targets to create
     1186        symbolic links from install dir to browsers' plugin directories.
     1187        Primarily for testing purposes
     1188        * Makefile.am: (stamps/user-links.stamp) with alias (links) - new target for
     1189        creating symlinks for all users. One must be root to execute this target.
     1190        (stamps/global-links.stamp) with alias (user-links) - new target
     1191        for creating symlinks for logged user only. Because opera is missing this feature,
     1192        quite useless for testing or dependence targets, but good for live user.
     1193        (restore-global-links): target for restoring original global links.
     1194        One must be root again
     1195        (restore-user-links): target for restoring user's links
     1196        * configure.ac: added basic check whether and which browsers are
     1197        installed
     1198
     11992012-05-18  Jiri Vanek  <jvanek@redhat.com>
     1200
     1201        Fixed behavior when encoded/characters needed encoding included in url
     1202        * NEWS: mentioned PR811
     1203        * netx/net/sourceforge/jnlp/cache/CacheUtil.java: (urlEquals) Enhanced
     1204        to be able compare encoded/decoded urls correctly.
     1205        (notNullUrlEquals) new method to separate comparing of individual parts of
     1206        url from null checks
     1207        * netx/net/sourceforge/jnlp/cache/ResourceTracker.java: (addResource)
     1208        is now encoding url if needed. (normalizeUrl) new method to encode path in
     1209        url of all except file protocol. (normalizeChunk) New method for encoding
     1210        of atomic piece.
     1211
     12122012-05-18  Jiri Vanek  <jvanek@redhat.com>
     1213
     1214        More tests for Spaces and characters in urls
     1215        * netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java: and
     1216        * netx/net/sourceforge/jnlp/cache/CacheUtil.java: for unit-tests
     1217        purposes (cacheDir) make to point to tmp dir when no
     1218        DeploymentConfiguration exists.
     1219        * tests/jnlp_tests/signed/Spaces can be everywhere signed/:
     1220        couple of new test doing the same as simple "Spaces can be everywhere"
     1221        but are signed
     1222        * tests/jnlp_tests/simple/Spaces can be everywhere/: added new test-cases
     1223        and html/jnlp test files to try more combinations of encodable characters
     1224        x launches
     1225        * tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java:
     1226        unittest for url encoder behavior
     1227        * tests/netx/unit/net/sourceforge/jnlp/cache/CacheUtilTest.java:
     1228        unittest for urlEquals function
     1229
     12302012-05-17  Adam Domurad  <adomurad@redhat.com>
     1231
     1232        Fixed uses of == to compare String objects to .equals where
     1233        appropriate.
     1234        Noted a non-obvious use of == to compare a 'magic' String reference.
     1235        * netx/net/sourceforge/jnlp/JNLPFile.java:
     1236        Changed calls that compare String contents from == to .equals
     1237        * plugin/icedteanp/java/sun/applet/GetMemberPluginCallRequest.java:
     1238        Same
     1239        * plugin/icedteanp/java/sun/applet/PluginCallRequestFactory.java:
     1240        Same
     1241        * netx/net/sourceforge/jnlp/Version.java: Added comment explaining why
     1242        == was used vs .equals
     1243
     12442012-05-14  Jiri Vanek  <jvanek@redhat.com>
     1245
     1246        * tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java:
     1247        * tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java:
     1248        System.out replaced with System.err
     1249
     12502012-05-14  Jiri Vanek  <jvanek@redhat.com>
     1251
     1252        * tests/junit-runner/JunitLikeXmlOutputListener.java: fixed indentation
     1253        and spacing
     1254
     12552012-05-11  Thomas Meyer  <thomas@m3y3r.de>
     1256
     1257        * tests/netx/unit/net/sourceforge/jnlp/util/PropertiesFileTest.java: Add
     1258        some unit tests for the PropertiesFile class
     1259        * tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java: Add
     1260        some unit tests for the CacheLRUWrapper class
     1261        * netx/net/sourceforge/jnlp/util/PropertiesFile.java: Use last
     1262        modification timestamp of the underlying file to lazy load properties.
     1263        (load): Only reload file, if the file modification timestamp has changed.
     1264        (store): Actually fsync() the file to disk.
     1265        * netx/net/sourceforge/jnlp/services/XPersistenceService.java (create):
     1266        Fix coding style
     1267        * netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java (load): Only check
     1268        data when the recently_used file was reloaded.
     1269
     12702012-05-02  Jiri Vanek  <jvanek@redhat.com>
     1271
     1272        Introduced new annotations Bug (to connect test/reproducer with documentation)
     1273        and NeedsDisplay which tells the launching engine that this particular
     1274        test needs Display. Based on ptisnovs's ideas and jtreg experiences
     1275        *Makefile.am: (JUNIT_RUNNER_JAR), (stamps/run-netx-unit-tests.stamp) and
     1276        (stamps/run-unit-test-code-coverage.stamp) are now dependent on (stamps/netx-dist-tests-compile)
     1277         and classpaths inside them have been enriched for JNLP_TESTS_ENGINE_DIR
     1278        which contains definitions of those annotations
     1279        *tests/jnlp_tests/simple/CheckServices/testcases/CheckServicesTests.java: and
     1280        *tests/jnlp_tests/simple/ManifestedJar1/testcases/ManifestedJar1Test.java: and
     1281        *tests/jnlp_tests/simple/Spaces can be everywhere/testcase/SpacesCanBeEverywhereTests.java:
     1282         filled Bug annotations
     1283        *tests/junit-runner/JunitLikeXmlOutputListener.java: made to understand
     1284        Bug annotation
     1285        *tests/netx/jnlp_testsengine/net/sourceforge/jnlp/annotations/NeedsDisplay.java:
     1286        and
     1287        *tests/netx/jnlp_testsengine/net/sourceforge/jnlp/annotations/Bug.java:
     1288        annotations definitions
     1289        *tests/report-styles/jreport.xsl: made nice links from bug annotation
     1290        prepared by JunitLikeXmlOutputListener
     1291
     12922012-04-24  Omair Majid  <omajid@redhat.com>
     1293
     1294        * Makefile.am
     1295        (RUNTIME): Add resources.jar.
     1296        (stamps/run-unit-test-code-coverage.stamp) [WITH_EMMA]: Add resouces.jar
     1297        to classpath.
     1298        (stamps/run-reproducers-test-code-coverage.stamp) [WITH_EMMA]: Include
     1299        resources.jar in classpath.
     1300        (stamps/bootstrap-directory.stamp): Create a link to resources.jar in
     1301        BOOT_DIR.
     1302
     13032012-04-19  Omair Majid  <omajid@redhat.com>
     1304
     1305        PR918: java applet windows uses a low resulution black/white icon
     1306        * NEWS: Update with fix.
     1307        * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Remove windowIcon.
     1308        (initialize): Do not call loadWindowIcon.
     1309        (getWindowIcon): Remove.
     1310        (setWindowIcon): Remove.
     1311        (loadWindowIcon): Remove.
     1312        * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
     1313        (checkTopLevelWindow): Do not set the icon for all top level windows. Use
     1314        the default java icon instead.
     1315        * netx/net/sourceforge/jnlp/util/ImageResources.java: New file. Provides
     1316        access to icons.
     1317        * netx/net/sourceforge/jnlp/JNLPSplashScreen.java (JNLPSplashScreen),
     1318        * netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java
     1319        (getListener),
     1320        * netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java
     1321        (AdvancedProxySettingsDialog),
     1322        * netx/net/sourceforge/jnlp/controlpanel/CacheViewer.java (CacheViewer),
     1323        * netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java (ControlPanel),
     1324        * netx/net/sourceforge/jnlp/security/SecurityDialog.java (SecurityDialog),
     1325        * netx/net/sourceforge/jnlp/security/viewer/CertificateViewer.java
     1326        (CertificateViewer),
     1327        * netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java (show),
     1328        * plugin/icedteanp/java/sun/applet/JavaConsole.java (initialize):
     1329        Explicitly load icons.
     1330        * tests/netx/unit/net/sourceforge/jnlp/util/ImageResourcesTest.java: Test
     1331        for ImageResources class.
     1332
     13332012-04-18  Jiri Vanek  <jvanek@redhat.com>
     1334
     1335        Allowed signed applets in automatic reproducers tests
     1336        * tests/jnlp_tests/signed/AppletTestSigned/resources/AppletTestSigned.html:
     1337        html file for launching signed applet. Its style is different from the one for
     1338        calling unsigned applets - red.
     1339        * tests/jnlp_tests/signed/AppletTestSigned/resources/AppletTestSigned.jnlp:
     1340        jnlp file for launched signed applet
     1341        * tests/jnlp_tests/signed/AppletTestSigned/srcs/AppletTestSigned.java
     1342        body of signed applet
     1343        * tests/jnlp_tests/signed/AppletTestSigned/testcases/AppletTestSignedTests.java:
     1344        (AppletTestSignedTest): testing method to launch signed applet in javaws
     1345        (AppletTestSignedFirefoxTest): testing method to launch signed applet in
     1346        browser
     1347        * Makefile.am: PUBLIC_KEYSTORE_PASS, EXPORTED_TEST_CERT, TEST_CERT_ALIAS,
     1348        PUBLIC_KEYSTORE PUBLIC_KEYSTORE_PASS: new global variables holding
     1349        keystores' credentials
     1350        (clean-local): clean-bootstrap-directory moved to be last one, as keytool
     1351        is necessary for removing certificate
     1352        (EXPORTED_TEST_CERT): new target exporting certificate from testing keystore
     1353        (stamps/netx-dist-tests-import-cert-to-public): new target to import
     1354        certificate to PUBLIC_KEYSTORE
     1355        (netx-dist-tests-remove-cert-from-public): new target removing testing
     1356        certificate from PUBLIC_KEYSTORE
     1357        (clean-netx-dist-tests): now depends on netx-dist-tests-remove-cert-from-public
     1358        and is removing EXPORTED_TEST_CERT file
     1359
     13602012-04-17  Jiri Vanek <jvanek@redhat.com>
     1361
     1362        Rewritten DeadLockTestTest to stop failing in more then 1/2 of cases
     1363        All assassinated processes were hanging as zombies, killed forcibly by
     1364        kill -9 now.
     1365        * /tests/jnlp_tests/simple/deadlocktest/testcases/DeadLockTestTest.java:
     1366        (countJavaInstances) now return pids of found javas.
     1367        (killDiff) new method killing zombie javas forcibly.
     1368
     13692012-04-11  Jiri Vanek  <jvanek@redhat.com>
     1370
     1371        * Makefile.am: EMMA_JAVA_ARGS, new variable for adjusting emma runs.
     1372        Currently set to -Xmx2G.
     1373        (stamps/run-unit-test-code-coverage.stamp),
     1374        (stamps/run-reproducers-test-code-coverage.stamp),
     1375        (run-test-code-coverage): Use EMMA_JAVA_ARGS in theirs emma runs.
     1376
     13772012-06-04  Jiri Vanek <jvanek@redhat.com>
     1378            Thomas Meyer <thomas@m3y3r.de>
     1379
     1380        * makefile.am: (stamps/run-netx-dist-tests.stamp) and
     1381                       (run-reproducers-test-code-coverage.stamp)
     1382        now using $(javaws) variable instead of plaintext javaws
     1383        * netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java: (checkData) new
     1384        method checking for sanity of cache entries
     1385        (load) now checks for data sanity after loading, and stores without
     1386        corrupted items if necessary
     1387        (Comparator.compare) for sorting lru items. Now redundant checking for
     1388        sanity removed
     1389        * netx/net/sourceforge/jnlp/cache/CacheUtil.java: (getCacheFile) don't
     1390        call lruHandler.store twice for new cache entries
     1391        (getCacheFileIfExist) removed iteration and cleaning mechanism
     1392        * netx/net/sourceforge/jnlp/resources/Messages.properties: modified
     1393        cache messages
     1394        * tests/jnlp_tests/signed/CacheReproducer/testcases/CacheReproducerTest.java
     1395        Added test for checking corrupted path in entry and all tests adapted for
     1396        exception thrown only in debug mode
     1397
     13982012-04-04  Danesh Dadachanji <ddadacha@redhat.com>
     1399
     1400        Change the name of JarSigner to JarCertVerifier to make it more
     1401        relevant to the purpose of the file.
     1402        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
     1403        * netx/net/sourceforge/jnlp/tools/KeyStoreUtil.java:
     1404        Replace all instances, paramaters and references of JarSigner
     1405        by JarCertVerifier.
     1406        * netx/net/sourceforge/jnlp/security/CertWarningPane.java
     1407        * netx/net/sourceforge/jnlp/security/CertsInfoPane.java
     1408        * netx/net/sourceforge/jnlp/security/MoreInfoPane.java
     1409        * netx/net/sourceforge/jnlp/security/SecurityDialogs.java:
     1410        Replaced all paramaters, references and variable names of JarSigner
     1411        to CertVerifier to match the variable object type.
     1412        * netx/net/sourceforge/jnlp/security/SecurityDialog.java (getJarSigner):
     1413        Renamed to getCertVerifier as it returns the certVerfier instance.
     1414        * netx/net/sourceforge/jnlp/tools/JarSigner.java:
     1415        Renamed to JarCertVerifier.
     1416        * netx/net/sourceforge/jnlp/tools/JarCertVerifier.java:
     1417        The rename of JarSigner.
     1418
     14192012-04-05  Jiri Vanek <jvanek@redhat.com>
     1420
     1421        Fixing issue when process was not launched at all and when was killed but
     1422        left behind living/hanging, fixing mime-types
     1423        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
     1424        (getContentOfStream) this method overloaded with possibility to specify
     1425        encoding (I needed to set it to ASCII in one test)
     1426        (deadlyException) field introduced in ThreadedProcess to record exception
     1427        caused by impassibility of launching the process. And so process have
     1428        been null without any sign why.
     1429        (TinyHttpdImpl) now correctly returns known mime types
     1430        (ProcessAssasin) can now skip or smoothly (and finally correctly)
     1431        destroy its process, and all his logging messages were done null-proof
     1432        (as deadlyException now allows)
     1433        Asynchronous (ContentReader) have been silenced when complaining about
     1434        closed streams by Assassin.
     1435
     14362012-04-03  Danesh Dadachanji  <ddadacha@redhat.com>
     1437
     1438        Change all vendors in JNLP test suite to IcedTea and homepage href's to
     1439        a link to IcedTea-Web's wiki page.
     1440        * tests/jnlp_tests/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedJAVAXJNLP.jnlp
     1441        * tests/jnlp_tests/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedNETSF.jnlp
     1442        * tests/jnlp_tests/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedSELF.jnlp
     1443        * tests/jnlp_tests/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedSUNSEC.jnlp
     1444        * tests/jnlp_tests/signed/CacheReproducer/resources/CacheReproducer1.jnlp
     1445        * tests/jnlp_tests/signed/CacheReproducer/resources/CacheReproducer1_1.jnlp
     1446        * tests/jnlp_tests/signed/CacheReproducer/resources/CacheReproducer2.jnlp
     1447        * tests/jnlp_tests/signed/CacheReproducer/resources/CacheReproducer2_1.jnlp
     1448        * tests/jnlp_tests/signed/MissingJar/resources/MissingJar.jnlp
     1449        * tests/jnlp_tests/signed/MissingJar/resources/MissingJar2.jnlp
     1450        * tests/jnlp_tests/signed/MissingJar/resources/MissingJar3.jnlp
     1451        * tests/jnlp_tests/signed/MissingJar/resources/MissingJar4.jnlp
     1452        * tests/jnlp_tests/signed/ReadPropertiesBySignedHack/resources/ReadPropertiesBySignedHack.jnlp
     1453        * tests/jnlp_tests/signed/ReadPropertiesSigned/resources/ReadPropertiesSigned1.jnlp
     1454        * tests/jnlp_tests/signed/ReadPropertiesSigned/resources/ReadPropertiesSigned2.jnlp
     1455        * tests/jnlp_tests/signed/SimpletestSigned1/resources/SimpletestSigned1.jnlp
     1456        * tests/jnlp_tests/simple/AccessClassInPackage/resources/AccessClassInPackageJAVAXJNLP.jnlp
     1457        * tests/jnlp_tests/simple/AccessClassInPackage/resources/AccessClassInPackageNETSF.jnlp
     1458        * tests/jnlp_tests/simple/AccessClassInPackage/resources/AccessClassInPackageSELF.jnlp
     1459        * tests/jnlp_tests/simple/AccessClassInPackage/resources/AccessClassInPackageSUNSEC.jnlp
     1460        * tests/jnlp_tests/simple/AddShutdownHook/resources/AddShutdownHook.jnlp
     1461        * tests/jnlp_tests/simple/AllStackTraces/resources/AllStackTraces.jnlp
     1462        * tests/jnlp_tests/simple/AppletTest/resources/AppletTest.jnlp
     1463        * tests/jnlp_tests/simple/CheckServices/resources/CheckServices.jnlp
     1464        * tests/jnlp_tests/simple/CreateClassLoader/resources/CreateClassLoader.jnlp
     1465        * tests/jnlp_tests/simple/InformationTitleVendorParser/resources/TitleParser.jnlp
     1466        * tests/jnlp_tests/simple/InformationTitleVendorParser/resources/TitleVendorParser.jnlp
     1467        * tests/jnlp_tests/simple/InformationTitleVendorParser/resources/VendorParser.jnlp
     1468        * tests/jnlp_tests/simple/ManifestedJar1/resources/ManifestedJar-1main2mainAppDesc.jnlp
     1469        * tests/jnlp_tests/simple/ManifestedJar1/resources/ManifestedJar-1main2mainNoAppDesc.jnlp
     1470        * tests/jnlp_tests/simple/ManifestedJar1/resources/ManifestedJar-1main2nothingNoAppDesc.jnlp
     1471        * tests/jnlp_tests/simple/ManifestedJar1/resources/ManifestedJar-1mainHaveAppDesc.jnlp
     1472        * tests/jnlp_tests/simple/ManifestedJar1/resources/ManifestedJar-1mainNoAppDesc.jnlp
     1473        * tests/jnlp_tests/simple/ManifestedJar1/resources/ManifestedJar-1noAppDesc.jnlp
     1474        * tests/jnlp_tests/simple/ManifestedJar1/resources/ManifestedJar-1noAppDescAtAll.jnlp
     1475        * tests/jnlp_tests/simple/ManifestedJar1/resources/ManifestedJar-1nothing2nothingAppDesc.jnlp
     1476        * tests/jnlp_tests/simple/ManifestedJar1/resources/ManifestedJar-1nothing2nothingNoAppDesc.jnlp
     1477        * tests/jnlp_tests/simple/ReadEnvironment/resources/ReadEnvironment.jnlp
     1478        * tests/jnlp_tests/simple/ReadProperties/resources/ReadProperties1.jnlp
     1479        * tests/jnlp_tests/simple/ReadProperties/resources/ReadProperties2.jnlp
     1480        * tests/jnlp_tests/simple/RedirectStreams/resources/RedirectStreams.jnlp
     1481        * tests/jnlp_tests/simple/ReplaceSecurityManager/resources/ReplaceSecurityManager.jnlp
     1482        * tests/jnlp_tests/simple/SetContextClassLoader/resources/SetContextClassLoader.jnlp
     1483        * tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere1.jnlp
     1484        * tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere2.jnlp
     1485        * tests/jnlp_tests/simple/Spaces can be everywhere/resources/SpacesCanBeEverywhere1.jnlp
     1486        * tests/jnlp_tests/simple/deadlocktest/resources/deadlocktest.jnlp
     1487        * tests/jnlp_tests/simple/deadlocktest/resources/deadlocktest_1.jnlp
     1488        * tests/jnlp_tests/simple/simpletest1/resources/simpletest1.jnlp
     1489        * tests/jnlp_tests/simple/simpletest1/resources/simpletestCustomSplash.jnlp
     1490        * tests/jnlp_tests/simple/simpletest1/resources/simpletestMegaSlow.jnlp
     1491        * tests/jnlp_tests/simple/simpletest1/resources/simpletestSlow.jnlp
     1492        * tests/jnlp_tests/simple/simpletest1/resources/simpletestSlowBrokenCustomSplash.jnlp
     1493        * tests/jnlp_tests/simple/simpletest1/resources/simpletestSlowSlowCustomSplash.jnlp
     1494        * tests/jnlp_tests/simple/simpletest2/resources/simpletest2.jnlp:
     1495        Replaced the specified vendor with IcedTea and homepage with a link to
     1496        IcedTea-Web's wiki.
     1497
     14982012-04-03  Omair Majid  <omajid@redhat.com>
     1499
     1500        * netx/net/sourceforge/jnlp/runtime/pac-funcs.js: Replace incorrect use of
     1501        getYear() with getFullYear().
     1502        (inYearMonthDateRange): Add missing conditional case.
     1503        * tests/netx/pac/pac-funcs-test.js
     1504        (runTest): New function.
     1505        (runTests): Call runTest.
     1506        (incDate): Deal with month/year wrapping around.
     1507        (decDate): Removed.
     1508        (testDateRange, testDateRange2, testDateRange3): Handle wrapping of month
     1509        and days.
     1510
     15112012-04-03  Jiri Vanek <jvanek@redhat.com>
     1512
     1513        Tests virtual server thread marked as daemon by default
     1514        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
     1515        All (ServerLauncher) instances returned by methods were marked as daemon
     1516        by default. Possibility to change and api were kept.
     1517
     15182012-03-30  Danesh Dadachanji  <ddadacha@redhat.com>
     1519
     1520        Certificate start dates are not being checked, they are still verified
     1521        even if the date has yet not been reached.
     1522        * netx/net/sourceforge/jnlp/tools/JarSigner.java (verifyJar): If the start
     1523        date is in the future, set notYetValidCert to true.
     1524
     15252012-03-21  Omair Majid  <omajid@redhat.com>
     1526
     1527        * tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java
     1528        (testIsMatchDoesNotHangOnLargeData): New method.
     1529
     15302012-03-21  Lars Herschke  <lhersch@dssgmbh.de>
     1531
     1532        PR898: signed applications with big jnlp-file doesn't start
     1533        * netx/net/sourceforge/jnlp/JNLPMatcher.java (JNLPMatcher): Handle large
     1534        files correctly.
     1535
     15362012-03-19  Danesh Dadachanji  <ddadacha@redhat.com>
     1537
     1538        Fix failing unit test missing title/vendor tags in the JNLP stream.
     1539        * tests/netx/unit/net/sourceforge/jnlp/ParserCornerCases.java
     1540        (testNestedComments): Added title and vendor tags to malformedJnlp.
     1541
     15422012-03-19  Jiri Vanek <jvanek@redhat.com>
     1543        * tests/jnlp_tests/signed/CacheReproducer/testcases/CacheReproducerTest.java:
     1544         as javaws have now integrated splash, I have changed this test to lunch
     1545         javaws -Xclearcache with -headless to skip this logo (although it is
     1546        not fatal fr testrun itself)
     1547        * tests/jnlp_tests/simple/AppletTest/resources/appletAutoTests.html:
     1548         this html file is lunched during tests run in browser and stdout of
     1549         lunched applet is examined. Is lunched with slow resources to test
     1550         spalshscreen
     1551        * tests/jnlp_tests/simple/AppletTest/resources/appletViewTest.html: this
     1552        test html file is dedicated to manual lunch and let user to look how the
     1553         applet (with slow loading) is  loaded and how looks splashscreen in
     1554         small mode and in large mode
     1555        * tests/jnlp_tests/simple/AppletTest/testcases/AppletTestTests.java:
     1556         test is enriched for lunching the html file with applet in browser and
     1557         is examining output of this file. Browser must be always terminated as
     1558         there is no way how to close from inside
     1559        * tests/jnlp_tests/simple/simpletest1/resources/netxPlugin.png:
     1560         image to let user observe that user-defined splashscreen is still
     1561         working even when internal splashscreen is enabled
     1562        * tests/jnlp_tests/simple/simpletest1/resources/simpletestCustomSplash.jnlp:
     1563         this and all jnlp files below are just for manual lunching and for
     1564         watching various lunches of splash screen - slow loading of resources
     1565         and with custom splash
     1566        * tests/jnlp_tests/simple/simpletest1/resources/simpletestMegaSlow.jnlp:
     1567        slow loading of resource and (XslowX)jnlp also
     1568        * tests/jnlp_tests/simple/simpletest1/resources/simpletestSlow.jnlp:
     1569         slow loading of resource
     1570        * tests/jnlp_tests/simple/simpletest1/resources/simpletestSlowBrokenCustomSplash.jnlp:
     1571         slow loading of resource with broken user's splash (our internal will be used)
     1572        * tests/jnlp_tests/simple/simpletest1/resources/simpletestSlowSlowCustomSplash.jnlp:
     1573         slow loading of custom splash screen and resource
     1574        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
     1575         Main server launcher was modified to support lunching of browser,
     1576         stdout listteners and for slowing download of resources to provide time
     1577         for watching splash screen (main) was rewritten to provide free port OR
     1578         run server in-D specified directory on custom or default port - very
     1579         useful for debuging reproducers
     1580         (getIndependentInstance) can now run also on specified port and (or) directory
     1581         (USED_BROWSER_COMMAND) new constant handling value of -D property to
     1582        set browser = "used.browser.command";
     1583         (getBrowserLocation) new method  to provide specified
     1584        (by used.browser.command -D property) or default browser location (firefox)
     1585         (ensureServer) test is testing weather XslowXmodifier is working
     1586         (executeBrowser) set of overloaded functions to lunch browser
     1587         (TinyHttpdImpl) was enriched for XslowX modifier. When resource starts
     1588         with this, is returned slowly - splited to 10 parts with 1s delay
     1589         betwen sending each of them.
     1590         Although it is throwing BrokenPipe exception, is working fine.
     1591         (splitArray) new function to split array of byte to n arrays of bytes,
     1592         which when concated do the same array
     1593         (splitArrayTestN) set of tests for splitArray
     1594         (ContentReader) now can also have lsteners for catching outputs n runtime.
     1595        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ContentReaderListener.java:
     1596        Listener for catching chars and lines form processes outputs
     1597        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java:
     1598        added (testListeners) to test listeners behaviour
     1599
     16002012-03-16  Danesh Dadachanji  <ddadacha@redhat.com>
     1601
     1602        Applications using JNLP files without a title or vendor section
     1603        still run, despite them being required elements.
     1604        * netx/net/sourceforge/jnlp/Parser.java:
     1605        (getInformationDesc): If title or vendor are not found in info,
     1606        a new ParseException is thrown.
     1607        * netx/net/sourceforge/jnlp/resources/Messages.properties:
     1608        Added PNoTitleElement and PNoVendorElement
     1609        * tests/jnlp_tests/simple/InformationTitleVendorParser/resources/InformationParser.jnlp,
     1610        * tests/jnlp_tests/simple/InformationTitleVendorParser/resources/TitleParser.jnlp,
     1611        * tests/jnlp_tests/simple/InformationTitleVendorParser/resources/TitleVendorParser.jnlp,
     1612        * tests/jnlp_tests/simple/InformationTitleVendorParser/resources/VendorParser.jnlp,
     1613        * tests/jnlp_tests/simple/InformationTitleVendorParser/testcases/TitleVendorParserTest.java:
     1614        New test that runs JNLPs in a combination of missing information, title
     1615        and vendor tags, checking for the appropriate exceptions.
     1616
     16172012-03-14  Deepak Bhole <dbhole@redhat.com>
     1618                        Omair Majid <omajid@redhat.com>
     1619
     1620        PR895: IcedTea-Web searches for missing classes on each loadClass or
     1621        findClass
     1622        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
     1623        (CodeBaseClassLoader): Added new map to track resources that are not
     1624        found.
     1625        (findClass): If resource was not found before, return immediately. If
     1626        resource was not found for the first time, record it in the new map.
     1627        (findResouces): Same.
     1628        (findResource): Same.
     1629        * tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java:
     1630        Test case for PR895 from Omair Majid.
     1631
     16322012-03-14  Omair Majid  <omajid@redhat.com>
     1633
     1634        Print exceptions to terminal when running in gui mode too.
     1635        * netx/net/sourceforge/jnlp/AbstractLaunchHandler.java: New file.
     1636        * netx/net/sourceforge/jnlp/DefaultLaunchHandler.java: Extend
     1637        AbstractLaunchHandler.
     1638        (DefaultLaunchHandler): New method.
     1639        (printMessage): Moved to parent class.
     1640        * netx/net/sourceforge/jnlp/GuiLaunchHandler.java: Extend
     1641        AbstractLaunchHandler.
     1642        (GuiLauchHandler): New method.
     1643        (launchError): Print the error too.
     1644        (launchWarning,validationError): Call parent's printMessage.
     1645        * netx/net/sourceforge/jnlp/LaunchException.java: Use standard java
     1646        exception chaining. This removes compatibility with pre-java 1.3 class
     1647        libraries.
     1648        (LaunchException(JNLPFile,Exception,String,String,String,String)): Pass
     1649        cause to parent so exceptions are chanined properly.
     1650        (LaunchException(String,Throwable),LaunchException(Throwable)): Call
     1651        parent's constructor.
     1652        (printStackTrace(PrintStream),printStackTrace(PrintWriter),getCause):
     1653        Removed. Use parent's implementation instead.
     1654        (getCauses): Removed.
     1655        * netx/net/sourceforge/jnlp/LaunchHandler.java
     1656        (validationError): Rename argument to clarify meaing.
     1657        * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
     1658        (initialize): Redirect output of all handlers to System.err.
     1659        * plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
     1660        (PluginAppletSecurityContext): Likewise.
     1661        * tests/netx/unit/net/sourceforge/jnlp/DefaultLaunchHandlerTest.java,
     1662        * tests/netx/unit/net/sourceforge/jnlp/LaunchExceptionTest.java: New
     1663        file. Contains tests.
     1664
     16652012-03-12  Danesh Dadachanji  <ddadacha@redhat.com>
     1666
     1667        Adding test for regression of JNLP API accessibility in constructor
     1668        methods of applets.
     1669        * Makefile.am: Added classes.jar to classpath when compiling jnlp_tests.
     1670        * tests/jnlp_tests/simple/CheckServices/resources/CheckServices.jnlp:
     1671        * tests/jnlp_tests/simple/CheckServices/srcs/CheckServices.java:
     1672        * tests/jnlp_tests/simple/CheckServices/testcases/CheckServicesTests.java:
     1673        New test file added. Tests ServiceManager is setup correctly when called
     1674        from applet constructors.
     1675
     16762012-03-12  Danesh Dadachanji  <ddadacha@redhat.com>
     1677
     1678        Update tests that are missing title/vendor tag in their JNLPs.
     1679        * tests/jnlp_tests/signed/CacheReproducer/resources/CacheReproducer1.jnlp,
     1680        * tests/jnlp_tests/signed/CacheReproducer/resources/CacheReproducer1_1.jnlp,
     1681        * tests/jnlp_tests/signed/CacheReproducer/resources/CacheReproducer2.jnlp,
     1682        * tests/jnlp_tests/signed/CacheReproducer/resources/CacheReproducer2_1.jnlp,
     1683        * tests/jnlp_tests/signed/MissingJar/resources/MissingJar.jnlp,
     1684        * tests/jnlp_tests/signed/MissingJar/resources/MissingJar2.jnlp,
     1685        * tests/jnlp_tests/signed/MissingJar/resources/MissingJar3.jnlp,
     1686        * tests/jnlp_tests/signed/MissingJar/resources/MissingJar4.jnlp,
     1687        * tests/jnlp_tests/signed/ReadPropertiesBySignedHack/resources/ReadPropertiesBySignedHack.jnlp,
     1688        * tests/jnlp_tests/signed/ReadPropertiesSigned/resources/ReadPropertiesSigned1.jnlp,
     1689        * tests/jnlp_tests/signed/ReadPropertiesSigned/resources/ReadPropertiesSigned2.jnlp,
     1690        * tests/jnlp_tests/simple/AddShutdownHook/resources/AddShutdownHook.jnlp,
     1691        * tests/jnlp_tests/simple/AllStackTraces/resources/AllStackTraces.jnlp
     1692        * tests/jnlp_tests/simple/CreateClassLoader/resources/CreateClassLoader.jnlp,
     1693        * tests/jnlp_tests/simple/ReadEnvironment/resources/ReadEnvironment.jnlp,
     1694        * tests/jnlp_tests/simple/ReadProperties/resources/ReadProperties1.jnlp,
     1695        * tests/jnlp_tests/simple/ReadProperties/resources/ReadProperties2.jnlp,
     1696        * tests/jnlp_tests/simple/RedirectStreams/resources/RedirectStreams.jnlp,
     1697        * tests/jnlp_tests/simple/ReplaceSecurityManager/resources/ReplaceSecurityManager.jnlp,
     1698        * tests/jnlp_tests/simple/SetContextClassLoader/resources/SetContextClassLoader.jnlp,
     1699        * tests/netx/unit/net/sourceforge/jnlp/templates/template8.jnlp:
     1700        Added missing title/vendor tags that make them fail with this changeset.
     1701
     17022012-03-05  Jiri Vanek <jvanek@redhat.com>
     1703
     1704        Added test for main-class in manifest for jnlp
     1705        * Makefile.am: (prepare-reproducers.stamp) fixed manifest handling. Till
     1706        now was manifest copied as any other non java file, and so was rewritten
     1707        by jar tool
     1708        * tests/jnlp_tests/simple/ManifestedJar2/srcs: secondary jar file which
     1709        should have manifest and so should help ManifestedJar1 with testing
     1710        * tests/jnlp_tests/simple/ManifestedJar2/resources/META-INF/MANIFEST.MF:
     1711         manifest for  ManifestedJar2.jar
     1712        * tests/jnlp_tests/simple/ManifestedJar1/srcs: main testing jar
     1713        * tests/jnlp_tests/simple/ManifestedJar2/resources/META-INF/MANIFEST.MF:
     1714         manifest for  ManifestedJar1.jar
     1715        * tests/jnlp_tests/simple/ManifestedJar1/testcases/ManifestedJar1Test.java:
     1716         testing class for this reproducers
     1717        * tests/jnlp_tests/simple/ManifestedJar1/resources/: nine reproducers jnlps
     1718
     17192012-03-06  Jiri Vanek <jvanek@redhat.com>
     1720
     1721        Improved reflection test:
     1722        * tests/jnlp_tests/simple/AccessClassInPackage/testcases/AccessClassInPackageTest.java:
     1723        This testcase was extended for three more unsigned reflection tries and four signed
     1724        *tests/jnlp_tests/simple/AccessClassInPackage/srcs/AccessClassInPackage.java:
     1725        now accepting class to be findByName as argument. Four new jnlp files in
     1726        signed a four in simple are then passing  those argument
     1727        *tests/jnlp_tests/simple/AccessClassInPackage/resources/AccessClassInPackageSUNSEC.jnlp:
     1728        *tests/jnlp_tests/simple/AccessClassInPackage/resources/AccessClassInPackageNETSF.jnlp:
     1729        *tests/jnlp_tests/simple/AccessClassInPackage/resources/AccessClassInPackageJAVAXJNLP.jnlp:
     1730        *tests/jnlp_tests/simple/AccessClassInPackage/resources/AccessClassInPackageSELF.jnlp:
     1731        *tests/jnlp_tests/simple/AccessClassInPackage/resources/AccessClassInPackage.jnlp:
     1732        removed
     1733        * tests/jnlp_tests/signed/AccessClassInPackageSigned/srcs/AccessClassInPackageSigned.java
     1734        signed variation of AccessClassInPackage, tescase is also in AccessClassInPackage
     1735        * tests/jnlp_tests/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedSELF.jnlp
     1736        * tests/jnlp_tests/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedNETSF.jnlp
     1737        * tests/jnlp_tests/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedSUNSEC.jnlp
     1738        * tests/jnlp_tests/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedJAVAXJNLP.jnlp
     1739
     17402012-02-29  Deepak Bhole <dbhole@redhat.com>
     1741
     1742        * configure.ac: Bumped version to 1.3pre
     1743
     17442012-02-29  Deepak Bhole <dbhole@redhat.com>
     1745
     1746        * netx/net/sourceforge/jnlp/security/CertificateUtils.java
     1747        (inKeyStores): Only check for certificate equality.
     1748
     17492012-02-28  Deepak Bhole <dbhole@redhat.com>
     1750
     1751        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
     1752        (checkForMain): Also check manifest file of main jar.
     1753        (getMainClassName): New method. Looks in a jar manifest to see if there is
     1754        a Main-Class specified.
     1755
     17562012-02-28  Deepak Bhole <dbhole@redhat.com>
     1757
     1758        * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
     1759        (_eval): Return 0 id to Java side if eval fails.
     1760        (_call): Return 0 id to Java side if call fails.
     1761
     17622012-02-27  Matthias Klose  <doko@ubuntu.com>
     1763
     1764        * acinclude.m4 (IT_CHECK_PLUGIN_DEPENDENCIES): Use the mozilla-plugin
     1765         pkgconfig module if the libxul module is not available.
     1766
     17672012-02-27  Matthias Klose  <doko@ubuntu.com>
     1768
     1769        * acinclude.m4 (IT_FIND_JAVA): Set VERSION_DEFS.
     1770        * Makefile.am ($(PLUGIN_DIR)/%.o): Pass $(VERSION_DEFS)
     1771        * IcedTeaNPPlugin.cc (PLUGIN_MIME_DESC): Define in terms
     1772        of HAVE_JAVA7.
     1773
     17742012-02-27  Thomas Meyer <thomas@m3y3r.de>
     1775                        Deepak Bhole <dbhole@redhat.com>
     1776
     1777        PR820: IcedTea-Web 1.1.3 crashing Firefox when loading Citrix XenApp
     1778        * plugin/icedteanp/IcedTeaJavaRequestProcessor.cc
     1779        (createJavaObjectFromVariant): If variant is a generic object array,
     1780        create a JSObject on Java side instead of JSObject array.
     1781        * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
     1782        (newMessageOnBus): Run finalize on main thread.
     1783        (eval): Create Java object in _eval
     1784        (call): Create Java object in _call.
     1785        (setMember): Create Java object in _setMember.
     1786        (sendMember): Create Java object in _getMember.
     1787        (sendString): Create Java object in _getString.
     1788        (_setMember): Process result and create Java object if needed.
     1789        (_getMember): Same.
     1790        (_eval): Same.
     1791        (_call): Same.
     1792        (_getString): Same.
     1793
     17942012-02-22  Danesh Dadachanji  <ddadacha@redhat.com>
     1795
     1796        Add ability to check for jnlp_href use outside of PluginBridge.
     1797        * netx/net/sourceforge/jnlp/PluginBridge.java
     1798        (PluginBridge): New boolean useJNLPHref is set if jnlp_href is used.
     1799        (useJNLPHref): New getter method, returns boolean useJNLPHref.
     1800
     18012012-02-10  Danesh Dadachanji  <ddadacha@redhat.com>
     1802
     1803        Fix path to NEW_LINE_IFS for when one builds outside of src directory.
     1804        * Makefile.am: Use top src directory instead of top build directory
     1805        for NEW_LINE_IFS
     1806
     18072012-02-06  Danesh Dadachanji  <ddadacha@redhat.com>
     1808
     1809        Fixed regression in running webstart applets from JNLP files.
     1810        * netx/net/sourceforge/jnlp/Launcher.java (createApplet): Added call to
     1811        set applet variable in the AppletInstance's AppletEnvironment.
     1812        * netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java
     1813        (setApplet): New method, set AppletEnvironment's applet variable only once.
     1814
     18152012-02-02  Danesh Dadachanji  <ddadacha@redhat.com>
     1816
     1817        * netx/net/sourceforge/jnlp/LaunchException.java: Fix message
     1818        to handle null description
     1819
     18202012-02-01  Danesh Dadachanji  <ddadacha@redhat.com>
     1821
     1822        * netx/net/sourceforge/jnlp/LaunchException.java: Add description
     1823        parameter to the message the exception stores.
     1824
     18252012-02-01 Jiri Vanek<jvanek@redhat.com>
     1826
     1827        Fix for PR844
     1828        * netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java: (getLRUSortedEntries)
     1829        instead of error throwing own LRU exception. Also catches more then
     1830        NumberFormatException
     1831        (clearLRUSortedEntries) new method - making soft clearing of cache public
     1832        (clearCache) now return true if cache was cleared, false otherwise
     1833        (or exception)
     1834        * netx/net/sourceforge/jnlp/cache/CacheUtil.java: (getCacheFileIfExist)
     1835        does three tires to load cache. If ifrst fails, then recently_used file
     1836        is emptied both in memory and on disc. When second attemmpt fails, then
     1837        LRU cache is forcibly cleared. if clearing fails, then error is thrown.
     1838        If it pass, then one more try to load entries is allowed. When third
     1839        attempt fails, then error is  thrown.
     1840        * /netx/net/sourceforge/jnlp/cache/LruCacheException.java:
     1841        new file, for purpose of catching this particular exception
     1842        * netx/net/sourceforge/jnlp/util/PropertiesFile.java: (store) tries to
     1843        mkdirs to its path. It is better then to fail when no cache directory exists.
     1844        * tests/jnlp_tests/signed/CacheReproducer: new  reproducr trying severals
     1845        way of corupted cache on several types of jnlp files. Is signed because
     1846        of reflection used.
     1847        * tests/jnlp_tests/signed/SimpletestSigned1: signed hello world to be
     1848        used in  CacheReproducer tests.
     1849        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
     1850        timeout for processes doubled, as clear cache methods sometimes took
     1851        more then original allowed.
     1852
     18532012-01-27  Deepak Bhole <dbhole@redhat.com>
     1854
     1855        PR852: Classloader not being flushed after last applet from a site is closed
     1856        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: Added variable
     1857        to count usage for a given ClassLoader instance.
     1858        (getInstance): Decrement use count for a loader after it is merged with
     1859        another. Increment loader use count before returning.
     1860        (incrementLoaderUseCount): New method. Increments loader use count.
     1861        (decrementLoaderUseCount): New method. Decrements loader use count.
     1862        * java/sun/applet/PluginAppletViewer.java (appletClose): Decrement loader
     1863        use count when applet is closed.
     1864
     18652012-01-25  Jiri Vanek  <jvanek@redhat.com>
     1866
     1867        Added test for -Xnofork option and for applet launching by jnlp
     1868        * tests/jnlp_tests/simple/deadlocktest/resources/deadlocktest_1.jnlp: new file
     1869        By specifying new max heap size, should invoke jvm to fork when launched
     1870        * tests/jnlp_tests/simple/deadlocktest/srcs/DeadlockTest.java:
     1871        improved indentation, added debug output that main method was lunched
     1872        * tests/jnlp_tests/simple/deadlocktest/testcases/DeadLockTestTest.java:
     1873        small refactoring, add lunching  of deadlocktest_1.jnlp with and
     1874        without -Xnofork, and counting java instances during runtime
     1875        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java
     1876        (ThreadedProcess.run) fixed situation, when process ended, but not all
     1877        the output was read by its stdout/stderr readers
     1878        (ContentReader.run) enabled exception printing to stderr.
     1879        * tests/jnlp_tests/simple/AppletTest/ : test for loading applets by jnlp file
     1880
     18812012-01-06  Danesh Dadachanji  <ddadacha@redhat.com>
     1882
     1883        Use the JNLP file's information section for the Name and
     1884        Publisher labels of access dialogs, if available.
     1885        * netx/net/sourceforge/jnlp/PluginBridge.java:
     1886        (PluginBridge): Assigned info variable to JNLP file's information
     1887        section (if one is used), otherwise to a new, empty ArrayList.
     1888        (getInformation): Removed method, superclass method
     1889        should be used instead.
     1890        * netx/net/sourceforge/jnlp/resources/Messages.properties:
     1891        Adding SUnverified.
     1892        * a/netx/net/sourceforge/jnlp/security/AccessWarningPane.java:
     1893        (addComponents): Append unverified note to the publisher label.
     1894
     18952012-01-09  Deepak Bhole <dbhole@redhat.com>
     1896
     1897        PR838: IcedTea plugin crashes with chrome browser when javascript is executed
     1898        * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc (eval): Added a check
     1899        to ensure that the result pointer is valid before attempting to create an
     1900        NPVariant from it.
     1901
     19022012-01-05  Omair Majid <omajid@redhat.com>
     1903
     1904        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
     1905        (initializeResources): Only throw exceptions about the main class not
     1906        being found when the jnlp file can have a main class.
     1907        (addToCodeBaseLoader): Dont try to process null URLs.
     1908
     19092011-12-15  Jiri Vanek  <jvanek@redhat.com>
     1910
     1911        * configure.ac: added search for xsltproc program and setting
     1912        WITH_XSLTPROC variable
     1913        * Makefile.am: xsltproc result is no longer ignored, command
     1914        itself is in conditional block
     1915
     19162011-12-22  Thomas Meyer <thomas@m3y3r.de>
     1917
     1918        * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc(sendMember): Use
     1919        correct response parameter when returning array member vs member itself.
     1920
     19212011-12-21  Thomas Meyer <thomas@m3y3r.de>
     1922
     1923        RH586194: Unable to connect to connect with Juniper VPN client
     1924        * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc(sendMember): Use
     1925        createJavaObjectFromVariant to create the resulting object on Java side,
     1926        rather than always creating a JSObject.
     1927
     19282011-12-21  Jiri Vanek  <jvanek@redhat.com>
     1929
     1930        * acinclude.m4: added definition of IT_CHECK_XULRUNNER_API_VERSION,
     1931        which tries to compile small program against new xulrunner api
     1932        * configure.ac: added call of IT_CHECK_XULRUNNER_API_VERSION
     1933        * plugin/icedteanp/IcedTeaNPPlugin.cc: (NP_GetMIMEDescription)
     1934        return type set-up by dependency on defined LEGACY_XULRUNNERAPI.
     1935         This one is set by IT_CHECK_XULRUNNER_API_VERSION during configure.
     1936        if defined, then old char* is used. New const char* is used otherwise.
     1937
     19382011-12-19  Danesh Dadachanji <ddadacha@redhat.com>
     1939
     1940        Fix for BasicService being used in applet constructors but not
     1941        having access to ApplicationInstance variable.
     1942        * netx/net/sourceforge/jnlp/Launcher.java:
     1943        (createApplet): Moved applet initialization below loader.setApplication,
     1944        appletInstance is now initialized with applet param as null.
     1945        * netx/net/sourceforge/jnlp/runtime/AppletInstance.java:
     1946        (setApplet): New method, allows setting of AppletInstance's applet
     1947        only once.
     1948
     19492011-12-16  Deepak Bhole <dbhole@redhat.com>
     1950
     1951        Patch from Thomas Meyer <thomas@m3y3r.de>
     1952        * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc: Fixed function name
     1953        in comment for sendMember.
     1954
     19552011-12-08  Omair Majid  <omajid@redhat.com>
     1956
     1957        * netx/net/sourceforge/jnlp/Launcher.java
     1958        (launchApplication): Print arguments being passed to the application's
     1959        main method in debug mode.
     1960
     19612011-12-05  Danesh Dadachanji <ddadacha@redhat.com>
     1962
     1963        Update UI for AccessWarningPane
     1964        * netx/net/sourceforge/jnlp/security/AccessWarningPane.java:
     1965        Use question.png instead of warning.png for access dialogs.
     1966
     19672011-11-28 Jiri Vanek <jvanek@redhat.com>
     1968
     1969        Added code-coverage generation targets
     1970        * configure.ac: added search for optional emma.jar
     1971        * makefile.am: added UNIT_CLASS_NAMES and REPRODUCERS_CLASS_NAMES variables
     1972        to store tests clases for reuse in emmarun. Both also moved to separate target
     1973        (run-netx-unit-tests): made dependent on reused stamped version
     1974        (run-netx-dist-tests): made dependent on reused stamped version
     1975        (stamps/run-netx-dist-tests): stamped rusable version of run-netx-dist-tests
     1976        (run-unit-test-code-coverage) targets to generate report from unit-tests.
     1977         Result binary and xml file and html report in tests.build/netx/unit
     1978        (run-reproducers-test-code-coverage) targets to generate report from
     1979         reproducers-test. Result binary file, xml and html report in
     1980         tests.build/netx/jnlp_testsengine
     1981        (run-test-code-coverage): merges binary results from unit and reproducers
     1982        (clean-unit-test-code-coverage) conditionaly removes html,xml report
     1983         and es and ec files from tests.build/netx/unit
     1984        (clean-reproducers-test-code-coverage) condtionlay removes html and xml
     1985         report and es file from tests.build/netx/jnlp_testsengine
     1986        (clean-test-code-coverage) conditionlay removes merged html, xml es and em
     1987        files from tests.build
     1988        (clean-netx-tests) now depends also on clean-test-code-coverage
     1989
     19902011-11-11  Jiri Vanek  <jvanek@redhat.com>
     1991
     1992        Added reproducer for PR804 and PR8011
     1993        * tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere1.jnlp:
     1994        new jnlp file with space in name and with jar in resources which name does not contain
     1995        spaces
     1996        * tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere2.jnlp:
     1997        new jnlp file with space in name and with jar in resources which name contains spaces
     1998        * tests/jnlp_tests/simple/Spaces can be everywhere/resources/SpacesCanBeEverywhere1.jnlp:
     1999        jnlp file without space in name but with jar in resources which name contains spaces
     2000        * tests/jnlp_tests/simple/Spaces can be everywhere/srcs/SpacesCanBeEverywhere.java:
     2001        new file containig simple main method of "Spaces can be everywhere.jar" jar
     2002        * tests/jnlp_tests/simple/Spaces can be everywhere/testcases/SpacesCanBeEverywhereTests.java
     2003        testcase for this reproducer. It is lunching  each of this jnlp once locally from filesystem and
     2004        once remotely from server. Please note that except it's own jar, this reproducer is also
     2005        using simpletest1.jar
     2006
     20072011-11-11  Jiri Vanek  <jvanek@redhat.com>
     2008
     2009        Fixed reproducers engine to handle spaces in files and in urls
     2010        * Makefile.am: (stamps/netx-dist-tests-prepare-reproducers.stamp)
     2011        (stamps/netx-dist-tests-sign-some-reproducers.stamp)
     2012        (stamps/netx-dist-tests-compile-testcases.stamp):
     2013        added call to NEW_LINE_IFS to use line breake temporarily as parameter
     2014        separator while loading files from list and correct quoting
     2015        * NEW_LINE_IFS: new file, small separate script used in makefile as inline script
     2016        which backup original IFS variable and then set it to pure new line. It is in
     2017        separate file because it is reused and I do not know another way how to save a new
     2018        line variable in makefile. Restore to original vlaue is handled in Makefile
     2019        *tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java:
     2020        (testResourcesExists) filename is encoded to correct URL before requested from server
     2021        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
     2022        "-headless" string extracted to variable HEADLES_OPTION
     2023        (executeProcess) and (ThreadedProcess) enhanced for variable dir to specify working
     2024        directory. Backward compatibility kept
     2025        (TinyHttpdImpl) now expects url on requests, so all requests are now decoded by
     2026        java.net.URLDecoder
     2027
     20282011-11-10  Jiri Vanek <jvanek at redhat.com>
     2029       
     2030        Added tests which covers corner cases or rhino support function dateRange
     2031        Enabled testWeekdayRange test
     2032        * tests/netx/pac/pac-funcs-test.js: (testWeekdayRange) - added mising
     2033        runTests call
     2034        (incDate) (decDate) (monthToStr) moved level up from function scope
     2035        to be shareable
     2036        (testDateRange2) new method, tests last days of months.
     2037        (testDateRange3) new method, tests first days of months
     2038        * netx/net/sourceforge/jnlp/runtime/pac-funcs.js:
     2039        (dateRange) logic of this method moved to isDateInRange. This one now serve
     2040        just as api using current date
     2041        (isDateInRange) logic of dateRange, can calculate ranges against any date
     2042
     20432011-10-31  Omair Majid  <omajid@redhat.com>
     2044
     2045        PR808: javaws is unable to start when missing jars are enumerated before
     2046        main jar
     2047        * NEWS: Update.
     2048        * netx/net/sourceforge/jnlp/tools/JarSigner.java (verifyJars): Continue
     2049        with other jars if the first jar can't be used.
     2050
     20512011-10-28  Deepak Bhole <dbhole@redhat.com>
     2052
     2053        RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and
     2054        suffix domain SOP bypass
     2055        * NEWS: Updated
     2056        * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
     2057        (checkPermission): Remove special case for SocketPermission.
     2058
     20592011-10-27  Deepak Bhole <dbhole@redhat.com>
     2060
     2061        PR778: Jar download and server certificate verification deadlock
     2062        * ChangeLog: Removed extra whitespace from previous entries
     2063        * NEWS: Updated
     2064        * netx/net/sourceforge/jnlp/GuiLaunchHandler.java (launchInitialized):
     2065        Moved as much code as possible out of the invokeLater block.
     2066
     20672011-10-25  Omair Majid  <omajid@redhat.com>
     2068
     2069        PR804: javaws launcher incorrectly handles file names with spaces
     2070        * NEWS: Update.
     2071        * launcher/javaws.in: Use bash arrays to store arguments to handle
     2072        filenames with spaces correctly.
     2073
     20742011-10-24  Jiri Vanek <jvanek@redhat.com> 
     2075
     2076        Added reproducer for - PR788: Elluminate Live! is not working
     2077        * tests/jnlp_tests/signed/MissingJar/resources/MissingJar.jnlp
     2078        * tests/jnlp_tests/signed/MissingJar/resources/MissingJar2.jnlp
     2079        * tests/jnlp_tests/signed/MissingJar/resources/MissingJar3.jnlp
     2080        * tests/jnlp_tests/signed/MissingJar/resources/MissingJar4.jnlp
     2081        four testcases's jnlp files. Differs by order and by used resoure tags
     2082        * tests/jnlp_tests/signed/MissingJar/srcs/MissingJar.java
     2083        very simple main jar, just printing message when initialized
     2084        * tests/jnlp_tests/signed/MissingJar/testcases/MissingJarTest.java
     2085        testing file of reproducer, launchiing above four jnlp files, each in individual test
     2086
     20872011-10-17  Jiri Vanek <jvanek@redhat.com>
     2088
     2089        PR564: NetX depends on sun.misc.BASE64Encoder
     2090        * configure.ac: removed IT564 comment, removed check for sun.misc.BASE64Encoder
     2091        * netx/net/sourceforge/jnlp/security/CertificateUtils.java : sun.misc.BASE64Encoder;
     2092        replaced (just changed import) by internal implementation from
     2093        net.sourceforge.jnlp.util.replacements.BASE64Encoder;
     2094        * netx/net/sourceforge/jnlp/util/replacements/BASE64Encoder.java:
     2095        * netx/net/sourceforge/jnlp/util/replacements/CharacterEncoder.java:
     2096        New files, internal implementation of BASE64Encoder,  copied from OpenJDK
     2097        * tests/netx/unit/net/sourceforge/jnlp/util/replacements/BASE64EncoderTest.java
     2098        New file, to test internal base64encoder implementation
     2099
     2100
     21012011-10-03  Jiri Vanek <jvanek@redhat.com>
     2102
     2103        * tests/jnlp_tests/signed/ReadPropertiesBySignedHack/resources/ReadPropertiesBySignedHack.jnlp
     2104        * tests/jnlp_tests/signed/ReadPropertiesBySignedHack/srcs/ReadPropertiesBySignedHack.java
     2105        * tests/jnlp_tests/signed/ReadPropertiesBySignedHack/testcases/ReadPropertiesBySignedHackTest.java
     2106        * tests/jnlp_tests/signed/ReadPropertiesSigned/resources/ReadPropertiesSigned1.jnlp
     2107        * tests/jnlp_tests/signed/ReadPropertiesSigned/resources/ReadPropertiesSigned2.jnlp
     2108        * tests/jnlp_tests/signed/ReadPropertiesSigned/srcs/ReadPropertiesSigned.java
     2109        * tests/jnlp_tests/signed/ReadPropertiesSigned/testcases/ReadPropertiesSignedTest.java
     2110        Direcory signed was somehow missing from my commit from 2011-09-22.
     2111        Now it  have been added with all its original files
     2112
     21132011-09-29  Omair Majid  <omajid@redhat.com>
     2114
     2115        PR618: Can't install OpenDJ, JavaWebStart fails with Input stream is null
     2116        error.
     2117        * NEWS: Update.
     2118        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
     2119        (getResource): Rename to ...
     2120        (findResource): New method.
     2121        (findResources): If resource can not be found, search in lazy resources.
     2122        (findResourcesBySearching): New method.
     2123
     21242011-09-28  Omair Majid  <omajid@redhat.com>
     2125
     2126        * netx/net/sourceforge/jnlp/AppletDesc.java (getMainClass): Clarify the
     2127        return value in javadoc.
     2128        * netx/net/sourceforge/jnlp/Launcher.java
     2129        (createApplet, createAppletObject): Do not replace '/' with '.'.
     2130        * netx/net/sourceforge/jnlp/PluginBridge.java (PluginBridge): Ensure that
     2131        the class name is in the dot-separated from.
     2132        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
     2133        (checkForMain): Ensure that the name is an exact match.
     2134
     21352011-09-28  Deepak Bhole <dbhole@redhat.com>
     2136
     2137        PR794: IcedTea-Web does not work if a Web Start app jar has a Class-Path
     2138        element in the manifest.
     2139        * netx/net/sourceforge/jnlp/runtime/CachedJarFileCallback.java
     2140        (retrieve): Blank out the Class-Path elements in manifest.
     2141        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
     2142        (activateJars): Only load Class-Path elements if this is an applet.
     2143        (addNewJar): Add the right permissions for the cached jar file and verify
     2144        signatures.
     2145
     21462011-09-26  Lars Herschke  <lhersch@dssgmbh.de>
     2147
     2148        * netx/net/sourceforge/jnlp/resources/Messages.properties: Add
     2149        CVExportPasswordMessage, CVImportPasswordMessage and
     2150        CVPasswordTitle.
     2151        * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (initialize):
     2152        Initialize SSLContext with the user's client certificates.
     2153        * netx/net/sourceforge/jnlp/security/CertificateUtils.java
     2154        (addPKCS12ToKeyStore, addPKCS12ToKeyStore, dumpPKCS12): New methods.
     2155        * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
     2156        (getPasswords): New method.
     2157        (ImportButtonListener.actionPerformed): Import client certificates
     2158        in PKCS12 format.
     2159        (ExportButtonListener.actionPerformed): Export client certificates
     2160        in PKCS12 format.
     2161
     21622011-09-23  Omair Majid  <omajid@redhat.com>
     2163
     2164        RH738814: Access denied at ssl handshake
     2165        * netx/net/sourceforge/jnlp/security/SecurityDialogs.java
     2166        (showCertWarningDialog): Add a javadoc comment.
     2167        * netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java
     2168        (askUser): Wrap the call to showCertWarningDialog in a doPrivileged
     2169        block.
     2170
     21712011-09-22  Omair Majid  <omajid@redhat.com>
     2172
     2173        PR788: Elluminate Live! is not working
     2174        * NEWS: Update.
     2175        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
     2176        (checkForMain): If localFile is null (JAR couldn't be downloaded), try to
     2177        continue, rather than allowing the exception to cause an abort.
     2178
     21792011-09-21  Omair Majid  <omajid@redhat.com>
     2180
     2181        PR766: javaws fails to parse an <argument> node that contains CDATA
     2182        * netx/net/sourceforge/nanoxml/XMLElement.java
     2183        (sanitizeInput): Do not remove CDATA sections along with comments.
     2184
     21852011-09-20  Omair Majid  <omajid@redhat.com>
     2186
     2187        * tests/netx/unit/net/sourceforge/jnlp/ParserCornerCases.java
     2188        (testCdata, testCdataNested, testCDataFirstChild, testCDataSecondChild)
     2189        (testCommentInElements2, testDoubleDashesInComments): New methods
     2190        * tests/netx/unit/net/sourceforge/jnlp/application/application0.jnlp,
     2191        * tests/netx/unit/net/sourceforge/jnlp/templates/template0.jnlp:
     2192        Change <!CDATA[ to <![CDATA[.
     2193
     21942011-09-22  Lars Herschke  <lhersch@dssgmbh.de>
     2195
     2196        PR789: typo in jrunscript.sh
     2197        * jrunscript.in: Use = instead of ==.
     2198
     21992011-09-22  Jiri Vanek <jvanek@redhat.com>
     2200
     2201        * tests/jnlp_tests/signed/ReadPropertiesBySignedHack/resources/ReadPropertiesBySignedHack.jnlp:
     2202        jnlp file to lunch ReadPropertiesBySignedHack, notice please dependenci
     2203        on ReadProperties.jar from simple reproducers
     2204        * tests/jnlp_tests/signed/ReadPropertiesBySignedHack/srcs/ReadPropertiesBySignedHack.java:
     2205        this reproducers verify, that even reflection-by enabled
     2206        XtrustAll will not allow to lunch unsigned code
     2207        * tests/jnlp_tests/signed/ReadPropertiesBySignedHack/testcases/ReadPropertiesBySignedHackTest.java:
     2208        testcase for this reproducer
     2209
     22102011-09-22  Jiri Vanek <jvanek@redhat.com>
     2211
     2212        * tests/jnlp_tests/signed/ReadPropertiesSigned/resources/ReadPropertiesSigned1.jnlp:
     2213        * tests/jnlp_tests/signed/ReadPropertiesSigned/resources/ReadPropertiesSigned2.jnlp:
     2214        * tests/jnlp_tests/signed/ReadPropertiesSigned/testcases/ReadPropertiesSignedTest.java:
     2215        * tests/jnlp_tests/signed/ReadPropertiesSigned/srcs/ReadPropertiesSigned.java:
     2216        those four files are  example of signed reproducer
     2217        * tests/jnlp_tests/simple/ReadProperties/srcs/ReadProperties.java: now prints out got
     2218        variable for comparsion with above created signed example
     2219
     22202011-09-22  Jiri Vanek <jvanek@redhat.com>
     2221
     2222        Added signed reproducers engine
     2223        * Makefile.am: added variable KEYSTORE_NAME
     2224        (stamps/junit-jnlp-dist-dirs): creates stamp and depend on next two targets
     2225        (junit-jnlp-dist-simple.txt): creates list of simple reproducers, extracted
     2226         from stamps/junit-jnlp-dist-dirs
     2227        (junit-jnlp-dist-signed.txt): creates list of signed reproducers
     2228        (stamps/netx-dist-tests-prepare-reproducers.stamp): now traverse over
     2229        signed and simple
     2230        (stamps/netx-dist-tests-sign-some-reproducers.stamp): depends
     2231        on netx-dist-tests-prepare-reproducers, traverse through signed
     2232        reproducers and sign them
     2233        (stamps/netx-dist-tests-compile-testcases.stamp): now traverse over
     2234        signed and simple
     2235        (stamps/bootstrap-directory.stamp): creates symlinks/stubs to
     2236        jarsigner and keytool
     2237        (clean-netx-dist-tests):remove new stamps, signed and simple list and keysstore
     2238        * acinclude.m4: declared to proceed IT_FIND_KEYTOOL and IT_FIND_JARSIGNER macro
     2239        * configure.ac: declared macros to check for keytool and jarsigner
     2240        * tests/jnlp_tests/README: mentioned signed directory
     2241
     22422011-09-22  Jiri Vanek <jvanek@redhat.com>
     2243
     2244        * netx/net/sourceforge/jnlp/runtime/Boot.java: (main): added logic to
     2245        handle -Xtrustall option
     2246        * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: declared private static boolean
     2247        trustAll=false; with public getter and pkg.private  setter
     2248        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (checkTrustWithUser): modified,
     2249        when XtrustAll declared, then user is not asked and certificate is trusted
     2250        * netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java:  (askUser): modified,
     2251        when XtrustAll declared, then user is not asked and certificate is trusted
     2252
     22532011-09-15  Jiri Vanek <jvanek@redhat.com>
     2254
     2255        * tests/jnlp_tests/: all current reproducers (AccessClassInPackage
     2256        AddShutdownHook AllStackTraces CreateClassLoader deadlocktest
     2257        ReadEnvironment ReadProperties RedirectStreams ReplaceSecurityManager
     2258        SetContextClassLoader simpletest1 simpletest2) junit's asserts are enchanted
     2259        for reason, so junit assertion exception message is much clearer.
     2260
     22612011-09-13  Deepak Bhole <dbhole@redhat.com>
     2262
     2263        PR782: Support building against npapi-sdk as well
     2264        Patch from Michał Górny < mgorny at gentoo dot org >
     2265        * acinclude.m4: Build against npapi-sdk.
     2266
     22672011-09-13  Deepak Bhole <dbhole@redhat.com>
     2268
     2269        * ChangeLog: Fixed formatting issues in previous entry.
     2270
     22712011-09-01 Jiri Vanek<jvanek@redhat.com>
     2272
     2273        Added functionality to allow icedtea web to be buildable with
     2274        rhel5 libraries.
     2275        * configure.ac: added IT_CHECK_GLIB_VERSION check.
     2276        * acinclude.m4: added IT_CHECK_GLIB_VERSION definition block to test.
     2277        version of glib installed and add LEGACY_GLIB define macro into
     2278         variable DEFS if version is <2.16.
     2279        * plugin/icedteanp/IcedTeaNPPlugin.cc: added replacements for incompatible
     2280        functions (g_strcmp0 and find_first_item_in_hash_table)if LEGACY_GLIB
     2281        is defined. Added define sections for use this function instead of glib ones.
     2282        Duplicated code moved into function getFirstInTableInstance(GHashTble* table).
     2283        * Makefile.am: ($(PLUGIN_DIR)/%.o): using DEFS setted by configure for compilation
    52284
    622852011-08-29  Deepak Bhole <dbhole@redhat.com>
     
    242303        (checkServerTrusted): Account for a null hostname that the
    252304        overloaded implementation may pass.
     2305
     23062011-08-23  Omair Majid  <omajid@redhat.com>
     2307
     2308        * configure.ac: Add check for new non-standard classes
     2309        sun.net.www.protocol.jar.URLJarFile and
     2310        sun.net.www.protocol.jar.URLJarFileCallBack.
    262311
    2723122011-08-23  Omair Majid  <omajid@redhat.com>
     
    342319        JRE.
    352320
     23212011-08-22  Saad Mohammad  <smohammad@redhat.com>
     2322        * netx/net/sourceforge/jnlp/JNLPFile.java:
     2323        (parse): After the file has been parsed, it calls
     2324        checkForSpecialProperties() to check if the resources contain any special
     2325        properties.
     2326        (checkForSpecialProperties): Scans through resources and checks if it
     2327        contains any special properties.
     2328        (requiresSignedJNLPWarning): Returns a boolean after determining if a signed
     2329        JNLP warning should be displayed.
     2330        (setSignedJNLPAsMissing): Informs JNLPFile that a signed JNLP file is
     2331        missing in the main jar.
     2332        * netx/net/sourceforge/jnlp/SecurityDesc.java:
     2333        (getJnlpRIAPermissions): Returns all the names of the basic JNLP system
     2334        properties accessible by RIAs.
     2335        * netx/net/sourceforge/jnlp/resources/Messages.properties:
     2336        Added LSignedJNLPFileDidNotMatch and SJNLPFileIsNotSigned.
     2337        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
     2338        (initializeResources): Locates the jar file that contains the main class
     2339        and verifies if a signed JNLP file is also located in that jar. This also
     2340        checks 'lazy' jars if the the main class was not found in 'eager' jars.
     2341        If the main jar was not found, a LaunchException is thrown which terminates
     2342        the launch of the application.
     2343        (checkForMain): A method that goes through each jar and checks to see
     2344        if it has the main class. If the main class is found, it calls
     2345        verifySignedJNLP() to verify if a valid signed JNLP file is also found in
     2346        the jar.
     2347        (verifySignedJNLP): A method that checks if the jar file contains a valid
     2348        signed JNLP file.
     2349        (closeStream): Closes a stream.
     2350        (loadClassExt): Added a try/catch block when addNextResource() is called.
     2351        (addNextResource): If the main jar has not been found, checkForMain() is
     2352        called to check if the jar contains the main class, and verifies if a signed
     2353        JNLP file is also located.
     2354        * netx/net/sourceforge/jnlp/security/MoreInfoPane.java:
     2355        (addComponents): Displays the signed JNLP warning message if necessary.
     2356        * netx/net/sourceforge/jnlp/security/SecurityDialog.java:
     2357        (SecurityDialog): Stores the value of whether a signed JNLP warning should
     2358        be displayed.
     2359        (showMoreInfoDialog): Passes in the associated JNLP file when creating a
     2360        SecurityDialog object.
     2361        (requiresSignedJNLPWarning): Returns a boolean after determining if a signed
     2362        JNLP warning should be displayed.
     2363
     23642011-08-17  Danesh Dadachanji <ddadacha@redhat.com>
     2365
     2366        Update UI for SecurityDialog
     2367        * netx/net/sourceforge/jnlp/resources/question.png: New icon added.
     2368        * netx/net/sourceforge/jnlp/security/CertWarningPane.java:
     2369        (addComponents): When certs are verified, question.png is used as the icon
     2370        and SAlwaysTrustPublisher is automatically selected.
     2371        * netx/net/sourceforge/jnlp/security/SecurityDialog.java:
     2372        (initDialog): Changed the title of a CERT_WARNING dialog.
     2373
     23742011-08-17  Danesh Dadachanji <ddadacha@redhat.com>
     2375
     2376        AUTHORS: Adding myself and Denis Lila. Removing the extra email from
     2377        Andrew Hughes.
     2378
     23792011-08-11  Danesh Dadachanji <ddadacha@redhat.com>
     2380
     2381        PR742: IcedTea-Web checks certs only upto 1 level deep before declaring
     2382        them untrusted.
     2383        * NEWS: Updated.
     2384        * netx/net/sourceforge/jnlp/tools/JarSigner.java:
     2385        (checkTrustedCerts): All certs along certPath are now checked for trust.
     2386
     23872011-08-09  Deepak Bhole <dbhole@redhat.com>
     2388
     2389        PR771: IcedTea-Web certificate verification code does not use the right
     2390        API
     2391        * netx/net/sourceforge/jnlp/security/CertificateUtils.java
     2392        (inKeyStores): Use Certificate.verify to correctly verify a certificate
     2393        against a public key in the store.
     2394
     23952011-08-09  Saad Mohammad  <smohammad@redhat.com>
     2396
     2397        PR765: JNLP file with all resource jars marked as 'lazy' fails to validate
     2398        signature and stops the launch of application
     2399        * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
     2400        (initializeResources): Initializes the first jar file if all resources
     2401        are marked as lazy jars
     2402
     24032011-08-03  Saad Mohammad  <smohammad@redhat.com>
     2404
     2405        * netx/net/sourceforge/jnlp/JNLPMatcher.java:
     2406          (JNLPMatcher): Removed NullPointerException from being thrown, caught and
     2407          then thrown again via JNLPMatcherException. This was replaced by throwing
     2408          a checked exception [JNLPMatcherException] directly.
     2409          (JNLPMatcher): Removed unused code [getters]
     2410          (JNLPMatcher): Closed Input/Output streams that were opened.
     2411          (isMatch): Removed caching of return value
     2412          (closeInputStream): Added this method to close input streams
     2413          (closeOutputStream): Added this method to close output streams
     2414        * netx/net/sourceforge/jnlp/Node.java:
     2415          Removed getAttributeNames() method from the commented section
     2416
    3624172011-08-03  Deepak Bhole <dbhole@redhat.com>
    372418
     
    402421        cert hashtable only if the entry is expected to be signed.
    412422
     24232011-08-02 Jiri Vanek <jvanek@redhat.com>
     2424
     2425        *Makefile.am: (stamps/netx-dist-tests-prepare-reproducers.stamp):
     2426        now are compiled files correctly compiled from directory structure.
     2427        Also not java files are copied with expected directory structure and
     2428        jarred together with classes.
     2429
     24302011-07-26  Jiri Vanek <jvanek@redhat.com>
     2431
     2432        *tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java: String
     2433         containing "localhost"  have been declared as final constant.
     2434        (SERVER_NAME) have been  moved instant Server instance so each server can
     2435         have it name without affecting others
     2436        (getUrl()) added -  can return URL of server singleton. Implementation of
     2437         this method is inside server, so each server can return its own useful URL.
     2438        (saveFile()) is now public.
     2439        Added identification for ThreadedProcess based on commandlineArgs and its
     2440         run is now slowed by Thread.sleep
     2441        (ServerLuncher) inner class is now public (it was bug to not be as we have
     2442         getIndependentInstance of it method ) and renamed to ServerLauncher
     2443        Enchanted wrapping of executeProcess
     2444
     2445
    4224462011-07-21  Deepak Bhole <dbhole@redhat.com>
    432447
    442448        PR749: sun.applet.PluginStreamHandler#handleMessage(String) really slow
    45         Patch from: Ricardo Martín Camarero (Ricky) <rickyepoderi at yahoo dot es>
     2449        Original patch from: Ricardo Martín Camarero <rickyepoderi at yahoo dot es>
    462450        * plugin/icedteanp/java/sun/applet/PluginStreamHandler.java
    472451        (readPair): New function.
     
    492453        than using String.split().
    502454
    51 2011-07-20  Deepak Bhole <dbhole@redhat.com>
    52 
    53         * configure.ac: Prepare for 1.1.2
    54         * NEWS: Same
    55 
    56 2011-07-15  Deepak Bhole <dbhole@redhat.com>
    57 
    58         * configure.ac: Prepare to release 1.1.1
    59         * NEWS: Same
     24552011-07-19  Saad Mohammad  <smohammad@redhat.com>
     2456
     2457        * netx/net/sourceforge/jnlp/JNLPMatcher.java:
     2458          Created this class to compare signed JNLP file with the launching 
     2459          JNLP file. When comparing, it has support for both method of signing
     2460          of a JNLP file: APPLICATION_TEMPLATE.JNLP and APPLICATION.JNLP.
     2461        * netx/net/sourceforge/jnlp/JNLPMatcherException.java:
     2462          Added a custom exception: JNLPMatcherException. Thrown if verifying
     2463          signed JNLP files fails.
     2464        * netx/net/sourceforge/jnlp/Node.java:
     2465          Created a method that retrieves the attribute names of the Node and
     2466          stores it in private string [] member. The method returns the
     2467          attribute names.
     2468        * tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java:
     2469          This is a test case that tests the functionality of JNLPMatcher.
     2470          It tests the algorithm with a variety of template and application
     2471          JNLP files.
     2472        * tests/netx/unit/net/sourceforge/jnlp/launchApp.jnlp:
     2473          Launching JNLP file: This is the launching JNLP file used to compare
     2474          with templates and application JNLP files in JNLPMatcherTest.java
     2475        * tests/netx/unit/net/sourceforge/jnlp/templates/template0.jnlp:
     2476          Test Template JNLP file: Contains CDATA.
     2477        * tests/netx/unit/net/sourceforge/jnlp/templates/template1.jnlp:
     2478          Test Template JNLP file: An exact duplicate of the launching
     2479          JNLP file.
     2480        * tests/netx/unit/net/sourceforge/jnlp/templates/template2.jnlp:
     2481          Test Template JNLP file: Contains wildchars as attribute/element
     2482          values.
     2483        * tests/netx/unit/net/sourceforge/jnlp/templates/template3.jnlp:
     2484          Test Template JNLP file: Different order of elements/attributes
     2485          (same value)
     2486        * tests/netx/unit/net/sourceforge/jnlp/templates/template4.jnlp:
     2487          Test Template JNLP file: Contains wildchars as values of ALL elements
     2488          and attribute.
     2489        * tests/netx/unit/net/sourceforge/jnlp/templates/template5.jnlp:
     2490          Test Template JNLP file: Contains comments.
     2491        * tests/netx/unit/net/sourceforge/jnlp/templates/template6.jnlp:
     2492          Test Template JNLP file: Contains different attribute and element
     2493          values.
     2494        * tests/netx/unit/net/sourceforge/jnlp/templates/template7.jnlp:
     2495          Test Template JNLP file: Contains additional children in element.
     2496        * tests/netx/unit/net/sourceforge/jnlp/templates/template8.jnlp:
     2497          Test Template JNLP file: Contains fewer children in element.
     2498        * tests/netx/unit/net/sourceforge/jnlp/templates/template9.jnlp:
     2499          Test Template JNLP file: All values are different from the launching
     2500          JNLP file.
     2501        * tests/netx/unit/net/sourceforge/jnlp/application/application0.jnlp:
     2502          Test Application JNLP file: Contains CDATA.
     2503        * tests/netx/unit/net/sourceforge/jnlp/application/application1.jnlp:
     2504          Test Application JNLP file: An exact duplicate of the launching
     2505          JNLP file.
     2506        * tests/netx/unit/net/sourceforge/jnlp/application/application2.jnlp:
     2507          Test Application JNLP file: Different order of element/attributes
     2508          (same value).
     2509        * tests/netx/unit/net/sourceforge/jnlp/application/application3.jnlp:
     2510          Test Application JNLP file: Contains comments.
     2511        * tests/netx/unit/net/sourceforge/jnlp/application/application4.jnlp:
     2512          Test Application JNLP file: Contains wildchars as attribute/element
     2513          values.
     2514        * tests/netx/unit/net/sourceforge/jnlp/application/application5.jnlp:
     2515          Test Application JNLP file: Contains a different attribute (codebase)
     2516          value.
     2517        * tests/netx/unit/net/sourceforge/jnlp/application/application6.jnlp:
     2518          Test Application JNLP file: Contains additional children in element.
     2519        * tests/netx/unit/net/sourceforge/jnlp/application/application7.jnlp:
     2520          Test Application JNLP file: Contains fewer children in element.
     2521        * tests/netx/unit/net/sourceforge/jnlp/application/application8.jnlp:
     2522          Test Application JNLP file: All values are different from the
     2523          launching JNLP file.
     2524        * Makefile.am:
     2525          (run-netx-unit-tests): Copies resources(non java files) to test.build
     2526          before running the unit tests.
     2527
     25282011-06-22 Jiri Vanek <jvanek@redhat.com>
     2529
     2530        * tests/report-styles/jreport.xsl: part with classes statistics is now collapsable
     2531
     25322011-06-21 Jiri Vanek <jvanek@redhat.com>
     2533
     2534        *tests/jnlp_tests/simple: AccessClassInPackage, ReplaceSecurityManager,
     2535        AddShutdownHook, ReadEnvironment,  SetContextClassLoader,
     2536        AllStackTraces,  ReadProperties, CreateClassLoader, RedirectStreams tests
     2537
     25382011-06-21 Jiri Vanek <jvanek@redhat.com>
     2539
     2540        *Makefile.am: (run-netx-dist-tests): no depends on copying of styles
     2541        (clean-netx-dist-tests): depends also on removing of styles
     2542
     25432011-06-17 Jiri Vanek <jvanek@redhat.com>
     2544
     2545        * tests/jnlp_tests: directory for reproducers
     2546        * tests/jnlp_tests/advanced: reproducers which must care about
     2547         deploying and compiling thmselves
     2548        * tests/jnlp_tests/simple: reproducers compiled, jared and deployed
     2549        automatically
     2550        * tests/jnlp_tests/simple/name/srcs|testcases|resources/: sourcefiles,
     2551        resources and testaces for simple reproducers
     2552        * tests/jnlp_tests/simple/deadlocktest: test for tracing not-killable
     2553        javaws
     2554        * tests/jnlp_tests/simple/simpletest1: tutorial test
     2555        * tests/jnlp_tests/simple/simpletest2: tutorial test with exception
     2556        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java:
     2557        tests for server basic functionality
     2558        * tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
     2559        implementation of server to produce jnlps and resources. Implementation
     2560        of helpers to run javaws process.
     2561        *Makefile.am: new variables pointing to structure above;
     2562        (junit-jnlp-dist-dirs.txt): prepare destination directory structure
     2563        (stamps/netx-dist-tests-prepare-reproducers.stamp):compile tescascases of simple reproducers
     2564        (netx-dist-tests-source-files.txt): lookup for server and helping classes
     2565        (stamps/netx-dist-tests-compile.stamp): compile server and helping classes
     2566        (stamps/netx-dist-tests-compile-testcases.stamp): compile, jar and deploy all simple testcases and their resources
     2567        (run-netx-dist-tests): after make install run junit testsuite upon reproducers on virtual server
     2568        (clean-netx-tests): added dependence on  clean-netx-dist-tests
     2569        (clean-netx-dist-tests): deleting  of reproducers
     2570
     25712011-06-16 Jiri Vanek <jvanek@redhat.com>
     2572
     2573        * tests/report-styles/index.js: fast navigation functions
     2574        * tests/report-styles/report.css: styles for transformed result
     2575        * tests/report-styles/jreport.xsl: template for human-readable
     2576        xml->html transformation.
     2577        * Makefile.am: New variable for report-styles directory;
     2578        ($(TESTS_DIR)/$(REPORT_STYLES_DIRNAME)): goal for copying styles and   
     2579        javascripts; (run-netx-unit-tests): added nonfaling xsltproc
     2580        transformation of sheet and unit-tests' xml report to index_unit.html;
     2581        (clean-netx-unit-tests): now depends also on clean_tests_reports;
     2582        (clean_tests_reports): new goal to remove report styles directory and
     2583        indexs html files.
    602584
    6125852011-07-14  Omair Majid  <omajid@redhat.com>
     
    972621        addComponents): Changed to a layout that will resize itself.
    982622
    99 2011-06-08  Deepak Bhole <dbhole@redhat.com>
    100 
    101         * configure.ac: Prepare for 1.1.1
    102         * NEWS: Same
    103 
    104 2011-06-08  Deepak Bhole <dbhole@redhat.com>
    105 
    106         * configure.ac: Update for release.
    107         * NEWS: Update for release.
    108 
    109 2011-06-08  Deepak Bhole <dbhole@redhat.com>
    110 
    111         * NEWS: Remove security update notes from NEWS as they are not "New"
     26232011-06-10  Denis Lila  <dlila@redhat.com>
     2624
     2625        * netx/net/sourceforge/jnlp/GuiLaunchHandler.java:
     2626        (mutex): New mutex for synchronizing splashScreen.
     2627        (closeSplashScreen): New method to hide and dispose
     2628        splashScreen.
     2629        (launchStarting): Call closeSplashScreen instead of doing it
     2630        inline.
     2631        (launchInitialized): Sync splashScreen creation.
     2632        (validationError, launchError): Call closeSplashScreen.
     2633
     26342011-06-10  Denis Lila  <dlila@redhat.com>
     2635
     2636        * netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java:
     2637        (frameMutex): New mutex to synchronize accesses to "frame".
     2638        (getListener): Make almost all of it synchronized on frameMutex.
     2639        (disposeListener): Sync hider's body around frameMutex and call
     2640        dispose on the frame so that the awt threads die when they should.
     2641        (addProgressPanel): Sync "frame" usage.
     2642
     26432011-06-08  Saad Mohammad  <smohammad@redhat.com>
     2644
     2645        * AUTHORS: Updated
     2646        * netx/net/sourceforge/jnlp/services/ServiceUtil.java
     2647        (checkAccess): Moved the process of checking if the application is a trusted
     2648        application to a new method called isSigned().
     2649        * netx/net/sourceforge/jnlp/services/XPersistenceService.java
     2650        (checkLocation): Allows trusted application to have access to
     2651        PersistenceService data from different hosts. It uses ServiceUtil.isSigned()
     2652        to determine if the current application is a trusted application.
     2653
     26542011-06-08  Andrew Su  <asu@redhat.com>
     2655
     2656        * NEWS: Updated.
     2657        * netx/net/sourceforge/jnlp/JNLPFile.java:
     2658        (JNLPFile): Calls new constructor.
     2659        (JNLPFile): New constructor to take an option for forcing a codebase.
     2660        (JNLPFile): Call parse with extra parameter.
     2661        (parse): Use the given codebase passed in if we did not find one.
     2662        * netx/net/sourceforge/jnlp/Parser.java:
     2663        (Parser): Calls new constructor.
     2664        (Parser): New constructor which takes in a codebase as a last option.
     2665        * netx/net/sourceforge/jnlp/PluginBridge.java:
     2666        (PluginBridge): Calls new JNLPFile's constructor with current codebase
     2667
     26682011-06-08  Andrew Su  <asu@redhat.com>
     2669
     2670        * netx/net/sourceforge/jnlp/PluginBridge.java:
     2671        (jars): Changed to use HashSet instead of String[].
     2672        (PluginBridge): Updated to work with HashSet instead of String[]
     2673        (getResources): Likewise.
    1122674
    11326752011-06-08  Deepak Bhole <dbhole@redhat.com>
     
    1592721        _createAndRetainJavaObject.
    1602722
     27232011-05-31  Omair Majid  <omajid@redhat.com>
     2724
     2725        * netx/net/sourceforge/jnlp/JNLPSplashScreen.java: Subclass JDialog, not
     2726        JFrame.
     2727
     27282011-05-30  Andrew Su  <asu@redhat.com>
     2729
     2730        * netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java:
     2731        (addComponent): Add check to see if specified cache directory is
     2732        writable.
     2733
    16127342011-05-30  Andrew Su  <asu@redhat.com>
    1622735
     
    2302803        (lock): Removed creation of file here.
    2312804
     28052011-05-17 Jiri Vanek <jvanek@redhat.com>
     2806
     2807        * tests/junit-runner/JunitLikeXmlOutputListener: This listener exports
     2808        results of junit in xml which "follows junit-output schema". Extended
     2809        for date, duration and some statististics for future purpose
     2810        * Makefile.am (run-netx-unit-tests): backuping stdout/stderr of tests
     2811        * tests/junit-runner/CommandLine.java: registered
     2812        JunitLikeXmlOutputListener
     2813
    23228142011-05-10  Andrew Su  <asu@redhat.com>
    2332815
     
    2352817        (addComponents):Created a new comparator for sorting by file size and
    2362818        date.
     2819
     28202011-05-09  Jiri Vanek  <jvanek@redhat.com>
     2821        * tests/junit-runner/CommandLine.java:r added skipping of inner
     2822        classes and one jnlp file from sources package.
     2823
     28242011-05-03  Denis Lila  <dlila@redhat.com>
     2825
     2826        * netx/net/sourceforge/jnlp/NetxPanel.java:
     2827        Add imports.
     2828        (uKeyToTG): Change to HashMap.
     2829        (TGMapMutex): New mutex to synchronize uKeyToTG.
     2830        (getThreadGroup): Synchronize on TGMapMutex.
     2831        (NetxPanel): Only create a new thread group if one doesn't already
     2832        exist for the computed uKey.
    2372833
    23828342011-05-02  Deepak Bhole <dbhole@redhat.com>
     
    2432839        invokeAndWait.
    2442840        (appletSystemExit): Exit the VM when called.
     2841
     28422011-04-28  Denis Lila  <dlila@redhat.com>
     2843
     2844        * netx/net/sourceforge/jnlp/NetxPanel.java:
     2845        Remove unused import; add imports.
     2846        (uKey, uKeyToTG, appContextCreated): New members.
     2847        (getThreadGroup, createNewAppContext): New methods.
     2848        (runLoader): Pass uKey to PluginBridge's constructor.
     2849        (run): Remove. No longer needed.
     2850        (NetxPanel): Initialize uKey. If it is a new key, make a new thread
     2851        group for it and save it in the hash map.
     2852        (createAppletThread): Use getFutureTG instead of creating a thread
     2853        group on the spot.
     2854        * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
     2855        (createPanel): Initialize and frame the panel in a separate thread.
     2856        * netx/net/sourceforge/jnlp/Launcher.java:
     2857        Remove unused import.
     2858        (createApplet, createApplication, createThreadGroup): Replace
     2859        AppThreadGroup with ThreadGroup. Remove all calls to setApplication.
     2860        * netx/net/sourceforge/jnlp/PluginBridge.java:
     2861        (PluginBridge): Remove the uniqueKey initialization logic. Set
     2862        uniqueKey to the uKey parameter.
     2863        * netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java:
     2864        Remove file.
    2452865
    24628662011-04-28  Omair Majid  <omajid@redhat.com>
     
    2552875        (launcher.build/itweb-settings): Replace with...
    2562876        (launcher.build/$(itweb-settings)): New target.
     2877
     28782011-04-21  Deepak Bhole <dbhole@redhat.com>
     2879
     2880        * configure.ac: Bumped version to 1.2pre
    2572881
    25828822011-04-21  Deepak Bhole <dbhole@redhat.com>
Note: See TracChangeset for help on using the changeset viewer.