12016-02-02  Jiri Vanek <jvanek@redhat.com>
2
3	Pre-release tuning
4	* Makefile.am: (netx-html-gen.stamp) set number of changests to 33 (since 1.6.1)
5	* NEWS: date of 1.6.2 set
6	* configure.ac: (AC_INIT) set to use 1.6.2
7
82016-02-02  Jiri Vanek <jvanek@redhat.com>
9
10	maven artifacts version substituted to contains only major version
11	* .Makefile: ($(abs_top_builddir)/metadata) version stripped by everything
12	behind second number
13
142016-01-28  Matthias Klose  <doko@ubuntu.com>
15            Jiri Vanek <jvanek@redhat.com>
16
17	* Makefile: (stamps/generate-docs.stamp) added quotes around HTML_DOCS_INDEX
18
192016-01-26  Jiri Vanek <jvanek@redhat.com>
20
21	Messages for Invalid JDK dialog improved a bit.
22	* netx/net/sourceforge/jnlp/resources/Messages.properties:
23	* netx/net/sourceforge/jnlp/resources/Messages_cs.properties:
24	* netx/net/sourceforge/jnlp/resources/Messages_de.properties:
25	* netx/net/sourceforge/jnlp/resources/Messages_pl.properties:
26
272016-01-26  Jiri Vanek <jvanek@redhat.com>
28
29	Revisited some jnlp_href tests.
30	* tests/reproducers/signed/ClasspathManifestTest/testcases/ClasspathManifestTest.java:
31	explained why localtests on "." are passing (removed KnownToFail) and added
32	(correctly failing) tests in various dirs
33	* tests/reproducers/signed/CodeBaseManifestEntrySignedMatching/testcases/CodeBaseManifestEntrySignedMatching.java:
34	used diamond
35	* tests/reproducers/signed/CodeBaseManifestEntrySignedMatching/testcases/CodeBaseManifestEntrySignedNotMatching.java:
36	same
37	* tests/reproducers/signed/CodeBaseManifestEntrySignedMatching/testcases/CodeBaseManifestEntryUnsignedMatching.java:
38	same
39	* tests/reproducers/signed/CodeBaseManifestEntrySignedMatching/testcases/CodeBaseManifestEntryUnsignedNotMatching.java:
40	same
41	* tests/reproducers/simple/SingleInstanceServiceTest/testcases/SingleInstanceTest.java:
42	fixed midori incompatible tests
43
442016-01-25  Jiri Vanek <jvanek@redhat.com>
45
46	Fixed various cosmetic NPEs when codebase is null (+tests)
47	* NEWS: mentioned PR2489
48	* netx/net/sourceforge/jnlp/JNLPFile.java: added method getNotNullProbalbeCodeBase
49	workaround cases when codebase is null (for various output reasons)
50	* netx/net/sourceforge/jnlp/PluginBridge.java: using getNotNullProbalbeCodeBase
51	when fixing codebase during generation of jnlp stub.
52	* netx/net/sourceforge/jnlp/SecurityDesc.java: same for generating uri for policies
53	record
54	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (manageExternalJars)
55	same for ref string comparsion
56	* netx/net/sourceforge/jnlp/security/SecurityDialog.java: same for visible form of
57	codebase
58	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java: same
59	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
60	same
61	* netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissionsButton.java:
62	same
63	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/PartiallySignedAppTrustWarningPanel.java:
64	same
65	* netx/net/sourceforge/jnlp/util/UrlUtils.java: (normalizeUrlAndStripParams) and
66	(removeFileName) when input is null, return null.
67	* tests/junit-runner/JunitLikeXmlOutputListener.java: now supports hg commits
68	* tests/reproducers/signed/CodebasesAttsSigned/srcs/CodebasesAttsSigned.java:
69	test printing "hardocded" id and paramet to know jar and calling jnlp/html source
70	* tests/reproducers/signed/CodebasesAttsSigned/resources/CodebasesAttsSigned.html.in:
71	resouirce capable of substitue id param, codebase, jar and htmlHref
72	* tests/reproducers/signed/CodebasesAttsSigned/resources/CodebasesAttsSignedApp.jnlp.in:
73	same
74	* tests/reproducers/signed/CodebasesAttsSigned/resources/CodebasesAttsSignedApplet.jnlp.in:
75	same
76	* tests/reproducers/signed/CodebasesAttsSigned/resources/CodebasesAttsSignedJnlpHref.html.in:
77	same
78	* tests/reproducers/signed/CodebasesAttsSigned/testcases/CodebasesAttsSignedDialogsTest1.java:
79	Test testing various dialogues of signed app. Including tests for corrupted signature
80	* tests/reproducers/simple/CodebasesAtts/srcs/CodebasesAtts.java: same as CodebasesAttsSigned
81	but not signed
82	* tests/reproducers/simple/CodebasesAtts/resources/CodebasesAtts.html.in:
83	same as signed ones
84	* tests/reproducers/simple/CodebasesAtts/resources/CodebasesAttsApp.jnlp.in:
85	same
86	* tests/reproducers/simple/CodebasesAtts/resources/CodebasesAttsApplet.jnlp.in:
87	same
88	* tests/reproducers/simple/CodebasesAtts/resources/CodebasesAttsJnlpHref.html.in:
89	same
90	* tests/reproducers/simple/CodebasesAtts/testcases/CodebasesAttsDialogsTest1.java:
91	same
92	* tests/reproducers/simple/CodebasesAtts/testcases/CodebasesAttsNoDialogsTest1.java:
93	* tests/reproducers/simple/CodebasesAtts/testcases/CodebasesAttsNoDialogsTest2.java:
94	* tests/reproducers/simple/CodebasesAtts/testcases/CodebasesAttsNoDialogsTest3.java:
95	Again tests for various substituted values
96	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
97	added stubs to create independent instance upon tmp folder and execute browser
98	upon url.
99	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/firefox/FirefoxProfilesOperator.java:
100	(copyFile) moved to autocloseable
101	* tests/test-extensions/net/sourceforge/jnlp/closinglisteners/AutoErrorClosingListener.java:
102	fixed to not to close on rhino exception
103	* tests/test-extensions/net/sourceforge/jnlp/closinglisteners/StringBasedClosingListener.java:
104	condition made protected
105
1062016-01-19  Jiri Vanek <jvanek@redhat.com>
107
108	When tagsoup is missing, parsing errors are more informative
109	* acinclude.m4: when building without tagsoup, more verbose warning is printed
110	* netx/net/sourceforge/jnlp/GuiLaunchHandler.java: (launchError) is now noting
111	that BasicExceptionDialog will be shown.
112	* netx/net/sourceforge/jnlp/MalformedXMLParser.java: Now react on NoClassDefFoundError
113	by returning original stream.
114	* netx/net/sourceforge/jnlp/ParseException.java: Stores information about
115	parsers loading, and add this info to ParseException message.
116	* netx/net/sourceforge/jnlp/Parser.java: (getRootNode) logic retrieving parser
117	class extracted to separate method getParserInstance
118	* netx/net/sourceforge/jnlp/resources/Messages.properties: added family of TAGSOUP
119	for messages about its state
120	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: (exit) now waits for
121	BasicExceptionDialog.
122	* netx/net/sourceforge/jnlp/runtime/html/AppletExtractor.java: (cleanStreamIfPossible)
123	now uses Parser.getParserInstance ratehr then its own.
124	* netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java: Is now capable of
125	publishing number of shown instances.
126
1272016-01-14  Jiri Vanek <jvanek@redhat.com>
128            Fridrich Strba  <fridrich.strba@suse.com>
129
130	Adapted to change in package of HexDumpEncoder (1.8 sun.misc.HexDumpEncoder,
131	1.9 sun.security.util.HexDumpEncoder)
132	* acinclude.m4: added new macro IT_CHECK_FOR_HEXDUMPENCODER, which tries both
133	locations of HexDumpEncoder
134	* configure.ac: now uses IT_CHECK_FOR_HEXDUMPENCODER instead of
135	IT_CHECK_FOR_CLASS(SUN_MISC_HEXDUMPENCODER, [sun.misc.HexDumpEncoder])
136	* netx/net/sourceforge/jnlp/security/dialogs/CertsInfoPane.java: added imports
137	to both import sun.misc.*; and import sun.security.util.*;
138
1392016-01-14  Jiri Vanek <jvanek@redhat.com>
140
141	Added GenericName to desktop files
142	* itweb-settings.desktop.in:
143	* javaws.desktop.in:
144	* policyeditor.desktop.in:
145
1462016-01-14  Jiri Vanek <jvanek@redhat.com>
147
148	Included maven artifacts and appstream metadata
149	* .Makefile: (clean-local) and (.PHONY) now depends on clean-metadata.
150	($(abs_top_builddir)/metadata) new target, copy metadata-in to metadata and
151	replace name, vendor and version check-meatdata, new stand alone target, checks
152	correctness of poms and xmls in	metadata folder. (stamps/netx-dist.stamp) now
153	depends on $(abs_top_builddir)/metadata. clean-metadata, new target, removes
154	built metadata folder
155	* metadata.in/icedtea-web-javaws.appdata.xml: appstream metadata for javaws
156	* metadata.in/icedtea-web.metainfo.xml: appstream metadata for plugin
157	* metadata.in/icedtea-web-plugin.pom: pom for plugin.jar
158	* metadata.in/icedtea-web.pom: pom for netx jar
159
1602016-01-14  Jiri Vanek  <jvanek@redhat.com>
161
162	Vendor desktop entry replaced by X-Vendor
163	* ChangeLog: fixed date
164	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: if vendor is present in jnlp
165	instead of Vendor X-Vendor entry is generated to desktop file
166
1672016-01-14  Jiri Vanek  <jvanek@redhat.com>
168
169	Added reprodcuer for NoClassDeffFoundError behavior
170	* tests/reproducers/custom/NoClassDeff/srcs/NoClassDeff.java: small app including
171	inner class, which is missing in deployed jar. Then calling this class on demand
172	* tests/reproducers/custom/NoClassDeff/srcs/.Makefile: responsible for removing
173	the compiled inner class before jarring
174	* tests/reproducers/custom/NoClassDeff/testcases/NoClassDeffTest.java:
175	testing behavior when ClassNotFound/NoClassDefFound  is thrown in various stages
176	* tests/reproducers/custom/NoClassDeff/resources/NoClassDeff.html.in:
177	* tests/reproducers/custom/NoClassDeff/resources/NoClassDeffApp.jnlp.in:
178	* tests/reproducers/custom/NoClassDeff/resources/NoClassDeffApplet.jnlp.in:
179	* tests/reproducers/custom/NoClassDeff/resources/NoClassDeffJnlpHref.html.in:
180	templates to launch app with instruction when to call LostClass and how to deal with it
181
1822016-01-07  David Cantrell <david.l.cantrell@gmail.com>
183            Jiri Vanek  <jvanek@redhat.com>
184            Andrew John Hughes  <ahughes@redhat.com>
185
186	Remove bash-specifics from top level Makefile.a
187	* Makefile.am: (generate-docs.stamp) double == in test function replaced by single =
188	(stamps/netx-html-gen.stamp) call to plain bash replaced by ${SHELL}
189	* NEWS: mentioned PR2669
190
1912016-01-07  Tiago Stürmer Daitx <tdaitx@gmail.com>
192            Jiri Vanek  <jvanek@redhat.com>
193
194	Resolves an issue where, if IcedTea's call to NPN_GetValueForURL fails,
195	IcedTea-Web attempts to send uninitialized memory garbage across a pipe, which
196	(usually) results in an error. At this point, IcedTea gives up, but does not
197	inform Firefox that it has done so, and unless dom.ipc.plugins.asyncInit is
198	true, this causes Firefox's UI to lock up in addition to the Java component failing to load.
199	* plugin/icedteanp/IcedTeaNPPlugin.cc: (onsume_plugin_message) initialize len
200	and proxy_info. (get_proxy_info) returns correct message if
201	browser_functions.getvalueforurl returns error
202	* NEWS: mentioned PR2714
203
2042016-01-07  Jiri Vanek  <jvanek@redhat.com>
205
206	Codebase resolution of jnlp-href is now aligned with oracle plugin
207	* netx/net/sourceforge/jnlp/PluginBridge.java: When jnlp href is used, codebase
208	is forced to become codebase of jnlp
209	* netx/net/sourceforge/jnlp/SecurityDesc.java: When file.getCodeBase() is null
210	then instead of NPE, codebase of file.fileLocation is used
211	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
212	stripFile and ensureSlashTail moved to UrlUtils
213	* netx/net/sourceforge/jnlp/util/UrlUtils.java: 	stripFile and ensureSlashTail
214	moved from UnsignedAppletTrustConfirmation
215	* tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java: removed empty lines
216	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmationTest.java:
217	adapted to moved methods
218	* tests/netx/unit/net/sourceforge/jnlp/util/UrlUtilsTest.java: added more tests
219	to removeFileName and enabled accidentlay disabled  getHostAndPortTest and
220	getPortTest
221	* tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java:
222	ensured manifest attributes are off for this test
223	* tests/netx/unit/net/sourceforge/jnlp/ParserMalformedXml.java: fixed bom tests
224	to use proper classloader
225
2262016-01-07  Jiri Vanek  <jvanek@redhat.com>
227
228	BOM character now dont cause error
229	* netx/net/sourceforge/nanoxml/XMLElement.java: duplicated whitespace recognition
230	code moved to isRegularWhiteSpace.  First call to scanWhitespace repalced by
231	call to scanLeadingWhitespace. New field BOM introduced. (scanWhitespace)
232	made private, and uses isRegularWhiteSpace. (scanLeadingWhitespace) new method,
233	same as scanWhitespacebut also skipps BOM and marks it.
234	* tests/netx/unit/net/sourceforge/jnlp/ParserMalformedXml.java: Added tests to
235	issue
236	* tests/netx/unit/net/sourceforge/jnlp/templates/EFBBBF.jnlp: new file. jnlp
237	file starting with bom.
238	* NEWS: mentioned PR2690
239
2402016-01-06  James Le Cuirot <chewi@gentoo.org>
241
242	Fixed typo in javadoc generation
243	* Makefile.am: (stamps/netx-docs.stamp) (	_OPTS)->(JAVADOC_OPTS)
244
2452016-01-06  Jiri Vanek  <jvanek@redhat.com>
246
247	Fixed PR2591 - IcedTea-Web request resources twice for meta informations and
248	causes ClientAbortException on tomcat in conjunction with JnlpDownloadServlet
249	* NEWS: mentioned PR2591
250	* netx/net/sourceforge/jnlp/cache/ResourceDownloader.java: CodeWithRedirect renamed
251	to UrlRequestResult and now cached also lastModified and length if available.
252	(initializeFromURL) now expects UrlRequestResult instead of URL, (findBestUrl)
253	now returns in same manner
254	(SimpleTest1CountRequests) now passes
255	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceDownloaderTest.java: adapted
256	to ResourceDownloader.
257
2582016-01-06  Jiri Vanek  <jvanek@redhat.com>
259
260	Added redirection tests
261	* tests/test-extensions/net/sourceforge/jnlp/ServerLauncher.java:  Enhanced so
262	it can redirect requests to another instance. Enhanced to be able to count requests
263	* tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java: same
264	* tests/reproducers/simple/simpletest1/testcases/SimpleTest1Test.java: small
265	refactoring to reuse checking methods
266	* tests/reproducers/simple/simpletest1/testcases/SimpleTest1CountRequests.java:
267	Added FAILING tests for 2591 - counting ITW requests to test server
268	* tests/reproducers/simple/simpletest1/testcases/SimpleTestDefaultRedirects.java:
269	added set of tests to test behavior under various redirect codes
270
2712016-01-05  Jiri Vanek  <jvanek@redhat.com>
272
273	* NEWS: mentioned PR2779
274	* html-gen.sh: now don't generate mercurial changesets' links if .hg is missing
275
2762015-12-23  Jiri Vanek  <jvanek@redhat.com>
277
278	Small properties parser in C (plugin) now unescapes \= \\ \: \t \n and \r correctly
279	* plugin/icedteanp/IcedTeaParseProperties.cc: (get_property_value) now unescape
280	known escape sequences by calling IcedTeaPluginUtilities::unescape
281	* plugin/icedteanp/IcedTeaPluginUtils.cc: implemented (unescape) which unescape
282	known properties escape sequences
283	* plugin/icedteanp/IcedTeaPluginUtils.h: declared (unescape)
284	* tests/cpp-unit-tests/IcedTeaParsePropertiesTest.cc: ((get_property_value))
285	added testcase which verifies unnescape of escaped sequences from  get_property_value
286	* tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc: added family of (unescape) tests
287	* /tests/reproducers/signed/CheckPluginParams: reproducer to verify if params
288	from -D in deployment.plugin.jvm.arguments get correctly unescaped during its
289	way up to users program.
290
2912015-11-26  Jiri Vanek  <jvanek@redhat.com>
292
293	Main-class attribute get trimmed by default
294	* netx/net/sourceforge/jnlp/Parser.java: declared MAINCLASS to keep main-class
295	constant, declared anyWhiteSpace regex to determine whitespaces. All possible fields
296	made final, hardcoded main-class replaced bu constant. New method getOptionalMainClass
297	wrapper around getMainClass but consuming exception. getMainClass, new method
298	reading MAINCLASS from node and handling it. cleanMainClassAttribute, new method
299	trim value and do checks to die or warn if necessary.
300	* tests/netx/unit/net/sourceforge/jnlp/ParserTest.java: added tests for top level
301	behavior on various spaced main-classes. Now extends NoStdOutErrTest
302	* NEWS: mentioned main-class handling change
303
3042015-11-12  Jiri Vanek  <jvanek@redhat.com>
305
306	Added parser to read ico images
307	* netx/net/sourceforge/jnlp/controlpanel/desktopintegrationeditor/JListUtils.java:
308	When reading images, also ico is attempted to parse.
309	* netx/net/sourceforge/jnlp/tools/ico/impl/IcoException.java: new class,
310	exception for special cases in ico parsing
311	* netx/net/sourceforge/jnlp/tools/ico/impl/IcoHeader.java: new class, parser
312	and holder of parsed information of header of ico file
313	* netx/net/sourceforge/jnlp/tools/ico/impl/IcoHeaderEntry.java: new class,
314	parser and holder of parsed information of headers of individual images stored
315	in header of ico file
316	* netx/net/sourceforge/jnlp/tools/ico/impl/ImageInputStreamIco.java: parser
317	of icon files from ImageInputStream
318
3192015-11-12  Jiri Vanek  <jvanek@redhat.com>
320
321	Added desktop integration dialog
322	* netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java: added linux-only
323	button to sow FreeDesktopIntegrationEditorFrame
324	* netx/net/sourceforge/jnlp/controlpanel/desktopintegrationeditor/Blinker.java:
325	new class, blink colors on selected component
326	* netx/net/sourceforge/jnlp/controlpanel/desktopintegrationeditor/FreeDesktopIntegrationEditorFrame.java:
327	new class, window to allow managing generated icons, jnlpfiles and shortcuts
328	* netx/net/sourceforge/jnlp/controlpanel/desktopintegrationeditor/JListUtils.java:
329	new class, provides models, extensions, renderers and listeners for FreeDesktopIntegrationEditorFrame
330	* netx/net/sourceforge/jnlp/controlpanel/desktopintegrationeditor/Panels.java:
331	new class, provides various encapsulated parts of FreeDesktopIntegrationEditorFrame
332	* netx/net/sourceforge/jnlp/controlpanel/desktopintegrationeditor/PreviewSelectionJTextPane.java:
333	new class, impelmetation of preview for FreeDesktopIntegrationEditorFrame
334	* netx/net/sourceforge/jnlp/resources/Messages.properties: added  Control
335	Panel - desktop integration manager DIM family
336	* netx/net/sourceforge/jnlp/security/dialogs/SecurityDialogPanel.java: htmlWrap
337	made public
338	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: findFreedesktopOrgDesktopPathCatch
339	made public
340	* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPaneModel.java:  replacing of chars by html
341	entities extracted to new method escapeHtmlForJTextPane
342	* tests/netx/unit/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningPanelTest.java:
343	htmlwrap moved to use SecurityDialogPanel's implementation
344
3452015-11-12  Jiri Vanek  <jvanek@redhat.com>
346
347	fixed build and runtime with jdk9
348	* netx/net/sourceforge/jnlp/NetxPanel.java: (init) setting doInit to true
349	replaced by call to setDoInitIfExists
350	* netx/sun/applet/AppletViewerPanelAccess.java: added new function of
351	(setDoInitIfExists) which sets doInit if exists
352
3532015-10-27  Jiri Vanek  <jvanek@redhat.com>
354
355	itweb-settings, debugging panel made aware about legacy log and client apps log
356	* netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java: added checboxes for
357	KEY_ENABLE_APPLICATION_LOGGING_TOFILE and KEY_ENABLE_LEGACY_LOGBASEDFILELOG
358	Cusotm config directory place was a bit repacked to be more compact and more useful.
359	* netx/net/sourceforge/jnlp/resources/Messages.properties: added labels
360	and tooltips for new checkboxes
361
3622015-10-27  Jiri Vanek  <jvanek@redhat.com>
363
364	Added and by default disabled logging to files for client applications.
365	* netx/net/sourceforge/jnlp/config/Defaults.java: KEY_ENABLE_APPLICATION_LOGGING_TOFILE
366	added and set by default to false
367	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: declared
368	KEY_ENABLE_APPLICATION_LOGGING_TOFILE
369	* netx/net/sourceforge/jnlp/util/logging/FileLog.java: next to createFileLog
370	can now does also createAppFileLog
371	* netx/net/sourceforge/jnlp/util/logging/LogConfig.java: made aware of
372	KEY_ENABLE_APPLICATION_LOGGING_TOFILE
373	* netx/net/sourceforge/jnlp/util/logging/OutputController.java: if logging
374	to file is enabled and logging to file for client applications is enabled
375	then output of client app is sent also to special file. Added new singleton of
376	AppFileLogHolder to keep instance of file log for client app. proceedHeader
377	extracted as separate method to be reused.
378
3792015-10-15  Jiri Vanek  <jvanek@redhat.com>
380
381	Added to enable and write logs directly to	file without java.util.logging
382	* netx/net/sourceforge/jnlp/config/Defaults.java: (defaults) added new key
383	KEY_ENABLE_LEGACY_LOGBASEDFILELOG, by default true
384	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: defined
385	KEY_ENABLE_LEGACY_LOGBASEDFILELOG for deployment.log.file.legacylog
386	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: (exit) catch new exception
387	* netx/net/sourceforge/jnlp/util/logging/FileLog.java: removed all logic.
388	Now serve onl as factory provider of FileLog implementation
389	* netx/net/sourceforge/jnlp/util/logging/LogConfig.java: fixed indentation, made
390	aware about LOGBASEDFILELOG
391	* netx/net/sourceforge/jnlp/util/logging/OutputController.java: adapted to
392	autocloseable SingleStreamLogger
393	* netx/net/sourceforge/jnlp/util/logging/SingleStreamLogger.java: this interface
394	now extends	AutoCloseable
395	* netx/net/sourceforge/jnlp/util/logging/filelogs/LogBasedFileLog.java: copy
396	of original FileLog. Writing to file is done via java.util.loggiing engine
397	* netx/net/sourceforge/jnlp/util/logging/filelogs/WriterBasedFileLog.java:
398	writing to file is done by simple buffered writer
399	* tests/netx/unit/net/sourceforge/jnlp/util/logging/FileLogTest.java: now tests
400	LogBasedFileLog
401	* tests/netx/unit/net/sourceforge/jnlp/util/logging/OutputControllerTest.java:
402	now tests WriterBasedFileLog instead of FileLog
403	* tests/netx/unit/net/sourceforge/jnlp/util/logging/WriterBasedFileLogTest.java:
404	Similar set of tests as are in FileLogTest but for WriterBasedFileLog
405
4062015-10-15  Jiri Vanek  <jvanek@redhat.com>
407
408	Broken file logging now dont crash itw
409	* NEWS: mentioned
410	* netx/net/sourceforge/jnlp/util/logging/FileLog.java: Instance now acquired
411	from factory method  (createFileLog) which defaults new SingleStreamLoggerImpl
412	if normal initialization fails.
413	* netx/net/sourceforge/jnlp/util/logging/OutputController.java: (getFileLog)
414	uses new factory method rather then constructor.
415	* netx/net/sourceforge/jnlp/util/logging/SingleStreamLogger.java: enforces
416	now also close method
417	* netx/net/sourceforge/jnlp/util/logging/PrintStreamLogger.java: impl close
418	* netx/net/sourceforge/jnlp/util/logging/UnixSystemLog.java: impl close
419	* netx/net/sourceforge/jnlp/util/logging/WinSystemLog.java: impl close
420	* netx/net/sourceforge/jnlp/util/logging/headers/PluginMessage.java: removed
421	unused import
422
4232015-10-07  Jiri Vanek  <jvanek@redhat.com>
424
425	All connection restrictions now consider also port
426	* NEWS: mentioned restriction about ports
427	* netx/net/sourceforge/jnlp/SecurityDesc.java: downloadHost redeclared to URL
428	and made final. All set/gets adapted
429	* netx/net/sourceforge/jnlp/Parser.java: (base) passes url to SecurityDesc
430	* netx/net/sourceforge/jnlp/PluginBridge.java: (PluginBridge) same
431	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: same
432	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: (getApplet)
433	(getApplets) same
434	* netx/net/sourceforge/jnlp/util/UrlUtils.java:	added methods sanitizePort and
435	getPort, which always returns port. If no port goes in, default port is going
436	out. Added getHostAndPort which returns host also with port.
437	* tests/netx/unit/net/sourceforge/jnlp/SecurityDescTest.java: adapted to new api
438	* tests/netx/unit/net/sourceforge/jnlp/util/UrlUtilsTest.java: tested new methods
439
4402015-10-02  Jiri Vanek  <jvanek@redhat.com>
441
442	Fixed possible segfault during files on and debug on
443	* plugin/icedteanp/IcedTeaNPPlugin.cc: added file_logs_initiated initiated as
444	false. plugin_file_log initiated to NULL.
445	* plugin/icedteanp/IcedTeaNPPlugin.h: made aware about extern file_logs_initiated
446	* plugin/icedteanp/IcedTeaPluginUtils.h: (initialize_debug) set file_logs_initiated
447	to true after initFileLog finishes. (PLUGIN_DEBUG) and (PLUGIN_ERROR) logs to
448	file only when enabled and initiated.
449
4502015-09-22  Jiri Vanek  <jvanek@redhat.com>
451
452	fixed two doclint errors
453	* netx/net/sourceforge/jnlp/security/package-info.java: diagram put inside code annotation
454	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java:
455	(getTitle) added javadoc to prevent auto-generated return with (doclint) invalid character
456
4572015-09-11  Jiri Vanek  <jvanek@redhat.com>
458
459	Post-release changes
460	* NEWS: added 1.6.2 section
461	* configure.ac: (AC_INIT) bumped to 1.6.2pre
462
4632015-09-10  Jiri Vanek  <jvanek@redhat.com>
464
465	Pre-release tuning
466	* Makefile.am: (netx-html-gen.stamp) set number of changests to 40 (since 1.6.0)
467	* NEWS: date of 1.6.1 set
468	* configure.ac: (AC_INIT) set to use 1.6.1
469
4702015-09-10  Jiri Vanek  <jvanek@redhat.com>
471
472	* tests/netx/unit/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningPanelTest.java:
473	Backuped, reset and restored .appletTrustSettings so its content can not affect test
474
4752015-09-10  Jiri Vanek  <jvanek@redhat.com>
476
477	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
478 	(stripFileImp) fixed typo on variable of normlaized to normalized
479
480
4812015-09-09  Jacob Wisor  <gitne@icedtea.classpath.org>
482
483	* .hgignore: Fix regex patterns of files ignored by Mercurial
484
4852015-09-09  Jacob Wisor  <gitne@icedtea.classpath.org>
486
487	* ChangeLog: Fix spelling and formatting
488
4892015-09-03  Jiri Vanek  <jvanek@redhat.com>
490            Jacob Wisor  <gitne@gmx.de>
491            Stefan Ring  <stefan@complang.tuwien.ac.at>
492
493	Gathered and applied shards of DE translation
494	* netx/net/sourceforge/jnlp/resources/Messages_de.properties: added throng of keys
495	* AUTHORS: added Stefan Ring, stefan@complang.tuwien.ac.at
496
4972015-09-03  Jiri Vanek  <jvanek@redhat.com>
498
499	* NEWS: mentioned fixes for RH1233697, RH1233667 and reuse of MissingALACAdialog
500	for unsigned applications
501
5022015-09-03  Jiri Vanek  <jvanek@redhat.com>
503
504	Fixed ArrayIndexOutOfBound in version corner case issue
505	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java:
506	length of array is checked,
507	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/VersionRestrictionTest.java:
508	added tests for this case
509	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImplTest.java:
510	(updateAppletActionTest1) adapted to version string
511
5122015-09-03  Jiri Vanek  <jvanek@redhat.com>
513
514	Added identifier to .appletTrustSettings to specify version of file
515	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java:
516	added handling of version - readVersion, versionPreffix, backup, currentVersion.
517	(readLine) when first line is read, it is checked for version and acted. If
518	loaded version is missing or older then current 2, then file is  not loaded.
519	otherwise normal loading. (writeContent) now inserts  header with version.
520	(actOnVersionLoad) new method, handling consequences of recognized x current version
521	(backupOldFile) new method, backing up old file as .appletTrustSettings.version-backup
522	* netx/net/sourceforge/jnlp/util/UrlUtils.java: consumed exception during
523	normalization is logged only to console/verbose
524	* tests/netx/unit/net/sourceforge/jnlp/security/SecurityDialogsTest.java:
525	added considering of version
526	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/LegacyUnsignedAppletActionStorageImplTest.java:
527	same
528	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImplTest.java:
529	same
530	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/VersionRestrictionTest.java:
531	new test file testing version recognition and processing
532
5332015-09-02  Jiri Vanek  <jvanek@redhat.com>
534
535	All UrlRegEx-es got unified and correct quoting
536	* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletActionTableModel.java:
537	(addRow) now uses factory methods of quoteAndStar form UrlRegEx
538	* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java:
539	same, but of exact. Removed redundant space in APPEXTSECguiPanelTableInvalid key
540	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionEntry.java:
541	same of exact.
542	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
543	same
544	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageExtendedImpl.java:
545	same
546	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java:
547	same
548	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UrlRegEx.java:
549	constructor made private,  field final. Creation allowed over factory methods of
550	quote. quoteAndStar, exact. Added and iprved mehtods for visualisation
551	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/UrlRegExTest.java:
552	new test file with tests to new methods in UrlRegex
553
5542015-09-02  Jiri Vanek  <jvanek@redhat.com>
555
556	Newline characters are banned from saving to .appletTrustSettings
557	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/InvalidLineException.java:
558	New file. Exception to be specially handled if error appear in saved line.
559	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionEntry.java:
560	(serializeToReadableAndParseableString) if new-line appear in line,
561	InvalidLineException is thrown
562	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java:
563	(writeContent) InvalidLineException is expected and logged.
564	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmationTest.java:
565	adapted and quite a lot of tests added.
566	* tests/reproducers/simple/UnicodeLineBreak/resources/UnicodeLineBreak.java:
567	* tests/reproducers/simple/UnicodeLineBreak/srcs/UnicodeLineBreak.java:
568	* tests/reproducers/simple/UnicodeLineBreak/testcases/UnicodeLineBreakTests.java:
569	half automated reproducer of this behavior
570	* netx/net/sourceforge/jnlp/runtime/HtmlBoot.java: based on existence of -xml,
571	now can turn off tagsoup
572	* netx/net/sourceforge/jnlp/runtime/html/AppletExtractor.java: is passing
573	parsersettings to HtmlBoot
574
575
5762015-09-01  Jiri Vanek  <jvanek@redhat.com>
577
578	Saving of status of dialogs for "whole codebase" now includes also document base
579	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
580	(updateAppletAction) now saves  base of docbase instead of .* "for remember for codebase"
581	stripFile - new method, ensuring docbase do not contains file
582	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmationTest.java:
583	added testSripFile unit test for new method
584	* tests/reproducers/simple/FakeCodebase/resources/FakeCodebase.html.in:
585	* tests/reproducers/simple/FakeCodebase/resources/FakeCodebase.jnlp.in:
586	* tests/reproducers/simple/FakeCodebase/resources/OriginalCodebase.html:
587	* tests/reproducers/simple/FakeCodebase/resources/OriginalCodebase.jnlp:
588	* tests/reproducers/simple/FakeCodebase/srcs/FakeCodebase.java:
589	* tests/reproducers/simple/FakeCodebase/testcases/FakeCodebaseTests.java:
590	Reproducer of this behavior
591
5922015-09-01  Jiri Vanek  <jvanek@redhat.com>
593
594	application-library-allowable-codebase dialog made available for unsigned apps
595	* netx/net/sourceforge/jnlp/resources/Messages.properties: (ALACAMissingMainTitle)
596	added warning about possible consequences of  resources out of docbase.
597	(ALACAMatchingMainTitle) the red higlights changed to green and added calming
598	words about it.
599	* netx/net/sourceforge/jnlp/resources/Messages_cs.properties: same
600	* netx/net/sourceforge/jnlp/resources/Messages_de.properties: same
601	* netx/net/sourceforge/jnlp/resources/Messages_pl.properties: adapted to red
602	to green recoloring
603	* netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java:
604	(checkApplicationLibraryAllowableCodebaseAttribute) removed  return for in case
605	of unsigned app. Fixed check for all matching resources against codebase and docbase
606	If app is unsigned, then value in manifest is ignored. Missing alaca required
607	also in low security mode
608	* tests/netx/unit/net/sourceforge/jnlp/runtime/ManifestAttributesCheckerTest.java:
609	new file to test stripDocbase.
610
6112015-09-01  Andrew Azores  <aazores@redhat.com>
612
613	Add -defaultfile switch to PolicyEditor
614	* netx/net/sourceforge/jnlp/resources/Messages.properties
615	(PBODefaultFileFilePathSpecifiedError): new message
616	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
617	(openDefaultButtonAction): refactor to use getDefaultPolicyFilePath
618	(getDefaultPolicyFilePath): new method
619	(getFilePathArgument): add -defaultfile switch support
620
6212015-09-01  Andrew Azores  <aazores@redhat.com>
622
623	Add texts for PolicyEditor's -defaultfile switch
624	* icedteaweb-completion: added -defaultfile to policyeditor options
625	* netx/net/sourceforge/jnlp/OptionsDefinitions.java: added DEFAULTFILE to
626	PolicyEditor options
627	* netx/net/sourceforge/jnlp/resources/Messages.properties
628	(PBODefaultFile): new message
629
6302015-07-30  Andrew Azores  <aazores@redhat.com>
631
632	PolicyEditor -file switch and main argument cannot be used in conjunction
633	* NEWS: add note
634	* netx/net/sourceforge/jnlp/resources/Messages.properties
635	(PEMainArgAndFileSwitchSpecifiedError): new message
636	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
637	(main): die when both main arg and -file are given
638	(getFilePathArgument): new method
639	(cleanFilePathArgument): new method
640
6412015-07-27  Jiri Vanek  <jvanek@redhat.com>
642
643	Removed last remains of BOOT_DIR
644	* Makefile.am: declared and exported EXPORTED_JAR EXPORTED_KEYTOOL
645	EXPORTED_JARSIGNER EXPORTED_PACK200
646	* tests/reproducers/custom/AdditionalJarsInMetaInfIndexList/srcs/Makefile:
647	all of (BOOT_DIR)/bin/keytool (BOOT_DIR)/bin/jarsigner (BOOT_DIR)/bin/javac
648	(BOOT_DIR)/bin/jar (BOOT_DIR)/bin/pack200 replaced by (EXPORTED_KEYTOOL)
649	(EXPORTED_JARSIGNER) (EXPORTED_JAVAC) (EXPORTED_JAR) (EXPORTED_PACK200)
650	* tests/reproducers/custom/AppletExtendsFromOutsideJar/srcs/Makefile: same
651	* tests/reproducers/custom/ExtensionJnlpsInApplet/srcs/Makefile: same
652	* tests/reproducers/custom/JNLPClassLoaderDeadlock/srcs/Makefile: same
653	* tests/reproducers/custom/MixedSigningApplet/srcs/Makefile: same
654	* tests/reproducers/custom/MultipleSignaturesPerJar/srcs/Makefile: same
655	* tests/reproducers/custom/PackGZip/srcs/Makefile: same
656	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/srcs/Makefile:
657	same
658	* tests/reproducers/custom/SignedAppletCodebaseLoading/srcs/Makefile: same
659	* tests/reproducers/custom/SignedAppletExternalMainClass/srcs/Makefile: same
660	* tests/reproducers/custom/TrustedOnlyAttribute/srcs/Makefile: same
661	* tests/reproducers/custom/UnsignedContentInMETAINF/srcs/Makefile: same
662
6632015-07-30  Jiri Vanek  <jvanek@redhat.com>
664
665	replaced Trusted-only by Trusted-Only, cosmetic change in TrustedOnlyAttribute reproducer
666	* tests/reproducers/custom/TrustedOnlyAttribute/resources/TrustedOnlyAttribute-signed-nosecurity.jnlp:
667	* tests/reproducers/custom/TrustedOnlyAttribute/resources/TrustedOnlyAttribute-signed-security.jnlp:
668	* tests/reproducers/custom/TrustedOnlyAttribute/resources/TrustedOnlyAttribute-unsigned-nosecurity.jnlp:
669	* tests/reproducers/custom/TrustedOnlyAttribute/resources/TrustedOnlyAttribute-unsigned-security.jnlp:
670	* tests/reproducers/custom/TrustedOnlyAttribute/srcs/MANIFEST.MF:
671
6722015-07-29  Jiri Vanek  <jvanek@redhat.com>
673
674 	Enabled and properly tested Entry-Point attribute check
675	* NEWS: mentioned enabling
676	* netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java: enabled
677	call to checkEntryPoint if enabled
678	* tests/reproducers/signed/EntryPointSignedSingleBothInvalid/resources/EntryPointSignedSingleBothInvalid.java:
679	* tests/reproducers/signed/EntryPointSignedSingleBothInvalid/resources/EntryPointSignedSingleBothInvalid.java:
680	* tests/reproducers/signed/EntryPointSignedSingleBothInvalid/resources/EntryPointSignedSingleBothInvalid_applet.java:
681	* tests/reproducers/signed/EntryPointSignedSingleBothInvalid/resources/EntryPointSignedSingleBothInvalid_applet_security.java:
682	* tests/reproducers/signed/EntryPointSignedSingleBothInvalid/resources/EntryPointSignedSingleBothInvalid_security.java:
683	* tests/reproducers/signed/EntryPointSignedSingleBothInvalid/srcs/EntryPointSignedSingleBothInvalid.java:
684	* tests/reproducers/signed/EntryPointSignedSingleBothInvalid/srcs/META-INF/MANIFEST.java:
685	* tests/reproducers/signed/EntryPointSignedSingleBothInvalid/testcases/EntryPointSignedSingleBothInvalidTest.java:
686	tests for Entry-Point with two values, both invalid
687	* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk1.java:
688	* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk1.java:
689	* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk2.java:
690	* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk2.java:
691	* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk_applet1.java:
692	* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk_applet2.java:
693	* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk_applet_security1.java:
694	* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk_applet_security2.java:
695	* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk_security1.java:
696	* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk_security2.java:
697	* tests/reproducers/signed/EntryPointSignedSingleBothOk/srcs/EntryPointSignedSingleBothOk1.java:
698	* tests/reproducers/signed/EntryPointSignedSingleBothOk/srcs/EntryPointSignedSingleBothOk2.java:
699	* tests/reproducers/signed/EntryPointSignedSingleBothOk/srcs/META-INF/MANIFEST.java:
700	* tests/reproducers/signed/EntryPointSignedSingleBothOk/testcases/EntryPointSignedSingleBothOkTest1.java:
701	* tests/reproducers/signed/EntryPointSignedSingleBothOk/testcases/EntryPointSignedSingleBothOkTest2.java:
702	tests for Entry-Point with two values, both valid
703	* tests/reproducers/signed/EntryPointSignedSingleFirstInvalidSecondOk/resources/EntryPointSignedSingleFirstInvalidSecondOk.java:
704	* tests/reproducers/signed/EntryPointSignedSingleFirstInvalidSecondOk/resources/EntryPointSignedSingleFirstInvalidSecondOk.java:
705	* tests/reproducers/signed/EntryPointSignedSingleFirstInvalidSecondOk/resources/EntryPointSignedSingleFirstInvalidSecondOk_applet.java:
706	* tests/reproducers/signed/EntryPointSignedSingleFirstInvalidSecondOk/resources/EntryPointSignedSingleFirstInvalidSecondOk_applet_security.java:
707	* tests/reproducers/signed/EntryPointSignedSingleFirstInvalidSecondOk/resources/EntryPointSignedSingleFirstInvalidSecondOk_security.java:
708	* tests/reproducers/signed/EntryPointSignedSingleFirstInvalidSecondOk/srcs/EntryPointSignedSingleFirstInvalidSecondOk.java:
709	* tests/reproducers/signed/EntryPointSignedSingleFirstInvalidSecondOk/srcs/META-INF/MANIFEST.java:
710	* tests/reproducers/signed/EntryPointSignedSingleFirstInvalidSecondOk/testcases/EntryPointSignedSingleFirstInvalidSecondOkTest.java:
711	tests for Entry-Point with two values, first invalid, second ok
712	* tests/reproducers/signed/EntryPointSignedSingleInvalid/resources/EntryPointSignedSingleInvalid.java:
713	* tests/reproducers/signed/EntryPointSignedSingleInvalid/resources/EntryPointSignedSingleInvalid.java:
714	* tests/reproducers/signed/EntryPointSignedSingleInvalid/resources/EntryPointSignedSingleInvalid_applet.java:
715	* tests/reproducers/signed/EntryPointSignedSingleInvalid/resources/EntryPointSignedSingleInvalid_applet_security.java:
716	* tests/reproducers/signed/EntryPointSignedSingleInvalid/resources/EntryPointSignedSingleInvalid_security.java:
717	* tests/reproducers/signed/EntryPointSignedSingleInvalid/srcs/EntryPointSignedSingleInvalid.java:
718	* tests/reproducers/signed/EntryPointSignedSingleInvalid/srcs/META-INF/MANIFEST.java:
719	* tests/reproducers/signed/EntryPointSignedSingleInvalid/testcases/EntryPointSignedSingleInvalidTest.java:
720	tests for Entry-Point with one invalid value
721	* tests/reproducers/signed/EntryPointSignedSingleOk/resources/EntryPointSignedSingleOk.java:
722	* tests/reproducers/signed/EntryPointSignedSingleOk/resources/EntryPointSignedSingleOk.java:
723	* tests/reproducers/signed/EntryPointSignedSingleOk/resources/EntryPointSignedSingleOk_applet.java:
724	* tests/reproducers/signed/EntryPointSignedSingleOk/resources/EntryPointSignedSingleOk_applet_security.java:
725	* tests/reproducers/signed/EntryPointSignedSingleOk/resources/EntryPointSignedSingleOk_security.java:
726	* tests/reproducers/signed/EntryPointSignedSingleOk/srcs/EntryPointSignedSingleOk.java:
727	* tests/reproducers/signed/EntryPointSignedSingleOk/srcs/META-INF/MANIFEST.java:
728	* tests/reproducers/signed/EntryPointSignedSingleOk/testcases/EntryPointSignedSingleOkTest.java:
729	tests for Entry-Point with one ok value
730	* tests/reproducers/signed/EntryPointSignedSingleSecondInvalidFirstOk/resources/EntryPointSignedSingleSecondInvalidFirstOk.java:
731	* tests/reproducers/signed/EntryPointSignedSingleSecondInvalidFirstOk/resources/EntryPointSignedSingleSecondInvalidFirstOk.java:
732	* tests/reproducers/signed/EntryPointSignedSingleSecondInvalidFirstOk/resources/EntryPointSignedSingleSecondInvalidFirstOk_applet.java:
733	* tests/reproducers/signed/EntryPointSignedSingleSecondInvalidFirstOk/resources/EntryPointSignedSingleSecondInvalidFirstOk_applet_security.java:
734	* tests/reproducers/signed/EntryPointSignedSingleSecondInvalidFirstOk/resources/EntryPointSignedSingleSecondInvalidFirstOk_security.java:
735	* tests/reproducers/signed/EntryPointSignedSingleSecondInvalidFirstOk/srcs/EntryPointSignedSingleSecondInvalidFirstOk.java:
736	* tests/reproducers/signed/EntryPointSignedSingleSecondInvalidFirstOk/srcs/META-INF/MANIFEST.java:
737	* tests/reproducers/signed/EntryPointSignedSingleSecondInvalidFirstOk/testcases/EntryPointSignedSingleSecondInvalidFirstOkTest.java:
738	tests for Entry-Point with two values, first ok, second invalid
739	* tests/reproducers/simple/EntryPointUnsignedSingleInvalid/resources/EntryPointUnsignedSingleInvalid.java:
740	* tests/reproducers/simple/EntryPointUnsignedSingleInvalid/resources/EntryPointUnsignedSingleInvalid.java:
741	* tests/reproducers/simple/EntryPointUnsignedSingleInvalid/resources/EntryPointUnsignedSingleInvalid_applet.java:
742	* tests/reproducers/simple/EntryPointUnsignedSingleInvalid/resources/EntryPointUnsignedSingleInvalid_applet_security.java:
743	* tests/reproducers/simple/EntryPointUnsignedSingleInvalid/resources/EntryPointUnsignedSingleInvalid_security.java:
744	* tests/reproducers/simple/EntryPointUnsignedSingleInvalid/srcs/EntryPointUnsignedSingleInvalid.java:
745	* tests/reproducers/simple/EntryPointUnsignedSingleInvalid/srcs/META-INF/MANIFEST.java:
746	* tests/reproducers/simple/EntryPointUnsignedSingleInvalid/testcases/EntryPointUnsignedSingleInvalidTest.java:
747	tests for Entry-Point with one invalid value in unsigned jar (ignoring this value)
748
7492015-07-22  Fridrich Strba  <fridrich.strba@suse.com>
750
751	* Makefile.am:  (generate-docs.stamp) added '-' to tail of tail command as
752	 some implementations of tail parse the file information as the last argument
753
7542015-07-20  Jiri Vanek  <jvanek@redhat.com>
755
756	Tuned permissions attribute behavior for unsigned jnlps
757	* NEWS: change of permissions attribute mentioned in news
758	* netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java:
759	permissions sandbox and signed app and unsigned app with permissions all-permissions
760	now run in sandbox instead of not at all.
761	* tests/reproducers/signed/SandboxSignedSandbox/testcases/SandboxSignedSandboxTest.java:
762	Failing tests of (javawsAllPermNoSecurity) (javawsAppletAllPermNoSecurity)
763	with bug comment got removed this comment and are now passing
764	* tests/reproducers/simple/SandboxUnsignedAllPerm/testcases/SandboxUnsignedAllPermTest.java
765	Failing tests of (javawsAllPermNoSecurity) (javawsAppletAllPermNoSecurity)
766	with bug comment got removed this comment and are now passing
767
7682015-07-20  Jiri Vanek  <jvanek@redhat.com>
769
770	Added tests for signed applet/app using Permission attribute and for unsigned applet/app using Permission attribute
771	* tests/reproducers/signed/SandboxSignedAllPerm/resources/SandboxSignedAllPerm.html
772	* tests/reproducers/signed/SandboxSignedAllPerm/resources/SandboxSignedAllPerm.jnlp
773	* tests/reproducers/signed/SandboxSignedAllPerm/resources/SandboxSignedAllPerm_applet.jnlp
774	* tests/reproducers/signed/SandboxSignedAllPerm/resources/SandboxSignedAllPerm_applet_security.jnlp
775	* tests/reproducers/signed/SandboxSignedAllPerm/resources/SandboxSignedAllPerm_security.jnlp
776	* tests/reproducers/signed/SandboxSignedAllPerm/srcs/META-INF/MANIFEST.MF
777	contains Permissions: all-permissions
778	* tests/reproducers/signed/SandboxSignedAllPerm/srcs/SandboxSignedAllPerm.java
779	* tests/reproducers/signed/SandboxSignedAllPerm/testcases/SandboxSignedAllPermTest.java
780	test cases with permissions in manifest check on
781	* tests/reproducers/signed/SandboxSignedInvalid/resources/SandboxSignedInvalid.html
782	* tests/reproducers/signed/SandboxSignedInvalid/resources/SandboxSignedInvalid.jnlp
783	* tests/reproducers/signed/SandboxSignedInvalid/resources/SandboxSignedInvalid_applet.jnlp
784	* tests/reproducers/signed/SandboxSignedInvalid/resources/SandboxSignedInvalid_applet_security.jnlp
785	* tests/reproducers/signed/SandboxSignedInvalid/resources/SandboxSignedInvalid_security.jnlp
786	* tests/reproducers/signed/SandboxSignedInvalid/srcs/META-INF/MANIFEST.MF
787	contains Permissions: invalidValue
788	* tests/reproducers/signed/SandboxSignedInvalid/srcs/SandboxSignedInvalid.java
789	* tests/reproducers/signed/SandboxSignedInvalid/testcases/SandboxSignedInvalidTest.java
790	test cases with permissions in manifest check on
791	* tests/reproducers/signed/SandboxSignedMissing/resources/SandboxSignedMissing.html
792	* tests/reproducers/signed/SandboxSignedMissing/resources/SandboxSignedMissing.jnlp
793	* tests/reproducers/signed/SandboxSignedMissing/resources/SandboxSignedMissing_applet.jnlp
794	* tests/reproducers/signed/SandboxSignedMissing/resources/SandboxSignedMissing_applet_security.jnlp
795	* tests/reproducers/signed/SandboxSignedMissing/resources/SandboxSignedMissing_security.jnlp
796	* tests/reproducers/signed/SandboxSignedMissing/srcs/META-INF/MANIFEST.MF
797	does not contains Permissions
798	* tests/reproducers/signed/SandboxSignedMissing/srcs/SandboxSignedMissing.java
799	* tests/reproducers/signed/SandboxSignedMissing/testcases/SandboxSignedMissingTest.java
800	test cases with permissions in manifest check on
801	* tests/reproducers/signed/SandboxSignedMissing/testcases/SandboxSignedMissingTestHighSecurity.java
802	test cases with permissions in manifest check on and on high security => interactive tests
803	with auto-reply
804	* tests/reproducers/signed/SandboxSignedSandbox/resources/SandboxSignedSandbox.html
805	* tests/reproducers/signed/SandboxSignedSandbox/resources/SandboxSignedSandbox.jnlp
806	* tests/reproducers/signed/SandboxSignedSandbox/resources/SandboxSignedSandbox_applet.jnlp
807	* tests/reproducers/signed/SandboxSignedSandbox/resources/SandboxSignedSandbox_applet_security.jnlp
808	* tests/reproducers/signed/SandboxSignedSandbox/resources/SandboxSignedSandbox_security.jnlp
809	* tests/reproducers/signed/SandboxSignedSandbox/srcs/META-INF/MANIFEST.MF
810	contains Permissions: sandbox
811	* tests/reproducers/signed/SandboxSignedSandbox/srcs/SandboxSignedSandbox.java
812	* tests/reproducers/signed/SandboxSignedSandbox/testcases/SandboxSignedSandboxTest.java
813	test cases with permissions in manifest check on. Contains two failing tests
814	currently itw with sandbox in manifest and jnlp not requesting permissions fails.
815	Bug to be fixed
816	* tests/reproducers/unsigned/SandboxUnsignedAllPerm/resources/SandboxUnsignedAllPerm.html
817	* tests/reproducers/unsigned/SandboxUnsignedAllPerm/resources/SandboxUnsignedAllPerm.jnlp
818	* tests/reproducers/unsigned/SandboxUnsignedAllPerm/resources/SandboxUnsignedAllPerm_applet.jnlp
819	* tests/reproducers/unsigned/SandboxUnsignedAllPerm/resources/SandboxUnsignedAllPerm_applet_security.jnlp
820	* tests/reproducers/unsigned/SandboxUnsignedAllPerm/resources/SandboxUnsignedAllPerm_security.jnlp
821	* tests/reproducers/unsigned/SandboxUnsignedAllPerm/srcs/META-INF/MANIFEST.MF
822	contains Permissions: all-permissions
823	* tests/reproducers/unsigned/SandboxUnsignedAllPerm/srcs/SandboxUnsignedAllPerm.java
824	* tests/reproducers/unsigned/SandboxUnsignedAllPerm/testcases/SandboxUnsignedAllPermTest.java
825	test cases with permissions in manifest check on. There is probably an bug in impl.
826	The applet should not run at all, or javaws without permissions should run in sandbox too.
827	* tests/reproducers/unsigned/SandboxUnsignedInvalid/resources/SandboxUnsignedInvalid.html
828	* tests/reproducers/unsigned/SandboxUnsignedInvalid/resources/SandboxUnsignedInvalid.jnlp
829	* tests/reproducers/unsigned/SandboxUnsignedInvalid/resources/SandboxUnsignedInvalid_applet.jnlp
830	* tests/reproducers/unsigned/SandboxUnsignedInvalid/resources/SandboxUnsignedInvalid_applet_security.jnlp
831	* tests/reproducers/unsigned/SandboxUnsignedInvalid/resources/SandboxUnsignedInvalid_security.jnlp
832	* tests/reproducers/unsigned/SandboxUnsignedInvalid/srcs/META-INF/MANIFEST.MF
833	contains Permissions: invalidValue
834	* tests/reproducers/unsigned/SandboxUnsignedInvalid/srcs/SandboxUnsignedInvalid.java
835	* tests/reproducers/unsigned/SandboxUnsignedInvalid/testcases/SandboxUnsignedInvalidTest.java
836	test cases with permissions in manifest check on
837	* tests/reproducers/unsigned/SandboxUnsignedMissing/resources/SandboxUnsignedMissing.html
838	* tests/reproducers/unsigned/SandboxUnsignedMissing/resources/SandboxUnsignedMissing.jnlp
839	* tests/reproducers/unsigned/SandboxUnsignedMissing/resources/SandboxUnsignedMissing_applet.jnlp
840	* tests/reproducers/unsigned/SandboxUnsignedMissing/resources/SandboxUnsignedMissing_applet_security.jnlp
841	* tests/reproducers/unsigned/SandboxUnsignedMissing/resources/SandboxUnsignedMissing_security.jnlp
842	* tests/reproducers/unsigned/SandboxUnsignedMissing/srcs/META-INF/MANIFEST.MF
843	does not contains Permissions
844	* tests/reproducers/unsigned/SandboxUnsignedMissing/srcs/SandboxUnsignedMissing.java
845	* tests/reproducers/unsigned/SandboxUnsignedMissing/testcases/SandboxUnsignedMissingTest.java
846	test cases with permissions in manifest check on
847	* tests/reproducers/unsigned/SandboxUnsignedMissing/testcases/SandboxUnsignedMissingTestHighSecurity.java
848	test cases with permissions in manifest check on and on high security => interactive tests
849	with auto-reply
850	* tests/reproducers/unsigned/SandboxUnsignedSandbox/resources/SandboxUnsignedSandbox.html
851	* tests/reproducers/unsigned/SandboxUnsignedSandbox/resources/SandboxUnsignedSandbox.jnlp
852	* tests/reproducers/unsigned/SandboxUnsignedSandbox/resources/SandboxUnsignedSandbox_applet.jnlp
853	* tests/reproducers/unsigned/SandboxUnsignedSandbox/resources/SandboxUnsignedSandbox_applet_security.jnlp
854	* tests/reproducers/unsigned/SandboxUnsignedSandbox/resources/SandboxUnsignedSandbox_security.jnlp
855	* tests/reproducers/unsigned/SandboxUnsignedSandbox/srcs/META-INF/MANIFEST.MF
856	contains Permissions: sandbox
857	* tests/reproducers/unsigned/SandboxUnsignedSandbox/srcs/SandboxUnsignedSandbox.java
858	* tests/reproducers/unsigned/SandboxUnsignedSandbox/testcases/SandboxUnsignedSandboxTest.java
859	test cases with permissions in manifest check on.
860
8612015-07-20  Jiri Vanek  <jvanek@redhat.com>
862
863	Fixed download service
864	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (fillInPartJars)
865	for-each loop replaced by indexed loop to prevent ConcurrentModificationException
866	* tests/reproducers/signed/DownloadService/testcases/DownloadServiceTest.java:
867	small refactoring in favour of diamond operator
868
8692015-06-25  Jiri Vanek  <jvanek@redhat.com>
870
871	Fixed to short buttons for localized text - RH1231441
872	* NEWS: mentioned RH1231441
873	* netx/net/sourceforge/jnlp/security/dialogs/AppletWarningPane.java: removed
874	set of preferred sizes to minimal size
875	* netx/net/sourceforge/jnlp/security/dialogs/PasswordAuthenticationPane.java
876	same
877	* netx/net/sourceforge/jnlp/security/dialogs/CertWarningPane.java: same
878	* netx/net/sourceforge/jnlp/security/dialogs/MissingALACAttributePanel.java:
879	same
880	* netx/net/sourceforge/jnlp/security/dialogs/MissingPermissionsAttributePanel.java:
881	same
882
8832015-06-15  Jiri Vanek  <jvanek@redhat.com>
884
885	Updated NEWS, added javadoc fo security package
886	* NEWS: mentioned major work in last month and half
887	* netx/net/sourceforge/jnlp/security/package-info.java: new file, describing
888	flow of SecurityDialogMessage
889
8902015-06-10  Jiri Vanek  <jvanek@redhat.com>
891
892	Security dialogs got, moreover, unified dealing with trustNone/All and headless
893	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: setTrustAll setTrustNone
894	made public so it can be used in testing.
895	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java: all calls to show
896	security dialog now have correct introduction based on shouldPromptUser with
897	resolution based on trustAll. (shouldPromptUser) now takes also headless to
898	accounting.
899	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
900	(checkUnsignedWithUserIfRequired) now react trustAll and trustNone
901	(checkPartiallySignedWithUserIfRequired) now react also trustAll
902	* tests/netx/unit/net/sourceforge/jnlp/security/SecurityDialogsTest.java: added
903	tests verifying adapted logic
904
9052015-06-09  Jiri Vanek  <jvanek@redhat.com>
906
907	Fixed issue, when desktop/menu shortcut created during -html mode, was not created like it
908	* netx/net/sourceforge/jnlp/runtime/Boot.java: setHtml(true) used when
909	command line contains html switch
910	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: added html field and setter and getter
911	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: (getContentsAsReader) now
912	add -html if jnlpruntime.isHtml.
913	* tests/netx/unit/net/sourceforge/jnlp/util/XDesktopEntryTest.java: added tests for new
914	functionality
915	* Changelog: occurence of tab asterix slash replaced by tab asterix space in file
916	declarations
917
9182015-06-09  Jiri Vanek  <jvanek@redhat.com>
919
920	Fixed bug when generated desktop icon was not matched and user was asked for recreation
921	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: (getShortcutTmpFile)
922	(getLinuxDesktopIconFile) (getLinuxMenuIconFile) now generate file name by
923	same way. By new method getDesktopIconFileName which is using sanitizing
924	getDesktopIconName.
925
9262015-05-27  Jiri Vanek  <jvanek@redhat.com>
927
928	Improved caching of files obtained via query
929	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: now consider also query(if any)
930	when creating file-name for item to be cached
931	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheUtilTest.java: fixed old
932	tests due to change and added two new tests to test change.
933	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceDownloaderTest.java:
934	removed unused import.
935
9362015-05-22  Jiri Vanek  <jvanek@redhat.com>
937
938	Comments in deployment.properties now persists saving via itweb-settings
939	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: (loadComments)
940	new method. Saves every line starting with # char except date and
941	DEPLOYMENT_COMMENT. (load) This method is called before every load, and read lines
942	are stored. (save) Saved comments are inserted to other comments before call to
943	store.
944	* tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java: (countOccurences)
945	made public so it can be reused
946	* tests/netx/unit/net/sourceforge/jnlp/config/DeploymentConfigurationTest.java:
947	added tests to verify preserving of comments and non-multiplying date and
948	DEPLOYMENT_COMMENT
949
9502015-05-22  Jiri Vanek  <jvanek@redhat.com>
951
952	Removed garbage from htmls' width and height
953	* netx/net/sourceforge/jnlp/runtime/html/AppletParser.java: new method
954	(sanitizeSize) which remove all non digit content from string
955	* tests/netx/unit/net/sourceforge/jnlp/runtime/html/AppletParserTest.java:
956	new file, test for (sanitizeSize)
957
9582015-05-04  Jie Kang  <jkang@redhat.com>
959
960	Fix policyeditor file flag to work when used standalone
961	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java:
962	(main): filepath no longer set to null when file flag has parameter and
963	there is no main argument
964
9652015-04-29  Jiri Vanek  <jvanek@redhat.com>
966
967	1.6 post-release operations
968	* configure.ac: bumped (AC_INIT) to 1.6pre
969	* NEWS: Added 1.6.1 section,
970
9712015-04-28  Jiri Vanek  <jvanek@redhat.com>
972
973	Fixed incorrect usage of apostrophes in intro generation
974	* Makefile.am: (stamps/generate-docs.stamp) fixed redundant false in version
975	appearing in doc intro
976
9772015-04-28  Jiri Vanek  <jvanek@redhat.com>
978
979	Pre-release tuning
980	* Makefile.am: (netx-html-gen.stamp) set number of changests to 235 (since 1.5)
981	* NEWS: date of 1.6 set to 2015-04-29
982	* configure.ac: (AC_INIT) set to use 1.6
983
9842015-04-28  Jiri Vanek  <jvanek@redhat.com>
985
986	* README: updated to match current state.
987
9882015-04-28  Jiri Vanek  <jvanek@redhat.com>
989
990	Improved JDK9 detection
991	* acinclude.m4: (IT_CHECK_FOR_JDK) if found jdk is link, then it is printed
992	out also as resolved. (IT_CHECK_FOR_JRE) same, plus except classical JDK/jre
993	verification, also modular JRE is checked.
994
9952015-04-27  Lukasz Dracz  <ldracz@redhat.com>
996
997	Removed Executable Permissions from bash completion
998	* icedteaweb-completion
999
10002015-04-24  Jiri Vanek  <jvanek@redhat.com>
1001
1002	Fixed resource test to pass for CZ localization
1003	* tests/netx/unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java:
1004	added four more items to whitelist.
1005
10062015-04-24  Alexandr Kolouch  <skolnag@gmail.com>
1007
1008	Added Czech translation for 1.6.
1009	* netx/net/sourceforge/jnlp/resources/Messages_cs.propertie: added missing
1010	properties, adapted changed ones.
1011
10122015-04-24  Jiri Vanek  <jvanek@redhat.com>
1013
1014	Messages from TextsProvider moved to properties
1015	* netx/net/sourceforge/jnlp/resources/Messages.properties: added family ITWTB
1016	with fourproeprties.
1017	* netx/net/sourceforge/jnlp/util/docprovider/TextsProvider.java: is now using
1018	those properties instead of hardcoded values
1019	* netx/net/sourceforge/jnlp/util/docprovider/ItwebSettingsTextsProvider.java:
1020	* netx/net/sourceforge/jnlp/util/docprovider/PolicyEditorTextsProvider.java:
1021	now includes getFilesAppendix in (getFiles)
1022
10232015-04-24  Alexandr Kolouch  <skolnag@gmail.com>
1024
1025	* netx/net/sourceforge/jnlp/resources/Messages.properties: various improvements
1026	to default set.
1027
10282015-04-23  Jiri Vanek  <jvanek@redhat.com>
1029
1030	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/testcases/PartiallySignedAppletManifestSpecifiesSandboxTests.java:
1031	used new MultipleDeploymentPropertiesModifier
1032	* tests/test-extensions-tests/net/sourceforge/jnlp/tools/DeploymentPropertiesModifierTest.java:
1033	add new inner class, MultipleDeploymentPropertiesModifier able to gather and apply/revert in bulk
1034	normal DeploymentPropertiesModifier
1035	* tests/test-extensions/net/sourceforge/jnlp/tools/DeploymentPropertiesModifier.java:
1036	Added testMultipleDeploymentPropertiesModifier, test to new MultipleDeploymentPropertiesModifier
1037	class
1038
10392015-04-23  Jiri Vanek  <jvanek@redhat.com>
1040
1041	* javac.in: removed. Its usage gone out with removal of bootstrap.
1042	* configure.ac: removed dependence on it
1043
10442015-04-23  Jiri Vanek  <jvanek@redhat.com>
1045
1046	Fixed loading of deployment.properties during 1.4 migration to 1.5 fs.
1047	* netx/net/sourceforge/jnlp/config/Defaults.java: hardcoded value of ALL fixed
1048	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: reused
1049	first line of transfer moved to (TRANSFER_TITLE). Added possibility to specify
1050	destination of source file. (move14AndOlderFilesTo15Structure) order of moving
1051	files reorder, so deployment.properties go first and sensitive files after, setupable
1052	files first. Used getDefaultFullPAth insted of getFullPath where suitable (everywhere in this method)
1053	* netx/net/sourceforge/jnlp/config/PathsAndFiles.java: encapsulated security string,
1054	generalized getAllFiles,a dd getAllSwcurityFiles
1055	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java: Removed redundant
1056	calls to DeplymentConfiguration. Used PathsAndFiles rather.
1057	* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java: same
1058	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/AppletStartupSecuritySettings.java:
1059	* tests/reproducers/simple/simpletest1/testcases/XDGspecificationTests.java:
1060	(fakeExtendedSecurity) adapted to new deployment.manifest.attributes.check schema
1061
10622015-04-20  Lukasz Dracz  <ldracz@redhat.com>
1063
1064	Add Tab Completion for icedtea-web
1065	* Makefile.am:
1066	Added to tarball generated
1067	* icedteaweb-completion:
1068	Added bash completion file
1069
10702015-04-20  Lukasz Dracz  <ldracz@redhat.com>
1071
1072	add Boolean Cast for JarCertVerifier
1073	* netx/net/sourceforge/jnlp/tools/JarCertVerifier.java:
1074	Added a Boolean cast that was needed for Java 7 to work
1075
10762015-04-20  Jiri Vanek  <jvanek@redhat.com>
1077
1078	Added support for jdk7 and javafx
1079	* launcher/launchers.in: noted lib/jfxrt.jar
1080
10812015-04-15  Jiri Vanek  <jvanek@redhat.com>
1082
1083	Fixed javadoc warnings and errors to pass doclint
1084	* /netx: nearly all files in main package get rid of doclint errors
1085
10862015-04-15  Jiri Vanek  <jvanek@redhat.com>
1087
1088	jnlp-signing mechanism now uses general parser (and so also tagsoup if enabled)
1089	* netx/net/sourceforge/jnlp/JNLPMatcher.java: removed redundant code to laod xmls
1090	and used Parser.getRootNode rather. Added same brackets to if statements. Added
1091	parameter of ParserSettings to
1092	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: same.
1093	* tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java: refactored to
1094	autoclseable and to never use tagsoup.
1095	* tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTestMallformedAllowed.java:
1096	new file, copy of JNLPMatcherTest. But always using tagsoup (if available)
1097
10982015-04-15  Jiri Vanek  <jvanek@redhat.com>
1099
1100	KeystorePasswordAttempter moved to outer class. Added comments and prevention
1101	about possible null password writing to keystore.  KeystorePasswordAttempter
1102	made much more object-like.
1103	* netx/net/sourceforge/jnlp/resources/Messages.properties: added KSresultUntilNow
1104	KSinvalidPassword KSheadlesWarning KSnwPassHelp keys for keystore prompt
1105	* netx/net/sourceforge/jnlp/security/KeyStores.java: operation on keystores
1106	moved from stream to file
1107	* netx/net/sourceforge/jnlp/security/dialogs/CertWarningPane.java: same +
1108	removal of unused fields and imports
1109	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java: same
1110	* netx/net/sourceforge/jnlp/security/SecurityUtil.java: same. Also get rid
1111	of default password - moved to KeystorePasswordAttempter. (initKeyManagerFactory)
1112	(setKeyEntry) (getKey) (loadKeyStore) (storeKeyStore) moved from enum and switch to
1113	runnable like approach.
1114	* netx/net/sourceforge/jnlp/security/KeystorePasswordAttempter.java: moved from inner
1115
11162015-04-15  Jiri Vanek  <jvanek@redhat.com>
1117
1118	User is now prompted on unknown password to keystore
1119	* netx/net/sourceforge/jnlp/security/KeyStores.java: Operations above keystores
1120	moved to calls to SecurityUtil.storeKeyStore/loadKeyStore
1121	* netx/net/sourceforge/jnlp/security/dialogs/CertWarningPane.java: same
1122	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java: same
1123	* netx/net/sourceforge/jnlp/security/SecurityUtil.java: (initKeyManagerFactory)
1124	(setKeyEntry) (getKey) (loadKeyStore) (setKeyEntry/storeKeyStore) refactored
1125	to use unified call to unlockKeystore. Added inner class KeystorePasswordAttempter
1126	which is responsible for attempting several passwords and to ask user if fail.
1127
11282015-04-13  Jie Kang  <jkang@redhat.com>
1129
1130	Increase server timeout for remote reproducers
1131	* tests/reproducers/custom/remote/testcases/RemoteApplicationTests.java:
1132	Timeout changed to 20s instead of default 10s
1133
11342015-04-13  Jie Kang  <jkang@redhat.com>
1135
1136	Kill processes in Integration Tests more cleanly; revised
1137    * Makefile.am:
1138    remove all instances of softkiller (softkiller no longer works)
1139	* tests/test-extensions/net/sourceforge/jnlp/ProcessAssasin.java:
1140	use SIGTERM instead of SIGINT, don't destroy process after sending signal
1141	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
1142	reduce timeout from 20 seconds to 10
1143	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/Firefox.java:
1144	remove usage of softkiller to close tabs
1145    * tests/softkiller/Makefile:
1146    * tests/softkiller/softkiller.c:
1147    remove softkiller
1148
11492015-04-13  Jie Kang  <jkang@redhat.com>
1150
1151	Add reproducers for jnlp_href attribute
1152	* tests/reproducers/simple/JnlpHrefAttribute/resources/JnlpHrefAttribute.html:
1153	* tests/reproducers/simple/JnlpHrefAttribute/resources/JnlpHrefAttribute.jnlp:
1154	* tests/reproducers/simple/JnlpHrefAttribute/srcs/JnlpHrefAttribute.java:
1155	* tests/reproducers/simple/JnlpHrefAttribute/testcases/JnlpHrefAttributeTest.java:
1156	Added test for firefox/opera that succeeds with attribute and test for
1157	midori/epiphany that fails with attribute
1158
11592015-04-13  Jiri Vanek  <jvanek@redhat.com>
1160
1161	set single place for keystore operations
1162	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: usage of keystore moved
1163	to utility method
1164	* netx/net/sourceforge/jnlp/security/CertificateUtils.java: same
1165	* netx/net/sourceforge/jnlp/security/KeyStores.java: same
1166	* netx/net/sourceforge/jnlp/security/dialogs/CertWarningPane.java: same
1167	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java: same
1168	* netx/net/sourceforge/jnlp/security/SecurityUtil.java: added five new methods
1169	wrapping work on keystores
1170
11712015-04-13  Jiri Vanek  <jvanek@redhat.com>
1172
1173	Removed redundant occurrence of default keystore password
1174	* netx/net/sourceforge/jnlp/security/KeyStores.java: removed redundant DEFAULT_PASSWORD
1175	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: call to KeyStores.getPassword
1176 	replaced by SecurityUtil.getTrustedCertsPassword
1177	* netx/net/sourceforge/jnlp/security/CertificateUtils.java: same
1178	* netx/net/sourceforge/jnlp/security/SecurityUtil.java: same
1179	* netx/net/sourceforge/jnlp/security/dialogs/CertWarningPane.java: same
1180	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java: same
1181
11822015-04-13  Jiri Vanek  <jvanek@redhat.com>
1183
1184	reverted "Kill processes in Integration Tests more cleanly"
1185	It needs to be revisited.
1186
11872015-04-10  Lukasz Dracz  <ldracz@redhat.com>
1188
1189	add DeploymentPropertiesModifierTests
1190	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/testcases/PartiallySignedAppletManifestSpecifiesSandboxTests.java:
1191	Changed spelling of DeploymentPropertiesModifier
1192	* tests/reproducers/signed/CodeBaseManifestEntrySignedMatching/testcases/CodeBaseManifestEntrySignedMatching.java
1193	Changed spelling of DeploymentPropertiesModifier
1194	* tests/reproducers/signed/SignedAppletManifestSpecifiesSandbox/testcases/SignedAppletManifestSpecifiesSandboxTests.java
1195	Changed spelling of DeploymentPropertiesModifier
1196	* tests/test-extensions-tests/net/sourceforge/jnlp/tools/DeploymentPropertiesModifierTest.java:
1197	Added tests for DeploymentPropertiesModifier
1198	* tests/test-extensions/net/sourceforge/jnlp/tools/DeploymentPropertiesModifier.java:
1199	added proper spelling of this file
1200	* tests/test-extensions/net/sourceforge/jnlp/tools/DeploymentPropetiesModifier.java:
1201	removed due to spelling error and added proper spelling of the same file
1202
12032015-04-10  Jie Kang  <jkang@redhat.com>
1204	Kill processes in Integration Tests more cleanly
1205	* tests/test-extensions/net/sourceforge/jnlp/ProcessAssasin.java:
1206	use SIGUSR1 instead of SIGINT, don't destroy process after sending signal
1207	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
1208	reduce timeout from 20 seconds to 10
1209	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/Firefox.java:
1210	remove usage of softkiller to close tabs (softkiller no longer works)
1211
12122015-04-10  Jiri Vanek  <jvanek@redhat.com>
1213
1214	ok/apply/cancel mechanism in itweb-settings fixed to work again. Added rest button for cache path.
1215	* netx/net/sourceforge/jnlp/config/InfrastructureFileDescriptor.java: added
1216	setValue and getFullPaths  overloads with DeploymentConfiguration param to
1217	allow itweb-settings work with two copies of properties.
1218	* netx/net/sourceforge/jnlp/controlpanel/CachePane.java: returned config.
1219	Calls to PathsAndFiles made with this config.
1220	* netx/net/sourceforge/jnlp/controlpanel/CacheViewer.java: same
1221	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java: same
1222	* netx/net/sourceforge/jnlp/controlpanel/PolicyPanel.java: same
1223	* netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java: Calls to
1224	PathsAndFiles made with config.
1225	* netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java: usableDiskSpace
1226	removed, and replaced by dynamic getter to react on change of cache dir.
1227	Added button resting cache to default.
1228
12292015-04-10  Jiri Vanek  <jvanek@redhat.com>
1230
1231	Cache now uses PathsAndFiles instances instead of various duplicates
1232	* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java: using InfrastructureFileDescriptor
1233	instead of copied Files. Same with recentlyUsedPropertiesFile. Both made final private
1234	and accessible only via getter. (getRecentlyUsedPropertiesFile) redesigned, to use cached
1235	PropertiesFile. If underlying InfrastructureFileDescriptor changes, the cached
1236	PropertiesFile is closed and new created and returned.
1237	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: Are using getters from
1238	CacheLRUWrapper singleton to atomic approach. Not storing those values anymore.
1239	* netx/net/sourceforge/jnlp/config/InfrastructureFileDescriptor.java: Moved out
1240	from inner class in PathsAndFiles
1241	* netx/net/sourceforge/jnlp/config/PathsAndFiles.java:Lost InfrastructureFileDescriptor
1242	in favour of outer one.
1243	* netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java: config
1244	made final
1245	* netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsPane.java: same
1246	* netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java: same
1247	* netx/net/sourceforge/jnlp/controlpanel/JVMPanel.java: same
1248	* netx/net/sourceforge/jnlp/controlpanel/SecuritySettingsPanel.java: same
1249	* netx/net/sourceforge/jnlp/controlpanel/CacheViewer.java: removed config
1250	* netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java: adapted to above
1251	* netx/net/sourceforge/jnlp/runtime/JNLPProxySelector.java: moved to diamond
1252	* netx/net/sourceforge/jnlp/security/KeyStores.java: adapted to InfrastructureFileDescriptor
1253	* netx/net/sourceforge/jnlp/util/docprovider/ItwebSettingsTextsProvider.java: same
1254	* netx/net/sourceforge/jnlp/util/docprovider/TextsProvider.java: same
1255	* sun/applet/PluginProxySelector.java: same
1256	* tests/netx/unit/net/sourceforge/jnlp/security/KeyStoresTest.java: same
1257	* tests/test-extensions/net/sourceforge/jnlp/tools/DeploymentPropetiesModifier.java:
1258	same
1259	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java: is now
1260	using dummy InfrastructureFileDescriptor to allow fake CacheLRUWrapper tests
1261	* tests/netx/unit/net/sourceforge/jnlp/controlpanel/CommandLineTest.java: small
1262	fixes to unclear strings
1263
12642015-04-09  Lukasz Dracz  <ldracz@redhat.com>
1265
1266	fix lines displayed in javaws help
1267	* netx/net/sourceforge/jnlp/resources/Messages.properties:
1268	(JWSoptionsL1): modified
1269	(JWSoptionsL3): added
1270	* netx/net/sourceforge/jnlp/util/docprovider/JavaWsTextsProvider.java:
1271	added a third line for javaws help
1272
12732015-04-03  Lukasz Dracz  <ldracz@redhat.com>
1274
1275	Added tool for manipulating deployment-properties during tests run
1276	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/testcases/PartiallySignedAppletManifestSpecifiesSandboxTests.java:
1277	is now using DeploymentPropetiesModifier
1278	* tests/reproducers/signed/CodeBaseManifestEntrySignedMatching/testcases/CodeBaseManifestEntrySignedMatching.java:
1279	same
1280	* tests/reproducers/signed/SignedAppletManifestSpecifiesSandbox/testcases/SignedAppletManifestSpecifiesSandboxTests.java:
1281	same
1282	* tests/test-extensions/net/sourceforge/jnlp/tools/DeploymentPropetiesModifier.java:
1283	new tool to manipulate deployment properties in runtime.
1284
12852015-04-02  Jiri Vanek  <jvanek@redhat.com>
1286
1287	InfrastructureFileDescriptor got setter
1288	* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java: minor formatting
1289	* netx/net/sourceforge/jnlp/config/PathsAndFiles.java: all getFullPath replaced by
1290	getPropertiesKey, and instead of config, value, returns key. Added setValue,
1291	solution. Adapted getFullPath. (gcpd) removed. (getDir) removed - is now
1292	confusing.
1293	* netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java: setter into
1294	property KEY_USER_LOG_DIR replaced by setter into LOG_DIR.
1295	* netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java:
1296	same for KEY_USER_CACHE_DIR -> CACHE_DIR
1297	* netx/net/sourceforge/jnlp/util/docprovider/ItwebPluginTextProvider.java:
1298	All browser directories adapted to missing getDir.
1299	* tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java:
1300	KEY_USER_CACHE_DIR -> CACHE_DIR
1301	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceDownloaderTest.java:
1302	KEY_USER_CACHE_DIR -> CACHE_DIR
1303	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java:
1304	KEY_USER_CACHE_DIR -> CACHE_DIR
1305
13062015-04-02  Jiri Vanek  <jvanek@redhat.com>
1307
1308	All reading from file properties replaced by getter from PathsAndFiles
1309	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: read from KEY_USER_NETX_RUNNING_FILE
1310	property replaced by get from MAIN_LOCK.
1311	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: similarly for
1312	KEY_USER_PERSISTENCE_CACHE_DIR -> PCACHE_DIR and KEY_USER_LOG_DIR -> LOG_DIR
1313	and KEY_USER_TMP_DIR -> TMP_DIR
1314	* netx/net/sourceforge/jnlp/config/PathsAndFiles.java: added overrides of getFullPath
1315	to  RECENTLY_USED_FILE, SYS_CER and all USER keystores. All fields in InfrastructureFileDescriptor
1316	made private final, and reasonable ones got protected setters.
1317	* netx/net/sourceforge/jnlp/controlpanel/CachePane.java: KEY_USER_CACHE_DIR ->
1318	CACHE_DIR, KEY_USER_NETX_RUNNING_FILE -> MAIN_LOCK. Config param removed.
1319	* netx/net/sourceforge/jnlp/controlpanel/CacheViewer.java: adapted to
1320	configless constructor
1321	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java: same
1322	* netx/net/sourceforge/jnlp/controlpanel/PolicyPanel.java: same
1323	* netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java: KEY_USER_LOG_DIR
1324	-> LOG_DIR, config made final.
1325	* netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java:
1326	removed redundant boxing, KEY_USER_CACHE_DIR -> CACHE_DIR
1327	* netx/net/sourceforge/jnlp/runtime/JNLPPolicy.java: KEY_USER_SECURITY_POLICY
1328	-> JAVA_POLICY. getPolicyFromConfig splited into  getPolicyFromConfig and
1329	getPolicyFromUrl
1330	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: read from KEY_USER_NETX_RUNNING_FILE
1331	property replaced by get from MAIN_LOCK.
1332	* netx/net/sourceforge/jnlp/security/KeyStores.java: removed config field and its filling.
1333	(getKeyStoreLocation) all keystores properties replaced by correct PahtsAndFiles.
1334	* netx/net/sourceforge/jnlp/security/SecurityUtil.java:  adapted to getKeyStoreLocation
1335	changed return type
1336	* netx/net/sourceforge/jnlp/security/dialogs/CertWarningPane.java: same
1337	* netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissionsButton.java: same
1338	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java: same
1339	* netx/net/sourceforge/jnlp/services/SingleInstanceLock.java: KEY_USER_LOCKS_DIR
1340	-> LOCKS_DIR
1341	* netx/net/sourceforge/jnlp/services/XPersistenceService.java:
1342	KEY_USER_PERSISTENCE_CACHE_DIR -> PCACHE_DIR
1343	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: KEY_USER_TMP_DIR -> TMP_DIR
1344	* netx/net/sourceforge/jnlp/util/docprovider/TextsProvider.java: adapted
1345	to existence of file protocol by new method removeFileProtocol
1346	* netx/net/sourceforge/jnlp/util/logging/LogConfig.java: KEY_USER_LOG_DIR -> LOG_DIR
1347	* tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java: KEY_USER_CACHE_DIR ->
1348	CACHE_DIR
1349	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceDownloaderTest.java: same
1350	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java: same
1351	* tests/netx/unit/net/sourceforge/jnlp/security/KeyStoresTest.java: adapted to
1352	getKeyStoreLocation
1353
13542015-04-02  Jiri Vanek  <jvanek@redhat.com>
1355
1356	* tests/netx/unit/net/sourceforge/jnlp/security/KeyStoresTest.java: new file,
1357	added tests for getKeyStoreLocation API.
1358	* tests/netx/unit/net/sourceforge/jnlp/security/SecurityDialogsTest.java: minor
1359	cleanup on redundant autoboxing.
1360
13612015-04-01  Jiri Vanek  <jvanek@redhat.com>
1362
1363	PathsAndFiles definitions made aware of deployment.properties which can change them
1364	* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java: (CacheLRUWrapper) used
1365	gette rinstead of field for RECENTLY_USED_FILE
1366	* netx/net/sourceforge/jnlp/config/Defaults.java: all getFullPath replaced
1367	by getDefaultFullPath.
1368	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: removed read
1369	from properties and repalced by getters from PathsAndFiles.
1370	* netx/net/sourceforge/jnlp/controlpanel/CachePane.java: same
1371	* tests/reproducers/signed/CacheReproducer/testcases/CacheReproducerTest.java: same
1372	* netx/net/sourceforge/jnlp/config/PathsAndFiles.java: Or setup-able InfrastructureFileDescriptor
1373	now can return their non-default value by overriden getFullPath and reading
1374	from properties.
1375	* netx/net/sourceforge/jnlp/resources/Messages.properties: added BUTControlledBy
1376	of Controlled by and BUTmodified of modified
1377	* netx/net/sourceforge/jnlp/util/docprovider/TextsProvider.java: now uses new
1378	Messages.properties keys
1379
13802015-03-31  Jiri Vanek  <jvanek@redhat.com>
1381
1382	PolicyEditor now honor verbose switch
1383	* netx/net/sourceforge/jnlp/OptionsDefinitions.java: OPTIONS.VERBOSE added to
1384	list of PolicyEditor's commands
1385	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor: (main) set
1386	debug to true, if verbose is presented.
1387
13882015-03-31  Jiri Vanek  <jvanek@redhat.com>
1389
1390	* Messages.properties: (FILElogs) adapted to more suit current docs.
1391
13922015-03-25  Lukasz Dracz  <ldracz@redhat.com>
1393
1394	* tests/reproducers/custom/TrustedOnlyAttribute/testcases/TrustedOnlyAttributeTest.java:
1395	added BeforeClass and AfterClass hunks which adapt USER_DEPLOYMENT_FILE for
1396	test's needs.
1397
13982015-03-27  Jiri Vanek  <jvanek@redhat.com>
1399
1400	* Makefile.am: (stamps/generate-docs.stamp) fixed redundant false in version
1401	appearing in docs
1402
14032015-03-26  Lukasz Dracz  <ldracz@redhat.com>
1404
1405	fix clean to replace new Manifest Attributes messages
1406	* tests/reproducers/custom/remote/testcases/RemoteApplicationSettings.java:
1407	Changed clean to replace the two new Manifest Attributes Checker messages
1408	instead of the old deleted Manifest Attributes Checker message
1409
14102015-03-25  Lukasz Dracz  <ldracz@redhat.com>
1411
1412	Change Manifest Attributes Checker to check combinations of attributes
1413	* netx/net/sourceforge/jnlp/config/BasicValueValidators.java:
1414	Added MultipleStringValueValidator that validates single and combination
1415	of string values. Added ManifestAttributesCheckValidator uses
1416	MultipleStringValueValidator with the appropriate Manifest Attributes
1417	options
1418	* netx/net/sourceforge/jnlp/config/Defaults.java:
1419	Changed manifest attributes check validator to ManifestAttributesCheckValidator
1420	and made have default value of ALL
1421	* netx/net/sourceforge/jnlp/resources/Messages.properties:
1422	(MACDisabledMessage, MACCheckSkipped): added
1423	* netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java:
1424	MANIFEST_ATTRIBUTES_CHECK enum added,
1425	changed logic to allow combinations of attributes to be checked,
1426	Translator.R made into static import
1427	* tests/netx/unit/net/sourceforge/jnlp/config/BasicValueValidatorsTests.java:
1428	(testMultipleStringValueValidator, testMultipleStringValueValidatorCantMixSingleAndComboValues,
1429	testManifestAttributesCheckValidator): added
1430	* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java:
1431	Changed to work with new ManifestAttributesChecker, set to ALL which is equivalent to
1432	the old value of true
1433	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/testcases/PartiallySignedAppletManifestSpecifiesSandboxTests.java:
1434	Added BeforeClass and AfterClass handling of deployment.properties file to ensure PERMISSIONS
1435	and ALLOW_UNSIGNED are active for tests to pass then reverted to previous values for next tests
1436	* tests/reproducers/signed/SignedAppletManifestSpecifiesSandbox/testcases/SignedAppletManifestSpecifiesSandboxTests.java:
1437	Added BeforeClass and AfterClass handling of deployment.properties file to ensure PERMISSIONS
1438	is set for tests to pass then reverted to previous values for next tests
1439
14402015-03-23  Lukasz Dracz  <ldracz@redhat.com>
1441
1442	Fix itweb-settings set command to allow duplicate strings
1443	* netx/net/sourceforge/jnlp/controlpanel/CommandLine.java:
1444	Fixed a bug where the set command would only use the first of
1445	duplicate strings due to the use of index for sorting into
1446	keys and values
1447	* tests/netx/unit/net/sourceforge/jnlp/controlpanel/CommandLineTest.java:
1448	Added tests for set command
1449
14502015-03-18  Andrew Azores  <aazores@redhat.com>
1451
1452	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java: (main)
1453	Fixed a bug where a local string variable was compared to the empty string
1454	using ==.
1455
14562015-03-18  Jiri Vanek  <jvanek@redhat.com>
1457
1458	* NEWS: mentioned documentation. -html and menu shortcuts moved to general.
1459
14602015-03-18  Jiri Vanek  <jvanek@redhat.com>
1461
1462	Added support for Entry-Point manifest
1463	* netx/net/sourceforge/jnlp/JNLPFile.java: defined ENTRY_POINT. Added methods
1464	to get raw manifest, or list of possible entry points.
1465	* netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java: Added logic
1466	to check real main class against manifest attribute.
1467	* tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java: Existing tests made
1468	aware about Entry-Point. Added tests for splitEntryPoints. All occurences of
1469	claslaoder repalced by classloader.
1470
14712015-03-17  Jie Kang  <jkang@redhat.com>
1472
1473	Escape apostrophes in Messages.properties
1474	* netx/net/sourceforge/jnlp/resources/Messages.properties:
1475	* netx/net/sourceforge/jnlp/resources/Messages_cs.properties:
1476	* netx/net/sourceforge/jnlp/resources/Messages_de.properties:
1477	Apostrophes escaped using two apostrophes as specified in MessageFormat
1478	java class. Used in Translator class to format values
1479	* tests/netx/unit/net/sourceforge/jnlp/runtime/TranslatorTest.java:
1480	Test added making sure escaped apostrophes work properly
1481	* tests/reprocers/signed/CodeBaseManifestEntrySignedMatching/testcases/CodeBaseManifestEntrySignedMatching.java:
1482	(getMessage) Uses MessageFormat to format values from Messages.properties
1483
14842015-03-17  Jiri Vanek  <jvanek@redhat.com>
1485
1486	Removed forgotten occurrence of netx-dist-tests-whitelist and so fixing make dist
1487	* Makefile.am: (EXTRA_DIST) lost netx-dist-tests-whitelist.
1488
14892015-03-17  Jie Kang  <jkang@redhat.com>
1490
1491	Fix resource loading in CodebaseManifestEntry reproducers
1492	* tests/reproducers/signed/CodeBaseManifestEntrySignedMatching/testcases/CodeBaseManifestEntrySignedMatching.java:
1493	Now uses Class.getResourceAsStream which will use system class loader
1494	if necessary
1495
14962015-03-13  Jiri Vanek  <jvanek@redhat.com>
1497
1498	Fixing xdg tests
1499	* netx/net/sourceforge/jnlp/config/PathsAndFiles.java: some elements made
1500	public - DEPLOYMENT_SUBDIR_DIR and XDG*VAR
1501	* tests/reproducers/simple/simpletest1/testcases/XDGspecificationTests.java:
1502	fixed issues with permissions attribute dialogue (faked deployment.properties
1503	everywhere), fixed issues with same key in set copmmand everywhere, added
1504	test for duplicated key in set, fixed issue with remianing icons and generated
1505	jnlps
1506
15072015-03-13  Jiri Vanek  <jvanek@redhat.com>
1508
1509	Docs now include possible options for each property
1510	* netx/net/sourceforge/jnlp/resources/Messages.properties: added key of IWSpossible
1511	* netx/net/sourceforge/jnlp/util/docprovider/ItwebSettingsTextsProvider.java:
1512	added hunk adding posibilites behainf each property
1513
15142015-03-13  Jiri Vanek  <jvanek@redhat.com>
1515
1516	* tests/reproducers/signed/GifarBase/resources/gifar_application.jnlp: removed
1517	dangling element
1518	* tests/reproducers/signed/GifarBase/srcs/GifarMain.java: formating
1519	* tests/reproducers/signed/GifarBase/testcases/GifarTestcases.java: used
1520	constants instead of hardcoded values
1521	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java: same
1522
15232015-03-10  Jiri Vanek  <jvanek@redhat.com>
1524
1525	Fixed locale tests
1526	* tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java :
1527	not existing BOHelp replaced by BOHelp1. (getProperties) if used classlaoder
1528	is null then system one is used.
1529
15302015-03-10  Jiri Vanek  <jvanek@redhat.com>
1531
1532	Removed invalid URLs, empty codebases and enabled js tests for opera
1533	* tests/reproducers/simple/JSToJFuncParam/resources/jstoj-funcparam.jnlp
1534	* tests/reproducers/simple/JSToJFuncParam/testcases/JSToJFuncParamTest.java
1535	* tests/reproducers/simple/JSToJFuncResol/resources/jstoj-funcresol.jnlp
1536	* tests/reproducers/simple/JSToJFuncReturn/resources/jstoj-funcreturn.jnlp
1537	* tests/reproducers/simple/JSToJGet/resources/jstoj-get.jnlp
1538	* tests/reproducers/simple/JSToJGet/testcases/JSToJGetTest.java
1539	* tests/reproducers/simple/JSToJSet/resources/jstoj-set.jnlp
1540	* tests/reproducers/simple/JSToJSet/testcases/JSToJSetTest.java
1541	* tests/reproducers/simple/JSToJTypeConv/resources/jstoj-typeconv.jnlp
1542	* tests/reproducers/simple/JSToJTypeConv/testcases/JSToJTypeConvTest.java
1543	* tests/reproducers/simple/JToJSString/testcases/JToJSStringTest.java
1544	* tests/reproducers/simple/JavascriptFuncParam/resources/javascript-funcparam.jnlp
1545	* tests/reproducers/simple/JavascriptFuncParam/testcases/JavascriptFuncParamTest.java
1546	* tests/reproducers/simple/JavascriptFuncReturn/resources/JavascriptFuncReturn.jnlp
1547	* tests/reproducers/simple/JavascriptFuncReturn/testcases/JavascriptFuncReturnTest.java
1548	* tests/reproducers/simple/JavascriptGet/resources/javascript-get.jnlp
1549	* tests/reproducers/simple/JavascriptGet/testcases/JavascriptGetTest.java
1550	* tests/reproducers/simple/JavascriptSet/resources/javascript-set.jnlp
1551	* tests/reproducers/simple/JavascriptSet/testcases/JavascriptSetTest.java
1552	* tests/reproducers/simple/JavawsAWTRobotFindsButton/resources/javaws-awtrobot-finds-button.jnlp
1553	* tests/reproducers/simple/JavawsAWTRobotUsageSample/resources/javaws-awtrobot-usage-sample.jnlp
1554
15552015-03-05  Jie Kang  <jkang@redhat.com>
1556
1557	Use jnlp_href parameter instead of attribute in	applet tag for reproducers.
1558	This is to maintain compatibility with midori and epiphany browsers that
1559	don't support jnlp_href as an applet tag's attribute
1560	* tests/reproducer/simple/JSToJGet/resources/JSToJGet.html:
1561	* tests/reproducer/simple/JSToJSet/resources/JSToJSet.html:
1562	* tests/reproducer/simple/JavascriptFuncParam/resources/JavascriptFuncParam.html:
1563	* tests/reproducer/simple/JavascriptGet/resources/JavascriptGet.html:
1564	* tests/reproducer/simple/JavascriptSet/resources/JavascriptSet.html:
1565	All tests now use parameter tag for jnlp_href
1566
15672015-03-04  Jiri Vanek  <jvanek@redhat.com>
1568
1569	Fixed broken CacheUtil.
1570	* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java: removed misleading one
1571	parameter constructor.
1572	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: adapted to new CacheLRUWrapper
1573	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java: adapted
1574	to new constructor.
1575
15762015-03-03  Jiri Vanek  <jvanek@redhat.com>
1577
1578	Changing enum CacheLRUWrapper singleton to instantiatible one. recently_used
1579	moved to PathsAndFiles.
1580	* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java: changed form enum to
1581	class. Added testing constructors. Fields encapsualted and made final.
1582	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java:is now using
1583	PathsAndFiles.CACHE_DIR
1584	* netx/net/sourceforge/jnlp/config/PathsAndFiles.java: defined CACHE_INDEX_FILE_NAME
1585	as recently_used and declared InfrastructureFileDescriptor RECENTLY_USED_FILE
1586	* netx/net/sourceforge/jnlp/controlpanel/CachePane.java: moved to PathsAndFiles
1587	* netx/net/sourceforge/jnlp/resources/Messages.properties: added description
1588	of RECENTLY_USED_FILE, FILErecentlyUsed
1589	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java: now using
1590	fake instance
1591	* tests/reproducers/signed/CacheReproducer/testcases/CacheReproducerTest.java:
1592	same + fixed
15932015-03-03  Jiri Vanek  <jvanek@redhat.com>
1594
1595	Fixed CacheReproducerTest and VersionedJarTest tests
1596	* tests/reproducers/signed/CacheReproducer/testcases/CacheReproducerTest.java:
1597	fixed
1598	* tests/reproducers/simple/VersionedJar__V1/testcases/VersionedJarTest.java:
1599	fixed
1600	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java: introduced
1601	executeJavawsClearCache shortcut method to executeJavawsHeadless
1602
16032015-03-03  Jie Kang  <jkang@redhat.com>
1604
1605	Fix DeadLockTest reproducers
1606	* tests/reproducers/simple/deadlocktest/testcases/DeadLockTestTest.java:
1607	(testSimpletest1lunchFork), (testSimpletest1lunchNoFork) removed division
1608	by two in final assert
1609
16102015-03-02  Jie Kang  <jkang@redhat.com>
1611
1612	Use temporary cache in PluginBridge unit tests
1613	* tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java: sets
1614	temporary cache in @BeforeClass and unsets in @AfterClass
1615
16162015-02-27  Jiri Vanek  <jvanek@redhat.com>
1617
1618	Silenced to verbose unittests
1619	* netx/net/sourceforge/jnlp/cache/ResourceDownloader.java: refactored to use
1620	try-with-resources
1621	* tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java: become NoStdOutErrTest
1622	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceDownloaderTest.java: same
1623	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java: same
1624	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceUrlCreatorTest.java: same
1625
16262015-02-27  Jiri Vanek  <jvanek@redhat.com>
1627
1628	All manifests in reproducers' jars have now Application-Name attribute
1629	* Makefile.am: (stamps/netx-dist-tests-prepare-reproducers.stamp) added logic
1630	to include Application-Name: $reproducerName key: value to each non-custom
1631	manifest file
1632	* tests/reproducers/*/MANIFEST.MF*: all custom manifests enhanced by the same
1633	key: value. They do not relay on it.
1634
16352015-02-27  Jiri Vanek  <jvanek@redhat.com>
1636
1637	Fixed third party tests.
1638	* netx/net/sourceforge/jnlp/resources/Messages.properties: (JREversionDontMatch)
1639	don't changed to does not. The apostrophe was causing last variable to not expanding.
1640	* netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java: shared
1641	string moved to constant of MANIFEST_CHECK_DISABLED_MESSAGE
1642	* tests/reproducers/custom/remote/testcases/RemoteApplicationSettings.java:
1643	adapted to current state
1644	* tests/reproducers/custom/remote/testcases/RemoteApplicationTests.java: same
1645
16462015-02-25  Jiri Vanek  <jvanek@redhat.com>
1647
1648	* Makefile.am: netx-dist-tests-whitelist mad mandatory and will be removed
1649
16502015-02-24  Jiri Vanek  <jvanek@redhat.com>
1651
1652	Marking threads in ResourceTracker's threadPool as daemons, so the dont prevent shutdown.
1653	* netx/net/sourceforge/jnlp/cache/CachedDaemonThreadPoolProvider.java: new file,
1654	implementation of ExecutorService singleton, whose threads are daemons.
1655	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java: (startDownloadThread)
1656	now calls CachedDaemonThreadPoolProvider
1657
16582015-02-18  Jiri Vanek  <jvanek@redhat.com>
1659
1660	Added menuentry to PolicyEditor to allow quicky open default java.policy
1661	* netx/net/sourceforge/jnlp/resources/Messages.properties: added keys of
1662	PEOpenDefaultMenuItem, PEOpenDefaultMenuItemMnemonic,
1663	PEOpenDefaultMenuItemAccelerator
1664	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java: added
1665	openDefaultButtonAction to open PathsAndFiles.JAVA_POLICY. Added openDefaultItem
1666	menu entry calling openDefaultButtonAction.
1667
16682015-02-17  Jie Kang  <jkang@redhat.com>
1669
1670	Refactor initializeResources in ResourceDownloader.
1671	* netx/net/sourceforge/jnlp/cache/Resource.java: (isConnectable) new method
1672	checking if we can connect to the resources URL
1673	* netx/net/sourceforge/jnlp/cache/ResourceDownloader.java:
1674	(initializeResources), (initializeOnlineResource), (initializeFromURL),
1675	(initializeOfflineResource) refactored methods to handle offline and online
1676	cases separately
1677	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: (isConnectable) new
1678	method checking if we can connect to URL argument
1679	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceDownloaderTest.java:
1680	(testDownloadLocalResourceFails): test modified to expect error status
1681	on failure instead of uncaught exception
1682
16832015-02-13  Jiri Vanek  <jvanek@redhat.com>
1684
1685	Fixed few small errors in jacoco processing after removal of bootstrap.
1686	* Makefile.am: (JACOCO_CLASSPATH) changed to be space delimited, to be used
1687	via joinsegments. (JACOCO_OPERATOR_EXEC) using joinsegments on JACOCO_CLASSPATH.
1688	(UNIFIED_CLASSPATH) split to new *_SEGMENTS and call of joinsegments on it.
1689	Similarly with UNIFIED_JACOCO_CLASSPATH/(_SEGMENTS). Adapted
1690	PLUGIN_COVERAGE_BOOTCLASSPATH. (stamps/compile-jacoco-operator.stamp) uses
1691	composeclasspath on JACOCO_CLASSPATH. (stamps/compile-jacoco-operator.stamp)
1692	nw_bootclasspath adapted. (stamps/run-reproducers-test-code-coverage-jacoco.stamp)
1693	added missing comma in CLASSPATH=$(call joinsegment, ... ) call.
1694
16952015-02-13  Jie Kang  <jkang@redhat.com>
1696
1697	* .hgignore: added netx-dist-tests-whitelist to prevent unintentional commits
1698
16992015-02-13  Jiri Vanek  <jvanek@redhat.com>
1700
1701	Added better support for not-matching detected jdk when version forced.
1702	* netx/net/sourceforge/jnlp/JREDesc.java: is using JreVersion instead of pure Version
1703	* netx/net/sourceforge/jnlp/Parser.java: (getJRE) JREDesc is constructed with JreVersion
1704	* netx/net/sourceforge/jnlp/Version.java:  made immutable, added specialized
1705	inner class, tho handle JRE version.
1706	* /tests/netx/unit/net/sourceforge/jnlp/VersionTest.java: added tests for
1707	main cases cornerCases, testMatchesMinus, multiplePossibilities and tests for
1708	new class jreVersionTestOk, jreVersionTestFails1, jreVersionTestFails2.
1709	* netx/net/sourceforge/jnlp/resources/Messages.properties: added JRE family
1710	of warnings for JreVersion
1711
17122015-02-11  Jiri Vanek  <jvanek@redhat.com>
1713
1714	Saving/Loading of icon made resistant against URLs with invalid/without target
1715	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: getCachedResource split
1716	into getCachedResourceFile and getCachedResourceURL (which is jsut transforming
1717	file from getCachedResourceFile to URL)
1718	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: (cacheIcon) calls to
1719	getCachedResource replaced by calls to getCachedResourceURL and added null
1720	checks. New method of cantCache to unify NonFileProtocolException throw.
1721
17222015-02-09  Jie Kang  <jkang@redhat.com>
1723
1724	Fix javascript url error in JSToJSet reproducer.
1725	* tests/reproducers/simple/JSToJSet/resources/JSToJSet.html: added quotes
1726	around scriptable paramter.
1727	* tests/reproducers/simple/JSToJSet/resources/JSToJava_Set.js: decode url
1728	before using it
1729	* tests/reproducers/simple/JSToJSet/testcases/JSToJSetTest.java:
1730	KnownToFail annotations removed from tests that now pass correctly.
1731
17322015-02-06  Fridrich Strba <fridrich.strba@suse.com>
1733
1734	Removed bootstrap, made buildable with modular JDK
1735	* AUTHORS: Fridrich added
1736	* Makefile.am: defined composeclasspath to create always valid classpath elements
1737	EMMA_JAVA_ARGS and EMMA_MODIFIED_FILES renamed to COVERAGE_JAVA_ARG and
1738	COVERAGE_MODIFIED_FILES. Removed RHINO_RUNTIME, BOOT_DIR. PLUGIN_RUNTIME
1739	renamed to PLUGIN_JAR. All manual constructions of classpath replaced by
1740	composeclasspath. All BOOT_ definition replaced by SYSTEM_JRE_DIR and
1741	SYSTEM_JDK_DIR. Removed all legacy emma targets. Removed all bootstrap targets.
1742	* acinclude.m4: added check for jdk9
1743	* configure.ac: removed check for emma
1744	* plugin/icedteanp/IcedTeaNPPlugin.cc: added support for jdk9 mimetypes
1745	* tests/test-extensions/net/sourceforge/jnlp/tools/CodeSignerCreator.java:
1746	made aware of jdk9
1747
17482015-02-06  Jiri Vanek  <jvanek@redhat.com>
1749
1750	Also javaws.png icon is being installed in make install.
1751	* Makefile.am: declared ICONS_DEST_DIR with value pointing to icons dir
1752	(install-exec-local) ICONS_DEST_DIR added to list of created directories
1753	javaws.png installed into ICONS_DEST_DIR. (uninstall-local) javaws.png
1754	removed from ICONS_DEST_DIR.
1755
17562015-02-02  Omair Majid  <omajid@redhat.com>
1757
1758	* configure.ac: Search for hamcrest jar.
1759	* Makefile.am: Initialize JUNIT_RUNTIME with JUNIT_JAR and/or
1760	HAMCREST_JAR. Adjust all code using JUNIT_JAR to use JUNIT_RUNTIME
1761	or HAMCREST_JAR explicitly.
1762
17632015-01-30  Jie Kang  <jkang@redhat.com>
1764
1765	Remove KnownToFail annotation from JToJSString reproducer tests.
1766	* tests/reproducers/simple/JToJSString/testcases/JToJSStringTest.java:
1767	(StringArrayTest)(jnlpStringArrayAppletTest): annotations removed
1768
17692015-01-29  Jie Kang  <jkang@redhat.com>
1770
1771	Fix accessing Java array elements from Javascript. PR1298. Fix provided by
1772	Marcin Cieslak
1773	* AUTHORS: Add Marcin Cieslak to authors.
1774	* NEWS: Add fix to news
1775	* plugin/icedteanp/IcedTeaPluginUtils.cc: (javaObjectResultToNPVariant) add
1776	jclass_name parameter to javaObjectResultToNPVariant function and use to
1777	determine type of object.
1778
17792015-01-28  Jie Kang  <jkang@redhat.com>
1780
1781	Refactor initialize/download runnable out of ResourceTracker and add tests
1782	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java: moved Downloader
1783	runnable into ResourceDownloader along with initialize and download
1784	functions and their sub-functions. Removed prefetchTracker system and
1785	queue. Moved downloadOptions into Resource.java.
1786	* netx/net/sourceforge/jnlp/cache/Resource.java: added downloadOptions
1787	field and getter/setter
1788	* netx/net/sourceforge/jnlp/cache/ResourceDownloader.java:
1789	(getUrlResponseCode), (getUrlResponseCodeWithRedirectonResult)
1790	(initializeResource), (findBestUrl), (downloadResource),
1791	(getDownloadConnection), (downloadPackGzFile), (downloadGZipFile),
1792	(downloadFile), (storeEntryFields), (writeDownloadToFile)(uncompressGzip),
1793	(uncompressPackGz): new Runnable class for initializing and downloading
1794	resources. Code	from ResourceTracker.java
1795	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java:
1796	tests for downloading/initializing functions and their subfunctions moved
1797	to ResourceDownloaderTest.java
1798	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceDownloaderTest.java:
1799	relevant tests from ResourceTrackerTest.java moved here.
1800	(testDownloadResource), (testDownloadPackGzResource)
1801	(testDownloadVersionedResource), (testDownloadVersionedPackGzResource)
1802	(testDownloadLocalResourceFails), (testDownloadNotExistingResourceFails):
1803	New tests added
1804
18052014-01-23  Jiri Vanek  <jvanek@redhat.com>
1806
1807	Returned accidentally removed creation of shortcuts for jnlp applications.
1808	* netx/net/sourceforge/jnlp/security/dialogs/AccessWarningPane.java: filling
1809	of AccessWarningPaneComplexReturn no longer depnds on existence of htmlPanels.
1810	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: (BROWSERS) opera added
1811	to list of recognized browsers
1812
18132014-01-22  Jie Kang  <jkang@redhat.com>
1814
1815	Add quotes to Docs paths in Makefile.am
1816	* Makefile.am:(install-data-local)(stamps/generate-docs.stamp) paths have
1817	quotes "" around them
1818
18192014-01-21  Lukasz Dracz  <ldracz@redhat.com>
1820
1821	Change PolicyEditor to use OptionParser
1822	* netx/net/sourceforge/jnlp/OptionsDefinitions.java
1823	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java:
1824	(argsToMap): removed
1825	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEditorTest.java:
1826	(testArgsToMap): removed
1827
18282014-12-20  Jiri Vanek  <jvanek@redhat.com>
1829
1830	Added -html switch for javaws to run applets out of browser in applets sandbox
1831	* Makefile.am: if plugin is enabled, then plugin.jar is placed to (both)classpaths
1832	* NEWS: mentioned -html switch
1833	* netx/net/sourceforge/jnlp/Launcher.java: removed unused imports
1834	* netx/net/sourceforge/jnlp/MalformedXMLParser.java: same, also (xmlizeInputStream)
1835	made public static
1836	* netx/net/sourceforge/jnlp/NetxPanel.java: used diamonds, constructor is
1837	accepting plugin bridge, appletInstance got geter, (ourRunLoader) initialize
1838	PuginBridge if it is not set in advance. Logic to init it. moved to separate
1839	method (init).
1840	* netx/net/sourceforge/jnlp/OptionsDefinitions.java: implemented -html. Now takes
1841	one or more args.
1842	* netx/net/sourceforge/jnlp/Parser.java: made public, static getUrl separated
1843	from internal getUrl. reused MalformedXMLParser and XMLParser classes moved
1844	to String constants.
1845	* netx/net/sourceforge/jnlp/PluginBridge.java: params made final and getter added.
1846	* netx/net/sourceforge/jnlp/PluginParameters.java: Removed hashtable
1847	* netx/net/sourceforge/jnlp/resources/Messages.properties: BNoCodeOrObjectApplet
1848	fixed (mentioned jnlp_href), added HTMLnoneFound, HTMLmoreThenOne. Adapted BOHtml
1849	* netx/net/sourceforge/jnlp/runtime/Boot.java: (getMainFile) now supports html
1850	init moved out of (run). Logic to lunch javaws moved to separate class
1851	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: minor formating
1852	* netx/net/sourceforge/jnlp/util/optionparser/OptionParser.java: added fnuction
1853	to allow element addition to allow minor cheating if needed.
1854	* netx/net/sourceforge/nanoxml/XMLElement.java: removed hashtable, used
1855	diamonds, final and try-with-resources
1856	* netx/sun/applet/AppletViewerPanelAccess.java: Copied map to hashtable in super,
1857	added special hack to access AppletContext for out-of-browser applets.
1858	* plugin/icedteanp/java/sun/applet/PluginAppletPanelFactory.java: can pass
1859	PluginBridge inside.
1860	* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java: removed
1861	hashtable, used string in switches, used diamonds
1862	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: some logic extracted
1863	to initialize. Removed hashtable.
1864	* plugin/icedteanp/java/sun/applet/PluginMain.java:  Removed hashtable.
1865	Init logic moved to more methods (initSecurityContext). New method javawsHtmlMain
1866	to encapsulate all plugin.jar calls.
1867	* plugin/icedteanp/java/sun/applet/PluginStreamHandler.java: Added inner DummyHandler
1868	doing nothing for  -html run.
1869	* tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java: final possible
1870	fields made final;
1871	* tests/netx/unit/net/sourceforge/jnlp/PluginParametersTest.java: hashtable
1872	removal.
1873	* netx/net/sourceforge/jnlp/JNLPSplashScreen.java: enabled hot swap of file,
1874	enabled switch to error screen.
1875	* netx/net/sourceforge/jnlp/runtime/HtmlBoot.java:  new class, contains logic
1876	to lunch from html
1877	* netx/net/sourceforge/jnlp/runtime/JnlpBoot.java: new class, into which
1878	original logic from boot.run was moved.
1879	* netx/net/sourceforge/jnlp/runtime/html/AppletExtractor.java: new class,
1880	responsible for parsing of html page and search for applets
1881	* netx/net/sourceforge/jnlp/runtime/html/AppletParser.java: new class,
1882	responsible for construction of PluginBridge from parsed xml (applet-like)
1883	element
1884	* netx/net/sourceforge/jnlp/runtime/html/AppletsFilter.java: new class, responsible
1885	for providing correct applets from page
1886	* netx/net/sourceforge/jnlp/runtime/html/ElementValidator.java: new simple
1887	interface used for searching in html document, to fire if element is/is not appelt
1888	* netx/net/sourceforge/jnlp/util/Reflect.java: this class is long unused. removed.
1889
18902014-12-19  Jiri Vanek  <jvanek@redhat.com>
1891
1892	* NEWS: mentioned menus
1893
18942014-12-19  Lukasz Dracz  <ldracz@redhat.com>
1895
1896	IcedTea-Web settings made to use OptionParser
1897	* netx/net/sourceforge/jnlp/OptionsDefinitions: HELP split to HELP1 and HELP2
1898	HELP1 for javaws and policyediotr, HELP2 for itweb settings. SET changed to
1899	EVEN_NUMBER_SUPPORTS_EQUALS_CHAR type. ItwebSettings added VERBOSE
1900	* netx/net/sourceforge/jnlp/controlpanel/CommandLine: Rewritten touse OptionParser
1901	Fixed usage of verbose.
1902	* netx/net/sourceforge/jnlp/resources/Messages.properties: adapted IBOList, IBOGet
1903	IBOInfo, IBOSet, IBOReset, IBOCheck. Added OPUnevenParams, CLUnexpectedNumberOfCommands.
1904	BOHelp removed, and replaced by its copy BOHelp1. Added BOHelp2.
1905	* netx/net/sourceforge/jnlp/resources/Messages_cs.properties:
1906	BOHelp removed, and replaced by its copy BOHelp1.
1907	* netx/net/sourceforge/jnlp/resources/Messages_de.properties:
1908	BOHelp removed, and replaced by its copy BOHelp1.
1909	* netx/net/sourceforge/jnlp/resources/Messages_pl.properties:
1910	BOHelp removed, and replaced by its copy BOHelp1.
1911	* netx/net/sourceforge/jnlp/runtime/Boot: Used HELP1,  and UnevenParameterException
1912	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor: Used HELP1
1913	* netx/net/sourceforge/jnlp/util/optionparser/OptionParser: Added handling of
1914	handleEvenNumberSupportingEqualsChar
1915	* netx/net/sourceforge/jnlp/util/optionparser/UnevenParameterException:
1916	new exception to be thrown in case of parsing of EVEN_NUMBER_SUPPORTS_EQUALS_CHAR
1917	* tests/netx/unit/net/sourceforge/jnlp/util/optionparser/OptionParserTest:
1918	Added tests for new functions
1919
19202014-12-19  Jie Kang  <jkang@redhat.com>
1921
1922	* tests/test-extensions-tests/net/sourceforge/jnlp/TinyHttpdImplTest.java:
1923	added testLastModifiedHeader and testLastModifiedHeaderNotIncluded tests
1924	to test the LAs-Modified functionality in internal test server.
1925
19262014-12-18  Jiri Vanek  <jvanek@redhat.com>
1927
1928	Added support for generating shortcuts also for applets.
1929	* Makefile.am: javaws_bin and javaws_name passed to plugin
1930	* netx/net/sourceforge/jnlp/JNLPFile: (openURL) made public and added javadoc.
1931	Added unifying methods to generate  title and vendor to be reused in  jnlp
1932	and shortcuts: createJnlpVendorValue, createJnlpVendor, createJnlpTitleValue,
1933	createJnlpTitle.
1934	* netx/net/sourceforge/jnlp/OptionsDefinitions: Added unimplemented -html param
1935	* netx/net/sourceforge/jnlp/PluginBridge: able to be final fields made final.
1936	Jnlp href file is stored for debugging purposes. Added override annotations.
1937	Added possibility to generate jnlp xml file from itself (toJnlp). Added function
1938	(fixCommonIsuses) to enable usage of jnlpHref as mian jnlp file if used in shortcut.
1939	* netx/net/sourceforge/jnlp/config/PathsAndFiles:
1940	Declared GEN_JNLPS_DIR for saving generated jnlp shortcut.
1941	* netx/net/sourceforge/jnlp/resources/Messages.properties: declared
1942	ButAdvancedOptions, AlwaysForbidAction, BOHtml, FILEjnlps keys and whole
1943	family of EXAW keys.
1944	* netx/net/sourceforge/jnlp/runtime/ApplicationInstance: now use AccessWarningPaneComplexReturn
1945	instead of removed IconsCreationDescriptor.
1946	* netx/net/sourceforge/jnlp/security/SecurityDialogs: AccessWarningDialog family
1947	of methods adapted to handle boolean, integer and AccessWarningPaneComplexReturn
1948	* netx/net/sourceforge/jnlp/security/dialogs/AccessWarningPane: reworked
1949	to support controls of shortcut creation and saving buttons.
1950	* netx/net/sourceforge/jnlp/security/dialogs/AccessWarningPaneComplexReturn:
1951	New class to store information about shortcuts and saving of result. Used
1952	from AccessWarningPane instead of integer.
1953	* netx/net/sourceforge/jnlp/util/StreamUtils: added possibility to control
1954	encoding.
1955	* netx/net/sourceforge/jnlp/util/XDesktopEntry: Included possibility to create
1956	shrotcut from applet, based on the AccessWarningPaneComplexReturn. Is trying
1957	to use also favico if no more suitable icons found.
1958	* netx/net/sourceforge/jnlp/util/optionparser/OptionParser: added to-be-removed
1959	hack to die if -html  is found.
1960	* plugin/icedteanp/IcedTeaNPPlugin.cc: made aware of JAVAWS_BIN and JAVAWS_NAME
1961	* tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest: tested class stripping
1962	and fixing of common issues.
1963	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest: backedUpStream
1964	made final.
1965	* tests/netx/unit/net/sourceforge/jnlp/util/logging/JavaConsoleTest: Fixed
1966	timezone depending test to be timezone independent.
1967
1968
19692014-12-17  Jie Kang  <jkang@redhat.com>
1970
1971	Fixed typo in Makefile.am for test-extensions-tests compilation
1972	* Makefile.am:
1973
19742014-12-12  Jiri Vanek  <jvanek@redhat.com>
1975
1976	JDK7 like refactroing of JNLPClassLoader
1977	* netx/net/sourceforge/jnlp/config/Defaults.java: KEY_STRICT_JNLP_CLASSLOADER
1978	added
1979	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: deployment.jnlpclassloader.strict
1980	declared
1981	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: minor refactoring, and usage
1982	of KEY_STRICT_JNLP_CLASSLOADER instead of hardcoded strict=true.
1983
19842014-12-08  Jie Kang  <jkang@redhat.com>
1985
1986	Added last-modified information to TinyHttpdImpl
1987	* tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java:
1988	(setSupportLastModified): used to set whether or not to return last-modified
1989	in header
1990	(isSupportingLastModified): whether or not currently returning last-modified
1991	(run): adds last-modified to header if enabled
1992
19932014-12-05  Jiri Vanek  <jvanek@redhat.com>
1994
1995	Added support for menu shortcuts.
1996	* netx/net/sourceforge/jnlp/Parser.java: used setMenu instead of addMenu
1997	* netx/net/sourceforge/jnlp/ShortcutDesc.java: removed isOnline support,
1998	added onDesktop and toMenu support. addMenu renamed to setMenu.
1999	Added deploymentJavawsShortcutToString, just for comfortableness.
2000	* netx/net/sourceforge/jnlp/config/PathsAndFiles.java: Added support for
2001	XDG_DATA_HOME, declared ICONS_DIR and MENUS_DIR
2002	* netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java: removed
2003	duplicated logic of deploymentJavawsShortcutToString/comboboxItem and
2004	hardcoded calls to deployment.
2005	* netx/net/sourceforge/jnlp/resources/Messages.properties: added
2006	CPTabMenuShortcuts, FILEicons, FILEmenus. adapted SDesktopShortcut
2007	* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
2008	removed retired fixme, now it do not ask for shortcut creation if menu or
2009	desktop entry exists. Added menu support and removed not-implemented call.
2010	Added temporary IconsCreationDescriptor quick fix for dialog->logic information
2011	transfer. Used where needed.
2012	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java:  Added boolean
2013	and integer workarounds around showAccessWarningDialog
2014	* netx/net/sourceforge/jnlp/security/dialogs/AccessWarningPane.java: Added
2015	menu support.
2016	Is now coding more sophisticated return value if are about desktop creations.
2017	* netx/net/sourceforge/jnlp/services/ServiceUtil.java:  Adapted to
2018	showAccessWarningDialog changes
2019	* netx/net/sourceforge/jnlp/util/FileUtils.java: INVALID_CHARS extended
2020	for more linux one and most windows ones.
2021	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: added logic to place
2022	menu shortcut.
2023	* tests/netx/unit/net/sourceforge/jnlp/ParserBasic.java: Is now testing only
2024	presence of isOnline instead if it is used.
2025
2026
20272014-11-28  Jie Kang  <jkang@redhat.com>
2028
2029	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java
2030	(testDownloadResource): new test for downloading basic resource
2031
20322014-11-25  Jiri Vanek  <jvanek@redhat.com>
2033
2034	* netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java: (checkAll)
2035	permissions attribute is now also skipped when attribute checks are disabled
2036
20372014-11-25  Jiri Vanek  <jvanek@redhat.com>
2038
2039	* netx/net/sourceforge/jnlp/Launcher.java: (fromUrl) file from href get
2040	substituted codebase from previous one if it is missing in new one.
2041
20422014-11-25  Jie Kang  <jkang@redhat.com>
2043
2044	Fixed newly failing unit test: JavaConsoleTest:CreatePluginHeaderTestNotOK
2045	* tests/netx/unit/net/sourceforge/jnlp/util/logging/JavaConsoleTest.java
2046	(CreatePluginHeaderTestNotOK): Added a new failing string
2047	(CreatePluginHeaderTestOK): Old string from NotOk moved to this test
2048
20492014-11-19  Jiri Vanek  <jvanek@redhat.com>
2050
2051	Logging jnlp file into console
2052	* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPaneModel.java: is
2053	now html-like escaping lesser then and greater then chars
2054	* netx/net/sourceforge/nanoxml/XMLElement.java: instead of reprinting jnlp
2055	file to stdout, the line is gathered and logged via standard logger
2056
20572014-11-19  Jie Kang  <jkang@redhat.com>
2058
2059	Fixed PluginMessage dates to use localized date from icedteanp-side.
2060	See PR2063
2061	* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPaneModel.java:
2062	Sort-by-date compares using timestamp
2063	* netx/net/sourceforge/jnlp/util/logging/headers/Header.java:
2064	'date' is a string for the localized date and 'timestamp' is a Date
2065	for sort-by-date comparison
2066	* netx/net/sourceforge/jnlp/util/logging/headers/PluginHeader.java:
2067	no longer has timestamp field, uses Header's timestamp field
2068	* netx/net/sourceforge/jnlp/util/logging/headers/PluginMessage.java:
2069	'date' acquired directly from icedteanp-side (strftime) without formatting
2070
20712014-11-18  Jie Kang  <jkang@redhat.com>
2072
2073	Added reproducer for packgz compressed applets.
2074	* acinclude.m4: Added check for pack200 in jdk bin
2075	* configure.ac: Added check of pack200 during configure
2076	* Makefile.am: Added use of pack200 if existing
2077	* netx/net/sourceforge/jnlp/PluginBridge: Added use of pack/version
2078	from jnlp file when launched through browser
2079	* tests/reproducers/custom/PackGZip/resources/PackGZip.jnlp: packgz
2080	reproducer
2081	* tests/reproducers/custom/PackGZip/resources/PackGZipApplet.html:
2082	* tests/reproducers/custom/PackGZip/resources/PackGZipJNLP.html:
2083	* tests/reproducers/custom/PackGZip/srcs/Makefile:
2084	* tests/reproducers/custom/PackGZip/srcs/PackGZip.java:
2085	* tests/reproducers/custom/PackGZip/testcases/PackGzipTest.java:
2086
20872014-11-14  Jiri Vanek  <jvanek@redhat.com>
2088
2089	http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-June/028399.html (long thread)
2090	* netx/net/sourceforge/jnlp/Launcher.java: using PropertyDesc.fromString to
2091	add resources.
2092	* netx/net/sourceforge/jnlp/PropertyDesc.java: New method fromString to handle
2093	parsing
2094	* netx/net/sourceforge/jnlp/runtime/Boot.java: is now merging the properties
2095	to main configuration.
2096	* tests/netx/unit/net/sourceforge/jnlp/PropertyDescTest.java: new file. Added
2097	tests for fromString.
2098
20992014-11-14  Jiri Vanek  <jvanek@redhat.com>
2100
2101	Making loading of PAC provider more lenient
2102	* netx/net/sourceforge/jnlp/runtime/PacEvaluatorFactory.java: (getPacEvaluator)
2103	changed to autocloseable, general Exception (instead IOException only) is catch.
2104
21052014-11-14  Jiri Vanek  <jvanek@redhat.com>
2106
2107	Connection factory fixed for offline usage
2108	* netx/net/sourceforge/jnlp/security/ConnectionFactory.java: (disconnect) got
2109	null check
2110
21112014-11-10  Jie Kang  <jkang@redhat.com>
2112
2113    Refactored downloading of resources
2114    * netx/net/sourceforge/jnlp/cache/CacheEntry.java: added logging messages
2115    * netx/net/sourceforge/jnlp/cache/ResourceTracker.java
2116    (downloadResource): refactored into multiple methods
2117    (getDownloadConnection): new method to get and setup URLConnection
2118    (downloadPackGzFile): new method to download .pack.gz files
2119    (downloadGZipFile): new method to download .gz files
2120    (uncompressPackGz): new method to uncompress .pack.gz files
2121    (uncompressGZip): new method to uncompress .gz files
2122    (downloadFile): new method to download files
2123    (writeDownloadToFile): new method to write download into file, byte-by-byte
2124    (storeEntryFields): new method to store cache entry fields after download
2125
21262014-11-05  Lukasz Dracz  <ldracz@redhat.com>
2127
2128	Option parser refactored to use Parsed Option
2129	* netx/net/sourceforge/jnlp/OptionsDefinitions.java:
2130	enum EQUALS_CHAR removed, EVEN_NUMBER_OR_WITHEQUALCHAR renamed
2131	to EVEN_NUMBER_SUPPORTS_EQUALS_CHAR
2132	* netx/net/sourceforge/jnlp/resources/Messages.properties:
2133	* netx/net/sourceforge/jnlp/runtime/Boot.java:
2134	removed first check of JNLP option being not present
2135	* netx/net/sourceforge/jnlp/util/optionparser/OptionParser.java:
2136	refactored to use a List of ParsedOption instead of map,
2137	refactored parseContents to be split into smaller methods and made
2138	parsing more strict but easier to read/maintain
2139	(shouldAddParam, isOneArgumentNotFull, oneOrMoreArguments, addOptionToList,
2140	argumentToOption): added
2141	(getValue, getValues): renamed to (getParam, getParams)
2142	(findMainArg):removed, main args only looked for in parseContents
2143	* tests/netx/unit/net/sourceforge/jnlp/util/optionparser/OptionParserTest.java:
2144	removed tests that were no longer valid and added new ones based on the
2145	change in option parser functionality
2146	* netx/net/sourceforge/jnlp/util/optionparser/ParsedOption.java:
2147	added
2148
21492014-11-03  Jiri Vanek  <jvanek@redhat.com>
2150
2151	Get rid of @BOLD_OPEN@ and @BOLD_CLOSE@ in favor of <B> and </B>
2152	* netx/net/sourceforge/jnlp/resources/Messages.properties: ssia
2153	* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/HtmlFormatter.java:
2154	now overrides process, as input is expected to be html (aka text with B tags).
2155	* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/ReplacingTextFormatter.java:
2156	(process) using regexes to replace B tags
2157	* tests/netx/unit/net/sourceforge/jnlp/util/docprovider/formatters/formatters/ReplacingTextFormatterTest.java:
2158	adapted to new logic,added tests
2159
21602014-10-29  Jie Kang  <jkang@redhat.com>
2161
2162	Configure switch for whitelist processing added.
2163	'configure --enable-whitelist-processing': Process white-listed
2164	reproducers based on directory name and run all processed reproducers.
2165	'configure': Process all reproducers and run reproducers white-listed
2166	on test-case name.
2167	* Makefile.am: support for --enable-whitelist-processing switch
2168	* configure.ac: added switch --enable-whitelist-processing
2169
21702014-10-24  Jiri Vanek  <jvanek@redhat.com>
2171
2172	Opening of connections moved into factory
2173	* netx/net/sourceforge/jnlp/cache/CacheUtil.java:
2174	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
2175	* netx/net/sourceforge/jnlp/runtime/CachedJarFileCallback.java:
2176	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
2177	all calls to url.openConnection(), replaced by
2178	ConnectionFactory.getConnectionFactory().openConnection(url) and all calls
2179	to if (conn instanceof  HttpURLConnection){((HttpURLConnection)conn).disconnect();}
2180	by ConnectionFactory.getConnectionFactory().disconnect(conn);
2181	* netx/net/sourceforge/jnlp/security/ConnectionFactory.java: new class
2182	singleton responsible for opening and closing of connections. Have debugging
2183	feature to download https connections one by one (needs tweeking)
2184
21852014-10-21  Jiri Vanek  <jvanek@redhat.com>
2186
2187	Fixed case when already decoded file is wonted from cache (RH1154177)
2188	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java: (getCacheFile) if
2189	all previous attempts to get cached file, plain url.getPath is tried.
2190
21912014-10-21  Jiri Vanek  <jvanek@redhat.com>
2192
2193	Unittests coverage adapted to latest jacoco
2194	* Makefile.am: (JACOCO_AGENT_SWITCH) is now using both  JACOCO_ADVANCED_EXCLUDE)
2195	and inclbootstrapclasses=true too. (JACOCO_AGENT_JAVAWS_SWITCH) and
2196	(JACOCO_AGENT_PLUGIN_SWITCH) are using JACOCO_AGENT_SWITCH instead of copypasting
2197	values.
2198
21992014-10-21  Lukasz Dracz  <ldracz@redhat.com>
2200
2201	PolicyFileModel null file tests added
2202	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyFileModelTest.java
2203
22042014-10-20  Jiri Vanek  <jvanek@redhat.com>
2205
2206	Added support for chromium binary (along with older chromium-browser one)
2207	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/Browsers.java:
2208	(static) check if legacy chromium-browser do exists. If so use it, otherwise
2209	use newer chromium only
2210
22112014-10-20  Jiri Vanek  <jvanek@redhat.com>
2212
2213	Support only @BOLD_OPEN@ and @BOLD_CLOSE@ in documentation
2214	* netx/net/sourceforge/jnlp/util/docprovider/PolicyEditorTextsProvider.java:
2215	Replace @@ usage by calls to methods
2216	* netx/net/sourceforge/jnlp/util/docprovider/TextsProvider.java: same
2217	* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/Formatter.java:
2218	added license
2219	* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/HtmlFormatter.java:
2220	same
2221	* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/ManFormatter.java:
2222	same
2223	* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/ReplacingTextFormatter.java:
2224	Added license.  (process) All but @BOLD_OPEN@ and @BOLD_CLOSE@ support removed
2225	* tests/netx/unit/net/sourceforge/jnlp/util/docprovider/formatters/formatters/ReplacingTextFormatterTest.java
2226	Added test for process method
2227
22282014-10-17  Jiri Vanek  <jvanek@redhat.com>
2229
2230	Jacoco boot class loading moved from custom built to upstreamed form
2231	* Makefile.am: (JACOCO_AGENT_JAVAWS_SWITCH) and (JACOCO_AGENT_PLUGIN_SWITCH)
2232	moved from xboot=true to inclbootstrapclasses=true which is now supported
2233	by upstream.
2234
22352014-10-17  Jiri Vanek  <jvanek@redhat.com>
2236
2237	Plain and main text formatters have more human readable urls
2238	* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/Formatter.java: only added formatting line
2239	* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/ManFormatter.java:
2240	removed overriding getUrl
2241	* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/PlainTextFormatter.java:
2242	same
2243	* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/ReplacingTextFormatter.java
2244	Implemented general getUrl for plaintexts in format readable (url), except
2245	cases where  readable do not exists or is same as url.
2246
22472014-10-17  Jiri Vanek  <jvanek@redhat.com>
2248
2249	Fixed jdk8 javadoc generation error
2250	* netx/net/sourceforge/jnlp/controlpanel/CommandLine.java: invalid link
2251	#allCommands replaced by plain optionsDefinitions.getItwsettingsCommands
2252
22532014-10-13  Fridrich Strba  <fridrich.strba@suse.com>
2254
2255	Removed all references to deprecated sun.misc.Ref
2256	* configure.ac: removed check for a sun.misc.Ref
2257	* netx/net/sourceforge/jnlp/util/ui/NonEditableTableModel.java: all occurrences
2258	of Vector<?> replaced by Vector. JDK9 compliant style.
2259	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: (getCachedImageRef)
2260	type of return value changed from Ref to AppletImageRef. Adapted imports.
2261
22622014-10-09  Jiri Vanek  <jvanek@redhat.com>
2263
2264	Empty "" codebase now behaves as "." codebase
2265	* file netx/net/sourceforge/jnlp/Parser.java: introduced CODEBASE constant
2266	to avoid duplicated String getAttribute  split to getCleanAttribute, which
2267	get the pure attribute, and remaining getAttribute keep adding null in case
2268	of empty
2269	* file netx/net/sourceforge/jnlp/security/SecurityDialogs.java: added
2270	workaround about possible null codebase
2271	* file tests/netx/unit/net/sourceforge/jnlp/ParserTest.java: added test for
2272	empty codebase
2273
22742014-10-08  Lukasz Dracz  <ldracz@redhat.com>
2275
2276	Standardize all options to use hyphens
2277	* netx/net/sourceforge/jnlp/OptionsDefinitions.java:
2278	itweb-settings options changed to have hyphens in front,
2279	added new enum to NumberOfArguments
2280	(getItwsettingsCommands): added headless, changed nodashhelp to help
2281	* netx/net/sourceforge/jnlp/controlpanel/CommandLine.java
2282	* netx/net/sourceforge/jnlp/resources/Messages.properties:
2283	(BOHelp, IBOCheck): modified (NOAevennumberorequalschar): added
2284
22852014-10-08  Jiri Vanek  <jvanek@redhat.com>
2286
2287	itw-plugin and itweb-settings documentation made localizable
2288	* Makefile.am: documentation root (DOCS_DIR) is now icedtea-web-docs/$(FULL_VERSION)
2289	(install-data-local) now can copy all man pages more simply  and from new DOCS_DIR
2290	(stamps/generate-docs.stamp) is adapted to new DOCS_DIR
2291	* netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java: minor fixes
2292	like removal of redeclared deployment properties and switch on strings
2293	* netx/net/sourceforge/jnlp/resources/Messages.properties: added missing brackets
2294	behind @@ hints, all icedtea-web replaced by IcedTea-Web, (CBCheckOkSignedOk)
2295	removed double space, added families of ITWS and ITWP
2296	* netx/net/sourceforge/jnlp/util/docprovider/ItwebPluginTextProvider.java: and
2297	* netx/net/sourceforge/jnlp/util/docprovider/ItwebSettingsTextsProvider.java:
2298	all texts moved to properties
2299
23002014-10-07  Jie Kang  <jkang@redhat.com>
2301
2302	Modified unit tests for CacheEntry and CacheLRUWrapper to prevent blocking.
2303	* netx/net/sourceforge/jnlp/cache/CacheEntry.java: comments for unlocking
2304	* netx/net/sourceforge/jnlp/util/PropertiesFile.java: same
2305	* netx/net/sourceforge/jnlp/util/lockingfile/LockedFile.java: same
2306	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheEntryTest.java: fixed
2307	multi-threaded tests to prevent blocking, and added timeout to threaded
2308	tests to prevent tests from blocking test runs
2309	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java: same
2310	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheTestUtils.java: utilities
2311	for cache tests
2312
23132014-10-07  Jie Kang  <jkang@redhat.com>
2314
2315	Changed ResourceTracker to use cached thread pool as opposed to manual
2316	thread management
2317	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
2318
23192014-10-07  Jiri Vanek  <jvanek@redhat.com>
2320
2321	Files, arguments types and icedtea-web man page made localizable
2322	* netx/net/sourceforge/jnlp/OptionsDefinitions.java: (NumberOfArguments)
2323	sentences moved to properties
2324	* netx/net/sourceforge/jnlp/config/PathsAndFiles.java: same
2325	* netx/net/sourceforge/jnlp/util/docprovider/IcedTeaWebTextsProvider.java: same
2326	* netx/net/sourceforge/jnlp/resources/Messages.properties: added families of
2327	ITW, NOA and FILE
2328	* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/Formatter.java:
2329	added getNewLine override with argument, number of new lines to be generated
2330	* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/ReplacingTextFormatter.java
2331	getNewLine(int i)  implemented
2332	* tests/netx/unit/net/sourceforge/jnlp/util/docprovider/formatters/formatters/FormatterTest.java
2333	getNewLine(int i) tested for all formatters
2334
23352014-10-07  Jiri Vanek  <jvanek@redhat.com>
2336
2337	Option parser now accept 0-n hyphens
2338	* launcher/launchers.in: regex matching for headless changed to * instead of 0-1
2339	* netx/net/sourceforge/jnlp/util/optionparser/OptionParser.java: added new
2340	method to removeLeadingHyphens. (stringEqualsOption) now sanitize both inputs
2341	by it.
2342	* tests/netx/unit/net/sourceforge/jnlp/util/optionparser/OptionParserTest.java:
2343	Added tests to verify none or more leading hyphens are correctly recognized.
2344	Added tests to verify hyphens elsewhere will not confuse parser.
2345
23462014-10-03  Lukasz Dracz  <ldracz@redhat.com>
2347
2348    IcedTea-Web Splashscreen allows zero or one hyphens preceding headless option
2349    * launcher/launchers.in: regex matching for headless
2350
23512014-09-22  Jiri Vanek  <jvanek@redhat.com>
2352
2353	Preventing rare class cast exception in erroneous detached applets
2354	* netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java: getSplashControler
2355	renamed to getSplashController. (getSplashController) added check for
2356	SplashController instance. Returning null if not so.
2357	* netx/net/sourceforge/jnlp/splashscreen/SplashUtils.java: adapted to renaming
2358	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/SplashUtilsTest.java:
2359	added (assertNulsAreOkInShow) test to check null values for showError methods
2360
23612014-09-19  Jie Kang  <jkang@redhat.com>
2362
2363    Modified Makefile.am to use whitelist when processing reproducers.
2364    * Makefile.am: Now filters reproducers using netx-dist-tests-whitelist
2365
23662014-09-19  Jie Kang  <jkang@redhat.com>
2367
2368    Added three keys to DeploymentConfiguration. Max cache size, cache enable,
2369    and cache compression enable.
2370    * netx/net/sourceforge/jnlp/CacheUtil.java: now uses keys
2371    * netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java:
2372    now uses keys
2373    * netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java:
2374
23752014-09-19  Jiri Vanek  <jvanek@redhat.com>
2376
2377	Translator made immutable
2378	* netx/net/sourceforge/jnlp/runtime/Translator.java: changed form enum to class,
2379	initialization handled by holder pattern, resources made final, removed
2380	loadResourceBundle, getMessage made protected.
2381	* tests/netx/unit/net/sourceforge/jnlp/runtime/TranslatorTest.java: (setup)
2382	(and all tests) now uses special instance based on fake resources. Added
2383	two tests to test singleton instance itself.
2384
23852014-09-18  Lukasz Dracz  <ldracz@redhat.com>
2386
2387	Added New Option Parser and used in boot of javaws
2388	* netx/net/sourceforge/jnlp/Launcher.java:
2389	(addProperties, addArguments, addParameters) refactored to take in
2390	a List<String> instead of String[]
2391	* netx/net/sourceforge/jnlp/OptionsDefinitions.java:
2392	added JNLP to enum OPTIONS
2393	* netx/net/sourceforge/jnlp/ParserSettings.java
2394	(setGlobalParserSettingsFromOptionParser): refactored to take in
2395	an OptionParser instead of args
2396	* netx/net/sourceforge/jnlp/runtime/Boot.java:
2397	Uses OptionParser to parse arguments for options and check whether
2398	an option is present. (getJNLPFile): changed to use OptionParser,
2399	and look for one main argument or one value from the JNLP option, if
2400	not present then throws an InvalidArgumentException
2401	* netx/net/sourceforge/jnlp/util/optionparser/InvalidArgumentException.java:
2402	added
2403	* netx/net/sourceforge/jnlp/util/optionparser/OptionParser.java:
2404	new file, a common parser for options and their values
2405	(parseContents): called in OptionParser constructor, parses and populates
2406	values in a map based on their option
2407	(findMainArg): Takes arguments and parses them backwards to find the
2408	first value that is eligible to be a main arg (not an option or a value
2409	for an option with one value)
2410	(addMainArg): adds the specified arg to main and removes it from its
2411	current placement in the map
2412	(stringEqualsOption): used to determine whether a string fits an option
2413	keyword irrespective if it has a leading dash or is followed by a equals char
2414	* tests/netx/unit/net/sourceforge/jnlp/ParserSettingsTest.java:
2415	(testSetGlobalParserSettingsFromOptionParser,
2416	testSetGlobalParserSettingsFromOptionParserHasSameOptionsAsOptionParser):
2417	added
2418	* tests/netx/unit/net/sourceforge/jnlp/util/optionparser/OptionParserTest.java:
2419	new file to test parser works as intended
2420
24212014-09-17  Jiri Vanek  <jvanek@redhat.com>
2422
2423	Javaws and PolicyEditor made localizable
2424	* Makefile.am: usage of $TP_TAIL fixed to be correctly $$TP_TAIL
2425	* netx/net/sourceforge/jnlp/resources/Messages.properties: added PE and JWS
2426	families
2427	* netx/net/sourceforge/jnlp/util/docprovider/JavaWsTextsProvider.java: and
2428	* netx/net/sourceforge/jnlp/util/docprovider/PolicyEditorTextsProvider.java:
2429	all strings moved to properties. Minor reformatting.
2430
24312014-09-15  Lukasz Dracz  <ldracz@redhat.com>
2432
2433	Fix itweb-settings Cache Panel Tooltip
2434	* netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java:
2435	Tooltip appears when spinner is enabled and hovered over
2436	* netx/net/sourceforge/jnlp/resources/Messages.properties:
2437	Removed not needed html tags
2438
24392014-09-15  Jie Kang  <jkang@redhat.com>
2440
2441    Moved translator responsibility from JNLPRuntime to Translator
2442    * netx/net/sourceforge/jnlp/runtime/Translator.java:
2443    * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java:
2444    (getMessage): moved from JNLPRuntime to Translator
2445    * netx/net/sourceforge/jnlp/runtime/TranslatorTest.java:
2446    added tests for translating using a ResourceBundle
2447
2448
24492014-09-15  Jie Kang  <jkang@redhat.com>
2450
2451    * netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java
2452    (getLRUSortedEntries): now creates a deeper copy of cacheOrder list
2453
24542014-09-13  Andrew Azores  <aazores@redhat.com>
2455
2456	* netx/net/sourceforge/jnlp/resources/Messages.properties
2457	(CertWarnHTTPSAcceptTip, CertWarnHTTPSRejectTip): new messages more
2458	applicable for HTTPS cert warning dialogs
2459	* netx/net/sourceforge/jnlp/security/dialogs/CertWarningPane.java:
2460	distinguish between HTTPS cert warnings and signed applet cert warnings.
2461	Display appropriate text labels and buttons corresponding to either case.
2462	* netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissionsButton.java:
2463	remove assertions for non-null file, securityDelegate, and linkedButton.
2464	Instead, if any are null, simply disable this component and do not add
2465	component listeners dependent upon these fields.
2466
24672014-09-10  Lukasz Dracz  <ldracz@redhat.com>
2468
2469	Refactor of the cache panel GUI in itweb-settings
2470	* netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java:
2471	Changed slider into a spinner for cache size, changed order of elements
2472	in the panel, added a checkbox to limit the cache size,
2473	added disabling of components based on whether they are needed
2474	* netx/net/sourceforge/jnlp/resources/Messages.properties
2475
24762014-09-10  Jie Kang  <jkang@redhat.com>
2477
2478    Changed CacheLRUWrapper to use PropertiesFile's provided locking system
2479    Added unit tests for CacheLRUWrapper
2480    * netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java
2481    * tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java
2482
24832014-09-10  Jie Kang  <jkang@redhat.com>
2484
2485	Added unit tests to PropertiesFile.java and refactored existing unit tests
2486	to not use external code.
2487	* tests/netx/unit/net/sourceforge/jnlp/util/PopertiesFileTest.java
2488
24892014-09-09  Jiri Vanek  <jvanek@redhat.com>
2490
2491	Outdated documentation replaced by documentation generation
2492	* Makefile.am: added (DOCS_DIR) pointing to target directory for generated docs
2493	(clean-local) and (.PHONY) now cleaning also clean-generated-docs
2494	(install-data-local) removed usage of old man pages, copied all generated
2495	man pages
2496	(uninstall-local) added removal of javaws_splash.png, all known man pages cleaned
2497	(stamps/generate-docs.stamp) new target, generates all known language mutations
2498	of all known man pages to correct directories.
2499	(stamps/netx-dist.stamp) depends on stamps/generate-docs.stamp
2500	(clean-generated-docs) new target, removes DOCS_DIR and stamp
2501	* netx/itweb-settings.1: removed
2502	* netx/javaws.1: removed
2503	* netx/policyeditor.1: removed
2504	* netx/net/sourceforge/jnlp/OptionsDefinitions.java: new class, contains
2505	definitions of all command-line arguments
2506	* netx/net/sourceforge/jnlp/about/AboutDialog.java:improved to contains
2507	window with generated localized help. Default welcome screen points to
2508	localized mutation (if available). Loading of pages made lazy, and only
2509	once per app. run. Added possibility to chose start page.
2510	* netx/net/sourceforge/jnlp/about/HTMLPanel.java: get rid of useless id
2511	* netx/net/sourceforge/jnlp/about/InternalHTMLPanel.java: extension of
2512	HTMLPanel, links are pointing to internal window (in HTMLPanel points to
2513	external browser)
2514	* netx/net/sourceforge/jnlp/config/Defaults.java: All files declarations
2515	moved to PathsAndFiles. Defaults array now uses those. Iteration in
2516	defaults now done by iterator.
2517	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java:  All files
2518	declarations moved to PathsAndFiles. Configuration now uses those.
2519	* netx/net/sourceforge/jnlp/config/PathsAndFiles.java: New file. Gathers
2520	all files declared in ITW.
2521	* netx/net/sourceforge/jnlp/config/Setting.java: added human readable toString
2522	* netx/net/sourceforge/jnlp/controlpanel/AboutPanel.java: set origin -
2523	itweb-settings.
2524	* netx/net/sourceforge/jnlp/controlpanel/CommandLine.java: options now uses
2525	OptionsDefinitions and runtime help now uses TextsProvider's instances.
2526	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java: uses PathsAndFiles
2527	* netx/net/sourceforge/jnlp/resources/Messages.properties: BOUsage and BOUsage2
2528	stripped for javaws keyword. Added (BOTrustnone), added IBO and PBO and man
2529	families. Removed PEUsage PEHelpFlag PEFileFlag  PECodebaseFlag, PEAboutDialogTitle
2530	PEAboutDialogContent CLHelpDescription SPLASHurl SPLASHurlLooks. All urls replaced by variables.
2531	* netx/net/sourceforge/jnlp/resources/Messages_cs.properties: fixed BAboutITW,rmeove
2532	* netx/net/sourceforge/jnlp/resources/Messages_de.properties: same
2533	* netx/net/sourceforge/jnlp/resources/Messages_pl.properties: same
2534	* netx/net/sourceforge/jnlp/resources/about.html: removed. replaced by generated,
2535	and localized one.
2536	* netx/net/sourceforge/jnlp/runtime/Boot.java: Handling of verbose moved to
2537	be one of first switches. All runtime helps moved to TextsProvider's instances.
2538	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/ExtendedAppletSecurityHelp.java:
2539	added parameter so (R).
2540	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java: All runtime
2541	helps moved to TextsProvider's instances. About policy editor replaced by About.help
2542	Modality of About dialog recognized on state of underlying dialogue. Added
2543	About icedtea-web menu entry.
2544	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorAboutDialog.java:
2545	removed unused (title)
2546	* netx/net/sourceforge/jnlp/splashscreen/impls/DefaultSplashScreens2012Commons.java:
2547	AboutDialog displayed with reason
2548	* netx/net/sourceforge/jnlp/splashscreen/parts/JEditorPaneBasedExceptionDialog.java:
2549	Links here replaced by TextsProviders constants.
2550	* netx/net/sourceforge/jnlp/util/docprovider/IcedTeaWebTextsProvider.java:
2551	implementation of TextsProvider for icedtea-web package
2552	* netx/net/sourceforge/jnlp/util/docprovider/ItwebPluginTextProvider.java:
2553	implementation of TextsProvider for plugin
2554	* netx/net/sourceforge/jnlp/util/docprovider/ItwebSettingsTextsProvider.java
2555	implementation of TextsProvider for itweb-settings
2556	* netx/net/sourceforge/jnlp/util/docprovider/JavaWsTextsProvider.java
2557	implementation of TextsProvider for javaws
2558	* netx/net/sourceforge/jnlp/util/docprovider/PolicyEditorTextsProvider.java
2559	implementation of TextsProvider for policy editor
2560	* netx/net/sourceforge/jnlp/util/docprovider/TextsProvider.java:
2561	New abstract class to handle basic operations on texts and defining abstract methods.
2562	* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/Formatter.java
2563	Definition interface for any Formatter used by TextsProvider
2564	* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/HtmlFormatter.java
2565	html markup adding Formatter
2566	* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/ManFormatter.java
2567	man pages  markup adding Formatter
2568	* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/PlainTextFormatter.java
2569	no markup adding Formatter
2570	* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/ReplacingTextFormatter.java
2571	Stub for all formatters needing text substituitons.
2572	* netx/net/sourceforge/jnlp/util/logging/UnixSystemLog.java:
2573	Links here replaced by TextsProviders constants.
2574
25752014-09-02  Jie Kang  <jkang@redhat.com>
2576
2577	Fixed CacheUtils clearCache method to also clear the Least Recently Used
2578	entries.
2579	* netx/net/sourceforge/jnlp/cache/CacheUtil.java:
2580
25812014-08-20  Jie Kang  <jkang@redhat.com>
2582
2583	Improved CacheEntry locking system to respect threads and processes.
2584	* netx/net/sourceforge/jnlp/cache/CacheEntry.java
2585	(lock), (unlock): now uses PropertiesFile lock instead of CacheUtil
2586	(tryLock), (isHeldByCurrentThread): added functions
2587	* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java: moved unlock
2588	calls into finally blocks
2589	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: lock and unlock
2590	no longer needed and are removed
2591	* netx/net/sourceforge/jnlp/util/PropertiesFile.java: now uses LockedFile
2592	and has methods to lock/trylock/unlock.
2593	* netx/net/sourceforge/jnlp/util/LockedFile.java
2594	(tryLock), (isHeldByCurrentThread): added functions
2595	(unlock): no longer attempts unlock unless lock is held by current thread
2596	and process
2597	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheEntryTest.java: 6 new
2598	tests for the locking mechanism (testLock), (testUnlock),
2599	(testStoreFailsWithoutLock), (testStoreWorksWithLock),
2600	(testMultithreadLockPreventsWrite), (testMultithreadLockAllowsRead)
2601	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java:
2602	moved unlock calls into finally blocks
2603
26042014-08-20  Jie Kang  <jkang@redhat.com>
2605
2606	Renamed Resource Status Enum fields to better describe their meaning.
2607	CONNECT is now PRECONNECT, DOWNLOAD is now PREDOWNLOAD and STARTED is
2608	now PROCESSING.
2609	* netx/net/sourceforge/jnlp/cache/Resource.java: rename enum usages
2610	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java: same
2611	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTest.java: same
2612	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java: same
2613
26142014-08-05  Jiri Vanek  <jvanek@redhat.com>
2615
2616	Massively improved offline abilities. Added Xoffline switch to force work without inet connection.
2617	* NEWS: updated
2618	* netx/net/sourceforge/jnlp/JNLPFile.java: (openURL) is now using properly
2619	cached file instead of direct online one.
2620	* netx/net/sourceforge/jnlp/Launcher.java: launcher now can run offline-only
2621	jnlp files if Xoffline specified.
2622	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: removed suspicious removal
2623	of http/https dirs in cache
2624	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java: misleading
2625	(getInputStream) method removed (initializeResource) check for connection
2626	before downlaodin (unless Xforceoffline specified). If environment is offline
2627	it do not attempt any url connections or writing to cache
2628	* netx/net/sourceforge/jnlp/resources/Messages.properties: added (BXoffline)
2629	description
2630	* netx/net/sourceforge/jnlp/runtime/Boot.java: added help and read for Xoffline
2631	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: added flags of (offlineForced)
2632	and (onlineDetected) with getters and setters. Added utility method (detectOnline)
2633	to recognize whether environment is onliune by resovling inet addres of	host
2634	of not file url.
2635	* netx/net/sourceforge/jnlp/services/XBasicService.java: (isOffline) now uses
2636	above implemented mechanism.
2637	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: now writes real url into
2638	desktop icon
2639
26402014-08-05  Andrew Azores  <aazores@redhat.com>
2641            Lukasz Dracz  <ldracz@redhat.com>
2642
2643    Refactored copy paste to use System Clipboard in PolicyEditor.
2644    Parsing refactored to use Strings instead of requiring a file.
2645    * netx/net/sourceforge/jnlp/resources/Messages.properties
2646    (PEClipboardError, PEInvalidPolicy, PEClipboardAccessError): added
2647    * netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
2648    (renameCodebaseButtonAction, copyCodebaseButtonAction, pasteCodebaseButtonAction):
2649    changed functionality to call methods from PolicyEditorController
2650    that use system clipboard
2651    * netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorController.java
2652    (addPolicyEntry): added
2653    (openAndParsePolicyFile): throws new exception InvalidPolicyException
2654    (copyCodebaseToClipboard, getClipboardContentAsString, getPolicyEntryFromClipboard,
2655    getCodebaseFromClipboard, getPermissionsFromClipboard,
2656    getCustomPermissionsFromClipboard): new methods
2657    * netx/net/sourceforge/jnlp/security/policyeditor/PolicyEntry.java
2658    (getCodebase, getPermissions, getCustomPermissions, fromString,
2659    validatePolicy): new overloaded methods
2660    * netx/net/sourceforge/jnlp/security/policyeditor/PolicyFileModel.java
2661    all methods made synchronized (openAndParsePolicyFile): extracted and modified
2662    parsing logic
2663    (parsePolicyString): new method
2664    (clearPermissions): also clears Custom Permissions now
2665    * netx/net/sourceforge/jnlp/security/policyeditor/InvalidPolicyException.java:
2666    added new exception
2667    * netx/net/sourceforge/jnlp/security/policyeditor/CustomPermission.java
2668    (equals, hashCode): Override these methods to be able to compare custom permissions.
2669    New constructors for custom permission, one of the constructors takes only PermissionType, PermissionTarget
2670    and the other takes an additional PermissionActions
2671    * tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/CustomPermissionTest.java,
2672    * tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEditorParsingTest.java,
2673    * tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEditorTest.java,
2674    * tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEditorControllerTest.java,
2675    * tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEntryTest.java,
2676    * tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyFileModelTest.java:
2677    added new unit tests
2678
26792014-08-05  Andrew Azores  <aazores@redhat.com>
2680
2681	Small bug fix (security hole) for previous PR1769 patch. This patch closes
2682	a hole where very specifically formulated partially signed applets could
2683	maintain fully signed privileges (all-permissions), even for their
2684	unsigned components.
2685	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
2686	(initializeResources): ensure that the 'signing' field is properly set for
2687	partially signed applets and that applets with an external main class are
2688	properly detected.
2689
26902014-08-01  Andrew Azores  <aazores@redhat.com>
2691
2692	Fixed support for signed applets which specify the Permissions attribute
2693	as "sandbox" in their manifests. These applets are now properly run
2694	sandboxed automatically, rather than requiring the user to click the
2695	"Sandbox" run button.
2696	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
2697	(JNLPClassLoader): manifest attributes checking and security settings
2698	moved inside initializeResources
2699	(initializePermissions): renamed (initializeReadJarPermissions). Redundant
2700	null-check removed
2701	(initializeResources): do not set entries in jarLocationSecurityMap until
2702	after prompting the user on whether to run the applet as well as
2703	performing manifest attribute checks. A new Collection (validJars) is used
2704	to hold available and valid JARs between discovering the JARs and applying
2705	any security settings to the them
2706	(initializeManifestAttributesChecker): new method
2707	(getJnlpFileCodebase): new method, extracted from initializeResources
2708	(SecurityDelegateImpl.setRunInSandbox): throw exception if already forced
2709	to run in sandbox, rather than if already prompted
2710	* netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java
2711	(isLowSecurity): new method
2712	(checkAll): Extended Applet Security on Low disables all manifest checks
2713	except for Permissions
2714	(checkPermissionsAttribute): do not skip checking if Extended Applet
2715	Security is Low. Remove try/catch on setRunInSandbox call as this is now
2716	supported.
2717	(checkApplicationLibraryAllowableCodebaseAttribute): do not display dialog
2718	prompts on low security, allow the applet to run without prompt
2719	* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java
2720	(newSecurityAttributesTest): set JAR manifest to have Permissions:
2721	all-permissions, since this is a JNLP and JAR is signed and so 'sandbox'
2722	is not actually allowed
2723	* tests/test-extensions/net/sourceforge/jnlp/mock/DummyJNLPFile.java:
2724	properly initialize 'security' field rather than overriding getSecurity
2725	* tests/test-extensions/net/sourceforge/jnlp/mock/DummyJNLPFileWithJar.java:
2726	same
2727	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/resources/PartiallySignedAppletManifestSpecifiesAllPermissionSigned.html:
2728	new tests
2729	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/resources/PartiallySignedAppletManifestSpecifiesAllPermissionSigned.jnlp
2730	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/resources/PartiallySignedAppletManifestSpecifiesAllPermissionSignedJNLPhref.html
2731	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/resources/PartiallySignedAppletManifestSpecifiesAllPermissionUnsigned.html
2732	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/resources/PartiallySignedAppletManifestSpecifiesAllPermissionUnsigned.jnlp
2733	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/resources/PartiallySignedAppletManifestSpecifiesAllPermissionUnsignedJNLPhref.html
2734	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/resources/PartiallySignedAppletManifestSpecifiesSandboxSigned.html
2735	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/resources/PartiallySignedAppletManifestSpecifiesSandboxSigned.jnlp
2736	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/resources/PartiallySignedAppletManifestSpecifiesSandboxSignedJNLPhref.html
2737	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/resources/PartiallySignedAppletManifestSpecifiesSandboxUnsigned.html
2738	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/resources/PartiallySignedAppletManifestSpecifiesSandboxUnsigned.jnlp
2739	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/resources/PartiallySignedAppletManifestSpecifiesSandboxUnsignedJNLPhref.html
2740	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/resources/PartiallySignedApplicationManifestSpecifiesAllPermissionSigned.jnlp
2741	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/resources/PartiallySignedApplicationManifestSpecifiesAllPermissionUnsigned.jnlp
2742	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/resources/PartiallySignedApplicationManifestSpecifiesSandboxSigned.jnlp
2743	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/resources/PartiallySignedApplicationManifestSpecifiesSandboxUnsigned.jnlp
2744	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/srcs/MANIFEST.MF.1
2745	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/srcs/MANIFEST.MF.2
2746	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/srcs/Makefile
2747	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/srcs/PartiallySignedAppletManifestSpecifiesSandboxSigned.java
2748	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/srcs/PartiallySignedAppletManifestSpecifiesSandboxUnsigned.java
2749	* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/testcases/PartiallySignedAppletManifestSpecifiesSandboxTests.java
2750	* tests/reproducers/signed/SignedAppletManifestSpecifiesSandbox/resources/SignedAppletManifestSpecifiesSandbox.html
2751	* tests/reproducers/signed/SignedAppletManifestSpecifiesSandbox/resources/SignedAppletManifestSpecifiesSandboxApplet.jnlp
2752	* tests/reproducers/signed/SignedAppletManifestSpecifiesSandbox/resources/SignedAppletManifestSpecifiesSandboxApplication.jnlp
2753	* tests/reproducers/signed/SignedAppletManifestSpecifiesSandbox/resources/SignedAppletManifestSpecifiesSandboxJnlpHref.html
2754	* tests/reproducers/signed/SignedAppletManifestSpecifiesSandbox/srcs/META-INF/MANIFEST.MF
2755	* tests/reproducers/signed/SignedAppletManifestSpecifiesSandbox/srcs/SignedAppletManifestSpecifiesSandbox.java
2756	* tests/reproducers/signed/SignedAppletManifestSpecifiesSandbox/testcases/SignedAppletManifestSpecifiesSandboxTests.java
2757
27582014-08-01  Jiri Vanek  <jvanek@redhat.com>
2759
2760	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: casts to
2761	(JNLPClassLoader) DID guarded by instanceof
2762
27632014-07-31  Andrew Azores  <aazores@redhat.com>
2764
2765	Add URLPermission support to SecurityDesc. This is essentially Java 8
2766	support, as URLPermission is new to Java 8 and required for many applets
2767	to continue working when a Java 8-compatible JVM is in use.
2768	* netx/net/sourceforge/jnlp/SecurityDesc.java (urlPermissionClass,
2769	urlPermissionConstructor): new static variables for storing references to
2770	URLPermission, if available, for reflective construction at runtime
2771	(getSandboxPermissions): adds URLPermissions to sandbox permissions set,
2772	if available (Java 8+)
2773	(getUrlPermissions): new method for getting URLPermissions for the current
2774	SecurityDesc
2775	(getHostWithSpecifiedPort, appendRecursiveSubdirToCodebaseHostString): new
2776	static helper methods for generating URLPermissions' constructor args
2777	* tests/netx/unit/net/sourceforge/jnlp/SecurityDescTest.java
2778	(testNotNullJnlpFile): cleanup refactor, no semantic change
2779	(testNullJnlpFile, testAppendRecursiveSubdirToCodebaseHostString,
2780	testAppendRecursiveSubdirToCodebaseHostString2,
2781	testAppendRecursiveSubdirToCodebaseHostString3,
2782	testAppendRecursiveSubdirToCodebaseHostStringWithPort,
2783	testAppendRecursiveSubdirToCodebaseHostStringWithNull,
2784	testGetHostWithSpecifiedPort, testGetHostWithSpecifiedPortWithFtpScheme,
2785	testGetHostWithSpecifiedPortWithUserInfo,
2786	testGetHostWithSpecifiedPOrtWithPort,
2787	testGetHostWithSpecifiedPortWithPath, testGetHostWithSpecifiedPortWithAll,
2788	testGetHostWithSpecifiedPortWithNull, testGetHost,
2789	testGetHostWithFtpScheme, testGetHostWithUserInfo, testGetHostWithPort,
2790	testGetHostWithPath, testGetHostWithAll, testGetHostNull,
2791	testGetHostWithAppendRecursiveSubdirToCodebaseHostString,
2792	testGetHostWithSpecifiedPortWithAppendRecursiveSubdirToCodebaseHostString):
2793	new test methods
2794
27952014-07-31  Andrew Azores  <aazores@redhat.com>
2796
2797	Added "File - New" action to PolicyEditor
2798	* netx/net/sourceforge/jnlp/resources/Messages.properties (PETitle):
2799	PolicyEditor, not Policy Editor.
2800	(PETitleWithPath): new message used for PolicyEditor window title bar
2801	(PETitleWithChangesMade): same
2802	(PENewMenuItem): new message
2803	(PEAddCodebaseItem): added ellipsis
2804	(PEPasteCodebaseItem): same
2805	(PENewMenuItemMnemonic): new message
2806	(PEAddCodebaseItemAccelerator): C-S-n rather than just C-n
2807	(PENewMenuItemAccelerator): new message, C-n
2808	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java: added
2809	"New" item to "File" menu.
2810	(setFile): new method.
2811	(newButtonAction): new field
2812	(openButtonAction): "save changes made" dialog extracted into new method
2813	(promptOnSaveChangesMade): new method
2814	(setParentWindowTitle): new method
2815	(getWindowTitleForStatus): new method
2816	(getFile): new method
2817	(createMenuBar): added New item to File menu
2818	(removeCodebase): add setChangesMade call
2819	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorController.java
2820	(openAndParsePolicyFile): use setPerformingIO rather than direct access
2821	(savePolicyFile): same
2822	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyFileModel.java
2823	(setFile): allow null file to facilitate "new file" without a location set
2824	(saveFile): set new fileWatcher every time, not only if file was
2825	previously null
2826
28272014-07-30  Andrew Azores  <aazores@redhat.com>
2828			Lukasz Dracz  <ldracz@redhat.com>
2829
2830	* netx/net/sourceforge/jnlp/resources/Messages.properties
2831	(PEHelpMenu, PEAboutPolicyEditorItem, PEPolicyEditorHelpItem,
2832	PEAboutDialogTitle, PEAboutDialogContent, PEHelpDialogTitle,
2833	PEHelpDialogContent, PEHelpMenuMnemonic, PEAboutPolicyEditorItemMnemonic,
2834	PEPolicyEditorHelpItemMnemonic, PEAboutPolicyEditorCloseAccelerator):added
2835	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
2836	(policyEditorHelpButtonAction, aboutPolicyEditorButtonAction): added and used
2837	to open dialogs
2838	(helpMenu, aboutPolicyEditorItem, policyEditorHelpItem): added
2839	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorAboutDialog.java
2840	Implements a frame that uses a textpane which takes html within a scrollpane
2841	to show dialogs in.
2842	(close, setupLayout): added
2843	(CloseKeyListener): added class
2844
28452014-07-30  Jie Kang  <jkang@redhat.com>
2846
2847	* NEWS: added mention of fixes to Java Console and itweb-settings UI as
2848	well as fix to method overloading resolution
2849
28502014-07-30  Andrew Azores  <aazores@redhat.com>
2851
2852	* NEWS: added mention of PolicyEditor mnemonics and accelerators overhaul,
2853	PolicyEditor bug fix where "cancel" on the "save before exit" dialog would
2854	exit without saving changes
2855
28562014-07-30  Andrew Azores  <aazores@redhat.com>
2857
2858	* NEWS: added mention of RH1121549 fix
2859
28602014-07-30  Andrew Azores  <aazores@redhat.com>
2861
2862	Fixes for coverity issues discovered in RH1121549
2863	* plugin/icedteanp/IcedTeaNPPlugin.cc (ITNP_New): print error message and
2864	return error if JVM fails to start.
2865	(NP_Initialize): fix missing argument to PLUGIN_ERROR when unable to
2866	create data directory
2867	* plugin/icedteanp/IcedTeaParseProperties.cc (get_log_dir): refactored to
2868	reduce duplicate code, use IcedTeaPluginUtils.create_dir, and enhanced
2869	warning messages
2870	* plugin/icedteanp/IcedTeaPluginUtils.cc (create_dir, is_directory): new
2871	functions
2872	* plugin/icedteanp/IcedTeaPluginUtils.h: same
2873	* plugin/icedteanp/IcedTeaScriptablePluginObject.cc (setProperty): do not
2874	erroneously redeclare java_result
2875	* tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc
2876	(is_directory, create_dir): new tests.
2877	(file_exists): added assertion that directories satisfy file_exists
2878
28792014-07-28  Jie Kang  <jkang@redhat.com>
2880
2881	Fixed TeeOutputStream to accept multi-byte encodings.
2882	* netx/net/sourceforge/jnlp/util/logging/TeeOutputStream.java: Now uses
2883	ByteArrayOutputStream instead of StringBuffer
2884	* tests/netx/unit/net/sourceforge/jnlp/util/logging/TeeOutputStreamTest.java:
2885
28862014-07-28  Jie Kang  <jkang@redhat.com>
2887
2888	Made adjustments to the MethodOverloadResolver to follow LiveConnect
2889	specification when dealing with superclasses.
2890	* tests/reproducers/simple/JSToJFuncResol/testcases/JSToJFuncResolTest.java:
2891	Removed Known to Fail annotation on test case that is now fixed.
2892	* plugin/icedteanp/java/sun/applet/MethodOverloadResolver.java
2893	Added distance calculation for comparing superclass resolutions.
2894
28952014-07-28  Jie Kang  <jkang@redhat.com>
2896
2897	Fix to Java ConsoleOutputPane for lower resolutions. Addresses bug
2898	PR1859 where part of the pane is hidden and unnaccessible when
2899	clicking "Show Details".
2900	* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java:
2901
29022014-07-28  Jie Kang  <jkang@redhat.com>
2903
2904	Fix to Control Panel UI for lower resolutions. Addresses bug
2905	PR1856 where part of the dialog is hidden and unaccessible
2906	on lower resolutions such as 800 x 600.
2907	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java:
2908	* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java:
2909
29102014-07-22  Fridrich Strba  <fridrich.strba@suse.com>
2911
2912	* plugin/icedteanp/IcedTeaPluginUtils.cc (flush_pre_init_messages):
2913	Return NULL explicitly.
2914
29152014-07-14  Andrew Azores  <aazores@redhat.com>
2916
2917	PolicyEditor mnemonics and accelerators overhaul
2918	* netx/net/sourceforge/jnlp/resources/Messages.properties (PECodebaseMenu,
2919	PERenameCodebaseItem, PECopyCodebaseItem, PEPasteCodebaseItem,
2920	PECopyCodebaseToClipboardItem, PEFileMenuMnemonic, PECodebaseMenuMnemonic
2921	PEViewMenuMnemonic, PEAddCodebaseItem, PERemoveCodebaseItem): removed "codebase"
2922	from item labels, "Edit" menu renamed "codebase"
2923	(PEAddCodebaseMnemonic, PEAddCodebaseItemMnemonic, PERemoveCodebaseMnemonic,
2924	PERemoveCodebaseItemMnemonic, PEOpenMenuItemMnemonic, PESaveMenuItemMnemonic,
2925	PEExitMenuItemMnemonic, PECustomPermissionsItemMnemonic,
2926	PECopyCodebaseItemMnemonic, PEPasteCodebaseItemMnemonic,
2927	PECopyCodebaseToClipboardItemMnemonic, PESaveAsMenuItemMnemonic,
2928	PERenameCodebaseItemMnemonic): updated mnemonics
2929	(PEAddCodebaseItemAccelerator, PERemoveCodebaseItemAccelerator,
2930	PEOpenMenuItemAccelerator, PESaveMenuItemAccelerator,
2931	PESaveAsMenuItemAccelerator, PEExitMenuItemAccelerator,
2932	PECustomPermissionsItemAccelerator, PECopyCodebaseItemAccelerator,
2933	PEPasteCodebaseItemAccelerator, PERenameCodebaseItemAccelerator,
2934	PECopyCodebaseToClipboardItemAccelerator): added accelerators
2935	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
2936	(closeButtonAction): set in PolicyEditor constructor rather than
2937	setupPolicyEditorWindow
2938	(setupPolicyEditorWindow): do not set save/quit/esc actions
2939	(setAccelerators, setAccelerator, setAddCodebaseAccelerator,
2940	setRemoveCodebaseAccelerator): removed
2941	(setButtonMnemonic): simplified, takes a String expected to be a single
2942	character representing the mnemonic key directly, rather than a String
2943	parseable to an integer which represented the value of the mnemonic key
2944	(setMenuItemAccelerator): new method
2945	(createMenuBar): use new mnemonics and accelerators, add new Add/Remove
2946	items to Codebase menu, override JList default Control-C/Control-V
2947	copy/paste actions
2948	(setupLayout): groupCh MouseListener#mouseClicked logic extracted to
2949	toggleExpandedCheckboxGroupPanel, KeyListener added to allow expanding
2950	checkbox groups via keyboard with Enter or "Context Menu"
2951	(toggleExpandedCheckboxGroupPanel): new method
2952
29532014-07-11  Andrew Azores  <aazores@redhat.com>
2954
2955	Fixed bug where the "Cancel" option on the "save changes before exiting"
2956	dialog would be ignored and the window close without saving
2957	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
2958	(preparePolicyEditorWindow): default close operation NONE rather than
2959	dispose
2960	(setupPolicyEditorWindow): do not automatically dispose on window close
2961
29622014-07-08  Emmanuel Bourg  <ebourg@apache.org>
2963
2964	* netx/policyeditor.1: Escaped the minus signs in the policyeditor manpage
2965
29662014-07-03  Jacob Wisor  <gitne@gmx.de>
2967
2968	* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java: Fix
2969	handling of UI controls
2970	(ConsoleOutputPane) Add set enabled state of headers JCheckBoxes with new
2971	setHeadersCheckBoxesEnabled() method depending on showHeaders' saved
2972	configuration selected state
2973	Add set enabled state of messages JCheckBox with new
2974	setMessagesCheckBoxesEnabled method depending on showMessage's selected
2975	state on initialization
2976	Add set enabled state of refresh JButton reciprocally to autorefresh
2977	JCheckBox's selected state on initialization
2978	(createDefaultAction) Add null check on argument of public method
2979	Add call to new setHeadersCheckBoxesEnabled() method with showHeaders'
2980	selected state when clicked
2981	Add call to new setMessagesCheckBoxesEnabled() method with showMessage's
2982	selected state when clicked
2983	Add set enabled state of refresh JButton reciprocally to autorefresh
2984	JCheckBox's selected state
2985	(initComponents) Add default ActionListener to autorefresh JCheckBox
2986	(setHeadersCheckBoxesEnabled) Add new method
2987	Sets enabled state of showUser, showOrigin, showLevel, showDate, showCode,
2988	showThread1, and showThread2 depending on parameter passed in
2989	(setMessagesCheckBoxesEnabled) Add new method
2990	Sets enabled state of showOut, showErr, showJava, showPlugin, showDebug,
2991	showInfo, showItw, and showApp depending on parameter passed in
2992
29932014-07-03  Jiri Vanek  <jvanek@redhat.com>
2994
2995	* tests/netx/unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java
2996	removed useless iterations of all resources against all. Kept only all against
2997	default.  Preferred diamonds and for each against full declarations and old-style
2998	fors.
2999
30002014-06-30  Andrew Azores  <aazores@redhat.com>
3001
3002	Runnables to be invoked on the EDT are invoked immediately if the current
3003	thread is already the EDT, rather than being queued for invocation later.
3004	invokeRunnableOrEnqueueLater replaces SwingUtilities.invokeLater to
3005	achieve this.
3006	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
3007	(updateCheckboxes): uses invokeRunnableOrEnqueueAndWait
3008	(updateCheckboxesInvokeAndWait): removed
3009	(invokeRunnableOrEnqueueAndWait, invokeRunnableOrEnqueueLater): new
3010	methods
3011
30122014-06-26  Jacob Wisor  <gitne@gmx.de>
3013
3014	* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java: Formatting
3015	fixes & cleanup
3016	Made final classes, members, and variables final
3017
30182014-06-26  Jacob Wisor  <gitne@gmx.de>
3019
3020	* netx/net/sourceforge/jnlp/resources/Messages_pl.properties: Add new PL
3021	localized messages
3022
30232014-06-25  Andrew Azores  <aazores@redhat.com>
3024
3025	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java:
3026	(setupLayout): use SwingUtilities.getWindowAncestor() rather than manually
3027	searching
3028
30292014-06-24  Andrew Azores  <aazores@redhat.com>
3030
3031	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: removed hunk of
3032	old commented out code, updated comment on reason for
3033	JNLPRuntime.reloadPolicy()
3034
30352014-06-19  Jie Kang  <jkang@redhat.com>
3036
3037	Refactored Live-Connect (java-js) test cases to fix race condition between
3038	JS and J-applet. Checked each test and marked tests known to fail
3039	correctly. Removed and replaced deprecated code usage.
3040	* tests/reproducers/simple/JSObjectFromEval/resources/JSObjectFromEval.html
3041	* tests/reproducers/simple/JSObjectFromEval/resources/JSObjectFromEval.js
3042	* tests/reproducers/simple/JSObjectWithoutToString/resources/JSObjectWithoutToString.html
3043	* tests/reproducers/simple/JSObjectWithoutToString/resources/JSObjectWithoutToString.js
3044	* tests/reproducers/simple/JSToJFuncParam/resources/JSToJFuncParam.html
3045	* tests/reproducers/simple/JSToJFuncParam/resources/JSToJava_FuncParam.js
3046	* tests/reproducers/simple/JSToJFuncParam/srcs/JSToJFuncParam.java
3047	* tests/reproducers/simple/JSToJFuncParam/testcases/JSToJFuncParamTest.java
3048	* tests/reproducers/simple/JSToJFuncResol/resources/JSToJFuncResol.html
3049	* tests/reproducers/simple/JSToJFuncResol/resources/JSToJava_FuncResol.js
3050	* tests/reproducers/simple/JSToJFuncResol/srcs/JSToJFuncResol.java
3051	* tests/reproducers/simple/JSToJFuncResol/testcases/JSToJFuncResolTest.java
3052	* tests/reproducers/simple/JSToJFuncReturn/resources/JSToJFuncReturn.html
3053	* tests/reproducers/simple/JSToJFuncReturn/resources/JSToJava_FuncReturn.js
3054	* tests/reproducers/simple/JSToJFuncReturn/srcs/JSToJFuncReturn.java
3055	* tests/reproducers/simple/JSToJFuncReturn/testcases/JSToJFuncReturnTest.java
3056	* tests/reproducers/simple/JSToJGet/resources/JSToJGet.html
3057	* tests/reproducers/simple/JSToJGet/resources/JSToJ_auxiliary.js
3058	* tests/reproducers/simple/JSToJGet/resources/JSToJava_Get.js
3059	* tests/reproducers/simple/JSToJGet/srcs/JSToJGet.java
3060	* tests/reproducers/simple/JSToJGet/testcases/JSToJGetTest.java
3061	* tests/reproducers/simple/JSToJSet/resources/JSToJSet.html
3062	* tests/reproducers/simple/JSToJSet/resources/JSToJava_Set.js
3063	* tests/reproducers/simple/JSToJSet/srcs/JSToJSet.java
3064	* tests/reproducers/simple/JSToJSet/testcases/JSToJSetTest.java
3065	* tests/reproducers/simple/JSToJTypeConv/resources/JSToJTypeConv.html
3066	* tests/reproducers/simple/JSToJTypeConv/resources/JSToJava_TypeConv.js
3067	* tests/reproducers/simple/JToJSString/resources/JToJSString.html
3068	* tests/reproducers/simple/JToJSString/resources/JToJSString.js
3069	* tests/reproducers/simple/JToJSString/resources/JToJSStringJnlpApplet.html
3070	* tests/reproducers/simple/JToJSString/resources/JSTest.js
3071	* tests/reproducers/simple/JavascriptFuncParam/resources/JavascriptFuncParam.html
3072	* tests/reproducers/simple/JavascriptFuncParam/srcs/JavascriptFuncParam.java
3073	* tests/reproducers/simple/JavascriptFuncParam/testcases/JavascriptFuncParamTest.java
3074	* tests/reproducers/simple/JavascriptFuncReturn/resources/JavascriptFuncReturn.html
3075	* tests/reproducers/simple/JavascriptFuncReturn/srcs/JavascriptFuncReturn.java
3076	* tests/reproducers/simple/JavascriptGet/resources/JavascriptGet.html
3077	* tests/reproducers/simple/JavascriptGet/resources/Javascript_Get.js
3078	* tests/reproducers/simple/JavascriptGet/srcs/JavascriptGet.java
3079	* tests/reproducers/simple/JavascriptSet/resources/JavascriptSet.html
3080	* tests/reproducers/simple/JavascriptSet/resources/Javascript_Set.js
3081	* tests/reproducers/simple/JavascriptSet/srcs/JavascriptSet.java
3082	* tests/reproducers/simple/JavascriptSet/testcases/JavascriptSetTest.java
3083	* tests/reproducers/simple/JavascriptURLProtocol/resources/JavascriptProtocol.html
3084	* tests/reproducers/simple/JavascriptURLProtocol/resources/JavascriptProtocol.js
3085	* tests/reproducers/simple/JavascriptFuncReturn/resources/Javascript_FuncReturn.js
3086
30872014-06-19  Jiri Vanek  <jvanek@redhat.com>
3088
3089	* NEWS: mentioned All JDKs ability, DE localization, JDK6 incompatibility
3090	and KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK
3091
30922014-06-19  Andrew Azores  <aazores@redhat.com>
3093
3094	* NEWS: added PolicyEditor and TemporaryPermissions 1.6 news
3095
30962014-06-19  Andrew Azores  <aazores@redhat.com>
3097
3098	* netx/net/sourceforge/jnlp/security/policyeditor/CustomPermission.java:
3099	added 2-arg constructor for permissions without actions
3100	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/CustomPermissionTest.java
3101	(testToStringWithoutActions) renamed testToStringWithEmptyActions
3102	(testToStringWithNoActions) new test
3103	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/CustomPolicyViewerTest.java
3104	(PERMISSION) uses 2-arg constructor
3105	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEditorTest.java
3106	(testAddCustomPermission) renamed testAddCustomPermissionEmptyActions
3107	(testClearCustomPermissions) renamed testClearCustomPermissionsEmptyActions
3108	(testAddCustomPermissionNoActions) new test
3109	(testClearCustomPermissionsNoActions) new test
3110
31112014-06-19  Kurt Miller  <kurt@intricatesoftware.com>
3112
3113	Fixed PR1743 - Intermittant deadlock in PluginRequestProcessor
3114	* NEWS: added PR1743
3115	* plugin/icedteanp/IcedTeaNPPlugin.cc:  declaration of cond_message_available
3116	moved to PluginRequestProcessor class
3117	* plugin/icedteanp/IcedTeaNPPlugin.h: removed external cond_message_available search
3118	* plugin/icedteanp/IcedTeaPluginRequestProcessor.h: message_queue_mutex,
3119	syn_write_mutex and message_queue moved to PluginRequestProcessor clas.
3120	Constructor, destructor and newMessageOnBus declarationmoved to end of class.
3121	declared queueProcessorThread method.
3122	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc: Removed declaration of
3123	static message_queue_mutex, syn_write_mutex, message_queue. (PluginRequestProcessor)
3124	constructor and destructor and (newMessageOnBus) are now using the fields from
3125	PluginRequestProcessor class. new method of (queue_wait_cleanup)  to unlock mutex
3126	added. (queue_processor) is now calling queueProcessorThread. Implemented
3127	(queueProcessorThread), which uses setMember, call , eval and loadUrl rather
3128	then processor->, versions. If no message_parts are available,  the cleanup  is done
3129	only if message_queue is empty.
3130
31312014-06-18  Jacob Wisor  <gitne@gmx.de>
3132
3133	* netx/net/sourceforge/jnlp/resources/Messages.properties (BOredirect)
3134	(CCannotClearCache, CFakedCache, CONSOLEClean, CVCPCleanCache)
3135	(CVCPCleanCacheTip): Fixed language in some messages
3136	* netx/net/sourceforge/jnlp/resources/Messages_de.properties: Add new DE
3137	localized messages
3138
31392014-06-17  Andrew Azores  <aazores@redhat.com>
3140
3141	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
3142	(openAndParsePolicyFile): check if listModel already contains an element
3143	before adding a potential duplicate
3144	(addNewCodebase): perform the check for if the codebase is a duplicate
3145	when actually adding the codebase to the listModel, rather than beforehand
3146	and updating the UI in an invokeLater, which can cause a race
3147
31482014-06-17  Andrew Azores  <aazores@redhat.com>
3149
3150	Some PolicyEditor logic extracted into new class PolicyEditorController to
3151	allow different UIs to be built without invoking any main PolicyEditor UI
3152	* netx/net/sourceforge/jnlp/security/policyeditor/CustomPolicyViewer.java
3153	(updateCustomPermissions): give "true" as param for setChangesMade
3154	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
3155	(policyFile, changesMade, performingIO): moved into
3156	PolicyEditorController. All policyFile references changed to use
3157	policyEditorController instead
3158	(policyEditorController): new field
3159	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorController.java:
3160	new class to provide implementation of and programmatic interface for
3161	major PolicyEditor actions, to allow other UIs to be built in the future
3162	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEditorTest.java
3163	(setNewTempfile): while-loop for waiting for PolicyEditor IO to complete
3164	changed to do-while
3165	(testAddMultipleCodebases, testCodebaseTrailingSlashesDoNotMatch):
3166	editor.addNewCodebases has been removed, using editor.addNewCodebase and a
3167	loop instead
3168	(testAddCustomPermission, testClearCustomPermission): added assert
3169	messages
3170
31712014-06-13  Andrew Azores  <aazores@redhat.com>
3172
3173	TemporaryPermissions generated via reflection rather than hard coded
3174	* netx/net/sourceforge/jnlp/resources/Messages.properties
3175	(STempPermNoFile, STempPermNoNetwork, STempPermNoExec,
3176	STempNoFileOrNetwork, STempNoExecOrNetwork, STempNoFileOrExec,
3177	STempNoFileOrNetworkOrExec, STempAllMedia, STempSoundOnly,
3178	STempClipboardOnly, STempPrintOnly, STempAllFileAndPropertyAccess,
3179	STempReadLocalFilesAndProperties, STempReflectionOnly): removed
3180	(STempNetwork, STempReadFilesAndProperties, STempWriteFilesAndProperties,
3181	STempReflectionAndExternal, STempAllMedia): new messages
3182	* netx/net/sourceforge/jnlp/resources/Messages_cs.properties
3183	(STempPermNoFile, STempPermNoNetwork, STempPermNoExec,
3184	STempNoFileOrNetwork, STempNoExecOrNetwork, STempNoFileOrExec,
3185	STempNoFileOrNetworkOrExec, STempAllMedia, STempSoundOnly,
3186	STempClipboardOnly, STempPrintOnly, STempAllFileAndPropertyAccess,
3187	STempReadLocalFilesAndProperties, STempReflectionOnly): removed
3188	* netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissions.java:
3189	rewrite to use reflection to generate permissions from
3190	PolicyEditorPermissions rather than exposing statically defined values
3191	* netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissionsButton.java:
3192	refactor to use new TemporaryPermissions change
3193	* tests/netx/unit/net/sourceforge/jnlp/security/dialogs/TemporaryPermissionsTest.java:
3194	new tests for TemporaryPermissions
3195
31962014-06-12  Andrew Azores  <aazores@redhat.com>
3197
3198	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
3199	(showChangesSavedDialog, showCouldNotSaveDialog): fixed comment to explain
3200	an issue with JVM exiting, rather than GC
3201
32022014-06-12  Andrew Azores  <aazores@redhat.com>
3203
3204	Reduced usage of weak references in PolicyEditor
3205	* netx/net/sourceforge/jnlp/security/policyeditor/CustomPolicyViewer.java
3206	(weakThis): removed in favour of CustomPolicyViewer.this
3207	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
3208	(weakThis): used only in showChangesSavedDialog and showCouldNotSaveDialog,
3209	other uses changed to PolicyEditor.this
3210
32112014-06-11  Andrew Azores  <aazores@redhat.com>
3212
3213	CustomPolicyViewer refactored - methods extracted for unit testing and no
3214	longer holds PolicyFileModel reference, instead using parent
3215	PolicyEditor's interface for interacting with the file model
3216	* netx/net/sourceforge/jnlp/security/policyeditor/CustomPolicyViewer.java:
3217	no longer holds PolicyFileModel reference, interacts through
3218	PolicyEditor parent instead
3219	(addButtonAction, removeButtonAction, closeButtonAction): use extracted methods
3220	(addCustomPermission): extracted method, no longer adds visual duplicates
3221	(removeCustomPermission, quit): extracted methods
3222	(getCopyOfCustomPermissions): new method
3223	(updateCustomPermissions): use parent rather than PolicyFileModel
3224	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
3225	(clearCustomPermissions): new method
3226	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEditorTest.java
3227	(testAddCustomPermission, testClearCustomPermissions): new tests
3228	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/CustomPolicyViewerTest.java:
3229	new test class
3230
32312014-06-06  Andrew Azores  <aazores@redhat.com>
3232
3233	* netx/net/sourceforge/jnlp/security/policyeditor/CustomPermission.java
3234	(toString): fixed empty actions string appearing on basic permissions, which
3235	do not have actions
3236	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/CustomPermissionTest.java:
3237	(testToStringWithoutActions): new test
3238
32392014-06-06  Andrew Azores  <aazores@redhat.com>
3240
3241	PolicyEditor copy/paste/rename methods extracted and unit tests added
3242	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
3243	(codebaseClipboard): renamed to editorPermissionsClipboard
3244	(customPermissionsClipboard): new field for copy/pasting custom permissions
3245	(copyCodebaseButtonAction, pasteCodebaseButtonAction,
3246	renameCodebaseButtonAction): refactor to use newly extracted methods
3247	(copyCodebase, pasteCodebase, renameCodebase): methods extracted from
3248	corresponding button action ActionListeners
3249	(setPermission, addCustomPermission): new methods
3250	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEditorTest.java
3251	(testRenameCodebase): new test for renaming codebase action
3252	(testCopyPasteCodebase): new test for copying and pasting codebases
3253
32542014-06-05  Andrew Azores  <aazores@redhat.com>
3255
3256	Added "Copy codebase to clipboard" action to PolicyEditor
3257	* netx/net/sourceforge/jnlp/resources/Messages.properties
3258	(PECopyCodebaseToClipboardItem): new message
3259	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
3260	(copyCodebaseToClipboardButtonAction): new action for "Copy codebase to
3261	clipboard" button
3262	(createMenuBar): added "Copy codebase to clipboard" button to Edit menu
3263	(renameCodebaseButtionAction): prefill dialog with old codebase
3264
32652014-06-05  Andrew Azores  <aazores@redhat.com>
3266
3267	Added Rename, Copy, and Paste actions for codebases in PolicyEditor
3268	* netx/net/sourceforge/jnlp/resources/Messages.properties (PEEditMenu,
3269	PERenameCodebaseItem, PECopyCodebaseItem, PEPasteCodebaseItem,
3270	PERenameCodebase, PEPasteCodebase, PEEditMenuMnemonic): new messages
3271	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
3272	(codebaseClipboard): new field to facilitate copy/pasting codebases.
3273	(renameCodebaseButtonAction, copyCodebaseButtonAction,
3274	pasteCodebaseButtonAction): new ActionListener fields for new actions.
3275	(interactivelyAddCodebase): renamed to addNewCodebaseInteractive.
3276	(validateCodebase): new utility method for validating codebases.
3277	(addNewCodebase, addNewCodebaseInteractive): use validateCodebase.
3278	(createMenuBar): add Edit menu and items.
3279
32802014-06-04  Lukasz Dracz  <ldracz@redhat.com>
3281
3282	Fixed Time Zone difference failure in unit test CreatePluginHeaderTestOk
3283	* unit/net/sourceforge/jnlp/util/logging/JavaConsoleTest.java:
3284	Test suite would check for the time in CET against the user's time value
3285	converted into their local timezone. Created a Date variable that
3286	ensures time passed into PluginMessage and the one being checked are
3287	of the same time zone.
3288
32892014-06-03  Andrew Azores  <aazores@redhat.com>
3290
3291	Added indicator method for if PolicyEditor is currently performing file
3292	IO. Unit tests wait for IO to complete before testing editor contents.
3293	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
3294	(performingIO, isPerformingIO): new field and getter to indicate if file
3295	IO is currently being performed.
3296	(changesMade): made volatile
3297	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEditorTest.java
3298	(setNewTempFile): call Thread.sleep while editor.isPerformingIO
3299
33002014-06-03  Andrew Azores  <aazores@redhat.com>
3301
3302	PolicyEditor persists empty non-default codebase entries
3303	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEntry.java
3304	(toString): return empty string only if the codebase both has no
3305	permissions assigned and is also the default "All Applets" codebase
3306	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyFileModel.java
3307	(savePolicyFile): release fileLock with try/finally
3308
33092014-06-03  Lukasz Dracz  <ldracz@redhat.com>
3310
3311	This test expects a Null pointer exception however does not
3312	have a flag specifying that the NullPointer Exception is expected
3313	* unit/net/sourceforge/jnlp/util/UrlUtilsTest.java
3314	(verifyNotNullUrlEqualsThrowsExceptionWhenSecondArgumentIsNull):
3315	added 'expected = NullPointerException.class' to Test annotation
3316
33172014-06-03  Andrew Azores  <aazores@redhat.com>
3318
3319	Fix for PR1776, PolicyEditor attempting to save to null file location when
3320	exiting editor and answering Yes to save changes first.
3321	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
3322	(quit): select file to save to using fileChooser if file is null
3323	(policyEditorWindowQuit): new helper method for PolicyEditorWindow and
3324	PolicyEditorFrame quit()
3325
33262014-06-03  Lukasz Dracz  <ldracz@redhat.com>
3327
3328	Changed Temporary Permissions from menu items to check box menu items
3329	* netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissionsButton.java
3330	(TemporaryPermissionsListener.actionPerformed): Added behaviour to add
3331	or remove permissions from a new collection of permissions based on
3332	whether the item is checked or not
3333	(TemporaryPermissionsButton.TemporaryPermissionsButton): Added action
3334	listener and applied the new collection of permissions for when the
3335	sandbox button is pressed
3336
33372014-06-02  Andrew Azores  <aazores@redhat.com>
3338
3339	PolicyEditor file I/O made asynchronous with a progress indicator
3340	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
3341	(savePolicyFile, openAndParsePolicyFile): use SwingWorker to make
3342	IO asynchronous, also show a progress bar.
3343	(checkPolicyChangesWithDialog): handle Exceptions thrown by
3344	policyFile.hasChanged() and policyFile.getFile().getCanonicalPath(),
3345	rather than letting them bubble up
3346	* netx/net/sourceforge/jnlp/security/policyeditor/IndeterminateProgressDialog.java:
3347	new class
3348
33492014-06-02  Andrew Azores  <aazores@redhat.com>
3350
3351	PolicyEditor file I/O and model logic extracted into a new class
3352	* netx/net/sourceforge/jnlp/security/policyeditor/CustomPolicyViewer.java:
3353	store PolicyFileModel as field. (updateCustomPermissions): new method
3354	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
3355	(codebasePermissionsMap, customPermissionsMap, file, fileWatcher,
3356	savePolicyFile, openAndParsePolicyFile): Policy file model logic extracted
3357	into new PolicyFileModel class. (policyFile) new PolicyFileModel field.
3358	(addNewCodebase, getCodebases, getPermissions, getCustomPermissions,
3359	updateCheckboxes, updateCheckboxesImpl, updateCustomPermissions,
3360	resetCodebases, openAndParsePolicyFile, savePolicyFile,
3361	initializeMapForCodebase, checkPolicyChangesWithDialog): refactored to use
3362	PolicyFileModel
3363	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyFileModel.java:
3364	new class for modelling Policy files
3365	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEditorParsingTest.java:
3366	update to use PolicyEditor's policyFile field
3367	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEditorTest.java
3368	(testReturnedCustomPermissionsSetIsCopy): initial assertion of empty set
3369	added, final assertion of empty set rephrased
3370	(testReturnedCodebasesAreCopy) renamed testReturnedCodebasesIsCopy,
3371	rephrased and using assertEquals rather than assertTrue
3372
33732014-05-29  Jie Kang  <jkang@redhat.com>
3374
3375	Added reproducer for PR1794: Bug where Java variables are not accessed
3376	correctly through Javascript. Attempt to access a string array results
3377	in undefined result. However, attempt to access a string results in
3378	receiving correct value of string. Tests html applet and jnlp-href
3379	applet
3380	* tests/reproducers/simple/JToJSString/testcases/JToJSStringTest.java:
3381	New reproducer for PR1794
3382	* tests/reproducers/simple/JToJSString/resources/JToJSString.html:
3383	same
3384	* tests/reproducers/simple/JToJSString/resources/JToJSJnlpApplet.html:
3385	same
3386	* tests/reproducers/simple/JToJSString/resources/JToJSString.js:
3387	same
3388	* tests/reproducers/simple/JToJSString/resources/JToJSApplet.jnlp:
3389	same
3390	* tests/reproducers/simple/JToJSString/srcs/JToJSString.java:
3391	same
3392
33932014-05-23  Jiri Vanek  <jvanek@redhat.com>
3394
3395	Fixed cache tests
3396	* tests/reproducers/signed/CacheReproducer/testcases/CacheReproducerTest.java:
3397	changed condition on checking cache dir from not existing to being empty,
3398
33992014-05-23  Jiri Vanek  <jvanek@redhat.com>
3400
3401	Minor code enhancements: Enum for HEAD and GET, urlutils classes moved to UrlUtils
3402	* netx/net/sourceforge/jnlp/cache/CacheEntry.java: "*" imports replaced by full
3403	ones location, version and properties made final. (isCurrent) rewritten
3404	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: (urlEquals) and (notNullUrlEquals)
3405	and (compare) moved to UrlUtils. (getReadPermission) got javadoc. urlList, keep,
3406	remove colelctions redeclared to diamond
3407	* netx/net/sourceforge/jnlp/cache/Resource.java: adapted imports and calls to
3408	CacheUtil UrlUtils change.
3409	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java: (requestMethods) hidden into
3410	public inner enum of RequestMethods. prefetchTrackers, queue, downloadOptions, active,
3411	resources, listeners marked final and redeclared with diamond. (getUrlResponseCode)
3412	adapted to new enum, removed javadoc. (getUrlResponseCodeWithRedirectonResult) adapted
3413	to new enum
3414	* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java: file group loader
3415	appContext weakWindows weakWindows made final and redeclared with diamond. Added
3416	override annotations. (shouldCreateShortcut) changed to switch.
3417	* netx/net/sourceforge/jnlp/util/UrlUtils.java: used multi catch where possible.
3418	urlEquals, notNullUrlEquals, compareNullableStrings moved from CacheUtils
3419	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheUtilTest.java: adapted to
3420	CacheUtils->UrlUtils method movement.
3421	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTest.java: assertNotEquals
3422	replaced by assertFalse and equals. Specific versions of JUnit have problems with
3423	notEquals.
3424	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java: Adapted
3425	to new enum.
3426	* tests/netx/unit/net/sourceforge/jnlp/util/UrlUtilsTest.java: added testUrlEquals
3427	verifyNotNullUrlEqualsThrowsExceptionWhenBothArgumentsAreNull
3428	nverifyNotNullUrlEqualsThrowsExceptionWhenFirstArgumentIsNull
3429	verifyNotNullUrlEqualsThrowsExceptionWhenSecondArgumentIsNull
3430	notNullUrlValuesEqualsCaseSensitiveIssuesTest
3431	notNullUrlComapreWithPorts (known to fail), testCompareNullableStrings and
3432	testCompareNullableStrings tests
3433	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java: removed unused
3434	imports, used diamonds, removed dead code.
3435	* tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java: Adapted to new enum.
3436
34372014-05-23  Jiri Vanek  <jvanek@redhat.com>
3438
3439	Minor javadoc enhancements
3440	* netx/net/sourceforge/jnlp/cache/CacheEntry.java: added or filled some javadocs
3441	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: same
3442	* netx/net/sourceforge/jnlp/cache/Resource.java: same
3443	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java: same
3444	* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java: same
3445	* netx/net/sourceforge/jnlp/util/FileUtils.java: same
3446	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java: same
3447
3448
34492014-05-22  Jie Kang  <jkang@redhat.com>
3450
3451	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
3452	(saveAsButtonAction): set changesMade to true to allow savePolicyFile to save
3453	(savePolicyFile): no longer immediately returns if changesMade is false
3454	(updateMd5WithDialog): use changesMade along with file MD5 sum changes to
3455	determine whether to continue saving to disk, added check for FileNotFound and
3456	displays warning message telling user what has happened, also privatized
3457	method and renamed method to checkPolicyChangesWithDialog
3458	* netx/net/sourceforge/jnlp/util/MD5SumWatcher.java: Removed unused imports.
3459	* netx/net/sourceforge/jnlp/resources/Message.properties (PEFileMissing): Added
3460	new warning message for PolicyEditor
3461
34622014-05-21  Jiri Vanek  <jvanek@redhat.com>
3463
3464	Fixed slipped test classlaoder fix
3465	* sts/reproducers/simple/JavawsAWTRobotFindsButton/testcases/JavawsAWTRobotFindsButtonTest.java
3466	(static init) used system classlaoder to laod image
3467
34682014-05-21  Jiri Vanek  <jvanek@redhat.com>
3469
3470	* netx/sun/applet/AppletViewerPanelAccess.java: addedd accidentally skipped
3471	createAppletThread method
3472
34732014-05-21  Jiri Vanek  <jvanek@redhat.com>
3474
3475	Making the previous chnage actualy take an effect.
3476	* Makefile.am: All tests runs using CLASSPATH varibale on line, separated by
3477	semicolon. I have no idea wy this was needing.
3478
34792014-05-21  Jiri Vanek  <jvanek@redhat.com>
3480
3481	All tests adapted to run from XBootclaspath (forced by extending package private
3482	rt.jar class)
3483	* Makefile.am: all sets of call of -Xbootclasspath in tests and coverage
3484	are now adding $CLASSPATH to boot classapth. Where CLASSPATH was not deffined,
3485	was added.
3486	* tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java: and
3487	* tests/test-extensions/net/sourceforge/jnlp/awt/imagesearch/ComponentFinder.java:
3488	resources loaded from boot classloader
3489
34902014-05-21  Jiri Vanek  <jvanek@redhat.com>
3491
3492	Made it works (basicaly) on any JDK
3493	* Makefile.am: (NETX_PKGS) sun.applet added to recognized netx packages
3494	(netx-dist.stamp) sun directory included into packed list
3495	* acinclude.m4: removed (IT_CHECK_FOR_APPLETVIEWERPANEL_HOLE) check. Added
3496	IT_CHECK_FOR_SUN_APPLET_ACCESSIBILITY, which test existence of
3497	classes sun.applet.AppletPanel, sun.applet.AppletViewerPanel
3498	fields applet, documentURL, baseURL and methods run and runLoader. Addapted messge
3499	* configure.ac:  call to IT_CHECK_FOR_APPLETVIEWERPANEL_HOLE replaced by call
3500	to IT_CHECK_FOR_SUN_APPLET_ACCESSIBILITY
3501	* /netx/net/sourceforge/jnlp/NetxPanel.java: now extends AppletViewerPanelAccess
3502	instead of AppletViewerPanel directly. Access to baseURL, applet and documentURL
3503	replaced by dedicated getters/setters
3504	* netx/sun/applet/AppletViewerPanelAccess.java: new class extending AppletViewerPanel
3505	and enabling access to applet, documentURL and baseURL. Backed by reflection.
3506	Also overriding run by usage of short copypasted code.
3507	* netx/sun/applet/package-info.java: new file with worning about usage of this
3508	package in itw
3509	* plugin/icedteanp/java/sun/applet/PluginAppletPanelFactory.java: only call
3510	to super debug repalced by ITW's debugging call
3511	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: used getters as in
3512	NetxPanel
3513
35142014-05-21  Andrew Azores  <aazores@redhat.com>
3515
3516	* AUTHORS: added Lukasz Dracz and Jie Kang
3517
35182014-05-21  Jie Kang  <jkang@redhat.com>
3519
3520	* netx/net/sourceforge/jnlp/resources/Messages.properties (PEGReadFileSystem):
3521	Changed from "Read to" to "Read from"
3522
35232014-05-20  Lukasz Dracz  <ldracz@redhat.com>
3524            Jie Kang      <jkang@redhat.com>
3525
3526	* netx/net/sourceforge/jnlp/cache/Resource.java:
3527	(location, localFile, requestVersion, downloadVersion,
3528	transferred, size, status) made fields private and added
3529	setters and getters, and all calling sites refactored
3530	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
3531	Calling sites refactored
3532	* netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java:
3533	Calling sites refactored
3534	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTest.java:
3535	(testGetLocation, testGetRequestVersion, testGetDownloadVersion,
3536	testTransferredIsZero, testIncrementTransferred, testSizeIsNegativeOne,
3537	testSetSize, testStatusIsCopied) added tests
3538
35392014-05-14  Andrew Azores  <aazores@redhat.com>
3540
3541	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java:
3542	(testSelectByStatus) split into (testSelectByStatusOneMatchingResource,
3543	testSelectByStatusNoMatchingResource, testSelectByStatusExcludedResources,
3544	testSelectByStatusMixedResources, testSelectByFilterUninitialized)
3545
35462014-05-14  Omair Majid  <omajid@redhat.com>
3547
3548	* netx/net/sourceforge/jnlp/util/JarFile.java: Rename
3549	ZIP_LOCAL_FILE_HEADER_SIGNATURE to ZIP_ENTRY_HEADER_SIGNATURE. Fix
3550	comments.
3551
35522014-05-14  Omair Majid  <omajid@redhat.com>
3553
3554	* tests/test-extensions/net/sourceforge/jnlp/tools/CodeSignerCreator.java
3555	(KeyPair): New class.
3556	(createCert): Use KeyPair.
3557
35582014-05-14  Omair Majid  <omajid@redhat.com>
3559
3560	* netx/net/sourceforge/jnlp/JNLPFile.java
3561	(JNLPFile(InputStream,ParserSettings))
3562	(JNLPFile(InputStream,URL,ParserSettings)): Remove incorrect @throws
3563	IOException in javadoc.
3564	* netx/net/sourceforge/jnlp/SecurityDesc.java
3565	(fromHtmlString): Fix param name in javadoc.
3566	* netx/net/sourceforge/jnlp/util/FileUtils.java
3567	(showCouldNotOpenDialog): Remove incorrect @param filePath from javadoc.
3568	* netx/net/sourceforge/nanoxml/XMLParseException.java,
3569	* netx/net/sourceforge/nanoxml/XMLElement.java: Replace <br/> with <p>.
3570
35712014-05-14  Andrew Azores  <aazores@redhat.com>
3572
3573	* netx/net/sourceforge/jnlp/cache/Resource.java: (Status) new enum
3574	replacing int bitfield statuses. (transferred, size) made volatile for
3575	atomic read/write. (isSet, getStatusString, changeStatus) refactored for
3576	Status enum. (hasFlags, setStatusFlag, setStatusFlags, unsetStatusFlag,
3577	resetStatus, isInitialized) new methods. (hashCode) newly overridden since
3578	equals was already overridden.
3579	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java: all references to
3580	Resource int bitfield status refactored. (selectByFilter) new method since
3581	UNINITIALIZED is no longer an actual flag in Resource Status, allows for
3582	filtering by uninitialized resources anyway.
3583	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTest.java: refactored
3584	for Status enum
3585	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java:
3586	refactored for Status enum and selectByFilter
3587
35882014-05-13  Omair Majid  <omajid@redhat.com>
3589
3590	* netx/net/sourceforge/jnlp/cache/CacheEntry.java
3591	(readCacheEntryInfo): New method.
3592	(CacheEntry): Call readCacheEntryInfo to get properties.
3593	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheEntryTest.java
3594	(readCacheEntryInfo): New method.
3595	(createCacheFile): Rename to ...
3596	(createFile): New method. Adjust all callers.
3597	(verifyOriginalContentLengthIsSetCorrectly): Create instances of
3598	TestCacheEntry, not CacheEntry.
3599
36002014-05-12  Omair Majid  <omajid@redhat.com>
3601
3602	* netx/net/sourceforge/jnlp/cache/CacheEntry.java: Add
3603	KEY_CONTENT_ORIGINAL_LENGTH and LENGTH_UNKNOWN.
3604	(getOriginalContentLength, setOriginalContentLength)
3605	(getLongKey(String,long)): New methods.
3606	(isCached): Check if the original content length is recorded and use it,
3607	if available, as the content length.
3608	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java (downloadResource):
3609	If the content was compressed, store original content length in the cache
3610	entry.
3611	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheEntryTest.java
3612	(testOriginalContentLengthIsSetCorrectly)
3613	(verifyCachedIfOriginalContentLengthsAreSame): New method.
3614
36152014-05-12  Omair Majid  <omajid@redhat.com>
3616
3617	* netx/net/sourceforge/jnlp/cache/CacheEntry.java: Use
3618	constants for strings.
3619	(initialize): Remove.
3620	(getRemoteContentLength, setRemoteContentLength, getLastModified)
3621	(setLastModified, getLongKey, setLongKey): New method.
3622	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheEntryTest.java: New
3623	file.
3624	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java
3625	(initializeResource, downloadResource): Use
3626	CacheEntry.setRemoteContentLength and CacheEntry.setLastModified instead
3627	of CacheEntry.initialize.
3628
36292014-05-12  Jiri Vanek  <jvanek@redhat.com>
3630
3631	ALACA is now able to remember decisions.
3632	* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletActionTableModel.java:
3633	moved columns in table. Inserted alaca between 0 and 1
3634	* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java:
3635	Added handling of UNSET, fixed calls to (now) getAppletSecurityActions.
3636	Shifted columns
3637	* netx/net/sourceforge/jnlp/resources/Messages.properties:
3638	(SUnsignedAllowedBefore) and (SUnsignedRejectedBefore) now handles date
3639	(SAppletTitle) removed, was legacy
3640	(APPEXTSECguiTableModelTableColumnActionUA) and
3641	(APPEXTSECguiTableModelTableColumnActionMatchALACA) added.
3642	* netx/net/sourceforge/jnlp/resources/Messages_cs.properties:(SAppletTitle) removed, was legacy
3643	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Added (getLocalisedTimeStamp)
3644	helper method.
3645	* netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java:
3646	Call to showMatchingALACAttributePanel dialogue now forwards whole file, not just title.
3647	* netx/net/sourceforge/jnlp/security/SecurityDialog.java: First extras to
3648	matchingAlaca retyped to JNLPFile
3649	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java: MInor javadoc fixes.
3650	(showMatchingALACAttributePanel) now have whole JNLP instead of just title.
3651	Added handling of saved/saving value
3652	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/AppletSecurityActions.java:
3653	made to recognize second record as alaca one.
3654	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionEntry.java:
3655	unsignedAppletAction changed to appletSecurityActions
3656	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionStorage.java:
3657	Whole getMatchingItem family of methods get Integer id parameter, to recognize
3658	which record is the one they care about. If id is null, then they return first
3659	match, no meter of whether is "strong"(pernament) or week (just hint)
3660	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
3661	adapted to id in interface. Fixed bug with saving the entry.
3662	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageExtendedImpl.java:
3663	Added handling of multiple actions, added column.
3664	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java:
3665	implemented the id change.
3666	* netx/net/sourceforge/jnlp/security/dialogs/MatchingALACAttributePanel.java:
3667	removed to apptrustwarningpanel
3668	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningDialog.java:
3669	made ALCA dialog aware
3670	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningPanel.java:
3671	added generalized impl for title handling.
3672	* /netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/MatchingALACAttributePanel.java:
3673	new class, derived from dialogs, now extending AppTrustWarningPanel
3674	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/PartiallySignedAppTrustWarningPanel.java:
3675	removed custom handling of title. Added minSize. Added usage of stored date in text
3676	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/UnsignedAppletTrustWarningDialog.java:
3677	removed, should be removed long ago when this dialogue was generalized.
3678	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/UnsignedAppletTrustWarningPanel.java:
3679	removed custom handling of title. Added minSize. Added usage of stored date in text
3680	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/AppletSecurityActionsTest.java:
3681	added test for iteration (testIterator)
3682	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImplTest.java:
3683	adapted for need of id of attribute
3684	* tests/netx/unit/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningPanelTest.java:
3685	Adapted to dialog in constructor of UnsignedAppletTrustWarningPanel
3686
3687
36882014-05-12  Andrew Azores  <aazores@redhat.com>
3689
3690	* tests/netx/unit/net/sourceforge/jnlp/util/FileUtilsTest.java: new test
3691	class for FileUtils
3692
36932014-05-12  Andrew Azores  <aazores@redhat.com>
3694
3695	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: (urlToPath) use
3696	StringBuilder, not StringBuffer
3697	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheUtilTest.java:
3698	(testUrlEquals, testUrlToPath) new tests
3699
37002014-05-09  Andrew Azores  <aazores@redhat.com>
3701
3702	* netx/net/sourceforge/jnlp/util/TimedHashMap.java: implements Map
3703	interface, added all missing methods. (timeStamps) removed, refactored to
3704	only be composed of one backing map rather than two.
3705	* tests/netx/unit/net/sourceforge/jnlp/util/TimedHashMapTest.java: new
3706	test methods added
3707
37082014-05-09  Andrew Azores  <aazores@redhat.com>
3709
3710	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java: (selectByFlag)
3711	made package-private
3712	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java:
3713	(testSelectByFlag) new test method
3714	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTest.java: new test
3715	class
3716
37172014-05-09  Andrew Azores  <aazores@redhat.com>
3718
3719	* netx/net/sourceforge/jnlp/util/TimedHashMap.java: (setExpiry) new
3720	method
3721	* tests/netx/unit/net/sourceforge/jnlp/util/TimedHashMapTest.java: new
3722	test class for TimedHashMap
3723
37242014-05-09  Jiri Vanek  <jvanek@redhat.com>
3725
3726	Internal implementation of ExecuteAppletAction now support multiple items
3727	* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletActionTableModel.java:
3728	Returning AppletSecurityActions instead of ExecuteAppletAction class
3729	* netx/net/sourceforge/jnlp/resources/Messages.properties: added
3730	APPEXTSECunsetAppletAction key.
3731	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/AppletSecurityActions.java:
3732	New file, to handle multiple actions hidden in one record.
3733	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/ExecuteAppletAction.java: Added
3734	UNSET option, handled in (fromString) and (fromChar) and (toChar) and (toExpalnation)
3735	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionEntry.java:
3736	instead of ExecuteAppletAction type in fromString and constructor, using
3737	AppletSecurityActions
3738	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
3739	behaviour wrapped by  AppletSecurityActions.fromAction(behaviour)
3740	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/AppletSecurityActionsTest.java:
3741	New test for new file
3742	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmationTest.java:
3743	added license header
3744	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImplTest.java:
3745	Test adapted to new features, and to preserving old behavior.
3746
37472014-05-05  Jiri Vanek  <jvanek@redhat.com>
3748
3749	Links in AppTrustWarningPanel are now clickable.
3750	* netx/net/sourceforge/jnlp/resources/Messages.properties: (SUnsignedDetail)
3751	codebase and url changed to href.
3752	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningPanel.java:
3753	infoLabel redeclared from JLabel to JEditorPane. Added hyperlinkListener.
3754	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/PartiallySignedAppTrustWarningPanel.java:
3755	publisher string allowed to use href.
3756
37572014-05-05  Jiri Vanek  <jvanek@redhat.com>
3758
3759	Properly disconnect all connected http connections
3760	* netx/net/sourceforge/jnlp/cache/CacheEntry.java: (isCurrent) is using
3761	lastModified of long rather then whole url connection. Callers adapted.
3762	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: (getReadPermission)
3763	closed http connection.	(isCurrent)  retyped to use lastModified of long
3764	rather then whole connection. Removed workaround of it. Callers adapted.
3765	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java: (downloadResource)
3766	Closed http connection.
3767	* netx/net/sourceforge/jnlp/runtime/CachedJarFileCallback.java: Closed http
3768	connection.
3769	* netx/net/sourceforge/jnlp/services/XBasicService.java: (isOffline) Closed
3770	http connection.
3771	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: Closed http
3772	connections.
3773	* tests/test-extensions-tests/net/sourceforge/jnlp/ServerAccessTest.java:
3774	Adapted to URLconnection -> long signature changes.
3775	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java: Closed http
3776	connections.
3777
37782014-05-02  Omair Majid  <omajid@redhat.com>
3779
3780	* netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java: Switch to
3781	JDialog from JFrame. Rename frame to dialog and frameMutex to dialogMutex.
3782	Adjust all Callers.
3783
37842014-05-02  Omair Majid  <omajid@redhat.com>
3785
3786	* netx/net/sourceforge/jnlp/cache/package-info.java,
3787	* netx/net/sourceforge/jnlp/runtime/package-info.java,
3788	* netx/net/sourceforge/jnlp/services/package-info.java: Fix package name
3789	by replacing 'netx' with 'net'.
3790
37912014-04-15  Jiri Vanek  <jvanek@redhat.com>
3792
3793	Reflect possibility of disabled manifest check to unit-test
3794	* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java: new field
3795	(attCheckValue) to store original value. (setPermissions) is enabling check
3796	and (resetPermissions) returning back to original
3797
37982014-04-14  Andrew Azores  <aazores@redhat.com>
3799
3800	* netx/net/sourceforge/jnlp/resources/Messages.properties:
3801	(PEAccessThreads, PEAccessThreadsDetail, PEAccessThreadGroups,
3802	PEAccessThreadGroupsDetail) new messages
3803	* netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissions.java:
3804	(ACCESS_THREADS_PERMISSION, ACCESS_THREAD_GROUPS_PERMISSION) new
3805	permissions, added to reflection group. Use diamond operator.
3806	* netx/net/sourceforge/jnlp/security/policyeditor/PermissionTarget.java:
3807	(ACCESS_THREADS, ACCESS_THREAD_GROUPS) new targets
3808	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java:
3809	(ACCESS_THREADS, ACCESS_THREAD_GROUPS) new permissions, added to
3810	reflection group. Minor formatting fixes.
3811
38122014-04-14  Jiri Vanek  <jvanek@redhat.com>
3813
3814	All manifest attributes can be disabled
3815	* netx/net/sourceforge/jnlp/config/Defaults.java: added new
3816	KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK configuration.
3817	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java:
3818	Added KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK key
3819	* netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java:
3820	(isCheckEnabled) new method to check value of KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK
3821	(checkAll) is testing isCheckEnabled before checking individual attributes.
3822
38232014-04-14  Andrew Azores  <aazores@redhat.com>
3824
3825	Use Swing generics, cleanup with diamond operator
3826	* netx/net/sourceforge/jnlp/controlpanel/CachePane.java
3827	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java
3828	* netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java
3829	* netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java
3830	* netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java
3831	* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java
3832	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
3833	* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java
3834
38352014-04-10  Andrew Azores  <aazores@redhat.com>
3836
3837	Update PolicyEditor classes for Java 7 - Swing Generics, Diamond operator.
3838	Also some formatting fixes.
3839	* netx/net/sourceforge/jnlp/security/policyeditor/CustomPolicyViewer.java
3840	* netx/net/sourceforge/jnlp/security/policyeditor/PermissionActions.java
3841	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
3842	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java
3843	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEntry.java
3844
38452014-04-10  Andrew Azores  <aazores@redhat.com>
3846
3847	* Makefile.am: (HAVE_JAVA7) removed
3848	* acinclude.m4: (IT_CHECK_JAVA_VERSION) new check for JDK version.
3849	(IT_CHECK_FOR_JDK) changed directories to search for JDK, notably adding
3850	alternatives-defined JDK location
3851	* configure.ac: (IT_CHECK_JAVA_VERSION) new check for JDK version
3852	* plugin/icedteanp/IcedTeaNPPlugin.cc: (HAVE_JAVA7) renamed and modified
3853	to HAVE_JAVA8
3854	* netx/net/sourceforge/jnlp/security/VariableX509TrustManagerJDK6.java:
3855	removed
3856
38572014-04-07  Andrew Azores  <aazores@redhat.com>
3858
3859	* Makefile.am: (IT_LANGUAGE_SOURCE_VERSION, IT_CLASS_TARGET_VERSION)
3860	bumped to 7, dropping JDK6 compatibility
3861
38622014-04-07  Andrew Azores  <aazores@redhat.com>
3863
3864	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java:
3865	(showPartiallySignedWarningDialog) add missing shouldPromptUser check
3866
38672014-04-02  Omair Majid  <omajid@redhat.com>
3868
3869	* netx/net/sourceforge/jnlp/util/ClasspathMatcher.java
3870	(quote): Rename to ..
3871	(convertWildcardToRegEx): New method. Adjust all callers.
3872
38732014-04-02  Jiri Vanek  <jvanek@redhat.com>
3874
3875	* NEWS: Added 1.6 section
3876
38772014-04-02  Jiri Vanek  <jvanek@redhat.com>
3878
3879	* configure.ac: bumped (AC_INIT) to 1.6pre
3880
38812014-04-02  Jiri Vanek  <jvanek@redhat.com>
3882
3883	* NEWS: Bumped date of 1.5 release to 2014
3884
38852014-04-01  Andrew Azores  <aazores@redhat.com>
3886
3887	Fix Permissions manifest attribute check
3888	* netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java:
3889	(isNoneOrDefault) new method.
3890	(validateRequestedPermissionLevelMatchesManifestPermissions) new method.
3891	(checkPermissionsAttribute) rework to closer match spec and fix bug in not
3892	allowing signed applets to request sandbox permissions.
3893
38942014-04-01  Jiri Vanek  <jvanek@redhat.com>
3895
3896	* netx/net/sourceforge/jnlp/JNLPFile.java: hardcoded strings replaced by
3897	SecurityDesc.RequestedPermissionLevel values.
3898	* netx/net/sourceforge/jnlp/PluginBridge.java: likewise
3899	* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java: likewise
3900	* tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java: added new tests
3901	(testGetRequestedPermissionLevel1) - (testGetRequestedPermissionLevel7).
3902	Added (minimalJnlp) field.
3903	* tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java: added new
3904	(testGetRequestedPermissionLevel) test.
3905	* netx/net/sourceforge/jnlp/SecurityDesc.java: added (DEFAULT) into
3906	(RequestedPermissionLevel) and fixed typo in (J2EE) jnlpValue
3907
39082014-04-01  Andrew Azores  <aazores@redhat.com>
3909
3910	* netx/net/sourceforge/jnlp/SecurityDesc.java: (RequestedPermissionLevel)
3911	new enum to describe the permission level requested in an applet's
3912	JNLP/HTML. (requestedPermissionLevel) new field. (SecurityDesc) new
3913	constructor with RequestedPermissionLevel added.
3914	(getRequestedPermissionLevel) new method.
3915	* netx/net/sourceforge/jnlp/JNLPFile.java: (getRequestedPermissionLevel)
3916	new method
3917	* netx/net/sourceforge/jnlp/Parser.java: (getSecurity) construct
3918	SecurityDescs with correct RequestedPermissionLevel
3919	* netx/net/sourceforge/jnlp/PluginBridge.java:
3920	(getRequestedPermissionLevel) new overridden method
3921	* netx/net/sourceforge/jnlp/PluginParameters.java: (getPermissions) new
3922	method
3923
39242014-04-01  Jiri Vanek  <jvanek@redhat.com>
3925
3926	* netx/net/sourceforge/jnlp/resources/Messages_cs.properties: adapted to match newest state.
3927	(MissingPermissionsMainTitle) (MissingPermissionsInfo) (ALACAMissingMainTitle) (ALACAMissingInfo)
3928	(ALACAMatchingMainTitle) (ALACAMatchingInfo) removed codebase word, used text in all hrefs.
3929
39302014-04-01  Jiri Vanek  <jvanek@redhat.com>
3931
3932	Manual quotation in ClasspathMatcher regex replaced by Pattern.quote
3933	* netx/net/sourceforge/jnlp/util/ClasspathMatcher.java: (quote)
3934	is now using Pattern.quote instead manual \Q + original + \E
3935
39362014-04-01  Jiri Vanek  <jvanek@redhat.com>
3937
3938	Restricted CodebaseMatcher to not match aaexample.com by *.example.com expression
3939	but still match example.com - as in specification.
3940	* netx/net/sourceforge/jnlp/util/ClasspathMatcher.java: (domainToRegEx) consists
3941	of original regex connected by or with second one in case of *. start.
3942	(sourceToRegExString) part of the logic extracted to quote method.
3943	* tests/netx/unit/net/sourceforge/jnlp/util/ClasspathMatcherTest.java:
3944	(matchTest5) adapted. (wildCardSubdomainDoesNotMatchParentDomainPaths) new test,
3945	focusing on aaexample.com/example.com/aaa.example.com in *.example.com both
3946	path and domain.
3947
39482014-03-31  Omair Majid  <omajid@redhat.com>
3949
3950	* netx/net/sourceforge/jnlp/resources/Messages.properties
3951	(MissingPermissionsMainTitle): Remove 'codebase'
3952	(MissingPermissionsInfo): Use simple link title.
3953
39542014-03-31  Omair Majid  <omajid@redhat.com>
3955
3956	* netx/net/sourceforge/jnlp/resources/Messages.properties
3957	(ALACAMissingMainTitle, ALACAMissingInfo ALACAMatchingMainTitle)
3958	(ALACAMatchingInfo): Rephrase strings and replace full links with page
3959	names.
3960	* netx/net/sourceforge/jnlp/util/UrlUtils.java (setOfUrlsToHtmlList):
3961	Enclose list in 'ul' element.
3962
39632014-03-31  Jiri Vanek  <jvanek@redhat.com>
3964
3965	Allowed wrong match of the aaaexample.com by *.example.com expression as in
3966	specification.
3967	* netx/net/sourceforge/jnlp/util/ClasspathMatcher.java: uncommented  handling
3968	of dot in (domainToRegEx).
3969	* tests/netx/unit/net/sourceforge/jnlp/util/ClasspathMatcherTest.java:
3970	(matchTest) uncommented and added tests of/for dot issue.
3971
39722014-03-31  Jiri Vanek  <jvanek@redhat.com>
3973            Alexandr Kolouch  <skolnag@gmail.com>
3974
3975	Fixed cz_CS locales and adapted tests
3976	* netx/net/sourceforge/jnlp/resources/Messages_cs_CZ.properties: added missing
3977	values
3978	* tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java:
3979	Added few untranslatable items to white-list. (allResourcesAreReallyDifferent)
3980	now skip test on values of "std. err" "std. out" "Policy Editor" and
3981	"Java Reflection"
3982
39832014-03-31  Omair Majid  <omajid@redhat.com>
3984
3985	* acinclude.m4
3986	(IT_CHECK_XULRUNNER_MIMEDESCRIPTION_CONSTCHAR),
3987	(IT_CHECK_XULRUNNER_REQUIRES_C11): Use AC_LANG_SOURCE with code.
3988
39892014-03-31  Jiri Vanek  <jvanek@redhat.com>
3990
3991	Refactored check of heap space. Now recognize g/G and is based on regex
3992	* netx/net/sourceforge/jnlp/JREDesc.java: Added (heapPattern) constant.
3993	(checkHeapSize) now returns trimmed string and its logic is matching the
3994	heapPattern instead compelx structure. (init) set result of checkHeapSize
3995	as initialHeapSize and maximumHeapSize.
3996	* tests/netx/unit/net/sourceforge/jnlp/JREDescTest.java: tests for (checkHeapSize)
3997	and (init) of JREDesc.
3998
39992014-03-27  Andrew Azores  <aazores@redhat.com>
4000
4001	Fix NPE when trying to open a new file, with changes made, and wanting to
4002	save these changes to a file
4003	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java:
4004	(openButtonAction) display Save As file chooser if there is no file object
4005	yet and user wishes to save changes
4006
40072014-03-27  Andrew Azores  <aazores@redhat.com>
4008
4009	Fix bug with checkboxes not correctly updating on open and with repeats of
4010	a codebase appearing when opening a file multiple times
4011	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java:
4012	(resetCodebases) new method. (openAndParsePolicyFile) call resetCodebases
4013	at start. (PolicyEditor) call resetCodebases in constructor
4014
40152014-03-27  Andrew Azores  <aazores@redhat.com>
4016
4017	Applets can be temporarily granted permission levels above fully sandboxed
4018	but below all-permission
4019	* netx/net/sourceforge/jnlp/resources/Messages.properties:
4020	(STempPermNoFile, STempPermNoNetwork, STempPermNoExec,
4021	STempPermNoFileOrNetwork, STempPermNoExecOrNetwork, STempPermNoFileOrExec,
4022	STempPermNoFileOrNetworkOrExec, STempAllMedia, STempSoundOnly,
4023	STempClipboardOnly, STempPrintOnly, STempAllFileAndPropertyAccess,
4024	STempReadLocalFilesAndProperties, STempReflectionOnly): new messages
4025	* netx/net/sourceforge/jnlp/security/SecurityDialog.java: (installPanel)
4026	pass SecurityDelegate to partially signed dialog
4027	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java:
4028	(showPartiallySignedWarningDialog) added SecutityDelegate param for
4029	message extras
4030	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
4031	(checkPartiallySignedWithUserIfRequired) added SecurityDelegate param
4032	* netx/net/sourceforge/jnlp/security/dialogs/CertWarningPane.java:
4033	(createPolicyPermissionsMenu, PolicyEditorLaunchListener,
4034	PolicyEditorPopupListener) removed in favour of TemporaryPermissionsButton
4035	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/PartiallySignedAppTrustWarningPanel.java:
4036	same
4037	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningDialog.java:
4038	(partiallySigned) SecurityDelegate param
4039	* netx/net/sourceforge/jnlp/security/policyeditor/PermissionActions.java:
4040	(DELETE, READLINK, FILE_ALL) new actions. (rawActions, rawString) can
4041	retrieve raw String representation of the action
4042	* netx/net/sourceforge/jnlp/security/policyeditor/PermissionTarget.java:
4043	(USER_HOME, TMPDIR) grant permissions to entire directory, not only
4044	children
4045	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java:
4046	(DELETE_LOCAL_FILES, DELETE_TMP_FILES) new permissions.
4047	(Group.WriteFileSystem) added DELETE* permissions
4048	* nests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEditorParsingTest.java:
4049	update for change in PermissionTarget
4050	* netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissions.java:
4051	new class
4052	* netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissionsButton.java:
4053	new class
4054
40552014-03-27  Jiri Vanek  <jvanek@redhat.com>
4056
4057	Clenaup in PolicyEditor tests and MVC
4058	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java: MVC
4059	mixing method (updatecheckboxes) splited to invokelater and plain impls.
4060	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/* : removed
4061	warnings and fixed wrong package declaration.
4062	* tests/test-extensions/net/sourceforge/jnlp/util/FileTestUtils.java: when
4063	filelaks are negative, take it as success.
4064
40652014-03-26  Andrew Azores  <aazores@redhat.com>
4066
4067	Fix JOptionPane modality problems after making PolicyEditor itself modal
4068	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java:
4069	JOptionPane dialog parents set correctly to JDialog or JFrame rather than
4070	JPanel
4071
40722014-03-26  Jiri Vanek  <jvanek@redhat.com>
4073
4074	* netx/net/sourceforge/jnlp/resources/Messages.propertie: new keys (STOAsignedMsgFully)
4075	(STOAsignedMsgAndSandbox) (STOAsignedMsgPartiall) added
4076	* netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java: extracted
4077	hardocded values of (signedMsg)
4078
40792014-03-26  Jiri Vanek  <jvanek@redhat.com>
4080
4081	Added possibility to group permissions in PolicyEditor
4082	* netx/net/sourceforge/jnlp/resources/Messages.properties: added groups names
4083	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java: (setLayout)
4084	added grouping panels and checkboxes. (JcheckBoxWithGroup) New inner class to work
4085	with groups.
4086	netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java:
4087	Added inner class (Groups) and deffinied (ReadFileSystem) (WriteFileSystem)
4088	(AccesUnowenedCode) (MediaAccess)
4089
40902014-03-26  Andrew Azores  <aazores@redhat.com>
4091
4092	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java:
4093	(savePolicyFile, openAndParsePolicyFile) made synchronous so that
4094	programmatically adding a new codebase has a well-defined order when
4095	performed immediately after starting a new PolicyEditor instance
4096
40972014-03-26  Andrew Azores  <aazores@redhat.com>
4098            Jiri Vanek  <jvanek@redhat.com>
4099
4100	PolicyEditor can be made modal.
4101	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java:
4102	(PolicyEditorWindow) new interface to facilitate PolicyEditor as a Window
4103	rather than Panel. (PolicyEditorFrame, PolicyEditorDialog)
4104	PolicyEditorWindow implementations. (getPolicyEditorFrame,
4105	getPolicyEditorWindow) new methods to get frame or dialog implementations.
4106	(setComponentMnemonic) made static. (preparePolicyEditorWindow) common
4107	setup for frame and dialog implementations.
4108	* netx/net/sourceforge/jnlp/controlpanel/PolicyPanel.java: refactor to use
4109	PolicyEditorWindow
4110	* netx/net/sourceforge/jnlp/security/dialogs/CertWarningPane.java:
4111	same
4112	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/PartiallySignedAppTrustWarningPanel.java
4113	same
4114	* netx/net/sourceforge/jnlp/util/FileUtils.java: (showReadOnlyDialog,
4115	showCouldNotOpenFileDialog, showCouldNotOpenFilePathDialog,
4116	showCouldNotOpenDialog) use Component rather than JFrame
4117
4118
41192014-03-26  Andrew Azores  <aazores@redhat.com>
4120
4121	Added many new permissions for PolicyEditor
4122	* netx/net/sourceforge/jnlp/resources/Messages.properties: (PEWriteProps,
4123	PEWritePropsDetail, PEWriteSystemFiles, PEWriteSystemFilesDetail,
4124	PEAWTPermission, PEAWTPermissionDetail, PERecordAudio,
4125	PERecordAudioDetail, PEReflection, PEReflectionDetail, PEClassLoader,
4126	PEClassLoaderDetail, PEClassInPackage, PEClassInPackageDetail,
4127	PEDeclaredMembers, PEDeclaredMembersDetail, PEExec, PEExecDetail,
4128	PEGetEnv, PEGetEnvDetail): new messages. (PEAudio, PEAudioDetail) renamed
4129	to PEPlayAudio{,Detail}.
4130	* netx/net/sourceforge/jnlp/security/policyeditor/PermissionActions.java:
4131	(EXECUTE) new action
4132	* netx/net/sourceforge/jnlp/security/policyeditor/PermissionTarget.java:
4133	(ALL_FILES, RECORD, REFLECT, GETENV, ACCESS_CLASS_IN_PACKAGE,
4134	DECLARED_MEMBERS, CLASSLOADER) new targets
4135	* netx/net/sourceforge/jnlp/security/policyeditor/PermissionType.java:
4136	(REFLECT_PERMISSION) new type
4137	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java:
4138	(WRITE_PROPERTIES, WRITE_SYSTEM_FILES, JAVA_REFLECTION, GET_CLASSLOADER,
4139	ACCESS_CLASS_IN_PACKAGE, ACCESS_DECLARED_MEMBERS, EXEC_COMMANDS, GET_ENV,
4140	ALL_AWT, RECORD_AUDIO) new permissions. (AUDIO) renamed PLAY_AUDIO.
4141
41422014-03-24  Andrew Azores  <aazores@redhat.com>
4143
4144	* netx/net/sourceforge/jnlp/runtime/ManifestsAttributesValidator.java:
4145	renamed to ManifestAttributesChecker.
4146	* netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java:
4147	(checkTrustedOnlyAttribute, checkCodebaseAttribute,
4148	checkPermissionsAttribute,
4149	checkApplicationLibraryAllowableCodebaseAttribute) made private.
4150	(checkAll) new method.
4151	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: reflect above
4152	changes
4153
41542014-03-24  Andrew Azores  <aazores@redhat.com>
4155
4156	* netx/net/sourceforge/jnlp/runtime/ManifestsAttributesValidator.java:
4157	(checkTrustedOnlyAttrubute) works properly with sandboxing
4158
41592014-03-24  Jiri Vanek  <jvanek@redhat.com>
4160
4161	Client applications now log into new console.
4162	* netx/net/sourceforge/jnlp/resources/Messages.properties: added keys (COPitw)
4163	and (COPclientApp) for new checkboxes in console
4164	* netx/net/sourceforge/jnlp/runtime/Boot.java: added brackets to headless if
4165	* netx/net/sourceforge/jnlp/util/TeeOutputStream.java: moved to
4166	* netx/net/sourceforge/jnlp/util/logging/TeeOutputStream.java: and improved to
4167	log into new console.
4168	* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java: added new
4169	checkboxes to filter out/in custom app/itw logs. copyAll buttons do not include
4170	custom app's logs in case of first click.
4171	* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPaneModel.java: Added
4172	testing data with custom app. (HTMLCOLOR_PURPLE) and (HTMLCOLOR_GREEN) as
4173	new colors for custom app. (filter) now handle client app.
4174	* netx/net/sourceforge/jnlp/util/logging/JavaConsole.java: (init) redirect
4175	stdout/err over teeOutputStream
4176	* /netx/net/sourceforge/jnlp/util/logging/OutputController.java: (consume)
4177	do not reprint if header is marked by isClientApp
4178	* netx/net/sourceforge/jnlp/util/logging/headers/Header.java: added field
4179	(isClientApp)
4180
41812014-03-24  Jiri Vanek  <jvanek@redhat.com>
4182
4183	* netx/net/sourceforge/jnlp/controlpanel/CachePane.java: (visualCleanCache)
4184	consider exception in cache operation as not-scuess.
4185	* netx/net/sourceforge/jnlp/resources/Messages.properties: (CCannotClearCache)
4186	(CFakedCache) (CVCPCleanCacheTip) improved by fix it tips.
4187
41882014-03-24  Andrew Azores  <aazores@redhat.com>
4189
4190	* NEWS: added mention of Trusted-only manifest attribute
4191
41922014-03-24  Andrew Azores  <aazores@redhat.com>
4193
4194	Added ability to launch PolicyEditor from security prompts, with the
4195	current applet's codebase pre-selected in the editor.
4196	* netx/net/sourceforge/jnlp/resources/Messages.properties:
4197	(CertWarnPolicyTip, CertWarnPolicyEditor): new messages
4198	* netx/net/sourceforge/jnlp/security/dialogs/CertWarningPane.java: can
4199	launch PolicyEditor from new options overflow button
4200	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/PartiallySignedAppTrustWarningPanel.java:
4201	same
4202
42032014-03-24  Andrew Azores  <aazores@redhat.com>
4204
4205	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: pass
4206	SecurityDelegate to ManifestsAttributesValidator
4207	* netx/net/sourceforge/jnlp/runtime/ManifestsAttributesValidator.java:
4208	(securityDelegate) new field, added to constructor.
4209	(checkTrustedOnlyAttribute, checkPermissionsAttribute) works with
4210	RunInSandbox.
4211
42122014-03-20  Andrew Azores  <aazores@redhat.com>
4213
4214	Trusted-only manifest attribute implementation
4215	* netx/net/sourceforge/jnlp/resources/Messages.properties:
4216	(STrustedOnlyAttributeFailure) new message
4217	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: added
4218	ManifestsAttributesValidator#checkTrustedOnlyAttribute() to constructor
4219	* netx/net/sourceforge/jnlp/runtime/ManifestsAttributesValidator.java:
4220	(checkTrustedOnlyAttribute) new method
4221	* tests/reproducers/custom/TrustedOnlyAttribute/resources/TrustedOnlyAttribute-signed-nosecurity.jnlp:
4222	new tests for Trusted-only attribute
4223	* tests/reproducers/custom/TrustedOnlyAttribute/resources/TrustedOnlyAttribute-signed-security.jnlp
4224	* tests/reproducers/custom/TrustedOnlyAttribute/resources/TrustedOnlyAttribute-signed.html
4225	* tests/reproducers/custom/TrustedOnlyAttribute/resources/TrustedOnlyAttribute-unsigned-nosecurity.jnlp
4226	* tests/reproducers/custom/TrustedOnlyAttribute/resources/TrustedOnlyAttribute-unsigned-security.jnlp
4227	* tests/reproducers/custom/TrustedOnlyAttribute/resources/TrustedOnlyAttribute-unsigned.html
4228	* tests/reproducers/custom/TrustedOnlyAttribute/srcs/MANIFEST.MF
4229	* tests/reproducers/custom/TrustedOnlyAttribute/srcs/Makefile
4230	* tests/reproducers/custom/TrustedOnlyAttribute/srcs/TrustedOnlyAttribute.java
4231	* tests/reproducers/custom/TrustedOnlyAttribute/testcases/TrustedOnlyAttributeTest.java
4232
42332014-03-20  Andrew Azores  <aazores@redhat.com>
4234
4235	Passing a reference to SecurityDelegate to CertWarningPane, so that UI
4236	elements can be added later to allow the applet to be run Sandboxed + some
4237	temporary permissions
4238	* netx/net/sourceforge/jnlp/security/JNLPAppVerifier.java: (checkTrustWithUser)
4239	pass SecurityDelegate reference to SecurityDialogs.showCertWarningDialog
4240	* netx/net/sourceforge/jnlp/security/PluginAppVerifier.java: same
4241	* netx/net/sourceforge/jnlp/security/SecurityDialog.java: pass SecurityDelegate
4242	reference from extras into CertWarningPane constructor
4243	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java: (showCertWarningDialog)
4244	added SecurityDelegate parameter, add to extras array.
4245	* netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java: (askUser)
4246	pass null for SecurityDelegate reference
4247	* netx/net/sourceforge/jnlp/security/dialogs/CertWarningPane.java: (CertWarningPane)
4248	added SecurityDelegate constructor parameter and (securityDelegate) field
4249
42502014-03-20  Andrew Azores  <aazores@redhat.com>
4251
4252	SecurityDelegate can be used to add permissions to JNLPClassLoader during
4253	run. This is useful for adding temporary extra permissions to an applet.
4254	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (SecurityDelegate
4255	addPermission, addPermissions) new methods. (SecurityDelegateImpl addPermission,
4256	addPermissions) implement previous.
4257
42582014-03-20  Jiri Vanek  <jvanek@redhat.com>
4259
4260	Clear cache function made more visible.
4261	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: (okToClearCache) released
4262	never released lock. (clearCache) now recriated directory after cleaning.
4263	* netx/net/sourceforge/jnlp/controlpanel/CachePane.java: Added delete
4264	all button. (restoreDisabled) and (disableButtons) are containing duplicated
4265	code. (invokeLaterDeleteAll) and (visualCleanCache) utility methods accessing
4266	CacheUtil.clearCache.
4267	* netx/net/sourceforge/jnlp/resources/Messages.properties: added (CVCPCleanCache)
4268	and (CVCPCleanCacheTip) keys
4269	* netx/net/sourceforge/jnlp/splashscreen/parts/JEditorPaneBasedExceptionDialog.java:
4270	added (cacheButton)
4271	* netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java: also added (cacheButton)
4272	but also included some layout refactoring to have buttons in row.
4273
42742014-03-20  Jiri Vanek  <jvanek@redhat.com>
4275
4276	Methods validating manifests' attributes moved to separate class.
4277	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: Cleaned imports.
4278	At (init) methods (checkCodebaseAttribute), (checkPermissionsAttribute) and
4279	(checkApplicationLibraryAllowableCodebaseAttribute) moved to
4280	ManifestsAttributesValidator. (guessCodeBase) generalized in UrlUtils.
4281	* netx/net/sourceforge/jnlp/runtime/ManifestsAttributesValidator.java:
4282	new class. Contains logic to validate manifests'attributes.
4283	* netx/net/sourceforge/jnlp/util/UrlUtils.java: added method (guessCodeBase)
4284	as generalization of JNLPClassLoader's guessCodeBase method.
4285
42862014-03-14  Andrew Azores  <aazores@redhat.com>
4287
4288	Added new PartiallySigned Dialog to replace NotAllSignedWarningPane.
4289	Also includes a Sandbox button.
4290	* netx/net/sourceforge/jnlp/resources/Messages.properties:
4291	(APPEXTSecunsignedAppletActionSandbox, LPartiallySignedApplet,
4292	LPartiallySignedAppletUserDenied) new messages. (SNotAllSignedSummary,
4293	SNotAllSignedDetail, SNotAllSignedQuestion) keys renamed to SPartially*
4294	* netx/net/sourceforge/jnlp/resources/Messages_cs.properties: (SNotAllSignedSummary,
4295	SNotAllSignedDetail, SNotAllSignedQuestion) keys renamed to SPartially*
4296	* netx/net/sourceforge/jnlp/resources/Messages_de.properties: same
4297	* netx/net/sourceforge/jnlp/resources/Messages_pl.properties: same
4298	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
4299	Logic added for displaying new PartiallySigned dialog.
4300	(showNotAllSignedDialog) removed. (getSigningState) new method.
4301	(promptUserOnPartialSigning, userPromptedForPartialSigning) new methods for
4302	SecurityDelegate.
4303	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningDialog.java:
4304	(partiallySigned) new method
4305	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningPanel.java:
4306	(chosenActionSetter) refactored to allow Sandbox action. (setupInfoPanel) applet
4307	title made overrideable by subclasses
4308	* netx/net/sourceforge/jnlp/security/SecurityDialog.java: (NOTALLSIGNED_WARNING)
4309	renamed PARTIALLYSIGNED_WARNING, display new dialog rather than old
4310	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java: (NOTALLSIGNED_WARNING)
4311	renamed PARTIALLYSIGNED_WARNING. (showNotAllSignedWarningDialog) removed.
4312	(showPartiallySignedWarningDialog) new method
4313	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/ExecuteAppletAction.java:
4314	Added Sandbox action
4315	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
4316	(checkPartiallySignedWithUserIfRequired) new method
4317	* tests/reproducers/custom/SignedAppletCodebaseLoading/testcases/SignedAppletCodebaseLoadingTests.java:
4318	test now passes since dialog will not appear if applet security is set to Low.
4319	KnownToFail removed.
4320	* tests/reproducers/custom/SignedAppletExternalMainClass/testcases/SignedAppletExternalMainClassTest.java:
4321	same
4322	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/PartiallySignedAppTrustWarningPanel.java:
4323	new class
4324	* netx/net/sourceforge/jnlp/security/dialogs/NotAllSignedWarningPane.java: deleted
4325	in favour of PartiallySignedAppTrustWarningPanel
4326
43272014-03-14  Andrew Azores  <aazores@redhat.com>
4328
4329	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java:
4330	(addNewCodebase) ensure that checkboxes update. (removeCodebase,
4331	updateCheckboxes) ensure UI updates are done on EDT.
4332
43332014-03-14  Jiri Vanek  <jvanek@redhat.com>
4334
4335	Base implementation of Application-Library-Allowable-Codebase. Remember
4336	button not yet working.
4337	* netx/net/sourceforge/jnlp/JNLPFile.java: (ClasspathMatchers)
4338	(getApplicationLibraryAllowableCodebase) (getCodebase) (getCodeBaseMatchersAttribute)
4339	(getCodeBaseMatchersAttribute) (getCodeBaseMatchersAttribute) changed signature
4340	to include/not include path in returned matcher.
4341	* netx/net/sourceforge/jnlp/resources/Messages.properties: Added keys
4342	(ALACAMissingMainTitle) (ALACAMissingInfo) (ALACAMatchingMainTitle)
4343	(ALACAMatchingInfo) for new dialogs.
4344	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: Implemented
4345	(checkApplicationLibraryAllowableCodebaseAttribute). Used in (init)
4346	* netx/net/sourceforge/jnlp/security/SecurityDialog.java: made aware of
4347	new constants (MISSING_ALACA) and (MATCHING_ALACA)
4348	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java: new constants
4349	(MISSING_ALACA) and (MATCHING_ALACA). Implemented (showMissingALACAttributePanel)
4350	and (showMatchingALACAttributePanel)
4351	* netx/net/sourceforge/jnlp/security/dialogs/MatchingALACAttributePanel.java
4352	new dialog for Matching attribute
4353	* netx/net/sourceforge/jnlp/security/dialogs/MissingALACAttributePanel.java:
4354	new dialog for Missing attribute.
4355	* netx/net/sourceforge/jnlp/util/ClasspathMatcher.java: allowing user to
4356	choose whether to include paths in matching or not.
4357	* netx/net/sourceforge/jnlp/util/UrlUtils.java: new util methods (removeFileName)
4358	(setOfUrlsToHtmlList) (sanitizeLastSlash) and (equalsIgnoreLastSlash) to
4359	strip filename from url, toString for iterable of urls to string, and
4360	for operations with URLs independently on last slash
4361	* tests/netx/unit/net/sourceforge/jnlp/util/ClasspathMatcherTest.java: added
4362	tests for paths
4363	* tests/netx/unit/net/sourceforge/jnlp/util/UrlUtilsTest.java: added tests
4364	for new methods
4365
43662014-03-13  Andrew Azores  <aazores@redhat.com>
4367
4368	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java:
4369	(savePolicyFile, updateMd5WithDialog) avoid NPE when saving to a new file
4370
43712014-03-13  Jiri Vanek  <jvanek@redhat.com>
4372
4373	* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPClassLoaderTest.java: adapted
4374	to permissions attribute
4375
43762014-03-13  Jiri Vanek  <jvanek@redhat.com>
4377
4378	Fixing rear deadlock issue
4379	* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java: removed
4380	(probably) unnecessary synchronization of (refreshPaneBody).
4381
43822014-03-13  Jiri Vanek  <jvanek@redhat.com>
4383
4384	Fixed appearance of download indicator
4385	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (init) attributes
4386	are allowed to access jars only once all resources are downloaded
4387
43882014-03-12  Jiri Vanek  <jvanek@redhat.com>
4389
4390	* configure.ac: added check for /bin/bash
4391
43922014-03-12  Andrew Azores  <aazores@redhat.com>
4393
4394	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java:
4395	(initializeMapForCodebase) returns boolean indicating if the given
4396	codebase already existed. (addNewCodebase) do not add codebases if they
4397	already exist
4398
43992014-03-12  Andrew Azores  <aazores@redhat.com>
4400
4401	* netx/net/sourceforge/jnlp/resources/Messages.properties:
4402	(PEFileModified, PEFileModifiedDetail) new messages
4403	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java:
4404	(fileWatcher, openAndParsePolicyFile, savePolicyFile) update to use
4405	MD5SumWatcher to check if the file has changed externally since being
4406	opened
4407	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEditorTest.java:
4408	URLs changed to example.com
4409
44102014-03-12  Andrew Azores  <aazores@redhat.com>
4411
4412	* netx/net/sourceforge/jnlp/resources/Messages.properties:
4413	(PECodebaseFlag) new message for policyeditor -help
4414	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java:
4415	(HELP_MESSAGE) added -codebase flag
4416	* netx/policyeditor.1: updated -file and added -codebase and -help
4417
44182014-03-11  Andrew Azores  <aazores@redhat.com>
4419
4420	* netx/net/sourceforge/jnlp/security/policyeditor/PermissionTarget.java:
4421	(TMPDIR) is java.io.tmpdir, not io.tmpdir
4422
44232014-03-11  Jiri Vanek  <jvanek@redhat.com>
4424
4425	New java console made localizable.
4426	* netx/net/sourceforge/jnlp/resources/Messages.properties: added new family of
4427	keys (COP) for new console
4428	* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java: where reasonable,
4429	strings replaced by records in properties.
4430	* netx/net/sourceforge/jnlp/util/logging/JavaConsole.java: (rawData) and
4431	(outputs) made final.
4432
44332014-03-11  Jiri Vanek  <jvanek@redhat.com>
4434
4435	* netx/net/sourceforge/jnlp/resources/Messages.properties: added (CONSOLEClean)
4436	key for new button
4437	* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java: (update)
4438	method enhanced for possibility to force refresh
4439	* netx/net/sourceforge/jnlp/util/logging/JavaConsole.java: added ButClean
4440	button. (updateModel) overlaoded with force attribute.
4441
44422014-03-11  Jiri Vanek  <jvanek@redhat.com>
4443
4444	* netx/policyeditor.1: Mentioned that it is more GUI then commandline tool
4445
44462014-03-11  Jiri Vanek  <jvanek@redhat.com>
4447
4448	Implemented Permissions manifest entry handling.
4449	* NEWS: mentioned Permissions attribute
4450	* netx/net/sourceforge/jnlp/JNLPFile.java: new enum (ManifestBoolean) introduced
4451	to replace true/false/null by TRUE/FALSE/UNDEFFINED. (isTrustedOnly),
4452	(isTrustedLibrary), (isSandboxForced) and (processBooleanAttribute) moved
4453	to use ManifestBoolean.
4454	* netx/net/sourceforge/jnlp/resources/Messages.properties: Added (ButYes) (ButNo)
4455	(MissingPermissionsMainTitle) and (MissingPermissionsInfo) keys
4456	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: is now checking
4457	(checkPermissionsAttribute) in (init). Implemented new (checkPermissionsAttribute)
4458	method to handle Permissions attribute
4459	* netx/net/sourceforge/jnlp/security/SecurityDialog.java: can handle
4460	(UNSIGNED_EAS_NO_PERMISSIONS_WARNING)
4461	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java: defined
4462	(UNSIGNED_EAS_NO_PERMISSIONS_WARNING ) and (showMissingPermissionsAttributeDialogue)
4463	* netx/net/sourceforge/jnlp/security/dialogs/MissingPermissionsAttributePanel.java:
4464	new class, implementation of missing permissions attribute panel.
4465	* netx/net/sourceforge/jnlp/security/dialogs/SecurityDialogPanel.java: changed
4466	(initialFocusComponent) from package private to descendant visible
4467	*  tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java: and
4468	* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java: adapted to
4469	(ManifestBoolean) and to Permissions attribute handling at all.
4470
44712014-03-10  Omair Majid  <omajid@redhat.com>
4472
4473	* netx/javaws.1,
4474	* netx/itweb-settings.1: Change "SYNOPSYS" to "SYNOPSIS".
4475	* NEWS: Add itweb-setings man page.
4476
44772014-03-10  Andrew Azores  <aazores@redhat.com>
4478
4479	Added MD5SumWatcher utility class to detect when a file's contents have been
4480	changed on disk.
4481	* netx/net/sourceforge/jnlp/util/FileUtils.java: (getFileMD5Sum) new
4482	function
4483	* netx/net/sourceforge/jnlp/util/MD5SumWatcher.java: new class
4484	* tests/netx/unit/net/sourceforge/jnlp/util/MD5SumWatcherTest.java: new
4485	tests for MD5SumWatcher
4486
44872014-03-10  Andrew Azores  <aazores@redhat.com>
4488
4489	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissionsTest.java:
4490	(testActionsRegex, testTargetRegex, testRegexesAgainstBadPermissionNames):
4491	update after moving regexes from PolicyEditorPermissions into
4492	CustomPermission
4493
44942014-03-10  Andrew Azores  <aazores@redhat.com>
4495
4496	PolicyEditor parsing enhancements, new tests, and bugfixes
4497	* NEWS: added entry for PolicyEditor
4498	* netx/net/sourceforge/jnlp/resources/Messages.properties:
4499	(PESaveAsMenuItemMnemonic, PEExitMenuItemMnemonic) changed mnemonic keys
4500	due to masking with ctrl rather than alt
4501	* netx/net/sourceforge/jnlp/security/policyeditor/CustomPermission.java:
4502	(ACTIONS_PERMISSION, TARGET_PERMISSION, fromString) use regexes to parse
4503	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java:
4504	(file) keep reference to File rather than String filePath. (getPermissions)
4505	returns empty map rather than null. (setComponentMnemonic) new method.
4506	(getCustomPermissions) new function. (openAndParsePolicyFile) check for
4507	OpenFileResult FAILURE and NOT_FILE rather than null. (setupLayout) File,
4508	Save, SaveAs, and Exit items modifier mask changed to Ctrl rather than Alt
4509	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java:
4510	(fromString) use regexes to parse, using CustomPermission as intermediate
4511	representation
4512	* netx/net/sourceforge/jnlp/util/FileUtils.java:
4513	(testDirectoryPermissions) add check for getCanonicalFile and null
4514	safeguarding. (testFilePermissions) add check for getCanonicalFile and
4515	return FAILURE rather than null
4516	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/CustomPermissionTest.java:
4517	(testMissingQuotationMarks) new test
4518	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEditorTest.java:
4519	(testReturnedCustomPermissionsSetIsCopy,
4520	testCodebaseTrailingSlashesDoNotMatch) new tests
4521	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEditorParsingTest.java:
4522	new tests
4523
45242014-03-10  Omair Majid  <omajid@redhat.com>
4525
4526	* Makefile.am (install-data-local): Install itweb-settings.1.
4527	* netx/itweb-settings.1: New file.
4528
45292014-03-10  Jiri Vanek  <jvanek@redhat.com>
4530
4531	Added getter for java-abrt-connector on demand whitelist of fields.
4532	* netx/net/sourceforge/jnlp/Launcher.java: (launch) saving (location.toExternalForm())
4533	via JNLPRuntime.saveHistory
4534	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: (history) new static field
4535	with getter (getHistory) and "setter" (saveHistory)
4536	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: (handleInitializationMessage)
4537	saving (documentBase) via JNLPRuntime.saveHistory
4538
45392014-03-10  Jiri Vanek  <jvanek@redhat.com>
4540
4541	Actualized man page for javaws
4542	* netx/javaws.1: made sync with current state
4543
45442014-03-10  Jiri Vanek  <jvanek@redhat.com>
4545
4546	Fixed rhbz#1072013
4547	* netx/net/sourceforge/jnlp/PluginBridge.java: The (fileLocation) of
4548	JNLPFile is now properly set in constructor if not existing.
4549
45502014-03-06  Andrew Azores  <aazores@redhat.com>
4551
4552	* NEWS: added -version flag entry
4553	* netx/net/sourceforge/jnlp/resources/Messages.properties: (BOVersion)
4554	new message for command line -version flag
4555	* netx/net/sourceforge/jnlp/runtime/Boot.java: (main) added "-version"
4556	flag
4557
45582014-03-05  Jiri Vanek  <jvanek@redhat.com>
4559
4560	All security dialogs moved to appropriate package
4561	* netx/net/sourceforge/jnlp/security/AccessWarningPane.java: to
4562	* netx/net/sourceforge/jnlp/security/dialogs/AccessWarningPane.java:
4563	* netx/net/sourceforge/jnlp/security/AppletWarningPane.java: to
4564	* netx/net/sourceforge/jnlp/security/dialogs/AppletWarningPane.java:
4565	* netx/net/sourceforge/jnlp/security/CertWarningPane.java: to
4566	* netx/net/sourceforge/jnlp/security/dialogs/CertWarningPane.java
4567	* netx/net/sourceforge/jnlp/security/CertsInfoPane.java: to
4568	* netx/net/sourceforge/jnlp/security/dialogs/CertsInfoPane.java:
4569	* netx/net/sourceforge/jnlp/security/MoreInfoPane.java: to
4570	* netx/net/sourceforge/jnlp/security/dialogs/MoreInfoPane.java:
4571	* netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java: to
4572	* netx/net/sourceforge/jnlp/security/dialogs/NotAllSignedWarningPane.java:
4573	* netx/net/sourceforge/jnlp/security/PasswordAuthenticationPane.java: to
4574	* netx/net/sourceforge/jnlp/security/dialogs/PasswordAuthenticationPane.java:
4575	* netx/net/sourceforge/jnlp/security/SecurityDialogPanel.java: to
4576	* netx/net/sourceforge/jnlp/security/dialogs/SecurityDialogPanel.java:
4577	* netx/net/sourceforge/jnlp/security/SingleCertInfoPane.java: to
4578	* netx/net/sourceforge/jnlp/security/dialogs/SingleCertInfoPane.java:
4579	* netx/net/sourceforge/jnlp/security/AppTrustWarningDialog.java: to
4580	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningDialog.java:
4581	* netx/net/sourceforge/jnlp/security/AppTrustWarningPanel.java: to
4582	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningPanel.java:
4583	* netx/net/sourceforge/jnlp/security/UnsignedAppletTrustWarningDialog.java: to
4584	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/UnsignedAppletTrustWarningDialog.java:
4585	* netx/net/sourceforge/jnlp/security/UnsignedAppletTrustWarningPanel.java: to
4586	* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/UnsignedAppletTrustWarningPanel.java:
4587	* tests/netx/unit/net/sourceforge/jnlp/security/AppTrustWarningPanelTest.java: to
4588	* tests/netx/unit/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningPanelTest.java:
4589	* tests/netx/unit/net/sourceforge/jnlp/util/ClasspathMatcherTest.java: necessary changes
4590	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java: necessary changes
4591	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java: necessary changes
4592	* netx/net/sourceforge/jnlp/security/SecurityDialogMessageHandler.java: necessary changes
4593	* netx/net/sourceforge/jnlp/security/SecurityDialog.java: necessary changes
4594	* netx/net/sourceforge/jnlp/security/KeyStores.java: necessary changes
4595	* netx/net/sourceforge/jnlp/security/HttpsCertVerifier.java: necessary changes
4596	* netx/net/sourceforge/jnlp/security/CertificateUtils.java: necessary changes
4597
45982014-03-05  Jiri Vanek  <jvanek@redhat.com>
4599
4600	* netx/net/sourceforge/jnlp/security/AppTrustWarningPanel.java: fixed
4601	layout so buttons do not disappear under radioboxes.
4602	* netx/net/sourceforge/jnlp/security/UnsignedAppletTrustWarningPanel.java:
4603	added testable main method.
4604
46052014-03-05  Jiri Vanek  <jvanek@redhat.com>
4606
4607	* tests/netx/unit/net/sourceforge/jnlp/security/AppTrustWarningPanelTest.java:
4608	removed unused imports
4609	* tests/netx/unit/net/sourceforge/jnlp/util/ClasspathMatcherTest.java:
4610	added test for plain * in ClasspathMatcher.ClasspathMatchers.compile()
4611
46122014-03-05  Matthias Klose  <doko@ubuntu.com>
4613
4614	* launcher/launchers.in: Use bash as shebang.
4615
46162014-03-04  Andrew Azores  <aazores@redhat.com>
4617
4618	* netx/net/sourceforge/jnlp/resources/Messages.properties:
4619	(SAppletTitle) new message
4620	* netx/net/sourceforge/jnlp/security/AppTrustWarningPanel.java:
4621	(buttons) new list of UI buttons. (getAllowButton, getRejectButton,
4622	addComponents) made final.
4623	(createButtonPanel) uses list of buttons rather than hardcoded.
4624	(helpButton) action made configurable.
4625
46262014-03-03  Omair Majid  <omajid@redhat.com>
4627
4628	PR857
4629	* netx/net/sourceforge/jnlp/about/AboutDialog.java
4630	(run): Do not set look and feel.
4631	* netx/net/sourceforge/jnlp/runtime/Boot.java
4632	(main) <about>: Set look and feel before displaying dialog.
4633	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
4634	(initialize): Set look and feel before any UI is created.
4635	* netx/net/sourceforge/jnlp/security/SecurityDialog.java
4636	(init): Do not set look and feel.
4637	(setSystemLookAndFeel): Removed.
4638	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
4639	(createInstance): Do not set look and feel.
4640	* netx/net/sourceforge/jnlp/security/viewer/CertificateViewer.java
4641	(showCertificateViewer): Do not set look and feel.
4642	(setSystemLookAndFeel): Removed.
4643
46442014-03-03  Omair Majid  <omajid@redhat.com>
4645
4646	PR1676
4647	* netx/net/sourceforge/jnlp/SecurityDesc.java: Add permission to
4648	read/write useLegacyMergeSort.
4649
46502014-03-03  Andrew Azores  <aazores@redhat.com>
4651
4652	UnsignedAppletTrustWarningPanel logic moved into new abstract parent class
4653	AppTrustWarningPanel for reusability.
4654	* netx/net/sourceforge/jnlp/security/AppTrustWarningDialog.java: new class
4655	* netx/net/sourceforge/jnlp/security/AppTrustWarningPanel.java: new class
4656	* netx/net/sourceforge/jnlp/security/UnsignedAppletTrustWarningPanel.java:
4657	major refactor into subclass of AppTrustWarningPanel
4658	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java:
4659	(UnsignedWarningAction) references changed to AppSigningWarningAction
4660	* netx/net/sourceforge/jnlp/security/UnsignedAppletTrustWarningDialog.java: same
4661	* tests/netx/unit/net/sourceforge/jnlp/security/AppTrustWarningPanelTest.java:
4662	new tests for AppTrustWarningPanel
4663	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/ExecuteUnsignedApplet.java:
4664	renamed, changed all references
4665	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/ExecuteAppletAction.java:
4666	(ExecuteUnsignedApplet) renamed to this
4667	* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletActionTableModel.java:
4668	(ExecuteAppletAction) changed references
4669	* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java:
4670	(ExecuteAppletAction) changed references
4671	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionEntry.java:
4672	(ExecuteAppletAction) changed references
4673	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
4674	(ExecuteAppletAction) changed references
4675	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageExtendedImpl.java:
4676	(ExecuteAppletAction) changed references
4677	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java:
4678	(ExecuteAppletAction) changed references
4679
46802014-02-28  Andrew Azores  <aazores@redhat.com>
4681
4682	Added "Sandbox" button to CertWarning dialogs, allowing signed applets
4683	to be run with restricted permissions
4684	* netx/net/sourceforge/jnlp/resources/Messages.properties: (ButSandbox,
4685	LRunInSandboxError, LRunInSandboxErrorInfo, CertWarnRunTip,
4686	CertWarnSandboxTip, CertWarnCancelTip): new messages
4687	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (createInstance)
4688	added check to not display unsigned warning dialog if the cert warning
4689	dialog has been presented and the applet is sandboxed.
4690	(checkTrustWithUser) updated for Run In Sandbox functionality.
4691	(setRunInSandbox, userPromptedForSandbox) new functions
4692	* netx/net/sourceforge/jnlp/security/AppVerifier.java:
4693	(checkTrustWithUser) added SecurityDelegate param
4694	* netx/net/sourceforge/jnlp/security/CertWarningPane.java: added Sandbox
4695	button
4696	* netx/net/sourceforge/jnlp/security/JNLPAppVerifier.java:
4697	(checkTrustWithUser) uses AppletAction enum type, calls
4698	JNLPClassLoader#setRunInSandbox if AppletAction is SANDBOX
4699	* netx/net/sourceforge/jnlp/security/PluginAppVerifier.java: same
4700	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java: added
4701	(AppletAction) enum type. (showCertWarning) returns AppletAction
4702	rather than boolean
4703	* netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java:
4704	(askUser) refactor to use AppletAction rather than boolean
4705	* netx/net/sourceforge/jnlp/tools/JarCertVerifier.java:
4706	(checkTrustWithUser) added SecurityDelegate param
4707	* tests/netx/unit/net/sourceforge/jnlp/security/SecurityDialogsTest.java:
4708	(testGetIntegerResponseAsAppletAction) new tests for converting Object
4709	references into AppletActions
4710
47112014-02-28  Andrew Azores  <aazores@redhat.com>
4712
4713	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
4714	(SecurityDelegate, SecurityDelegateImpl) new interface and implementation.
4715	Includes logic for Run In Sandbox, which is not yet used
4716	(initializeResources, setSecurity, activateJars, addNewJar) refactored to
4717	use SecurityDelegate
4718
47192014-02-27  Andrew Azores  <aazores@redhat.com>
4720
4721	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: treat signed
4722	applets which load from the codebase as partially signed, and fix
4723	regression with signed applets loading main-classes from codebase
4724	* tests/reproducers/custom/SignedAppletCodebaseLoading/resources/SignedAppletCodebaseLoading.html:
4725	new test to ensure that signed applets with codebase loading can run
4726	* tests/reproducers/custom/SignedAppletCodebaseLoading/srcs/Makefile
4727	* tests/reproducers/custom/SignedAppletCodebaseLoading/srcs/SignedAppletCodebaseLoading.java
4728	* tests/reproducers/custom/SignedAppletCodebaseLoading/srcs/SignedAppletCodebaseLoadingHelper.java
4729	* tests/reproducers/custom/SignedAppletCodebaseLoading/testcases/SignedAppletCodebaseLoadingTests.java
4730	* tests/reproducers/custom/SignedAppletExternalMainClass/resources/SignedAppletExternalMainClass.html:
4731	new test to ensure that signed applets with codebase-loaded main-classes
4732	can run
4733	* tests/reproducers/custom/SignedAppletExternalMainClass/srcs/Makefile
4734	* tests/reproducers/custom/SignedAppletExternalMainClass/srcs/SignedAppletExternalMainClass.java
4735	* tests/reproducers/custom/SignedAppletExternalMainClass/srcs/SignedAppletExternalMainClassHelper.java
4736	* tests/reproducers/custom/SignedAppletExternalMainClass/testcases/SignedAppletExternalMainClassTest.java
4737
47382014-02-21  Jiri Vanek  <jvanek@redhat.com>
4739
4740	* acinclude.m4: added (IT_CHECK_XULRUNNER_API_VERSION_CONSTCHAR) macro,
4741	Added (IT_CHECK_XULRUNNER_API_VERSION_C11)
4742	* configure.ac: added call of IT_CHECK_XULRUNNER_API_CONSTCHAR and
4743	IT_CHECK_XULRUNNER_API_VERSION_C11
4744	* plugin/icedteanp/IcedTeaNPPlugin.cc: (NP_GetMIMEDescription)
4745	return type set-up by dependency on defined LEGACY_XULRUNNERAPI.
4746	 This one is set by IT_CHECK_XULRUNNER_API_VERSION during configure.
4747	if defined, then old char* is used. New const char* is used otherwise.
4748
47492014-02-20  Andrew Azores  <aazores@redhat.com>
4750
4751	New simplified PolicyEditor for editing Java policy files, particularly
4752	user-level JNLP policies.
4753	* Makefile.am: added policyeditor launcher targets
4754	* netx/net/sourceforge/jnlp/controlpanel/PolicyPanel.java:
4755	(OpenFileResult, canOpenPolicyFile, testPolicyFileDirectory,
4756	showCouldNotOpenFileDialog, showReadOnlyDialog) moved into FileUtils.
4757	(PolicyPanel) added button for PolicyEditor. (launchSimplePolicyEditor)
4758	new function. (LaunchSimplePolicyEditorAction) new class, action for new
4759	button.
4760	* netx/net/sourceforge/jnlp/resources/Messages.properties: new messages
4761	for PolicyEditor
4762	* netx/net/sourceforge/jnlp/util/FileUtils.java: (OpenFileResult,
4763	testDirectoryPermissions, testFilePermissions, showReadOnlyDialog,
4764	showCouldNotOpenFileDialog) new functions
4765	* netx/net/sourceforge/jnlp/security/policyeditor/CustomPermission.java:
4766	new class
4767	* netx/net/sourceforge/jnlp/security/policyeditor/CustomPolicyViewer.java:
4768	new class
4769	* netx/net/sourceforge/jnlp/security/policyeditor/PermissionActions.java:
4770	new class
4771	* netx/net/sourceforge/jnlp/security/policyeditor/PermissionTarget.java:
4772	new class
4773	* netx/net/sourceforge/jnlp/security/policyeditor/PermissionType.java: new
4774	class
4775	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java: new
4776	class
4777	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java:
4778	new class
4779	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEntry.java: new
4780	class
4781	* policyeditor.desktop.in: new launcher desktop file
4782	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/CustomPermissionTest.java:
4783	new class
4784	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PermissionActionsTest.java:
4785	new class
4786	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PermissionTargetTest.java:
4787	new class
4788	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PermissionTypeTest.java:
4789	new class
4790	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissionsTest.java:
4791	new class
4792	* tests/netx/unit/net/sourceforge/jnlp/security/policyeditor/PolicyEditorTest.java:
4793	new class
4794
47952014-02-19  Michal Vyskocil  <mvyskocil@suse.com>
4796
4797	Put link flags to the end of gcc command line to prevent link failures
4798	Make sure that path to PUBLIC_KEYSTORE exists to prevent keytool fail
4799	* tests/softkiller/Makefile: put -lX11 to the end of command line
4800	* Makefile.am: if path to PUBLIC_KEYSTORE does not exists, make it
4801
48022014-02-13  Jiri Vanek  <jvanek@redhat.com>
4803
4804	Get rid of ConcurrentModificationException in Console output.
4805	* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPaneModel.java: (importList)
4806	now	synchronise over original data, instead of (somtimes by) copy as, wrongly, before.
4807
48082014-02-13  Jiri Vanek  <jvanek@redhat.com>
4809
4810	Added possibility to follow redirects for javaws in demand by
4811	-allowredirect switch.
4812	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java: added inner class
4813	(CodeWithRedirect), which stores server result and possible redirection target
4814	(getUrlResponseCode) is only wrapper around new (getUrlResponseCodeWithRedirectonResult)
4815	which returns (CodeWithRedirect). It fills url form Location header field if
4816	any. (findBestUrl) now follow 301,302,303,307,308 redirects if enabled
4817	and valid - otherwise new (RedirectionException) is thrown.
4818	* netx/net/sourceforge/jnlp/resources/Messages.properties: described
4819	-allowredirect by (BOredirect) key.
4820	* netx/net/sourceforge/jnlp/runtime/Boot.java: and
4821	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: added handling of
4822	-allowredirect. New (allowRedirect) field.
4823
48242014-02-12  Jiri Vanek  <jvanek@redhat.com>
4825
4826	Fixed behaviour of href in jnlp file to correctly download another it if it is remote
4827	* netx/net/sourceforge/jnlp/Launcher.java: (fromUrl) if file is not local, and
4828	have href and href point elsewhere, then it is used as future jnlpfile
4829	* tests/reproducers/simple/GeneratedId/testcases/GeneratedIdTest.java:
4830	(launchRemoteChangedFileWithHref) adapted to new behaviour
4831
48322014-02-12  Jiri Vanek  <jvanek@redhat.com>
4833
4834	Implemented Codebase manifest entry handling.
4835	* netx/net/sourceforge/jnlp/JNLPFile.java: manifests names constants moved into
4836	ManifestsAttributes inner class.(getCallerAllowableCodebase) (getApplicationLibraryAllowableCodebase)
4837	(getCodebase) (getCodeBaseMatchersAttribute)  (getCodeBaseMatchersAttribute) are
4838	now returning (ClasspathMatcher.ClasspathMatchers). added boolean access to (isTrustedOnly)
4839	(isTrustedLibrary).
4840	* netx/net/sourceforge/jnlp/resources/Messages.properties: added (CBCheckFile)
4841	(CBCheckNoEntry) (CBCheckUnsignedPass) (CBCheckUnsignedPass) (CBCheckOkSignedOk)
4842	(CBCheckOkSignedOk)	(CBCheckOkSignedOk) keys to inform about Classpath validation
4843	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: in Init call new method
4844	(checkCodebaseAttribute) which check the codebase manifest entry.
4845	* netx/net/sourceforge/jnlp/util/ClasspathMatcher.java: New class, responsible
4846	for matching Classpath like pattern with URL
4847	* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java: added tests to
4848	cover all newly accessible attributes from JNLPFile.ManifestsAttributes
4849	* tests/netx/unit/net/sourceforge/jnlp/util/ClasspathMatcherTest.java: mostly
4850	corner and must-fullfill cases tests.
4851	* tests/test-extensions/net/sourceforge/jnlp/util/FileTestUtils.java: (assertNoFileLeak)
4852	have timeout before actual countings. JVM needs time to propagate cleanup.
4853	* tests/reproducers/signed/CodeBaseManifestEntrySignedMatching/:
4854    * tests/reproducers/signed/CodeBaseManifestEntrySignedNotMatching/:
4855	* tests/reproducers/simple/CodeBaseManifestEntryUnsignedMatching/:
4856    *tests/reproducers/simple/CodeBaseManifestEntryUnsignedNotMatching/:
4857	New set of reproducers to test Codebases processing. All testcas are in
4858	(CodeBaseManifestEntrySignedMatching) so they can share code.
4859
48602014-02-11  Andrew Azores  <aazores@redhat.com>
4861
4862	Partial revert of 7933143a1286, refactoring to move
4863	codebase-loading-enabling logic out of Launcher and into JNLPClassLoader.
4864	* netx/net/sourceforge/jnlp/Launcher.java: (createApplet,
4865	createAppletObject): handle enableCodebase again
4866	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (enableCodebase):
4867	re-added, codebase enabling logic moved back out into Launcher
4868
48692014-02-05  Jiri Vanek  <jvanek@redhat.com>
4870
4871	Added salt to plugin-java pipes' directory (fixing RH1010958)
4872	* plugin/icedteanp/IcedTeaNPPlugin.cc: (cleanUpDir) new utility method
4873	to clean up pipes directory. (start_jvm_if_needed) is now returning
4874	error status and creating salt in directory name. (initialize_data_directory)
4875	now add salt to the name.
4876	* plugin/icedteanp/IcedTeaNPPlugin.h: changed declaration of (start_jvm_if_needed)
4877
48782014-02-04  Jacob Wisor  <gitne@gmx.de>
4879
4880	Added missing PL localized messages
4881	* netx/net/sourceforge/jnlp/resources/Messages_pl.properties: added
4882	RCantOpenFile RCantWriteFile RFileReadOnly RExpectedFile CPPolicyDetail
4883	CPPolicyTooltip	CPPolicyEditorNotFound CPButPolicy CPHeadPolicy
4884	CPTabPolicy. Modified SSigUnverified SSigVerified SSignatureError
4885
48862014-02-04  Jacob Wisor  <gitne@gmx.de>
4887
4888	Added missing DE localized messages
4889	* netx/net/sourceforge/jnlp/resources/Messages_de.properties: added
4890	RCantOpenFile RCantWriteFile RFileReadOnly RExpectedFile CPPolicyDetail
4891	CPPolicyTooltip	CPPolicyEditorNotFound CPButPolicy CPHeadPolicy
4892	CPTabPolicy. Modified SSigUnverified SSigVerified SSignatureError
4893
48942014-01-31  Jacob Wisor  <gitne@gmx.de>
4895
4896	* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPaneModel.java:
4897	(importList) Separate XHTML fix due to revision 884
4898
48992014-01-30  Jacob Wisor  <gitne@gmx.de>
4900
4901	* Javadoc, XHTML conformance, and formatting cleanup
4902
49032014-01-30  Andrew Azores  <aazores@redhat.com>
4904
4905	* NEWS: added entry for PolicyPanel
4906	* netx/net/sourceforge/jnlp/controlpanel/PolicyPanel.java: added
4907	class-level Javadoc comment, made some local variables final, added
4908	reflective fallback case for JRE 6 PolicyTool location
4909
49102014-01-29  Andrew Azores  <aazores@redhat.com>
4911
4912	Fix for regression due to PR1513 fix. ClassLoader was too optimistic about
4913	finding codebase main-classes and so the not-all-signed dialog would
4914	appear even for applets that were entirely broken and could not be loaded
4915	at all.
4916	* netx/net/sourceforge/jnlp/Launcher.java: (createApplet,
4917	createAppletObject) pass enableCodeBase to JNLPClassLoader
4918	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (enableCodeBase)
4919	removed, now done by constructor argument. (checkNotAllSignedWithUser)
4920	minor refactor. (initializeResources) actually check if main-class is
4921	loadable from codebase when this is suspected, rather than assuming it
4922	will be there
4923
49242014-01-27  Andrew Azores  <aazores@redhat.com>
4925
4926	MixedSigningApplet reproducer (PR1592) moved into custom reproducer. JNLP
4927	files generated per-test rather than premade. Many new tests added.
4928	* tests/reproducers/custom/MixedSigningApplet/resources/MixedSigningApplet.html:
4929	moved to custom reproducer
4930	* tests/reproducers/custom/MixedSigningApplet/resources/MixedSigningApplet.jnlp:
4931	moved to custom reproducer and now used as template by testcases file
4932	* tests/reproducers/custom/MixedSigningApplet/srcs/Makefile: new Makefile
4933	for custom reproducer
4934	* tests/reproducers/custom/MixedSigningApplet/srcs/MixedSigningAppletHelper.java
4935	* tests/reproducers/custom/MixedSigningApplet/srcs/MixedSigningAppletSigned.java
4936	*
4937	tests/reproducers/custom/MixedSigningApplet/testcases/MixedSigningAppletSignedTests.java:
4938	new tests added, JNLP files generated per-test rather than all prepackaged
4939	* tests/reproducers/signed/MixedSigningAppletSigned/srcs/MixedSigningAppletSigned.java:
4940	moved to custom reproducer
4941	* tests/reproducers/signed/MixedSigningAppletSigned/testcases/MixedSigningAppletSignedTests.java
4942	* tests/reproducers/simple/MixedSigningApplet/resources/MixedSigningApplet-1.jnlp
4943	* tests/reproducers/simple/MixedSigningApplet/resources/MixedSigningApplet-2.jnlp
4944	* tests/reproducers/simple/MixedSigningApplet/resources/MixedSigningApplet-3.jnlp
4945	* tests/reproducers/simple/MixedSigningApplet/resources/MixedSigningApplet-4.jnlp
4946	* tests/reproducers/simple/MixedSigningApplet/resources/MixedSigningApplet-5.jnlp
4947	* tests/reproducers/simple/MixedSigningApplet/resources/MixedSigningApplet-6.jnlp
4948	* tests/reproducers/simple/MixedSigningApplet/resources/MixedSigningApplet.html
4949	* tests/reproducers/simple/MixedSigningApplet/srcs/MixedSigningAppletHelper.java
4950
49512014-01-27  Jiri Vanek  <jvanek@redhat.com>
4952
4953	Tuning of properties loading.
4954	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: added
4955	(resetToDefaults) methods to set default values to map.
4956	(loadSystemConfiguration) now throws ConfigurationException. Added more
4957	verbose error messages. The ioexception is now also cause of ConfigurationException
4958	if mandatory is on.
4959	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: now correctly fails to
4960	initiate if ConfigurationException appeared.
4961	Init of (configuration) now catch general exception, and fall back  to default
4962	(instead of die  fatally with NoClassDefFoundError). User is warned.
4963	* netx/net/sourceforge/jnlp/resources/Messages.properties: new key of
4964	(RFailingToDefault) added.
4965
49662014-01-24  Andrew Azores  <aazores@redhat.com>
4967
4968	http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-January/025971.html
4969	* netx/net/sourceforge/jnlp/controlpanel/PolicyPanel.java: added license
4970	header and javadocs. Launch PolicyTool by ProcessBuilder rather than
4971	calling PolicyTool.main directly, with reflective launch fallback method.
4972	* netx/net/sourceforge/jnlp/resources/Messages.properties: added message
4973	(CPPolicyEditorNotFound)
4974
49752014-01-23  Omair Majid  <omajid@redhat.com>
4976
4977	* Makefile.am [ENABLE_DOCS] [JAVADOC_SUPPORTS_J_OPTIONS]:
4978	Don't specify perm gen size.
4979
49802014-01-23  Omair Majid  <omajid@redhat.com>
4981
4982	* netx/net/sourceforge/jnlp/JNLPFile.java,
4983	* netx/net/sourceforge/jnlp/NetxPanel.java,
4984	* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java,
4985	* netx/net/sourceforge/jnlp/cache/CacheUtil.java,
4986	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java,
4987	* netx/net/sourceforge/jnlp/config/DirectoryValidator.java,
4988	* netx/net/sourceforge/jnlp/config/Setting.java,
4989	* netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java,
4990	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java,
4991	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java,
4992	* netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java,
4993	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java,
4994	* netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java,
4995	* netx/net/sourceforge/jnlp/services/XSingleInstanceService.java,
4996	* netx/net/sourceforge/jnlp/util/FileUtils.java,
4997	* netx/net/sourceforge/jnlp/util/JarFile.java,
4998	* netx/net/sourceforge/nanoxml/XMLElement.java,
4999	* netx/net/sourceforge/nanoxml/XMLParseException.java,
5000	* plugin/icedteanp/java/sun/applet/PluginStreamHandler.java: Fix incorrect
5001	parameter names, throws declerations and malformed html in javadocs.
5002
50032014-01-20  Jiri Vanek  <jvanek@redhat.com>
5004
5005	Added Christmas splashscreen extension.
5006	* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/BasePainter.java:
5007	base colors are derived from active extension. And extension is painted (if any)
5008	* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/ErrorPainter.java:
5009	same
5010	* netx/net/sourceforge/jnlp/splashscreen/parts/extensions/ChristmasExtension.java:
5011	extension valid in Christmas time, painting falling stars and dimming colors.
5012	* netx/net/sourceforge/jnlp/splashscreen/parts/extensions/ExtensionManager.java
5013	provider of extension. Know only the Christmas one right now.
5014	* netx/net/sourceforge/jnlp/splashscreen/parts/extensions/NoExtension.java:
5015	no op extension for no extension times
5016	* netx/net/sourceforge/jnlp/splashscreen/parts/extensions/SplashExtension.java:
5017	unfinished extension interface
5018	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/ErrorSplashScreenTest.java:
5019	and
5020	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/SplashScreenTest.java:
5021	adapted to current purposes
5022
50232014-01-20  Jiri Vanek  <jvanek@redhat.com>
5024
5025	Added support for system level linux logging
5026	* netx/net/sourceforge/jnlp/util/logging/OutputController.java: exclusive
5027	handling for system critical *java* messages when system logging is on.
5028	* netx/net/sourceforge/jnlp/util/logging/UnixSystemLog.java: implemented
5029	call to logger
5030	* plugin/icedteanp/IcedTeaPluginUtils.h: error messages logged to syslog
5031	* plugin/icedteanp/java/sun/applet/PluginDebug.java: default messages
5032	are now MESSAGE_DEBUG instead of ERROR_ALL
5033	* tests/cpp-unit-tests/IcedTeaPluginUtilsTest.c: adapted to system logging
5034
50352014-01-17  Andrew Azores  <aazores@redhat.com>
5036
5037	Added itweb-settings panel to explain custom policy files and allow
5038	launching a policy editor for user's policy file.
5039	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java:
5040	(createMainSettingsPanel, createPolicySettingsPanel) added PolicyPanel
5041	* netx/net/sourceforge/jnlp/resources/Messages.properties: new messages
5042	for PolicyPanel
5043	* netx/net/sourceforge/jnlp/controlpanel/PolicyPanel.java: new panel to
5044	allow launching of external policy editor
5045	* tests/reproducers/simple/CustomPolicies/resources/CustomPolicies.html:
5046	new test to ensure custom user policy files work correctly
5047	* tests/reproducers/simple/CustomPolicies/resources/CustomPoliciesApplet.jnlp
5048	* tests/reproducers/simple/CustomPolicies/resources/CustomPoliciesApplication.jnlp
5049	* tests/reproducers/simple/CustomPolicies/resources/CustomPoliciesJnlpHref.html
5050	* tests/reproducers/simple/CustomPolicies/srcs/CustomPolicies.java
5051	* tests/reproducers/simple/CustomPolicies/testcases/CustomPoliciesTest.java
5052
50532014-01-17  Andrew Azores  <aazores@redhat.com>
5054
5055	Fixes JS reproducer regression.
5056	http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-January/025764.html
5057	* plugin/icedteanp/IcedTeaScriptablePluginObject.cc: (hasMethod) fixed
5058	regression from rev 757:ee92f55c69a3
5059
50602014-01-16  Jiri Vanek  <jvanek@redhat.com>
5061
5062	Reproducers stabilization by removing check for not presented general Exception
5063	or error.
5064	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: removed
5065	legacy debug call
5066	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: as in subject,
5067	and same in others
5068	* tests/reproducers/signed/AppletTestSigned/testcases/AppletTestSignedTests.java:
5069	* tests/reproducers/signed/ClasspathManifestTest/testcases/ClasspathManifestTest.java:
5070	* tests/reproducers/signed/ClipboardContentSigned/testcases/ClipboardContentSignedTests.java:
5071	* tests/reproducers/signed/InternalClassloaderWithDownloadedResource/testcases/InternalClassloaderWithDownloadedResourceTest.java:
5072	* tests/reproducers/signed/Spaces can be everywhere signed/testcases/SpacesCanBeEverywhereTestsSigned.java:
5073	* tests/reproducers/signed2/MultipleSignaturesTest/testcases/MultipleSignaturesTestTests.java:
5074	* tests/reproducers/simple/AppletTest/testcases/AppletTestTests.java:
5075	* tests/reproducers/simple/JSToJSet/testcases/JSToJSetTest.java:
5076	* tests/reproducers/simple/LocalisedInformationElement/testcases/LocalisedInformationElementTest.java:
5077	* tests/reproducers/simple/ParametrizedJarUrl/testcases/ParametrizedJarUrlTests.java:
5078	* tests/reproducers/simple/Spaces can be everywhere/testcases/SpacesCanBeEverywhereTests.java:
5079	* tests/reproducers/simple/deadlocktest/testcases/DeadLockTestTest.java:
5080	* tests/reproducers/simple/encodingTestsĚŠČŘŽÝÁÍÉĚÉŘŤÝÚŮÍÓÁŠĎŽŹŇ/testcases/EncodingTestTest.java:
5081	* tests/reproducers/simple/simpletest1/testcases/SimpleTest1Test.java:
5082
50832014-01-15  Jiri Vanek  <jvanek@redhat.com>
5084
5085	Fixed memory leak detector to correctly handle pre_init_messages queue.
5086	* plugin/icedteanp/IcedTeaPluginUtils.cc: implemented (reset_pre_init_messages)
5087	method.
5088	* plugin/icedteanp/IcedTeaPluginUtils.h: declared (reset_pre_init_messages).
5089	* tests/cpp-unit-tests/MemoryLeakDetector.h: (reset_global_state) called
5090	(reset_pre_init_messages).
5091
50922014-01-09  Andrew Azores  <aazores@redhat.com>
5093
5094	* html-gen.sh: made more idiomatic and removed some bashisms
5095
50962014-01-06  Jiri Vanek  <jvanek@redhat.com>
5097
5098	Copy all button in console controls sorts by date by default.
5099	* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java: added
5100	(sortCopyAll) checkbox. Logic from  (copyPlainActionPerformed) and
5101	(copyRichActionPerformed)  extracted to  new (fillClipBoard) which also
5102	used correct call of  ConsoleOutputPaneModel.importList  based on
5103	 (sortCopyAll) value.
5104	* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPaneModel.java:
5105	added abstraction for (importList)  to allow sorting via parameter
5106
51072014-01-06  Jiri Vanek  <jvanek@redhat.com>
5108
5109	Removed dependence on  sun.misc.BASE64Decoder
5110	* configure.ac: removed check for sun.misc.BASE64Decoder
5111	* netx/net/sourceforge/jnlp/PluginBridge.java :  sun.misc.BASE64Decoder
5112	import replaced by net.sourceforge.jnlp.util.replacements.BASE64Decoder
5113	* netx/net/sourceforge/jnlp/util/replacements/BASE64Decoder.java: new
5114	file, in-tree copy from jdk7
5115	* netx/net/sourceforge/jnlp/util/replacements/CharacterDecoder.java: likewise
5116	* tests/netx/unit/net/sourceforge/jnlp/util/replacements/BASE64DecoderTest.java:
5117	new tests for new files
5118	* tests/netx/unit/net/sourceforge/jnlp/util/replacements/BASE64EncoderTest.java:
5119	(getAndInvokeMethod), (encoded) and (sSrc) made public final. Corrected
5120	usage of (encoded2), added new test (testEmbededBase64EncoderAgainstEbededDecoder)
5121	to test with internal  decoder.
5122
51232014-01-02  Andrew Azores  <aazores@redhat.com>
5124
5125	Added ChangeLog revision hyperlinking to html-gen.sh
5126	* html-gen.sh: ChangeLog dates made hyperlinks to corresponding commits
5127
51282013-12-27  Andrew Azores  <aazores@redhat.com>
5129
5130	Resolve deadlock issue in JNLPClassLoader. See
5131	http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-December/025546.html
5132	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (loadClassLock)
5133	removed. (available, jarIndexes, classpaths, jarEntries, jarLocationSecurityMap)
5134	fields wrapped in Collections.synchronized*() to provide atomic read/write.
5135	Synchronized on while iterating over these collections. (loadClass) no longer
5136	uses implicit JNLPClassLoader instance lock nor dedicated loadClassLock object.
5137
51382013-12-20  Jiri Vanek  <jvanek@redhat.com>
5139
5140	Rewritten java console
5141	* netx/net/sourceforge/jnlp/Launcher.java: fatal error from lunch can reach console
5142	* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java: new console,
5143	controls
5144	* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPaneModel.java: data
5145	manager of new console.
5146	* netx/net/sourceforge/jnlp/util/logging/JavaConsole.java: removed old gui,
5147	now using multiple 1-n instances of ConsoleOutputPane with theirs models.
5148	(addMessage) now receive MessageWithHeader object instead body and header.
5149	* netx/net/sourceforge/jnlp/util/logging/headers/Header.java: have not null
5150	defaults
5151	* netx/net/sourceforge/jnlp/util/logging/headers/ObservableMessagesProvider.java:
5152	abstraction of datasource for new console
5153	* tests/netx/unit/net/sourceforge/jnlp/util/logging/JavaConsoleTest.java:
5154	adapted.
5155
51562013-12-20  Jiri Vanek  <jvanek@redhat.com>
5157
5158	fixed CacheLRUWrapperTest
5159	* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java: (cacheDir) and
5160	(cacheOrder) made package private for testing purposes.
5161	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java:
5162	True testing cache file is now prepared, tested, and removed.
5163	the CacheLRUWrapper is using this testing repo.
5164
51652013-12-20  Jiri Vanek  <jvanek@redhat.com>
5166
5167	finished removal of legacy xulrunner api
5168	* acinclude.m4: (IT_CHECK_XULRUNNER_API_VERSION) removed
5169	* configure.ac: likewise
5170
51712013-12-20  Jiri Vanek  <jvanek@redhat.com>
5172
5173	singletons logic, logs and test cleanup/fixes
5174	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java:
5175	config singleton made properly synchronized via Holder pattern
5176	(DeploymentConfigurationHolder).
5177	* netx/net/sourceforge/jnlp/util/logging/JavaConsole.java: same,
5178	(JavaConsoleHolder). Console gui initialized on show, not on creation.
5179	Removed look and feel. (addMessage) gui update adapted.
5180	* netx/net/sourceforge/jnlp/util/logging/LogConfig.java: made private,
5181	singleton handled via LogConfigHolder.
5182	* netx/net/sourceforge/jnlp/util/logging/OutputController.java: mentioned
5183	issue with (getConfiguration), removed obsoleted (MessageWithLevel),
5184	(messageQue) retyped to <MessageWithHeader>, (consume) adapted.
5185	(consumerThread) made global variable, ist start moved to (startConsumer)
5186	which is called after initialisation of config singleton. Logs queing
5187	moved to (log) of (MessageWithHeader) signature. (FileLogHolder) and
5188	(SystemLogHolder) created for holder pattern synchronization.
5189	* netx/net/sourceforge/jnlp/util/logging/headers/Header.java: constructor
5190	and (getCaller) adaptation.
5191	* netx/net/sourceforge/jnlp/util/logging/headers/PluginHeader.java: fixed
5192	(toString) for preinit messages.
5193	* tests/netx/unit/net/sourceforge/jnlp/util/logging/JavaConsoleTest.java:
5194	removed erroneous stdout.
5195	* tests/test-extensions/net/sourceforge/jnlp/util/logging/NoStdOutErrTest.java:
5196	is no longer throwing exceptions (was causing errors in junit) and synchronized.
5197
51982013-12-17  Jiri Vanek  <jvanek@redhat.com>
5199
5200	JNLPRuntime.config changed to proper singleton.
5201	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: added
5202	field with getter rand setter to save loading exception.
5203	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: (config) field is no
5204	longer initialized in static block, but on demand in (getConfig).
5205	(initialize) no longer load (config) nor exit on loading exception, but
5206	warn in case that it have loading exception. (initialize) call to
5207	KeyStores.setConfiguration is using (getConfig) instead (config).
5208 	(initialize) call to BrowserAwareProxySelector constructor likewise.
5209	(getConfig) is initializing and loading (config), marking exception and sterr
5210	it in case of debug on. Made synchronized.
5211	* netx/net/sourceforge/jnlp/resources/Messages.properties: (RConfigurationError)
5212	enhanced to fit.
5213	* netx/net/sourceforge/jnlp/util/logging/LogConfig.java: no longer use own
5214	copy of (config) but using (JNLPRuntime.getConfig).
5215
52162013-12-15  Jiri Vanek  <jvanek@redhat.com>
5217
5218	Console made aware of plugin messages
5219	* NEWS : mentioned
5220	* netx/net/sourceforge/jnlp/util/logging/FileLog.java: call to log adapted
5221	to new Header.
5222	* netx/net/sourceforge/jnlp/util/logging/JavaConsole.java: (logOutput) and
5223	(logError) replaced by (addMessage). Added (createPluginReader) to process
5224	plugin debug pipe
5225	* netx/net/sourceforge/jnlp/util/logging/LogConfig.java: (getConfig) do
5226	config available untill JNLPRuntime config is proper singleton
5227	* netx/net/sourceforge/jnlp/util/logging/OutputController.java: (Level)
5228	static methods converted to members and enhanced. (getHeader) and
5229	(getCallerClass) moved to Headers.
5230	* netx/net/sourceforge/jnlp/util/logging/headers/Header.java: Structure
5231	to keep header as object instead of string.
5232	* netx/net/sourceforge/jnlp/util/logging/headers/JavaMessage.java: Structure
5233	to hold message and its header.
5234	* netx/net/sourceforge/jnlp/util/logging/headers/MessageWithHeader.java:
5235	Interface for JavaMessage and PluginMessage
5236	* netx/net/sourceforge/jnlp/util/logging/headers/PluginHeader.java: extended
5237	header to handle plugin's preinit and threads.
5238	* netx/net/sourceforge/jnlp/util/logging/headers/PluginMessage.java:
5239	implementation of MessageWithHeader which parse from String from plugin
5240	debug pipe.
5241	* plugin/icedteanp/IcedTeaNPPlugin.cc: added debug pipe (debug_pipe_name),
5242	synced via (debug_pipe_lock), controlled by (debug_to_appletviewer) and used
5243	by method (plugin_send_message_to_appletviewer_console).
5244	* plugin/icedteanp/IcedTeaNPPlugin.h: (debug_pipe_name) and (jvvm_up) declared
5245	extern. Utility methods (plugin_send_message_to_appletviewer_console) and
5246	(flush_plugin_send_message_to_appletviewer_console) declared and impelmented
5247	* plugin/icedteanp/IcedTeaPluginUtils.cc: print debug info enhanced for
5248	debug pipe
5249	* plugin/icedteanp/IcedTeaPluginUtils.h:  (PLUGIN_MESSAGE) and (PLIGIN_ERROR)
5250	now log to debug pipe if enabled.
5251	* plugin/icedteanp/java/sun/applet/PluginMain.java: args reprinted, checked
5252	third  parameter debug pipe if should. Started debug_pipe reader if should
5253	* tests/netx/unit/net/sourceforge/jnlp/util/logging/JavaConsoleTest.java:
5254	added tests for parsing the plugin message.
5255
52562013-12-13  Jiri Vanek  <jvanek@redhat.com>
5257
5258	Made again compatible with JDK6.All JLists, JComboBoxs, and DefaultComboBoxModels
5259	moved back to be not generics-like
5260	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java
5261	* netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java
5262	* netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java
5263	* netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java
5264	* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java
5265	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
5266
52672013-12-13  Jiri Vanek  <jvanek@redhat.com>
5268
5269	itw itself warning cleanup: fixed rawtypes and  unchecks, added braces and  Override
5270	* netx/net/sourceforge/jnlp/JREDesc.java
5271	* netx/net/sourceforge/jnlp/Launcher.java
5272	* netx/net/sourceforge/jnlp/Node.java
5273	* netx/net/sourceforge/jnlp/Parser.java
5274	* netx/net/sourceforge/jnlp/PluginBridge.java
5275	* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java
5276	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java
5277	* netx/net/sourceforge/jnlp/controlpanel/CachePane.java
5278	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java
5279	* netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java
5280	* netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java
5281	* netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java
5282	* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java
5283	* netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java
5284	* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java
5285	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
5286	* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
5287	* netx/net/sourceforge/jnlp/security/CertWarningPane.java
5288	* netx/net/sourceforge/jnlp/security/CertsInfoPane.java
5289	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java
5290	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
5291	* netx/net/sourceforge/jnlp/services/ServiceUtil.java
5292	* netx/net/sourceforge/jnlp/splashscreen/impls/DefaultErrorSplashScreen2012.java
5293	* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/NatCubic.java
5294	* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/SplinesDefs.java
5295	* netx/net/sourceforge/jnlp/util/Reflect.java
5296	* netx/net/sourceforge/jnlp/util/ui/NonEditableTableModel.java
5297	* netx/net/sourceforge/nanoxml/XMLElement.java
5298	* plugin/icedteanp/java/sun/applet/MethodOverloadResolver.java
5299	* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
5300	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
5301	* tests/netx/unit/net/sourceforge/jnlp/ParserCornerCases.java
5302
53032013-12-13  Jiri Vanek  <jvanek@redhat.com>
5304
5305	unittests warning cleanup: fixed typechecks, rawtypes, redundant casts...
5306	* tests/junit-runner/CommandLine.java
5307	* tests/junit-runner/JunitLikeXmlOutputListener.java
5308	* tests/junit-runner/LessVerboseTextListener.java
5309	* tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java
5310	* tests/netx/unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java
5311	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/ErrorSplashUtilsTest.java
5312	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/SplashUtilsTest.java
5313	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/parts/DescriptionInfoItemTest.java
5314	* tests/netx/unit/net/sourceforge/jnlp/util/UrlUtilsTest.java
5315	* tests/netx/unit/net/sourceforge/jnlp/util/XDesktopEntryTest.java
5316	* tests/netx/unit/net/sourceforge/jnlp/util/replacements/BASE64EncoderTest.java
5317	* tests/netx/unit/sun/applet/PluginAppletViewerTest.java
5318	* tests/test-extensions/net/sourceforge/jnlp/LoggingBottleneck.java
5319	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java
5320	* tests/test-extensions/net/sourceforge/jnlp/ThreadedProcess.java
5321	* tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java
5322	* tests/test-extensions/net/sourceforge/jnlp/awt/awtactions/KeyboardActions.java
5323	* tests/test-extensions/net/sourceforge/jnlp/closinglisteners/RulesFolowingClosingListener.java
5324	* netx/net/sourceforge/jnlp/util/ScreenFinder.java: centering of screen
5325	fixed to work also in headless mode by returrning some defaults
5326
53272013-12-09  Jiri Vanek  <jvanek@redhat.com>
5328
5329	* Messages.properties: added "It will be granted unrestricted access to your computer."
5330	to (SSigUnverified) (SSigVerified) (SSignatureError) messages.
5331
53322013-12-05  Andrew Azores  <aazores@redhat.com>
5333
5334	* netx/net/sourceforge/jnlp/resources/Messages.properties: add units to
5335	(TIFPCacheSize)
5336
53372013-12-03  Andrew Azores  <aazores@redhat.com>
5338
5339	Tests for PR1592.
5340	* tests/reproducers/signed/MixedSigningAppletSigned/srcs/MixedSigningAppletSigned.java:
5341	new tests for per-JAR applet security
5342	* tests/reproducers/signed/MixedSigningAppletSigned/testcases/MixedSigningAppletSignedTests.java:
5343	same
5344	* tests/reproducers/simple/MixedSigningApplet/resources/MixedSigningApplet-1.jnlp:
5345	same
5346	* tests/reproducers/simple/MixedSigningApplet/resources/MixedSigningApplet-2.jnlp:
5347	same
5348	* tests/reproducers/simple/MixedSigningApplet/resources/MixedSigningApplet-3.jnlp:
5349	same
5350	* tests/reproducers/simple/MixedSigningApplet/resources/MixedSigningApplet-4.jnlp:
5351	same
5352	* tests/reproducers/simple/MixedSigningApplet/resources/MixedSigningApplet-5.jnlp:
5353	same
5354	* tests/reproducers/simple/MixedSigningApplet/resources/MixedSigningApplet-6.jnlp:
5355	same
5356	* tests/reproducers/simple/MixedSigningApplet/resources/MixedSigningApplet.html:
5357	same
5358	* tests/reproducers/simple/MixedSigningApplet/srcs/MixedSigningAppletHelper.java:
5359	same
5360
53612013-12-03  Andrew Azores  <aazores@redhat.com>
5362
5363	Fix/new feature for PR1592. Each JAR in partially signed applets is
5364	assigned its own security level, rather than forcing the entire applet to
5365	run sandboxed.
5366	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
5367	(initializeResources)
5368	each JAR in partially signed applets is assigned its own security
5369	descriptor.
5370	(signing) changed to three-valued enum. (checkNotAllSignedWithUser) new
5371	method
5372	* netx/net/sourceforge/jnlp/tools/JarCertVerifier.java: (isJarSigned) new
5373	method
5374
53752013-11-29  Jiri Vanek  <jvanek@redhat.com>
5376
5377	Better validation of crytical dirs with proper message on startup
5378	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: small
5379	refactoring to match the new directory validator pattern.
5380	* netx/net/sourceforge/jnlp/config/DirectoryValidator.java: new class to verify
5381	if directory have necessary permissions (like creating subdirectories,
5382	read and write files created in).
5383	* netx/net/sourceforge/jnlp/resources/Messages.properties: patterns for
5384	validation results
5385	* netx/net/sourceforge/jnlp/runtime/Boot.java: headless determination moved
5386	as up as possible in (main)
5387	* tests/netx/unit/net/sourceforge/jnlp/config/DeploymentConfigurationTest.java:
5388	Few test testing what DirtectoryValidator should validate.
5389
53902013-11-29  Jiri Vanek  <jvanek@redhat.com>
5391
5392	Pipes moved into XDG_RUNTIME_DIR
5393	* plugin/icedteanp/IcedTeaNPPlugin.cc: (initialize_data_directory) logic
5394	responsible for tmp dir path moved into (getTmpPath) and (data_directory)
5395	initialized from (getRuntimePath) rather.
5396	*  plugin/icedteanp/IcedTeaPluginUtils.cc: (getTmpPath) new function,
5397	provides path to tmp dir. (getRuntimePath) new function resolving
5398	XDG_RUNTIME_DIR value, returning (getTmpPath) as fallback.
5399	* plugin/icedteanp/IcedTeaPluginUtils.h: declared new two methods.
5400
54012013-11-29  Jiri Vanek  <jvanek@redhat.com>
5402
5403	Enabled file logging in plugin, user enabled to choose logs dir.
5404	* netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java: added
5405	text-field to show/edit logs' destination. Added reset to default button.
5406	* netx/net/sourceforge/jnlp/resources/Messages.propertie: added proper
5407	keys for new controls (CPFilesLogsDestDir) and (CPFilesLogsDestDirResert).
5408	(DPEnableLogging) changed to "Enable debugging", as it is better.
5409	* netx/net/sourceforge/jnlp/util/logging/FileLog.java: Filename of logs
5410	changed to be human readable and to distinguish between c/java
5411	* plugin/icedteanp/IcedTeaNPPlugin.cc: made aware of console (plugin_debug_to_console)
5412	added stream to log into file (plugin_file_log) and holder of name (plugin_file_log_name)
5413	Added various new lines to end of erorr/debug messages. Stream flushed,
5414	not closed on plugin shutdown.
5415	* plugin/icedteanp/IcedTeaNPPlugin.h: extern above three fields.
5416	* plugin/icedteanp/IcedTeaParseProperties.cc: added functionality to provide
5417	set or default log dir (get_log_dir), added (is_java_console_enabled)
5418	to determine logging to console
5419	* plugin/icedteanp/IcedTeaParseProperties.h: used glib.h, declared above functions
5420	* plugin/icedteanp/IcedTeaPluginUtils.cc: added (initFileLog) function to open
5421	correctly named, in proper palce and with correct permissions file for logging
5422	(generateLogFileName) generate human readable file name, as java do.
5423	(printDebugStatus)  to debug status of logging
5424	* plugin/icedteanp/IcedTeaPluginUtils.h: headers generated once, and reused
5425	declared above functions.
5426	* plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java:
5427	commented out useless "woken" debug message
5428	* tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc: made plugin_debug_to_console
5429	aware.
5430
54312013-11-27  Andrew Azores  <aazores@redhat.com>
5432
5433	Made JNLPClassLoaderDeadlock reproducer more reliable
5434	* tests/reproducers/custom/JNLPClassLoaderDeadlock/srcs/JNLPClassLoaderDeadlock_1.java:
5435	Removed "AutoOkClosingListener" magic string
5436	* tests/reproducers/custom/JNLPClassLoaderDeadlock/srcs/JNLPClassLoaderDeadlock_2.java:
5437	same
5438	* tests/reproducers/custom/JNLPClassLoaderDeadlock/testcases/JNLPClassLoaderDeadlockTest.java:
5439	Changed AutoOkClosingListener to RulesFolowingClosingListener
5440
54412013-11-26  Jiri Vanek  <jvanek@redhat.com>
5442
5443	Reverted "fix to ManifestedJar1Test cases", better manifestedjar tests,
5444	added srtict test
5445	* netx/net/sourceforge/jnlp/Parser.java: added indentation, fixes
5446	condition in strict base check
5447	* netx/net/sourceforge/jnlp/ResourcesDesc.java: revertedt recently added throw
5448	* tests/reproducers/simple/ManifestedJar1/testcases/ManifestedJar1Test.java:
5449	(manifestedJar1main2mainNoAppDesc) adapted and
5450	(manifestedJar1main2mainNoAppDescStrict) added
5451
54522013-11-26  Jiri Vanek  <jvanek@redhat.com>
5453
5454	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (getManifestAttribute)
5455	added check for null manifest to prevent npe.
5456	* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPClassLoaderTest.java:
5457	added test for npe from getManifestAttribute
5458	* tests/test-extensions/net/sourceforge/jnlp/util/FileTestUtils.java:
5459	(createJarWithContents) enhanced to be able to create jar without manifest.
5460
54612013-11-25  Jiri Vanek  <jvanek@redhat.com>
5462
5463	* netx/net/sourceforge/jnlp/JNLPFile.java: (TITLE_NOT_FOUND) new constant
5464	holding the no title found string to be reused. (getTitleFromManifest)
5465	Now using that constant.
5466	* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java: adding window
5467	erro message moved to be debug only.
5468	* ests/reproducers/custom/remote/testcases/RemoteApplicationSettings.java:
5469	Added (clean) mechanism to filter out TITLE_NOT_FOUND
5470	* tests/reproducers/signed/ReadPropertiesBySignedHack/testcases/ReadPropertiesBySignedHackTest.java:
5471	* tests/reproducers/signed/ReadPropertiesSigned/testcases/ReadPropertiesSignedTest.java:
5472	* tests/reproducers/simple/AddShutdownHook/testcases/AddShutdownHookTest.java:
5473	* tests/reproducers/simple/AllStackTraces/testcases/AllStackTracesTest.java
5474	* tests/reproducers/simple/CreateClassLoader/testcases/CreateClassLoaderTest.java
5475	* tests/reproducers/simple/ReadEnvironment/testcases/ReadEnvironmentTest.java
5476	* tests/reproducers/simple/ReadProperties/testcases/ReadPropertiesTest.java
5477	* tests/reproducers/simple/RedirectStreams/testcases/RedirectStreamsTest.java
5478	* tests/reproducers/simple/ReplaceSecurityManager/testcases/ReplaceSecurityManagerTest.java
5479	* tests/reproducers/simple/SetContextClassLoader/testcases/SetContextClassLoaderTest.java
5480	* tests/reproducers/simple/simpletest2/testcases/SimpleTest2Test.java
5481	Removed checks for emty outputs
5482
54832013-11-25  Jiri Vanek  <jvanek@redhat.com>
5484
5485	* netx/net/sourceforge/jnlp/ResourcesDesc.java: (getMainJAR) throw an
5486	RuntimeException when more then one main jar is specified. Preventing
5487	app to start.
5488	* tests/reproducers/simple/ManifestedJar1/testcases/ManifestedJar1Test.java:
5489	(manifestedJar1main2mainNoAppDesc), (manifestedJar1nothing2nothingAppDesc)
5490	fixed and adapted to change.
5491
54922013-11-22  Jiri Vanek  <jvanek@redhat.com>
5493
5494	* tests/netx/unit/net/sourceforge/jnlp/DefaultLaunchHandlerTest.java: (init)
5495	enable logging to streams if disabled.
5496
54972013-11-13  Andrew Azores  <aazores@redhat.com>
5498
5499	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: add
5500	parameterized type information to several return types and local
5501	variables. Refactor for-loops and Enumeration iterations into
5502	for-each-loops.
5503
55042013-11-13  Andrew Azores  <aazores@redhat.com>
5505
5506	* netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java: centers
5507	on-screen before appearing
5508
55092013-11-13  Jiri Vanek  <jvanek@redhat.com>
5510
5511	Added test-extension to silence stdout/err of itw when run from junit
5512	* tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java: now extends NoStdOutErrTest
5513	* tests/netx/unit/net/sourceforge/jnlp/ParserBasic.java: same
5514	* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPClassLoaderTest.java: same
5515	* tests/test-extensions/net/sourceforge/jnlp/util/logging/NoStdOutErrTest.java:
5516	new class with (disableStds) BeforeClass method and (restoreStds) AfterClass
5517	method which are responsible for silence all itw messages from extending test.
5518
55192013-11-13  Jiri Vanek  <jvanek@redhat.com>
5520
5521	Enabled access to manifests' attributes from JNLPFile class
5522	Implemented http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#app_name
5523	* netx/net/sourceforge/jnlp/JNLPFile.java: Added (manifestsAttributes) field.
5524	Added (ManifestsAttributes) inner class, to encapsulate access to attributes.
5525	(getTitle) can handle manifests too.
5526	* netx/net/sourceforge/jnlp/PluginBridge.java: is following app_name recommendations.
5527	* netx/net/sourceforge/jnlp/ResourcesDesc.java: (getMainJAR) made more granular
5528	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (init) inject itself
5529	to file's ManifestsAttributes. (checkForAttributeInJars) renamed field
5530	mainClassInThisJar to attributeInThisJar. Added getter for mainClass.
5531	* netx/net/sourceforge/jnlp/security/CertWarningPane.java: bracketing cleanup.
5532	* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPFileTest.java: new test to
5533	check new functionalites
5534	* tests/netx/unit/net/sourceforge/jnlp/runtime/ResourcesDescTest.java: same
5535	* tests/test-extensions/net/sourceforge/jnlp/mock/DummyJNLPFileWithJar.java:
5536	can set info
5537	* NEWS: mentioned first u45 attribute
5538
55392013-11-10  Jiri Vanek  <jvanek@redhat.com>
5540
5541	Fixed lock in awt threads. JavaConsole window is now disposed instead of hidden.
5542	* netx/net/sourceforge/jnlp/util/logging/JavaConsole.java: (lastSize) new
5543	global variable to remember last size of window.(contentPanel) moved from
5544	local to global scope. (initializeWindow) extracted from (initialize), is
5545	handling creation and filling of window. (showConsole) is now initializing
5546	window, and (hideConsole) is disposing it. Added override annotations and
5547	removed duplicate code.
5548	* netx/net/sourceforge/jnlp/util/logging/OutputController.java: messageQueConsumer
5549	thread is now named, and its wait, have timeout.
5550
55512013-11-10  Jiri Vanek  <jvanek@redhat.com>
5552
5553	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
5554	removed suspicious return when (searchForMain) had null launchDesc
5555
55562013-11-07  Andrew Azores  <aazores@redhat.com>
5557
5558	Reproducer test cleanup. Replaced ServerAccess.ProcessResult in favour of
5559	ProcessResult, and junit.framework.Assert in favour of org.junit.Assert.
5560	Other notable changes below.
5561	* tests/reproducers/simple/simpletest1/testcases/XDGspecificationTests.java:
5562	(removeXdgValues, setXdgValues) list 'rr' uses parameterized type.
5563	(getContentOfDirectory) list 'result' uses parameterized type
5564	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
5565	(ProcessResult) inner class removed. (getBrowserParams) list 'l' uses
5566	parameterized type
5567	* tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java:
5568	(getChangedLocalesForSubproces) list 'rr' uses parameterized type
5569	* tests/reproducers/simple/LocalisedInformationElement/testcases/LocalisedInformationElementTest.java:
5570	same
5571	* tests/test-extensions/net/sourceforge/jnlp/ProcessWrapper.java:
5572	constructor for (String, List<String>, String) lists 'urledArgs' and
5573	'otherArgs' use parameterized type. (stdoutl, stderrl) use parameterized
5574	type.
5575	* tests/test-extensions/net/sourceforge/jnlp/ContentReader.java:
5576	(listeners) use parameterized type
5577
55782013-11-05  Jiri Vanek  <jvanek@redhat.com>
5579
5580	Java console resurrected and connected to new logging.
5581	* NEWS: mentioned console for plugin and javaws
5582	* Changelog: removed one wrong tab
5583	* netx/net/sourceforge/jnlp/config/Defaults.java: added
5584	DeploymentConfiguration.CONSOLE_SHOW_PLUGIN,
5585	and DeploymentConfiguration.CONSOLE_SHOW_JAVAWS.
5586	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java:
5587	added and javadoc-ed CONSOLE_SHOW_PLUGIN,CONSOLE_SHOW_JAVAWS, DISABLE,
5588	SHOW, HIDE, KEY_CONSOLE_STARTUP_MODE.
5589	* netx/net/sourceforge/jnlp/resources/Messages.properties: localized console
5590	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java : removed legacy STD*_FILE
5591	* netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java: Added button
5592	to show console on demand. Added (getShowButton) method to share code with
5593	* netx/net/sourceforge/jnlp/splashscreen/parts/JEditorPaneBasedExceptionDialog.java:
5594	Added button to show console on demand and explaining line.
5595	* netx/net/sourceforge/jnlp/util/logging/JavaConsole.java: moved from
5596	plugin, and reworked. Especially get rid of perpetual loading of file.
5597	Made singleton.
5598	* netx/net/sourceforge/jnlp/util/logging/LogConfig.java: added (isLogToConsole)
5599	returning (JavaConsole.isEnabled) status.
5600	* netx/net/sourceforge/jnlp/util/logging/OutputController.java: added (Level.isError)
5601	and (Level.isOutput) methods to determine original channel, and can log to console.
5602	* plugin/icedteanp/java/sun/applet/JavaConsole.java: moved to netx
5603	* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java:
5604	(streamhandler) made private with setter
5605	* plugin/icedteanp/java/sun/applet/PluginMain.java : removed legacy STD*_FILE,
5606	added set of classloaders information provider to console. (handlePluginMessage)
5607	show and hide of console is checking it's status. (showConsole) and (hideConsole)
5608	moved to JavaConsole.
5609
56102013-11-05  Andrew Azores  <aazores@redhat.com>
5611
5612	* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java:
5613	(addPermission) avoid NPE in JNLPClassLoader#getPermissions with debug
5614	enabled
5615
56162013-11-01  Jiri Vanek  <jvanek@redhat.com>
5617
5618	Synced headers between PLUGIN_DEBUG, PLUGIN_ERROR and javaside
5619	* netx/net/sourceforge/jnlp/util/logging/OutputController.java: (getHeader)
5620	added thread id and name to log header.
5621	* plugin/icedteanp/IcedTeaPluginUtils.h: (PLUGIN_DEBUG) (PLUGIN_ERROR)
5622	headers generation code moved to macro (CREATE_HEADER0). Both
5623	headers now contains pthread_self and g_thread_self. Fixed indentation.
5624
56252013-11-01  Jiri Vanek  <jvanek@redhat.com>
5626
5627	* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPClassLoaderTest.java:
5628	added tests for custom attributes (getCustomAtributes), (getCustomAtributesEmpty) and test to ensure order during searching for
5629	attributes in manifests (checkOrderWhenReadingAttributes).
5630	* tests/test-extensions/net/sourceforge/jnlp/mock/DummyJNLPFileWithJar.java:
5631	can now handle multiple source jars, and set main jar (new constructors),
5632	(jarFiles)  and (jarDescs) redeclared to arrays.
5633
56342013-10-30  Jiri Vanek  <jvanek@redhat.com>
5635
5636	* netx/net/sourceforge/jnlp/JARDesc.java: made immutable
5637	(location)(version)(part)(lazy)(main)(nativeJar)(cacheable) made final
5638
56392013-10-29  Andrew Azores  <aazores@redhat.com>
5640
5641	Fix PR1513, signed applets with external main-class support
5642	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
5643	(initializeResources) ask for user approval rather than throwing
5644	LaunchException for signed applets with external main-class
5645
56462013-10-25  Jiri Vanek  <jvanek@redhat.com>
5647
5648	Plugin debug can now be controlled from itw_settings, in same way java side.
5649	For now ICEDTEAPLUGIN_DEBUG on the debug in same way as deployment.log
5650	itw-settings property. Individual logging streams are controlled by
5651	deployment.log.{headers,file,stdstreams,system} System and file are not yet
5652	fully done (same as java side in this moment). Streams are true, all others
5653	false by default.
5654	* plugin/icedteanp/IcedTeaNPPlugin.cc: initialized variables new bool
5655	variables (debug_initiated), (plugin_debug_headers), (plugin_debug_to_file),
5656	(plugin_debug_to_system) as false and (plugin_debug_to_streams) as true.
5657	* plugin/icedteanp/IcedTeaNPPlugin.h: above variables declared as extern
5658	* plugin/icedteanp/IcedTeaParseProperties.cc: initialization of
5659	(default_file_ITW_deploy_props_name) and (custom_jre_key) moved here from
5660	IcedTeaNPPlugin.h. New method (read_bool_property) and its more concrete
5661	shortcuts (is_debug_on) (is_debug_header_on) (is_logging_to_file)
5662	(is_logging_to_stds) (is_logging_to_system) implemented to access properties.
5663	* plugin/icedteanp/IcedTeaParseProperties.h: above methods declared.
5664	* plugin/icedteanp/IcedTeaPluginUtils.h: (PLUGIN_{ERROR,DEBUG}) methods
5665	adapted headers/debug/streams logic as described in title. Headers made more
5666	informative (like java side)
5667	* tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc:
5668	TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_on) extended to
5669	TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_on_headers_off).
5670	TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_off)  extended to
5671	TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_off_headers_off), and new tests
5672	TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_on_headers_on)
5673	TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_off_headers_on) (100x slower then
5674	without headers)
5675
56762013-10-25  Jiri Vanek  <jvanek@redhat.com>
5677
5678	all output messages redirected to PLUGIN_{DEBUG,ERROR} macros
5679	* plugin/icedteanp/IcedTeaJavaRequestProcessor.cc: affected
5680	* plugin/icedteanp/IcedTeaNPPlugin.cc: affected
5681	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc: affected
5682	* plugin/icedteanp/IcedTeaPluginUtils.cc: affected
5683	* plugin/icedteanp/IcedTeaPluginUtils.h: affected
5684	* plugin/icedteanp/IcedTeaRunnable.cc: affected
5685	* plugin/icedteanp/IcedTeaScriptablePluginObject.cc: affected
5686	* tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc: added
5687	(TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_on)) and
5688	(TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_off)) which call new
5689	(doDebugErrorRun) and are measuring refactoring impacts.
5690
56912013-10-25  Jiri Vanek  <jvanek@redhat.com>
5692
5693	* netx/net/sourceforge/jnlp/util/logging/OutputController.java:
5694	(getCallerClass) now gets out also from sun.applet.PluginDebug class.
5695
56962013-10-24  Andrew Azores  <aazores@redhat.com>
5697
5698	Fix array index out of bounds due to malformed plugin message (PR539)
5699	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc: (_getMember,
5700	_getString) append "null" to result when call is unsuccessful
5701	* tests/reproducers/simple/JSObjectWithoutToString/resources/JSObjectWithoutToString.html:
5702	new test to ensure failed calls to getMember and getString on JSObject do
5703	not produce malformed results
5704	* tests/reproducers/simple/JSObjectWithoutToString/resources/JSObjectWithoutToString.js:
5705	same
5706	* tests/reproducers/simple/JSObjectWithoutToString/srcs/JSObjectWithoutToString.java:
5707	same
5708	* tests/reproducers/simple/JSObjectWithoutToString/testcases/JSObjectWithoutToStringTest.java:
5709	same
5710
57112013-10-23  Jiri Vanek  <jvanek@redhat.com>
5712
5713	C-part of plugin is now also trying to follow XDG
5714	* plugin/icedteanp/IcedTeaParseProperties.cc: (user_properties_file) is
5715	now using XDG cached dir or its default variant in case that old file do not
5716	(should not!) exists
5717
57182013-10-22  Omair Majid  <omajid@redhat.com>
5719
5720	* netx/net/sourceforge/jnlp/util/logging/LogConfig.java
5721	(resetLogConfig): New method.
5722	* tests/netx/unit/net/sourceforge/jnlp/util/logging/OutputControllerTest.java
5723	(setUp, tearDown): New method.
5724
57252013-10-22  Jiri Vanek  <jvanek@redhat.com>
5726
5727	More synchronized error/debug methods
5728	* plugin/icedteanp/IcedTeaNPPlugin.cc: all occurrences of  PLUGIN_ERROR_TWO
5729	and  PLUGIN_ERROR_THREE replaced by PLUGIN_ERROR.  PLUGIN_ERROR itself moved
5730	to
5731	* plugin/icedteanp/IcedTeaPluginUtils.h: (PLUGIN_ERROR) new fuction,
5732	now uses ... arguments and printf with __VA_ARGS__ instead of g_printerr
5733	(PLUGIN_DEBUG) now prints to stdout, instead of stderr which is used by
5734	(PLUGIN_ERROR).
5735
57362013-10-21  Jiri Vanek  <jvanek@redhat.com>
5737
5738	Logic to extract main class attribute generalized to common methods.
5739	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
5740	(getMainClassName) is now calling (getManifestAttribute)
5741	(getManifestAttribute) new method, extract named attribute from url
5742	specified jar. Called by (checkForAttributeInJars)
5743	(checkForMain) is now calling (checkForAttributeInJars). Also logic of
5744	(checkForAttributeInJars) was taken from here.
5745	(checkForAttributeInJars) new method, read specific attribute from
5746	application jar(s) in specific order.
5747
57482013-10-20  Jiri Vanek  <jvanek@redhat.com>
5749
5750	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: (isPluginDebug)
5751	made private to prevent confusion.
5752	* plugin/icedteanp/java/sun/applet/PluginDebug.java: (DEBUG) initialized
5753	from JNLPRuntime.isDebug instead of incorrect JNLPRuntime.isPluginDebug.
5754
57552013-10-17  Andrew Azores  <aazores@redhat.com>
5756
5757	Back out changeset 420d72e5cee7 due to breaking LiveConnect feature.
5758	http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-October/024919.html
5759	* plugin/icedteanp/IcedTeaNPPlugin.cc: undo 420d72e5cee7
5760	* plugin/icedteanp/IcedTeaPluginUtils.cc: undo 420d72e5cee7
5761	* plugin/icedteanp/IcedTeaPluginUtils.h: undo 420d72e5cee7
5762	* plugin/icedteanp/IcedTeaScriptablePluginObject.cc: undo 420d72e5cee7
5763	* plugin/icedteanp/IcedTeaScriptablePluginObject.h: undo 420d72e5cee7
5764	* tests/cpp-unit-tests/IcedTeaScriptablePluginObjectTest.cc: undo 420d72e5cee7
5765
57662013-10-16  Andrew Azores  <aazores@redhat.com>
5767
5768	Resolve deadlock issue when multiple applets are loaded simultaneously
5769	(RH976833)
5770	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (loadClassLock)
5771	private member for locking of loadClass method. (loadClass) synchronizes
5772	using new lock rather than instance intrinsic lock to avoid RH976833
5773	deadlock
5774	* tests/reproducers/custom/JNLPClassLoaderDeadlock/testcases/JNLPClassLoaderDeadlockTest.java:
5775	new test for multiple applet deadlock condition
5776	* tests/reproducers/custom/JNLPClassLoaderDeadlock/resources/JNLPClassLoaderDeadlock.html:
5777	same
5778	* tests/reproducers/custom/JNLPClassLoaderDeadlock/srcs/JNLPClassLoaderDeadlock_1.java:
5779	same
5780	* tests/reproducers/custom/JNLPClassLoaderDeadlock/srcs/JNLPClassLoaderDeadlock_2.java:
5781	same
5782	* tests/reproducers/custom/JNLPClassLoaderDeadlock/srcs/Makefile: same
5783
57842013-10-11  Andrew Azores  <aazores@redhat.com>
5785
5786	* netx/net/sourceforge/jnlp/security/SecurityDialog.java: (initDialog)
5787	centerDialog called in init rather than on windowOpened event
5788
57892013-10-09  Omair Majid  <omajid@redhat.com>
5790
5791	* plugin/icedteanp/java/sun/applet/PluginProxySelector.java
5792	(computeKey): New method.
5793	(getFromBrowser, checkCache): Call computeKey.
5794
57952013-10-09  Omair Majid  <omajid@redhat.com>
5796
5797	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
5798	(requestPluginProxyInfo): Accept a String instead of URI.
5799	(convertUriSchemeForProxyQuery): Move to ...
5800	* plugin/icedteanp/java/sun/applet/PluginProxySelector.java
5801	(convertUriSchemeForProxyQuery): Here.
5802	(getFromBrowser): Call convertUriSchemeForProxyQuery.
5803	* tests/netx/unit/sun/applet/PluginAppletViewerTest.java
5804	(testConvertUriSchemeForProxyQuery),
5805	(assertQueryForBrowserProxyUsesHttpFallback),
5806	(assertQueryForBrowserProxyContainsNoDoubleSlashes),
5807	(assertQueryForBrowserProxyDoesNotChangeQuery): Move to ...
5808	* tests/netx/unit/sun/applet/PluginProxySelectorTest.java: Here.
5809
58102013-10-07  Andrew Azores  <aazores@redhat.com>
5811
5812	DeploymentConfiguration properties reproducer fix
5813	* tests/reproducers/signed/DeploymentPropertiesAreExposed/testcases/DeploymentPropertiesAreExposedTest.java:
5814	update test to reflect changed log directory
5815
58162013-10-03  Andrew Azores  <aazores@redhat.com>
5817
5818	PR1204 patch regression fix
5819	* netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java:
5820	(getVersionedUrl) fix regression in previous PR1204 patch. Refactor
5821	to not take Resource parameter, use instance's field instead.
5822	(uriPartToString) new method
5823	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceUrlCreatorTest.java:
5824	new tests for ResourceUrlCreator.getVersionedUrl
5825
58262013-10-03  Jacob Wisor  <gitne@gmx.de>
5827
5828	* netx/net/sourceforge/jnlp/controlpanel/CachePane.java:
5829	Moved JButtons to members.
5830	(addComponents): Modified to make use of new NonEditableTableModel.
5831	Added ListSelectionListener to propertly handle enabling and disabling of
5832	operational	JButtons when selecting a resource from the cache table.
5833	Moved inital populating of the cache table to CacheViewer's constructor
5834	until after the	CachePane has been instatiated.
5835	Added a general purpose Comparator for all non-String columns in the table
5836	model.
5837	Added a TableCellRenderer with proper localized rendering of "Size" and
5838	"Last Modified" columns as well as the content of "Name" and "Path"
5839	columns.
5840	(createButtonPanel): Moved delete operation into new method
5841	invokeDeleteLater(), added mouse cursor busy indicator, and proper handling
5842	of enabling and disabling of operational JButtons when pushing the delete
5843	button.
5844	Moved refresh operation when pushing the refresh button into new method
5845	invokePopulateLater() and added proper handling of enabling and disabling
5846	of operational JButtons while refreshing.
5847	Replaced closing the cache viewer dialog via JDialog.dispose() when pushing
5848	the delete button by a post of the WindowEvent.WINDOW_CLOSING event to
5849	the CacheViewer dialog in order	to effectively remove the newly introduced
5850	KeyEventDispatcher.
5851	(invokeDeleteLater): New method: Posts an event to the event queue deleting
5852	the currently selected resource.
5853	(invokePopulateLater): New method: Posts an event to the event queue
5854	repopulating the cache table.
5855	(populateTable):
5856	Added mouse cursor busy indicator.
5857	(generateData): Modified cache table's per row data model for proper
5858	rendering and sorting to: DirectoryNode, File, String, String, Long, Date.
5859	* netx/net/sourceforge/jnlp/controlpanel/CacheViewer.java:
5860	(CacheViewer): Added null parameter check.
5861	Added a KeyEventDispatcher to enable closing the CacheViewer dialog on a
5862	KeyEvent.VK_ESCAPE key event.
5863	Replaced closing the cache viewer dialog via JDialog.dispose() by a post
5864	of the WindowEvent.WINDOW_CLOSING event to the CacheViewer dialog in order
5865	to effectively remove the newly introduced KeyEventDispatcher.
5866	* netx/net/sourceforge/jnlp/util/ui/NonEditableTableModel.java:
5867	Added a new table model that in effect is a
5868	javax.swing.table.DefaultTableModel	except for no cell being editable.
5869	* netx/net/sourceforge/jnlp/util/ui/package-info.java:
5870	Added new package for UI common and recurrung UI tasks with documentation
5871
58722013-10-01  Omair Majid  <omajid@redhat.com>
5873
5874	* netx/net/sourceforge/jnlp/browser/BrowserAwareProxySelector.java
5875	(BrowserAwareProxySelector): Split off browser-specific work into ..
5876	(initialize): New method.
5877	(initFromBrowserConfig): Delegate reading browser preferences to ..
5878	(parseBrowserPreferences): New method.
5879	(getFromBrowserConfiguration): Delegate to
5880	JNLPProxySelector.getFromArguments.
5881	* netx/net/sourceforge/jnlp/runtime/JNLPProxySelector.java
5882	(getFromConfiguration): Move logic into getFromArguments; delegate to it.
5883	(getFromArguments): Renamed from getFromConfiguration. Handle optionally
5884	using the http host/port for socket addresses.
5885	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
5886	(initialize): Call BrowserAwareProxySelector.initialize.
5887	* tests/netx/unit/net/sourceforge/jnlp/browser/BrowserAwareProxySelectorTest.java:
5888	New file.
5889
58902013-10-01  Omair Majid  <omajid@redhat.com>
5891
5892	* plugin/icedteanp/java/sun/applet/PluginProxySelector.java
5893	(getFromBrowser): Move call to
5894	PluginAppletViewer.requestPluginProxyInfo into new method.
5895	(getProxyFromRemoteCallToBrowser): New method.
5896	* tests/netx/unit/sun/applet/PluginProxySelectorTest.java: New file.
5897
58982013-09-26  Andrew Azores  <aazores@redhat.com>
5899
5900	Fix for PR1204. Absolute paths in resource URLs are correctly handled when
5901	appended to host URLs and URL query strings are not removed.
5902	* netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java:
5903	(getVersionedUrlUsingQuery) renamed to getVersionedUrl, refactored
5904	construction of URL
5905	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
5906	(requestPluginProxyInfo) extracted proxy URI logic.
5907	(processProxyUri) new method for finding proxy URIs, handles absolute
5908	resource paths correctly
5909	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceUrlCreatorTest.java:
5910	added tests for ResourceUrlCreator#getVersionedUrl
5911	* tests/netx/unit/sun/applet/PluginAppletViewerTest.java: added tests for
5912	PluginAppletViewer.processProxyUri
5913	* tests/reproducers/simple/AbsolutePathsAndQueryStrings/resources/AbsolutePathsAndQueryStrings.html:
5914	new reproducer checks that absolute paths and query strings in resource
5915	URLs are properly handled, and caching still works
5916	* tests/reproducers/simple/AbsolutePathsAndQueryStrings/resources/AbsolutePathsAndQueryStrings.jnlp:
5917	same
5918	* tests/reproducers/simple/AbsolutePathsAndQueryStrings/testcases/AbsolutePathsAndQueryStrings.java:
5919	same
5920
59212013-09-25  Andrew Azores  <aazores@redhat.com>
5922
5923	* Makefile.am: clean up summary_unit.txt and summary_reproducers.txt for
5924	"clean" goal
5925
59262013-09-25  Jiri Vanek  <jvanek@redhat.com>
5927
5928	Added logging bottleneck
5929	* netx/net/sourceforge/jnlp/AbstractLaunchHandler.java: extracted system.out/err
5930	and printStackTrace in favour of outputController.log methods. Same all below
5931	* netx/net/sourceforge/jnlp/DefaultLaunchHandler.java
5932	* netx/net/sourceforge/jnlp/ExtensionDesc.java
5933	* netx/net/sourceforge/jnlp/GuiLaunchHandler.java
5934	* netx/net/sourceforge/jnlp/JNLPFile.java
5935	* netx/net/sourceforge/jnlp/JNLPMatcher.java
5936	* netx/net/sourceforge/jnlp/JNLPSplashScreen.java
5937	* netx/net/sourceforge/jnlp/Launcher.java
5938	* netx/net/sourceforge/jnlp/MalformedXMLParser.java
5939	* netx/net/sourceforge/jnlp/NetxPanel.java
5940	* netx/net/sourceforge/jnlp/Parser.java
5941	* netx/net/sourceforge/jnlp/PluginBridge.java
5942	* netx/net/sourceforge/jnlp/SecurityDesc.java
5943	* netx/net/sourceforge/jnlp/StreamEater.java
5944	* netx/net/sourceforge/jnlp/XmlParser.java
5945	* netx/net/sourceforge/jnlp/about/HTMLPanel.java
5946	* netx/net/sourceforge/jnlp/browser/BrowserAwareProxySelector.java
5947	* netx/net/sourceforge/jnlp/browser/FirefoxPreferencesFinder.java
5948	* netx/net/sourceforge/jnlp/browser/FirefoxPreferencesParser.java
5949	* netx/net/sourceforge/jnlp/cache/CacheDirectory.java
5950	* netx/net/sourceforge/jnlp/cache/CacheEntry.java
5951	* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java
5952	* netx/net/sourceforge/jnlp/cache/CacheUtil.java
5953	* netx/net/sourceforge/jnlp/cache/NativeLibraryStorage.java
5954	* netx/net/sourceforge/jnlp/cache/Resource.java
5955	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java
5956	* netx/net/sourceforge/jnlp/config/Defaults.java
5957	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java
5958	* netx/net/sourceforge/jnlp/controlpanel/CachePane.java
5959	* netx/net/sourceforge/jnlp/controlpanel/CommandLine.java
5960	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java
5961	* netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java
5962	* netx/net/sourceforge/jnlp/controlpanel/DocumentAdapter.java
5963	* netx/net/sourceforge/jnlp/controlpanel/JVMPanel.java
5964	* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java
5965	* netx/net/sourceforge/jnlp/resources/Messages.properties
5966	* netx/net/sourceforge/jnlp/resources/Messages_cs.properties
5967	* netx/net/sourceforge/jnlp/resources/Messages_de.properties
5968	* netx/net/sourceforge/jnlp/resources/Messages_pl.properties
5969	* netx/net/sourceforge/jnlp/runtime/AppletAudioClip.java
5970	* netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java
5971	* netx/net/sourceforge/jnlp/runtime/AppletInstance.java
5972	* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java
5973	* netx/net/sourceforge/jnlp/runtime/Boot.java
5974	* netx/net/sourceforge/jnlp/runtime/CachedJarFileCallback.java
5975	* netx/net/sourceforge/jnlp/runtime/FakePacEvaluator.java
5976	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
5977	* netx/net/sourceforge/jnlp/runtime/JNLPPolicy.java
5978	* netx/net/sourceforge/jnlp/runtime/JNLPProxySelector.java
5979	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
5980	* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
5981	* netx/net/sourceforge/jnlp/runtime/PacEvaluatorFactory.java
5982	* netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java
5983	* netx/net/sourceforge/jnlp/security/CertWarningPane.java
5984	* netx/net/sourceforge/jnlp/security/CertificateUtils.java
5985	* netx/net/sourceforge/jnlp/security/HttpsCertVerifier.java
5986	* netx/net/sourceforge/jnlp/security/KeyStores.java
5987	* netx/net/sourceforge/jnlp/security/SecurityDialog.java
5988	* netx/net/sourceforge/jnlp/security/SecurityDialogMessageHandler.java
5989	* netx/net/sourceforge/jnlp/security/SecurityUtil.java
5990	* netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java
5991	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/ExtendedAppletSecurityHelp.java
5992	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java
5993	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
5994	* netx/net/sourceforge/jnlp/services/ServiceUtil.java
5995	* netx/net/sourceforge/jnlp/services/XBasicService.java
5996	* netx/net/sourceforge/jnlp/services/XPersistenceService.java
5997	* netx/net/sourceforge/jnlp/services/XPrintService.java
5998	* netx/net/sourceforge/jnlp/services/XSingleInstanceService.java
5999	* netx/net/sourceforge/jnlp/splashscreen/SplashUtils.java
6000	* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/BasePainter.java
6001	* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/ErrorPainter.java
6002	* netx/net/sourceforge/jnlp/splashscreen/parts/InformationElement.java
6003	* netx/net/sourceforge/jnlp/splashscreen/parts/JEditorPaneBasedExceptionDialog.java
6004	* netx/net/sourceforge/jnlp/tools/CertInformation.java
6005	* netx/net/sourceforge/jnlp/tools/JarCertVerifier.java
6006	* netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java
6007	* netx/net/sourceforge/jnlp/util/FileUtils.java
6008	* netx/net/sourceforge/jnlp/util/HttpUtils.java
6009	* netx/net/sourceforge/jnlp/util/ImageResources.java
6010	* netx/net/sourceforge/jnlp/util/PropertiesFile.java
6011	* netx/net/sourceforge/jnlp/util/Reflect.java
6012	* netx/net/sourceforge/jnlp/util/StreamUtils.java
6013	* netx/net/sourceforge/jnlp/util/TimedHashMap.java
6014	* netx/net/sourceforge/jnlp/util/UrlUtils.java
6015	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java
6016	* netx/net/sourceforge/nanoxml/XMLElement.java
6017	* plugin/icedteanp/java/netscape/javascript/JSRunnable.java
6018	* plugin/icedteanp/java/sun/applet/JavaConsole.java
6019	* plugin/icedteanp/java/sun/applet/PluginAppletPanelFactory.java
6020	* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
6021	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
6022	* plugin/icedteanp/java/sun/applet/PluginDebug.java
6023	* plugin/icedteanp/java/sun/applet/PluginException.java
6024	* plugin/icedteanp/java/sun/applet/PluginMain.java
6025	* plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java
6026	* plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java
6027	* plugin/icedteanp/java/sun/applet/PluginProxyInfoRequest.java
6028	* plugin/icedteanp/java/sun/applet/PluginProxySelector.java
6029	* plugin/icedteanp/java/sun/applet/PluginStreamHandler.java
6030	* tests/netx/unit/net/sourceforge/jnlp/DefaultLaunchHandlerTest.java
6031	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java
6032	* tests/netx/unit/net/sourceforge/jnlp/util/HttpUtilsTest.java
6033	* tests/netx/unit/net/sourceforge/jnlp/util/XDesktopEntryTest.java
6034	* tests/reproducers/simple/simpletest1/testcases/XDGspecificationTests.java
6035	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java
6036	* netx/net/sourceforge/jnlp/util/logging/FileLog.java: new file, derived from
6037	AppletLog. Now have responsibility to log to custom file.
6038	* netx/net/sourceforge/jnlp/util/logging/LogConfig.java: new file derived from Log
6039	* netx/net/sourceforge/jnlp/util/logging/OutputController.java: new bottleneck for logging
6040	* netx/net/sourceforge/jnlp/util/logging/PrintStreamLogger.java: logger to std.streams
6041	* netx/net/sourceforge/jnlp/util/logging/SingleStreamLogger.java: interface common to all new loggers
6042	* netx/net/sourceforge/jnlp/util/logging/UnixSystemLog.java: not yet implemented  susytem log
6043	* netx/net/sourceforge/jnlp/util/logging/WinSystemLog.java: not yet implemented  susytem log
6044	* tests/netx/unit/net/sourceforge/jnlp/util/logging/FileLogTest.java: new set of tests
6045	* tests/netx/unit/net/sourceforge/jnlp/util/logging/OutputControllerTest.java: new set of tests
6046	* tests/netx/unit/net/sourceforge/jnlp/util/logging/PrintStreamLoggerTest.java: new set of tests
6047	* netx/net/sourceforge/jnlp/AppletLog.java: removed
6048	* netx/net/sourceforge/jnlp/Log.java: rmeoved
6049
6050
60512013-09-24  Omair Majid  <omajid@redhat.com>
6052
6053	PR1474
6054	* NEWS: Update with bug.
6055	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: Document
6056	KEY_PROXY_SAME.
6057	* netx/net/sourceforge/jnlp/runtime/JNLPProxySelector.java
6058	(getFromConfiguration): Same proxy is not applicable to SOCKS. Always
6059	include SOCKS proxy if available.
6060	* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPProxySelectorTest.java
6061	(testHttpFallsBackToManualSocksProxy): New method.
6062	(testManualSameProxy): Remove test for socket protocol.
6063
60642013-09-23  Omair Majid  <omajid@redhat.com>
6065
6066	* netx/net/sourceforge/jnlp/browser/BrowserAwareProxySelector.java
6067	(BrowserAwareProxySelector): Rename to...
6068	(BrowserAwareProxySelector(DeploymentConfiguration)): New method.
6069	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: Clarify
6070	possible values for KEY_PROXY_TYPE.
6071	* netx/net/sourceforge/jnlp/runtime/JNLPProxySelector.java
6072	(JNLPProxySelector): Rename to...
6073	(JNLPProxySelector(DeploymentConfiguration)): New method.
6074	(parseConfiguration): Rename to...
6075	(parseConfiguration(DeploymentConfiguration)): New method.
6076	(inBypassList): Get host from URI instead of manual hacks.
6077	(getProxiesFromPacResult): Clarify return value.
6078	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
6079	(initialize): Adjust for new BrowserAwareProxySelector constructor.
6080	* plugin/icedteanp/java/sun/applet/PluginMain.java
6081	(init): Adjust for new PluginProxySelector constructor.
6082	* plugin/icedteanp/java/sun/applet/PluginProxySelector.java
6083	(PluginProxySelector): New constructor.
6084	* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPProxySelectorTest.java:
6085	New file.
6086
60872013-09-20  Omair Majid  <omajid@redhat.com>
6088
6089	* netx/net/sourceforge/jnlp/InformationDesc.java
6090	(InformationDesc): Remove JNLPFile argument.
6091	(getJNLPFile): Remove.
6092	* netx/net/sourceforge/jnlp/JNLPFile.java
6093	(getInformation): Adjust to new InformationDesc constructor.
6094	* netx/net/sourceforge/jnlp/Parser.java
6095	(getInformation): Likewise.
6096	* tests/netx/unit/net/sourceforge/jnlp/InformationDescTest.java: New file.
6097
60982013-09-19  Jana Fabrikova  <jfabriko@redhat.com>
6099
6100	Added text only reports from reproducers and unit tests run
6101	* tests/report-styles/textreport.xls:
6102	style for generating summary output in summary_reproducers.txt
6103	and summary_unit.txt
6104	* Makefile.am:
6105	added generating the text reports in run-netx-dist-tests goal
6106
61072013-09-18  Jiri Vanek  <jvanek@redhat.com>
6108
6109	Removed java 1.3 comaptible (redundant) code from  ParseException
6110	* netx/net/sourceforge/jnlp/ParseException.java: (ParseException)
6111	modified to support super call only, (getCause) and both (printStackTrace)
6112	removed
6113
61142013-09-16  Andrew Azores  <aazores@redhat.com>
6115
6116	Fix ResourcesTest reproducer.
6117	* tests/test-extensions-tests/net/sourceforge/jnlp/ResourcesTest.java:
6118	fixed formatting, removed commented lines.
6119	(testBrowser): assertion that ~/.mozilla/plugins directory exists removed.
6120	Renamed (userPluginDir, defaultPluginDir, userPlugins, defaultPlugins)
6121
61222013-09-16  Omair Majid  <omajid@redhat.com>
6123
6124	* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPClassLoaderTest.java
6125	(toList): Remove.
6126	(checkForMainFileLeakTest): Use Arrays.asList.
6127	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmationTest.java
6128	(toList): Remove.
6129	(testToRelativePaths): Use Arrays.asList.
6130
61312013-09-16  Jiri Vanek  <jvanek@redhat.com>
6132
6133	* Makefile.am: returned modified (EXTRA_DIST) variable. It is enriched  for
6134	netx-dist-tests-whitelist and NEW_LINE_IFS to enable reproducers tests
6135	in dist tarball.
6136
61372013-09-16  Deepak Bhole <dbhole@redhat.com>
6138
6139	CVE-2012-4540, RH869040: Heap-based buffer overflow after triggering event
6140	attached to applet
6141	* plugin/icedteanp/IcedTeaScriptablePluginObject.cc: Removed unnecessary
6142	heap allocations.
6143
61442013-09-13  Andrew Azores  <aazores@redhat.com>
6145
6146	* tests/test-extensions/net/sourceforge/jnlp/tools/MessageProperties.java:
6147	new utility class to handle retrieving localized messages for reproducers
6148	* tests/reproducers/signed/CacheReproducer/testcases/CacheReproducerTest.java:
6149	refactored to use new MessageProperties class
6150	* tests/test-extensions-tests/net/sourceforge/jnlp/MessagePropertiesTest.java:
6151	tests for new MessageProperties class
6152
61532013-09-11  Jacob Wisor  <gitne@gmx.de>
6154
6155	* netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java
6156	Made temporary files location JFileChooser open at the currently specified location
6157	Made temporary files location JFileChooser display a helpful title
6158	Removed misleading "All Files" file filter from JFileChooser
6159	* netx/net/sourceforge/jnlp/resources/Messages.properties
6160	Added new message to resources for JFileChooser's choose button
6161	* netx/net/sourceforge/jnlp/resources/Messages_cs.properties
6162	Added new message to resources for JFileChooser's choose button
6163	Fixed a few inconsistent messages in resource files
6164	* netx/net/sourceforge/jnlp/resources/Messages_de.properties
6165	Added new message to resources for JFileChooser's choose button
6166	Fixed a few inconsistent messages in resource files
6167	* netx/net/sourceforge/jnlp/resources/Messages_pl.properties
6168	Added new message to resources for JFileChooser's choose button
6169	Fixed a few inconsistent messages in resource files
6170
61712013-09-09  Omair Majid  <omajid@redhat.com>
6172
6173	* netx/net/sourceforge/jnlp/JNLPFile.java
6174	(getDownloadOptionsForJar): Rename to ...
6175	(getDownloadOptions): New method. Look up jnlp.packEnabled and
6176	jnlp.versionEnabled in any resources element.
6177	* netx/net/sourceforge/jnlp/PluginBridge.java
6178	(getDownloadOptionsForJar): Rename to ...
6179	(getDownloadOptions): New method.
6180	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
6181	(initializeResources): Invoke file.getDownloadResources.
6182	(getDownloadOptionsForJar): Remove.
6183	* tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java
6184	(testDownloadOptionsAppliedEverywhere): New method.
6185	(testDownloadOptionsFilteredOut): New method.
6186
61872013-09-04  Andrew Azores  <aazores@redhat.com>
6188
6189	* netx/net/sourceforge/jnlp/config/Defaults.java: (USER_CACHE_HOME) made
6190	public for use in CacheReproducer
6191	* tests/reproducers/signed/CacheReproducer/testcases/CacheReproducerTest:
6192	updated "could not clear cache" message and cache location. Other minor
6193	cleanup
6194
61952013-09-04  Andrew Azores  <aazores@redhat.com>
6196
6197	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java:
6198	(getIntegerResponseAsBoolean) extracted integer response casting/handling
6199	logic into new method
6200	* tests/netx/unit/net/sourceforge/jnlp/security/SecurityDialogsTest.java:
6201	new unit test for SecurityDialogs#getIntegerReponseAsBoolean()
6202
62032013-09-04  Adam Domurad  <adomurad@redhat.com>
6204
6205	* netx/net/sourceforge/jnlp/Launcher.java:
6206	Fix applet context being null during applet init & start.
6207
62082013-08-29  Omair Majid  <omajid@redhat.com>
6209
6210	* tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java
6211	(testPropertyRestrictions): New method. Check that properties in
6212	resources are are combined and filtered as appropriate.
6213
62142013-08-29  Omair Majid  <omajid@redhat.com>
6215
6216	PR1058
6217	* netx/net/sourceforge/jnlp/services/XFileOpenService.java
6218	(openMultiFileDialog): Create a privileged proxy for each FileContents
6219	instance and return an array of them.
6220
62212013-08-27  Adam Domurad  <adomurad@redhat.com>
6222
6223	Do not wait for applet initialization when binding Java applets for NPAPI.
6224	* plugin/icedteanp/IcedTeaNPPlugin.cc: Refactor to use
6225	lazy-initialized javascript applet binding.
6226	* plugin/icedteanp/IcedTeaPluginUtils.cc: Make use of new helper
6227	class, introduce (stringPrintf), introduce NPObjectRef.
6228	* plugin/icedteanp/IcedTeaPluginUtils.h: Same.
6229	* plugin/icedteanp/IcedTeaScriptablePluginObject.cc: Allow
6230	IcedTeaScriptableJavaObject to be lazy-initialized, introduce
6231	lazy-initializing (get_scriptable_applet_object).
6232	* plugin/icedteanp/IcedTeaScriptablePluginObject.h: Same.
6233	* tests/cpp-unit-tests/IcedTeaScriptablePluginObjectTest.cc: Adapt
6234	test to new helper class.
6235
62362013-08-23  Adam Domurad  <adomurad@redhat.com>
6237
6238	Spawn Java side during C++ unit tests. Many new tests.
6239	* plugin/icedteanp/IcedTeaJavaRequestProcessor.cc
6240	(hasPackage): Minor cleanup.
6241	* plugin/icedteanp/IcedTeaNPPlugin.cc
6242	(initialize_data_directory): New, extracted function.
6243	(NP_Initialize): Calls extracted function.
6244	* plugin/icedteanp/IcedTeaNPPlugin.h: Expose more functions for
6245	testing purposes.
6246	* tests/cpp-unit-tests/IcedTeaNPPluginTest.cc
6247	(get_scriptable_package_object): Test binding of java package
6248	(get_scriptable_java_object): Test binding of java object
6249	* tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc
6250	(NPIdentifierAsString): Update to create npidentifier properly.
6251	* tests/cpp-unit-tests/IcedTeaScriptablePluginObjectTest.cc
6252	(getProperty): Test loading java.lang.Integer.MAX_VALUE from C++.
6253	* tests/cpp-unit-tests/MemoryLeakDetector.h
6254	(reset_global_state): Made public
6255	* tests/cpp-unit-tests/checked_allocations.h
6256	(SafeAllocator): New, typedef for allocator that avoids leak detection.
6257	* tests/cpp-unit-tests/browser_mock.cc
6258	(browsermock_setup_functions): Renamed to (browsermock_create_table).
6259	(browsermock_create_table): Now returns browser table, additional
6260	object release and identifier methods added.
6261	* tests/cpp-unit-tests/browser_mock.h: Update for rename.
6262	* tests/cpp-unit-tests/main.cc: Now clears state via
6263	(reset_global_state)
6264	* tests/cpp-unit-tests/IcedTeaJavaRequestProcessorTest.cc: New,
6265	contains unit tests that cover all of JavaRequestProcessor's methods.
6266	* tests/cpp-unit-tests/browser_mock_npidentifier.cc: Allocation-safe
6267	npidentifier mocking, adheres to NPAPI spec.
6268	* tests/cpp-unit-tests/browser_mock_npidentifier.h: Same.
6269
62702013-08-23  Adam Domurad  <adomurad@redhat.com>
6271
6272	* plugin/icedteanp/IcedTeaNPPlugin.cc: Refactor plugin data creation.
6273	* plugin/icedteanp/IcedTeaNPPlugin.h: Same.
6274
62752013-08-19  Adam Domurad  <adomurad@redhat.com>
6276
6277	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: Evaluate
6278	javascript when it shows up in a 'showDocument' call.
6279	* plugin/icedteanp/java/sun/applet/PluginMain.java: Install arbitrary
6280	'javascript:' protocol handler.
6281	* tests/rproducers/simple/JavascriptURLProtocol/resources/JavascriptProtocol.html:
6282	Tests if javascript is run from a test applet using showDocument.
6283	* tests/reproducers/simple/JavascriptURLProtocol/resources/JavascriptProtocol.js:
6284	Same.
6285	* tests/reproducers/simple/JavascriptURLProtocol/srcs/JavascriptProtocol.java:
6286	Same.
6287	* tests/reproducers/simple/JavascriptURLProtocol/testcases/JavascriptProtocolTest.java:
6288	Same.
6289
62902013-08-15  Andrew Azores  <aazores@redhat.com>
6291
6292	* netx/net/sourceforge/jnlp/ParserSettings.java: (globalParserSettings)
6293	static ParserSettings instance to store settings.
6294	(setGlobalParserSettingsFromArgs) Determine, store, and return
6295	globalParserSettings. (getGlobalParserSettings) return stored
6296	ParserSettings
6297	* netx/net/sourceforge/jnlp/PluginBridge.java: (extensionJars) stores list
6298	of JNLP extensions. (getResources) returns this list
6299	* netx/net/sourceforge/jnlp/runtime/Boot.java: minor refactor to use
6300	ParserSettings.setGlobalParserSettingsFromArgs()
6301
6302	* tests/netx/unit/net/sourceforge/jnlp/ParserSettingsTest.java: ensure
6303	that ParserSettings.setGlobalParserSettingsFromArgs() works as intended
6304
6305	* tests/reproducers/custom/ExtensionJnlpsInApplet/testcases/ExtensionJnlpsInAppletTest.java:
6306	tests browser launch of HTML file with embedded JNLP applet referencing
6307	extension JNLP
6308	* tests/reproducers/custom/ExtensionJnlpsInApplet/resources/ExtensionJnlpHelper.jnlp:
6309	same
6310	* tests/reproducers/custom/ExtensionJnlpsInApplet/resources/ExtensionJnlpTest.html:
6311	same
6312	* tests/reproducers/custom/ExtensionJnlpsInApplet/resources/ExtensionJnlpTestApplet.jnlp:
6313	same
6314	* tests/reproducers/custom/ExtensionJnlpsInApplet/srcs/ExtensionJnlpHelper.java:
6315	same
6316	* tests/reproducers/custom/ExtensionJnlpsInApplet/srcs/ExtensionJnlpTestApplet.java:
6317	same
6318	* tests/reproducers/custom/ExtensionJnlpsInApplet/srcs/Makefile: same
6319
63202013-08-13  Andrew Azores  <aazores@redhat.com>
6321
6322	* tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java: no longer
6323	sends HTTP 400 BAD REQUEST messages
6324	* test/test-extensions-tests/net/sourceforge/jnlp/TinyHttpdImplTest.java:
6325	removed "bad request" test
6326
63272013-08-12  Andrew Azores  <aazores@redhat.com>
6328
6329	* tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java: refactored
6330	* tests/test-extensions/net/sourceforge/jnlp/ServerLauncher.java:
6331	TinyHttpdImpl constructor changed, reflecting this here
6332	* tests/test-extensions-tests/net/sourceforge/jnlp/ServerAccessTest.java:
6333	removed TinyHttpdImpl tests
6334	* tests/test-extensions-tests/net/sourceforge/jnlp/TinyHttpdImplTest.java:
6335	new unit tests for TinyHttpdImpl and moved old tests out of
6336	ServerAccessTest
6337
63382013-08-01  Andrew Azores  <aazores@redhat.com>
6339
6340	* .hgignore: ignore generated HTML files (from AboutDialog)
6341
63422013-07-30  Adam Domurad  <adomurad@redhat.com>
6343
6344	* plugin/icedteanp/IcedTeaPluginUtils.cc
6345	(NPIdentifierAsString): Leak-free utf8fromidentifier wrapper.
6346	* plugin/icedteanp/IcedTeaPluginUtils.h: Same.
6347	* plugin/icedteanp/IcedTeaJavaRequestProcessor.cc: Update calls
6348	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc: Same.
6349	* plugin/icedteanp/IcedTeaScriptablePluginObject.cc: Same.
6350	* plugin/icedteanp/IcedTeaScriptablePluginObject.h: Same.
6351	* tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc
6352	(NPIdentifierAsString): New, tests utility function
6353	* tests/cpp-unit-tests/browser_mock.cc
6354	(mock_utf8fromidentifier): New, mocks NPAPI function
6355
63562013-07-30  Jiri Vanek  <jvanek@redhat.com>
6357
6358	* tests/reproducers/simple/simpletest1/resources/favicon.ico: new file
6359	should be served by test server in reproducers run and so prevent FNF exception
6360	* ChangeLog: fixed few entries below (added emty line between author and body)
6361
63622013-07-25  Andrew Azores  <aazores@redhat.com>
6363
6364	* netx/net/sourceforge/jnlp/about/AboutDialog.java (AboutDialog, display):
6365	removed "throws IOException"
6366	* netx/net/sourceforge/jnlp/about/HTMLPanel.java (HTMLPanel): removed
6367	"throws IOException" and changed try/catch to catch IOException rather
6368	than Exception
6369	* netx/net/sourceforge/jnlp/controlpanel/AboutPanel.java: removed
6370	try/catch around AboutDialog.display() call
6371	* netx/net/sourceforge/jnlp/runtime/Boot.java (main): same
6372	* netx/net/sourceforge/jnlp/splashscreen/impls/DefaultSplashScreens2012Commons.java:
6373	same
6374
63752013-07-22  Andrew Azores  <aazores@redhat.com>
6376
6377	* netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java:
6378	(getProxiesWithoutCaching) added java.vm.name read permission to fix
6379	Rhino parsing and PAC proxy configuration
6380
63812013-07-18  Jiri Vanek  <jvanek@redhat.com>
6382
6383	IcedTea-Web is now following XDG .config and .cache specification(RH947647)
6384	* tests/reproducers/simple/simpletest1/testcases/XDGspecificationTests.java
6385	new file, test if XDG specification and trasnfer to it are followed correctly,
6386	* NEWS: mentioned new feature
6387	* Makefile.am: (PUBLIC_KEYSTORE) repalced by (PUBLIC_KEYSTORE_STUB) which
6388	is now holding only internal part of path.(exported-test-certs)
6389	(netx-dist-tests-import-cert-to-public) (netx-dist-tests-remove-cert-from-public)
6390	are now resolving XDG variable and setting real path of PUBLIC_KEYSTORE
6391	by resolved value and (PUBLIC_KEYSTORE)
6392	* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java: changed to be public
6393	and recently_used strign extracted to (CACHE_INDEX_FILE_NAME) constant
6394	* netx/net/sourceforge/jnlp/config/Defaults.java: is now resovling and
6395	propagating XDG_CONFIG/CACHE_HOME  specification. (USER_HOME) repalced by
6396	(USER_CACHE_HOME) and (USER_CONFIG_HOME).
6397	(move14AndOlderFilesTo15Structure) new method responsible for moving
6398	of old data to new locations. 	(move14AndOlderFilesTo15StructureCatched)
6399	the same but with catch block
6400	* netx/net/sourceforge/jnlp/controlpanel/CachePane.java:
6401	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java:
6402	* tests/netx/unit/net/sourceforge/jnlp/util/PropertiesFileTest.java:
6403	are now using (CACHE_INDEX_FILE_NAME)
6404	* netx/net/sourceforge/jnlp/controlpanel/CommandLine.java: (main)
6405	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java: (main)
6406	* netx/net/sourceforge/jnlp/runtime/Boot.java: (main)
6407	* plugin/icedteanp/java/sun/applet/PluginMain.java: (main)
6408	are now calling DeploymentConfiguration.move14AndOlderFilesTo15StructureCatched
6409	asap.
6410	* netx/net/sourceforge/jnlp/util/FileUtils.java: various file manipulation
6411	methods moved inside here from test-extensions - (saveFile) (getContentOfStream)
6412	(loadFileAsString) - to avoid duplications
6413	* tests/test-extensions/net/sourceforge/jnlp/ProcessWrapper.java: for puposes of
6414	new test added constructor with string instead of URL
6415	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java: see FileUtils.java
6416
64172013-07-17  Jiri Vanek  <jvanek@redhat.com>
6418
6419	About dialogue made accessible from plugin
6420	* netx/net/sourceforge/jnlp/about/AboutDialog.java: (frame) re-declared
6421	to be Dialogue instead of JFrame and allowed to be modal if necessary.
6422	Caption internationalized.
6423	* netx/net/sourceforge/jnlp/splashscreen/impls/DefaultSplashScreens2012Commons.java:
6424	Added listener for upper right caption to show AboutDialog
6425	* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/BasePainter.java:
6426	(drawBase) if enough space, adding about "button"
6427	* netx/net/sourceforge/jnlp/splashscreen/parts/JEditorPaneBasedExceptionDialog.java:
6428	added about button
6429	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/SplashScreenTest.java:
6430	minor modifications related to this change
6431
64322013-07-17  Jiri Vanek  <jvanek@redhat.com>
6433
6434	about dialogue now available from itw-settings
6435	* netx/net/sourceforge/jnlp/controlpanel/AboutPanel.java:
6436	added button to launch about dialogue
6437	* netx/net/sourceforge/jnlp/resources/Messages.propertie: (CPAboutInfo)
6438	Adapted to be more accurate to select-able JVM
6439
64402013-07-17  Jiri Vanek  <jvanek@redhat.com>
6441	Jacob Wisor  <gitne@excite.co.jp>
6442
6443	added some missing de and pl strings
6444	* netx/net/sourceforge/jnlp/resources/Messages.properties:
6445	fixed about dialogue comment
6446	* netx/net/sourceforge/jnlp/resources/Messages_cs.properties:
6447	removed keystore comment
6448	* netx/net/sourceforge/jnlp/resources/Messages_de.properties:
6449	* netx/net/sourceforge/jnlp/resources/Messages_pl.properties:
6450	added  AboutDialogueTabAbout AboutDialogueTabAuthors
6451	AboutDialogueTabChangelog AboutDialogueTabNews  AboutDialogueTabGPLv2
6452	localizations
6453
64542013-07-11  Andrew Azores <aazores@redhat.com>
6455
6456	* NEWS: added entry regarding new About Dialogue
6457	* netx/net/sourceforge/jnlp/about/AboutDialog.java: fixed localization of
6458	label on News tab
6459
64602013-07-11  Andrew Azores <aazores@redhat.com>
6461
6462	* Makefile.am (stamps/html-gen): moved plaintext-to-HTML logic into new
6463	shell script
6464	* html-gen.sh: contains plaintext-to-HTML logic previously found in
6465	Makefile.am. Added a sed expression to cause ChangeLog file listing
6466	entries to be underlined.
6467
64682013-07-06  Jiri Vanek  <jvanek@redhat.com>
6469            Andrew Azores  <aazores@redhat.com>
6470
6471	New about dialogue
6472	* Makefile.am (stamps/netx-html-gen): removed logic for extras.jar, added
6473	new stamp to create HTML for AboutDialog
6474	* netx/net/sourceforge/jnlp/about/AboutDialog.java: Moved out of extras into
6475	netx and renamed from Main. New Swing layout and uses HTML files
6476	generated in Makefile.
6477	* netx/net/sourceforge/jnlp/about/HTMLPanel.java: Moved out of
6478	extras into netx. Added ability to click hyperlinks.
6479	* netx/net/sourceforge/jnlp/runtime/Boot.java
6480	(main, getAboutFile, getJNLPFile, itwInfoMessage): changed way of launching
6481	About dialog to using new static display method rather than JNLP launch.
6482	Removed methods relating to JNLP launch. More informative and nicely
6483	formatted -headless information.
6484	* netx/net/sourceforge/jnlp/resources/Messages.properties
6485	(BAboutITW, BFileInfoAuthors, BFileInfoCopying, BFileInfoNews): added new
6486	messages for javaws -about -headless launch
6487	* netx/net/sourceforge/jnlp/resources/about.html: moved out of extras
6488	into netx. Added more content, changed formatting.
6489	* netx/net/sourceforge/jnlp/resources/about.jnlp: removed, no longer needed
6490	* netx/net/sourceforge/jnlp/resources/itw_logo.png: new image for About
6491	dialog. Modified version of javaws_splash.png
6492	* netx/net/sourceforge/jnlp/resources/jamIcon.jpg: moved out of extras
6493	into netx
6494	* extra/net/sourceforge/javaws/about/HTMLPanel.java: moved into netx
6495	* extra/net/sourceforge/javaws/about/Main.java: same
6496	* extra/net/sourceforge/javaws/about/resources/about.html: same
6497	* extra/net/sourceforge/javaws/about/resources/jamIcon.jpg: same
6498	* extra/net/sourceforge/javaws/about/resources/applications.html: removed
6499	* extra/net/sourceforge/javaws/about/resources/notes.html: removed
6500
65012013-06-28  Adam Domurad  <adomurad@redhat.com>
6502
6503	* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
6504	(handleMessage): Fix potential NPE on 'GetValue'
6505
65062013-06-25  Jiri Vanek <jvanek@redhat.com>
6507
6508	* acinclude.m4: (IT_CHECK_FOR_TAGSOUP) is now correctly setting
6509	HAVE_TAGSOUP when it is not found
6510
65112013-06-24  Jiri Vanek <jvanek@redhat.com>
6512
6513	JNLP file is now re-downloading only if is local and have href
6514	* /netx/net/sourceforge/jnlp/Launcher.java: (launch) api cleared
6515	from (fromSource). (fromUrl) removed always re-downloading code and
6516	replaced by conditional. (launchBackground), (toFile), (BgRunner)
6517	removed.
6518	* netx/net/sourceforge/jnlp/runtime/Boot.java: following new (launch)
6519	* tests/reproducers/simple/GeneratedId/srcs/GeneratedId.java: just
6520	arguments reprinting application
6521	* tests/reproducers/simple/GeneratedId/testcases/GeneratedIdTest.java
6522	various tests based on href/no href x local/remote jnlp files
6523	* tests/reproducers/simple/GeneratedId/resources/GeneratedId.jnlp: base
6524	simple jnlp with someId argument
6525	* tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java: reprinting
6526	the get/head correctly and with echo
6527	* NEWS: mentioned PR1473
6528
65292013-06-21  Adam Domurad  <adomurad@redhat.com>
6530
6531	* plugin/icedteanp/IcedTeaScriptablePluginObject.cc: Simplify
6532	IcedTeaScriptableJavaObject
6533	* plugin/icedteanp/IcedTeaScriptablePluginObject.h: Same
6534
65352013-06-21  Adam Domurad  <adomurad@redhat.com>
6536
6537	* plugin/icedteanp/IcedTeaScriptablePluginObject.cc:
6538	Move 'get_scriptable_java_package_object' and
6539	'get_scriptable_java_object' into their correct respective classes.
6540	* plugin/icedteanp/IcedTeaScriptablePluginObject.h: Same.
6541	* plugin/icedteanp/IcedTeaNPPlugin.cc: Update references.
6542	* plugin/icedteanp/IcedTeaPluginUtils.cc: Same.
6543	* tests/cpp-unit-tests/IcedTeaScriptablePluginObjectTest.cc: Same.
6544
65452013-06-21  Adam Domurad  <adomurad@redhat.com>
6546
6547	* plugin/icedteanp/IcedTeaScriptablePluginObject.cc
6548	(IcedTeaScriptablePluginObject::get_scriptable_java_package_object): Fix
6549	memory leak due to allocated NPClass.
6550	(IcedTeaScriptableJavaPackageObject::get_scriptable_java_object):
6551	Same.
6552
65532013-06-21  Adam Domurad  <adomurad@redhat.com>
6554
6555	* plugin/icedteanp/IcedTeaPluginUtils.cc: Add global state clearing
6556	utility functions.
6557	* plugin/icedteanp/IcedTeaPluginUtils.h: Same.
6558	* tests/cpp-unit-tests/IcedTeaScriptablePluginObjectTest.cc: Test
6559	scriptable object creation and destruction.
6560	* tests/cpp-unit-tests/browser_mock.cc
6561	(mock_createobject): New, mocks NPAPI 'createobject'.
6562	* tests/cpp-unit-tests/MemoryLeakDetector.h: New, memory leak detection
6563	utility class.
6564	* tests/cpp-unit-tests/main.cc
6565	(ReportTestFinish): Print which tests resulted in memory leaks.
6566
65672013-06-21  Jiri Vanek <jvanek@redhat.com>
6568        Adam Domurad  <adomurad@redhat.com>
6569        Omair Majid  <omajid@redhat.com>
6570
6571	Added tagsup (optional dependence) as sanitizer for (possibly) invalid xml files
6572	* Makefile.am: (LAUNCHER_BOOTCLASSPATH) (PLUGIN_BOOTCLASSPATH) (NETX_CLASSPATH_ARG)
6573	(PLUGIN_COVERAGE_BOOTCLASSPATH)	enriched for TAGSOUP_JAR
6574	* acinclude.m4: (IT_CHECK_FOR_TAGSOUP) new macro
6575	* configure.ac: used  this new macro
6576	* tests/netx/unit/net/sourceforge/jnlp/ParserBasic.java:
6577	* netx/net/sourceforge/jnlp/JNLPCreator.java: (create)
6578	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
6579	* /netx/net/sourceforge/jnlp/JNLPFile.java:  (JNLPFile) construcotrs
6580	* netx/net/sourceforge/jnlp/PluginBridge.java
6581	* netx/net/sourceforge/jnlp/Launcher.java: (main)
6582	all adapted to take ParserSettings instead of individual parameters
6583	* netx/net/sourceforge/jnlp/MalformedXMLParser.java: new file, bridge
6584	between tagsoup and our parser
6585	* netx/net/sourceforge/jnlp/XmlParser.java: new file, bridge to old parser
6586	* netx/net/sourceforge/jnlp/Parser.java: refactored to be able both with
6587	* netx/net/sourceforge/jnlp/ParserSettings.java: reworked to serve as
6588	gatherer for various individual parser flags
6589	* netx/net/sourceforge/jnlp/resources/Messages.propertie: (BOXml)
6590	new key describing -xml  switch
6591	* tests/netx/unit/net/sourceforge/jnlp/ParserCornerCases.java:
6592	* tests/netx/unit/net/sourceforge/jnlp/ParserMalformedXml.java:
6593	* tests/netx/unit/net/sourceforge/jnlp/ParserTest.java:
6594	Tests adapted to newest state (both for included/excluded tagsoup) and
6595	new (testTagNotClosedNoTagSoup) (testUnquotedAttributesNoTagSoup)
6596
65972013-06-20  Jiri Vanek <jvanek@redhat.com>
6598
6599	Removed out-of date support for jdk 1.5  and older
6600	* netx/net/sourceforge/jnlp/runtime/Boot.java: removed memories to Boot13
6601	* netx/net/sourceforge/jnlp/runtime/Boot13.java: removed
6602
66032013-06-20  Jiri Vanek <jvanek@redhat.com>
6604
6605	Made it work with OpenJDK build 25
6606	* netx/net/sourceforge/jnlp/runtime/Boot.java: (main)
6607	Application context created as soon as possible
6608	* plugin/icedteanp/java/sun/applet/PluginMain.java:(main)
6609	Application context created as soon as possible
6610	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Do not consume
6611	exception after setLookAndFeel.
6612
66132013-06-18  Andrew Azores  <aazores@redhat.com>
6614
6615	* tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java:
6616	extracted some lines out of run() into new method urlToFilePath()
6617	* tests/test-extensions-tests/net/sourceforge/jnlp/ServerAccessTest.java:
6618	unit tests added for new urlToFilePath()
6619
66202013-06-06  Jiri Vanek  <jvanek@redhat.com>
6621        Andrew Azores  <aazores@redhat.com>
6622
6623	Handled semicolon in internal server
6624	* tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java:
6625	added stripHttpPathParams method to remove semicolon-delimited "tags"
6626	from end of JAR URLs
6627	* tests/test-extensions-tests/net/sourceforge/jnlp/ServerAccessTest.java:
6628	added test case for new method in TinyHttpdImpl
6629	* tests/reproducers/simple/StripHttpPathParams/resources/StripHttpPathParams.html:
6630	browser-launched applet test case for reproducer
6631	* tests/reproducers/simple/StripHttpPathParams/resources/StripHttpPathParams.jnlp:
6632	JNLP test case for reproducer
6633	* tests/reproducers/simple/StripHttpPathParams/srcs/StripHttpPathParams.java:
6634	reproducer
6635	* tests/reproducers/simple/StripHttpPathParams/testcases/StripHttpPathParamsTest.java:
6636	Testcase to above reproducer
6637
66382013-06-06  Jiri Vanek  <jvanek@redhat.com>
6639
6640	Made all tests running wit junit4.10 and higher
6641	* tests/junit-runner/CommandLine.java: (runMain) is no longer overriding
6642	and (runMainAndExit) is now calling System.exit rather then system.exit
6643
66442013-06-06  Jiri Vanek  <jvanek@redhat.com>
6645
6646	Silenced deployment.properties and zero size applet exceptions with tests
6647	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java:
6648	(findSystemConfigFile) and (loadProperties) now prints already cough exception
6649	only in debug mode
6650	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: (paint)
6651	now paints into 1 x 1 applet instead of 0 x 0 in case of 0 x 0 applet
6652	* tests/reproducers/simple/AppletTest/resources/appletZeroH.html: new file
6653	* tests/reproducers/simple/AppletTest/resources/appletZeroW.html: new file
6654	* tests/reproducers/simple/AppletTest/resources/appletZeroWH.html: new file
6655	- testing launchers with zero as width, height or both
6656	* tests/reproducers/simple/AppletTest/testcases/AppletTestTests.java:
6657	added launchers and evaluations for three new htmls - (appletZeroWH)
6658	(appletZeroW) (appletZeroH)
6659
66602013-06-06  Jiri Vanek  <jvanek@redhat.com>
6661	Jacob Wisor  <gitne@excite.co.jp>
6662
6663	Enhanced manifest
6664	* netx.manifest.in: added Implementation-URL, Implementation-Vendor,
6665	Specification-Title, Specification-URL, Specification-Vendor and
6666	Specification-Version entries
6667
66682013-06-05  Adam Domurad  <adomurad@redhat.com>
6669
6670	Fix PR1465
6671	* NEWS: Bug fix note
6672	* netx/net/sourceforge/jnlp/util/UrlUtils.java
6673	(isValidRFC2396Url): New, tests if valid URL by RFC2396 rules
6674	(normalizeUrl): Don't normalize if valid by RFC2396
6675	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java:
6676	Adapt which URLs we expect to change when normalizing URLs
6677	* tests/netx/unit/net/sourceforge/jnlp/util/UrlUtilsTest.java:
6678	(testIsValidRFC2396Url): New, tests isValidRFC2396Url
6679	(testNormalizeUrl): Add new test with valid RFC2396 URL
6680
66812013-06-04  Jiri Vanek  <jvanek@redhat.com>
6682
6683	* netx/net/sourceforge/jnlp/resources/Messages.properties:
6684	more detailed hint for CCannotClearCache
6685
66862013-06-04  Adam Domurad  <adomurad@redhat.com>
6687
6688	Remove unused files.
6689	* plugin/icedteanp/IcedTeaRunnable.cc: Removed.
6690	* plugin/icedteanp/IcedTeaRunnable.h: Removed.
6691
66922013-06-03  Adam Domurad  <adomurad@redhat.com>
6693
6694	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
6695	Handle resizing more robustly by not blocking worker thread
6696
66972013-06-03  Adam Domurad  <adomurad@redhat.com>
6698
6699	* netx/net/sourceforge/jnlp/util/StreamUtils.java
6700	(copyStream): New, copies input stream to output stream
6701	* tests/netx/unit/net/sourceforge/jnlp/cache/NativeLibraryStorageTest.java:
6702	New, tests lookup of native libraries from folders and jars.
6703	* tests/test-extensions/net/sourceforge/jnlp/util/FileTestUtils.java:
6704	New, contains utilities for testing open file descriptors, creating temporary
6705	directories, and creating jars.
6706	* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPClassLoaderTest.java:
6707	Replace jar creation methods with ones from FileTestUtils.
6708
67092013-06-03  Adam Domurad  <adomurad@redhat.com>
6710
6711	* netx/net/sourceforge/jnlp/cache/NativeLibraryStorage.java: New,
6712	stores and searches for native library files that are loaded from jars.
6713	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: Move code
6714	that handled native jar caching to NativeLibraryStorage.
6715
67162013-05-29  Adam Domurad  <adomurad@redhat.com>
6717
6718	* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPClassLoaderTest.java:
6719	Moved & renamed inner MockedOneJarJNLPFile to top-level
6720	DummyJNLPFileWithJar class.
6721	* tests/test-extensions/net/sourceforge/jnlp/mock/DummyJNLPFileWithJar.java:
6722	Moved & renamed from JNLPClassLoaderTest.MockedOneJarJNLPFile.
6723
67242013-05-29  Adam Domurad  <adomurad@redhat.com>
6725
6726	* netx/net/sourceforge/jnlp/resources/Messages.properties:
6727	"A serious exception occurred" -> "An exception occurred"
6728
67292013-05-20  Jiri Vanek  <jvanek@redhat.com>
6730
6731	Synchronized launchers to be from one source
6732	* Makefile.am: (edit_launcher_script) is now accepting variables
6733	(launcher.build/$(javaws)) no depends on launcher/launchers.in instead of
6734	launcher/javaws.in and is filling the variables for javaws
6735	(launcher.build/$(itweb_settings)) no depends on launcher/launchers.in instead of
6736	launcher/itweb_settings.in and is filling the variables for itweb_settings
6737	* launcher/itweb-settings.in: removed
6738	* launcher/javaws.in: removed
6739	* launcher/launchers.in: new file, substitution of removed (itweb-settings.in)
6740	and javaws.in. Mostly based on javaws.in, just (CLASSNAME) and (PROGRAM_NAME)
6741	and (BINARY_LOCATION) were made more general.
6742
67432013-05-20  Jiri Vanek  <jvanek@redhat.com>
6744
6745	Fixed possible deadlock for applet->js->applet call
6746	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
6747	(REQUEST_TIMEOUT) new constant, 60s, to define timeout of  applet->js call
6748	(waitForRequestCompletion) new method waiting to request to be done with
6749	timeout of REQUEST_TIMEOUT.
6750	(javascriptToString) using the waitForRequestCompletion instead of plain
6751	wait()
6752	* tests/reproducers/simple/AppletJsAppletDeadlock/resources/AppletJsAppletDeadlock.html
6753	and
6754	* tests/reproducers/simple/AppletJsAppletDeadlock/srcs/AppletJsAppletDeadlock.java
6755	reproducer
6756	* tests/reproducers/simple/AppletJsAppletDeadlock/testcases/AppletJsAppletDeadlockTest.java
6757	testcase
6758
67592013-05-17  Adam Domurad  <adomurad@redhat.com>
6760
6761	Fix PR854: Resizing an applet several times causes 100% CPU load
6762	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
6763	(handleMessage): Replace buggy initialization wait.
6764
67652013-05-14  Jiri Vanek  <jvanek@redhat.com>
6766            Jacob Wisor  <gitne@excite.co.jp>
6767
6768	* netx/net/sourceforge/jnlp/resources/Messages.properties: (CPJVMitwExec)
6769	fixed invalid unicode character
6770
67712013-05-02  Jana Fabrikova  <jfabriko@redhat.com>
6772
6773	* tests/reproducers/simple/JavawsAWTRobotUsageSample/resources/AppletAWTRobotUsageSample.html:
6774	new resource, html page for displaying the applet in browser
6775	* tests/reproducers/simple/JavawsAWTRobotUsageSample/testcases/AppletAWTRobotUsageSampleTest.java:
6776	new testcase with 6 browser tests
6777
67782013-05-02  Jana Fabrikova  <jfabriko@redhat.com>
6779
6780	* Makefile.am:
6781	Change in processing the goal
6782	(stamps/compile-reproducers-testcases.stamp)
6783	All .java files from reproducers testcases directory are
6784	compiled, all non-java files are copied into the
6785	TEST_EXTENSIONS_TESTS_DIR, i.e.
6786	tests.build/test-extensions-tests directory
6787	* tests/reproducers/simple/JavawsAWTRobotFindsButton/resources/javaws-awtrobot-finds-button.jnlp:
6788	jnlp file for displaying the applet
6789	* tests/reproducers/simple/JavawsAWTRobotFindsButton/srcs/JavawsAWTRobotFindsButton.java:
6790	the applet used in the reproducer
6791	* tests/reproducers/simple/JavawsAWTRobotFindsButton/testcases/JavawsAWTRobotFindsButtonTest.java:
6792	adding 2 tests: that an icon is loaded, and that the button is
6793	identified from the given icon and clicked by awt robot
6794	* tests/reproducers/simple/JavawsAWTRobotFindsButton/testcases/buttonA.png:
6795	the icon of the wanted button
6796
67972013-04-26  Jiri Vanek  <jvanek@redhat.com>
6798            Jacob Wisor  <gitne@excite.co.jp>
6799
6800	Added default, DE and PL localization's tweeks
6801	* netx/net/sourceforge/jnlp/resources/Messages.properties:
6802	* netx/net/sourceforge/jnlp/resources/Messages_de.properties:
6803	* netx/net/sourceforge/jnlp/resources/Messages_pl.properties
6804
68052013-05-02  Adam Domurad  <adomurad@redhat.com>
6806
6807	Ensure that PluginAppletviewer is resized in case of error.
6808	This fixes most of the cases of the error splash screen
6809	not appearing.
6810	* plugin/icedteanp/java/sun/applet/PluginAppletPanelFactory.java
6811	(createPanel): Resize earlier, before erroring out.
6812	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
6813	(PluginAppletViewer): Set size, remove fixme.
6814
68152013-05-02  Adam Domurad  <adomurad@redhat.com>
6816
6817	* plugin/icedteanp/IcedTeaNPPlugin.cc:
6818	Remove only occurence of LEGACY_XULRUNNERAPI
6819
68202013-05-02  Adam Domurad  <adomurad@redhat.com>
6821
6822	Introduce PluginPipeMock utility methods.
6823	* tests/test-extensions/sun/applet/PluginPipeMockUtil.java: New,
6824	enapsulates PluginPipeMock initialization, cleanup. As well, contains
6825	utility methods.
6826	* tests/netx/unit/sun/applet/PluginAppletViewerTest.java: Use
6827	newly introduced utility methods.
6828
68292013-05-02  Adam Domurad  <adomurad@redhat.com>
6830
6831	* plugin/icedteanp/java/sun/applet/MethodOverloadResolver.java
6832	(getBestOverloadMatch): Return null if a valid method was not found.
6833	* tests/netx/unit/sun/applet/MethodOverloadResolverTest.java
6834	(getResolvedMethod): New, gets ResolvedMethod from array of bundled class,
6835	string, and parameters
6836	(assertExpectedOverload): New variant that tests exact received values
6837	(testArrayToStringResolve): Tests array conversion to String
6838	(testArrayToArrayResolve): Tests array conversion to other arrays
6839
68402013-05-02  Adam Domurad  <adomurad@redhat.com>
6841
6842	* plugin/icedteanp/java/sun/applet/MethodOverloadResolver.java
6843	(getCostAndCastedObject): Remove code that had no effect before refactoring.
6844	(getBestOverloadMatch): Move debug-only code to debug if-block.
6845
68462013-05-02  Jiri Vanek  <jvanek@redhat.com>
6847
6848	Added various tests related to portalbank.no fixes
6849	* netx/net/sourceforge/jnlp/cache/Resource.java: added fixme to warn
6850	before wrong url comparator
6851	* netx/net/sourceforge/jnlp/Version.java: removed useless main. Its
6852	purpose moved to new
6853	* tests/netx/unit/net/sourceforge/jnlp/VersionTest: some small tests to
6854	version class
6855	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java:
6856	added tests to	(getUrlResponseCode) and (findBestUrl)
6857	* tests/netx/unit/net/sourceforge/jnlp/util/HttpUtilsTest.java: added tests for
6858	(consumeAndCloseConnectionSilently) and (consumeAndCloseConnection)
6859	* tests/netx/unit/net/sourceforge/jnlp/util/UrlUtilsTest: added license header
6860	* tests/test-extensions/net/sourceforge/jnlp/ServerLauncher.java: and
6861	* tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java: added
6862	support for simulation of not working HEAD request.
6863
68642013-05-02  Jiri Vanek  <jvanek@redhat.com>
6865
6866	Fix for portalbank.no (trying get after failed head requests)
6867	* net/sourceforge/jnlp/cache/ResourceTracker : (findBestUrl)
6868	now trying GET after each error request of HEAD type. Changed and
6869	added debug messages. (getUrlResponseCode) closing of stream
6870	moved to separate method HttpUtils.consumeAndCloseConnectionSilently
6871	* net/sourceforge/jnlp/util/HttpUtils.java: new file designed  for
6872	http utils. Now contains (consumeAndCloseConnection) and
6873	(consumeAndCloseConnectionSilently) which calls consumeAndCloseConnection
6874	but do not rethrow exception
6875	* netx/net/sourceforge/jnlp/util/StreamUtils.java: removed
6876	(consumeAndCloseInputStream) now improved and moved to HttpUtils
6877
68782013-05-02  Jana Fabrikova  <jfabriko@redhat.com>
6879
6880	* tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java:
6881	refactoring - removing initStrGiven variable - now it only
6882	matters if the initStr is null or not. Modifying the following
6883	two methods: (charReaded) - if initStr is null the run method
6884	can not be started from charReaded and the presence of initStr
6885	is not checked in stdout. Method (getInitStrAsRule) returns rule
6886	that is always true if initStr is null.
6887
68882013-05-02  Jiri Vanek  <jvanek@redhat.com>
6889
6890	Renamed cz locales to be more general
6891	* netx/net/sourceforge/jnlp/resources/Messages_cs_CZ.properties: renamed to
6892	* netx/net/sourceforge/jnlp/resources/Messages_cs.properties: new file
6893	* tests/netx/unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java:
6894	* tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java
6895	Adapted  to new cz locales filename.
6896
68972013-05-02  Jana Fabrikova  <jfabriko@redhat.com>
6898
6899	* Makefile.am:
6900	the directory $(TEST_EXTENSIONS_SRCDIR) (i.e. test/test-extensions)
6901	added on classpath for running reproducers, unit tests, and test code
6902	coverage for reproducers and unittests using emma and jacoco, that is
6903	for the following 6 targets:
6904	(stamps/run-netx-dist-tests.stamp)
6905	(stamps/run-netx-unit-tests.stamp)
6906	(stamps/run-unit-test-code-coverage.stamp) with EMMA
6907	(stamps/run-unit-test-code-coverage-jacoco.stamp)
6908	(stamps/run-reproducers-test-code-coverage.stamp) with EMMA
6909	(stamps/run-reproducers-test-code-coverage-jacoco.stamp)
6910	* tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java:
6911	modifying the constructor, the default icon is taken from
6912	ComponentFinder instead of loading from file
6913	* tests/test-extensions/net/sourceforge/jnlp/awt/imagesearch/ComponentFinder.java:
6914	added a block of initialization code - the default icon
6915	* tests/netx/unit/net/sourceforge/jnlp/awt/imagesearch/ComponentFinderTest.java:
6916	unit test for the initialization code in ComponentFinder
6917	* tests/reproducers/simple/AWTCommonResourcesOnly/resources/marker.png:
6918	second copy of the default icon in a reproducer with resources only
6919	* tests/reproducers/simple/JavawsAWTRobotUsageSample/resources/javaws-awtrobot-usage-sample.jnlp:
6920	jnlp file for displaying the applet
6921	* tests/reproducers/simple/JavawsAWTRobotUsageSample/srcs/JavawsAWTRobotUsageSample.java:
6922	the applet
6923	* tests/reproducers/simple/JavawsAWTRobotUsageSample/testcases/JavawsAWTRobotUsageSampleTest.java:
6924	adding 6 testcases testing clicking with different mouse
6925	buttons on the applet
6926	* tests/test-extensions-tests/net/sourceforge/jnlp/awt/imagesearch/ComponentFinderTest.java:
6927	unit test for the initialization code in ComponentFinder
6928	* tests/test-extensions/net/sourceforge/jnlp/awt/imagesearch/marker.png:
6929	first copy of the default icon, will be on classpath
6930
69312013-04-30  Adam Domurad  <adomurad@redhat.com>
6932
6933	* tests/netx/unit/sun/applet/MethodOverloadResolverTest.java: Add missing
6934	copyright header.
6935	* tests/netx/unit/sun/applet/PluginAppletSecurityContextTest.java: Same.
6936	* tests/netx/unit/sun/applet/PluginParameterParserTest.java: Same.
6937
69382013-04-29  Jiri Vanek  <jvanek@redhat.com>
6939
6940	More granular initialization of AwtHelper
6941	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java: added
6942	(executeBrowser) which can work upon fully constructed url
6943	* tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java:
6944	(captureScreenAndFindAppletByIconTryKTimes) split to three:
6945	(captureScreenAndFindAppletByIconTryKTimes) - unchanged, now using following
6946	(initialiseOnScreenshot) initialize from given buffered image, creating area
6947	(initialiseOnScreenshotAndArea) initialize from two given buffered images
6948
69492013-04-29  Jiri Vanek  <jvanek@redhat.com>
6950
6951	Improved performance of scanning images, added masking of images
6952	* tests/test-extensions/net/sourceforge/jnlp/awt/imagesearch/ImageSeeker.java:
6953	(findExactImage) now using masks and is iterating over rows
6954	(getMaskImage) new method to visualize mask
6955	(getMask)  new method to create mask
6956	(getPixels) method to extract pixels from image to int array
6957
69582013-04-29  Jana Fabrikova  <jfabriko@redhat.com>
6959
6960	* tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java:
6961	refactoring Point instead of Rectangle as icon position as
6962	markerPosition
6963	* tests/test-extensions/net/sourceforge/jnlp/awt/imagesearch/ComponentFinder.java:
6964	refactoring Point instead of Rectangle as icon position in several
6965	search methods
6966
69672013-04-29  Jana Fabrikova  <jfabriko@redhat.com>
6968
6969	* tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java:
6970	fixing method (captureScreenAndFindAppletByIconTryKTimes),
6971	which should not throw AWTFrameworkException
6972	* tests/test-extensions/net/sourceforge/jnlp/awt/imagesearch/ComponentFinder.java:
6973	fixing the return values of several search methods
6974	* tests/test-extensions/net/sourceforge/jnlp/awt/imagesearch/ImageSeeker.java:
6975	fixing the return values of several search methods
6976
69772013-04-26  Jana Fabrikova  <jfabriko@redhat.com>
6978
6979	* /tests/test-extensions/net/sourceforge/jnlp/closinglisteners/RulesFolowingClosingListener.java:
6980	added a getter method getRules
6981	* tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java:
6982	the most important class of AWTFramework, combines closing listener and
6983	possibility to use mouse and keyboard for input to tests
6984	* tests/test-extensions/net/sourceforge/jnlp/awt/AWTFrameworkException.java:
6985	exception that is raised in the framework whenever programmer did not
6986	provide enough information
6987	* tests/test-extensions/net/sourceforge/jnlp/awt/awtactions/KeyboardActions.java:
6988	class with utility keyboard methods
6989	* tests/test-extensions/net/sourceforge/jnlp/awt/awtactions/MouseActions.java:
6990	class with utility mouse methods
6991	* tests/test-extensions/net/sourceforge/jnlp/awt/imagesearch/ComponentFinder.java:
6992	class for finding components in a screenshot
6993	* tests/test-extensions/net/sourceforge/jnlp/awt/imagesearch/ComponentNotFoundException.java:
6994	exception that can be raised if an important component could not be found
6995	* tests/test-extensions/net/sourceforge/jnlp/awt/imagesearch/ImageSeeker.java:
6996	class for general image searching
6997	* tests/reproducers/simple/AWTCommonResourcesOnly/resources/marker.png:
6998	reproducer with resources only, contains the default icon marking
6999	applets
7000
70012013-04-26  Adam Domurad  <adomurad@redhat.com>
7002
7003	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java
7004	(getCacheFile): Use decodeUrlAsFile instead of toURI().getPath().
7005	* netx/net/sourceforge/jnlp/util/UrlUtils.java
7006	(decodeUrlAsFile): New, tolerates ill-formed URLs.
7007	* tests/netx/unit/net/sourceforge/jnlp/util/UrlUtilsTest.java:
7008	(testDecodeUrlAsFile): Test for (decodeUrlAsFile)
7009
70102013-04-26  Jiri Vanek  <jvanek@redhat.com>
7011            Jacob Wisor  <gitne@excite.co.jp>
7012
7013	Added polish localisation
7014	* netx/net/sourceforge/jnlp/resources/Messages_de.properties
7015	* netx/net/sourceforge/jnlp/resources/Messages.properties: minor fixes
7016	* netx/net/sourceforge/jnlp/resources/Messages_pl.properties: new localization
7017	nearly complete list of PL values
7018	* tests/netx/unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java
7019	Added PL as known translation
7020	* tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java:
7021	Added tests to PL integration
7022
70232013-04-26  Jiri Vanek  <jvanek@redhat.com>
7024            Alexandr Kolouch  <skolnag@gmail.com>
7025
7026	Improved and completed CZ localisation
7027	* netx/net/sourceforge/jnlp/resources/Messages_cs_CZ.properties:
7028	Added missing items, some fixes
7029
70302013-04-26  Jiri Vanek  <jvanek@redhat.com>
7031            Alexandr Kolouch  <skolnag@gmail.com>
7032
7033	Added CZ  localization of itw-settings Xdesktop configuration file
7034	* itweb-settings.desktop.in: added Name[cs] and Name[cs] keys with values.
7035
70362013-04-26  Jiri Vanek  <jvanek@redhat.com>
7037            Jacob Wisor  <gitne@excite.co.jp>
7038
7039	Added DE and PL localization of itw-settings Xdesktop configuration file
7040	* itweb-settings.desktop.in: added Name[de], Name[pl], Comment[de], Comment[pl]
7041	keys with values. Added Keywords key with values.
7042
70432013-04-26  Jiri Vanek  <jvanek@redhat.com>
7044
7045	Silenced unittests
7046	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImplTest.java: and
7047	* tests/netx/unit/sun/applet/PluginAppletViewerTest.java:
7048        System.out.println replaced by ServerAccess.logOutputReprint
7049
70502013-04-26  Jiri Vanek  <jvanek@redhat.com>
7051
7052	Fixed compilation under jdk6
7053	* netx/net/sourceforge/jnlp/util/JarFile.java:
7054	is now implementing Closeable
7055
70562013-04-26  Jiri Vanek  <jvanek@redhat.com>
7057
7058	Fixed regressed unittest and "cause"
7059	* /netx/net/sourceforge/jnlp/NullJnlpFileException.java:
7060	fixed header
7061	* netx/net/sourceforge/jnlp/SecurityDesc.java: (SecurityDesc) is now
7062	throwing NullJnlpFileException in case of null jnlp file.
7063	* tests/netx/unit/net/sourceforge/jnlp/ParserBasic.java: is now using
7064	correct DummyJnlpFile
7065	* tests/netx/unit/net/sourceforge/jnlp/SecurityDescTest.java: new testfile.
7066	(testNotNullJnlpFile) (testNullJnlpFile) testing the behavior for null
7067	jnlp file and for existing jnlpfile.
7068	* tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java:
7069	(DummyJnlpFile) extracted to test-extensions and have removed incorrect have security
7070	(testNullFileSecurityDescApplet) and (testNullFileSecurityDesc) is now expecting
7071	NullJnlpFileException instead of results
7072	* tests/test-extensions/net/sourceforge/jnlp/mock/DummyJNLPFile.java: new
7073	reusable dummy jnlp file
7074
70752013-04-25  Adam Domurad  <adomurad@redhat.com>
7076
7077	Add accidentally not included files from "Tests & test extensions for
7078	mocking the plugin input & output pipes."
7079
70802013-04-25  Adam Domurad  <adomurad@redhat.com>
7081
7082	Fix a dead-lock that can cause (namely) Firefox to hang.
7083	* netx/net/sourceforge/jnlp/NetxPanel.java
7084	(appletAlive): Remove flag.
7085	(isAlive): Remove getter.
7086	(initialized): New, explicit initialization flag.
7087	(isInitialized): New, getter.
7088	(runLoader): Set initialization flag when done (whether errored or not).
7089	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
7090	(waitForAppletInit): Wait on initialization flag from NetxPanel.
7091	(handleMessage): Remove redundant waiting for init. Respond properly to
7092	GetJavaObject in case of error/time-out.
7093
70942013-04-25  Adam Domurad  <adomurad@redhat.com>
7095
7096	* tests/netx/unit/net/sourceforge/jnlp/AsyncCallTest.java: Unit tests for
7097	AsyncCall test extension.
7098
70992013-04-25  Adam Domurad  <adomurad@redhat.com>
7100
7101	Tests & test extensions for mocking the plugin input & output pipes.
7102	* Makefile.am
7103	(stamps/test-extensions-compile.stamp): Make plugin classes available
7104	to test extensions
7105	* tests/test-extensions/net/sourceforge/jnlp/AsyncCall.java: New, helper
7106	for doing asynchronous calls with an optional timeout.
7107	* tests/netx/unit/sun/applet/PluginAppletViewerTest.java: New, uses
7108	PluginPipeMock to test the javascript requests to the plugin.
7109	* tests/test-extensions/sun/applet/mock/PluginPipeMock.java: New, helper
7110	for getting the plugin requests and mocking the replies.
7111
71122013-04-25  Jiri Vanek <jvanek@redhat.com>
7113
7114	Locking disabled on windows machines
7115	* netx/net/sourceforge/jnlp/util/lockingfile/LockedFile.java:
7116	(lock) and (unlock) are no-op on windows.
7117
71182013-04-25  Jiri Vanek <jvanek@redhat.com>
7119
7120	Splashscreen now strip commit id from released versions
7121	*  netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/BasePainter.java:
7122	(stripCommitFromVersion) new method responsible for cutting
7123	(drawBase) now using stripCommitFromVersion before printing drawing version
7124	to splashscreen
7125	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/BasePainterTest.java:
7126	(stripCommitFromVersion) new test for
7127
71282013-04-24  Adam Domurad  <adomurad@redhat.com>
7129
7130	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
7131	Remove unnecessary line that can result in NPE
7132
71332013-04-23  Adam Domurad  <adomurad@redhat.com>
7134
7135	* tests/netx/unit/net/sourceforge/jnlp/util/UrlUtilsTest.java:
7136	Added tests for decodeUrlQuietly, normalizeUrl, normalizeUrlQuietly.
7137
71382013-04-23  Adam Domurad  <adomurad@redhat.com>
7139
7140	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java: Remove no
7141	longer used constants. Remove (normalizeUrl). Update calls.
7142	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: Expand imports.
7143	Update calls.
7144	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
7145	Ensure file://-protocol URLs are encoded.
7146	* netx/net/sourceforge/jnlp/util/UrlUtils.java: Add (normalizeUrl),
7147	and related utility methods. Allow for optionally encoding file://
7148	URLs.
7149
71502013-04-23  Adam Domurad  <adomurad@redhat.com>
7151
7152	Ensure document-base is properly encoded.
7153	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java
7154	(getCacheFile): Use URL#toUri().getPath() instead of URL#getFile().
7155	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
7156	(handleInitializationMessage): Don't decode document-base.
7157
71582013-04-23  Adam Domurad  <adomurad@redhat.com>
7159
7160	Reproducer for URL parameters (eg ?a=b) in document-base.
7161	* tests/reproducers/simple/URLParametersInDocumentBase/resources/URLParametersInDocumentBase.html:
7162	Page that loads applet.
7163	* tests/reproducers/simple/URLParametersInDocumentBase/srcs/URLParametersInDocumentBase.java:
7164	Applet that prints code-base & document-base.
7165	* tests/reproducers/simple/URLParametersInDocumentBase/testcases/URLParametersInDocumentBaseTests.java:
7166	Test-driver.
7167
71682013-04-23  Adam Domurad  <adomurad@redhat.com>
7169
7170	* netx/net/sourceforge/jnlp/NetxPanel.java
7171	(exitOnFailure): Remove always-false field.
7172	(NetxPanel): Remove overloaded constructor
7173	(runLoader): Do not swallow LaunchException's. Remove dead
7174	exitOnFailure code-path. Set applet status to APPLET_ERROR on
7175	exception.
7176	* plugin/icedteanp/java/sun/applet/PluginAppletPanelFactory.java
7177	(createPanel): Update call to NetxPanel constructor.
7178
71792013-04-23  Adam Domurad  <adomurad@redhat.com>
7180
7181	* tests/reproducers/signed/AppContextHasJNLPClassLoader/resources/AppContextHasJNLPClassLoader.html:
7182	Test AppContext context classloader from HTML applet
7183	* tests/reproducers/signed/AppContextHasJNLPClassLoader/resources/AppContextHasJNLPClassLoader.jnlp:
7184	Test AppContext context classloader from JNLP application
7185	* tests/reproducers/signed/AppContextHasJNLPClassLoader/resources/AppContextHasJNLPClassLoaderForJNLPApplet.jnlp:
7186	Test AppContext context classloader from JNLP applet
7187	* tests/reproducers/signed/AppContextHasJNLPClassLoader/srcs/AppContextHasJNLPClassLoader.java:
7188	Print out context classloader for thread & AppContext, for
7189	current thread & Swing thread.
7190	* tests/reproducers/signed/AppContextHasJNLPClassLoader/testcases/AppContextHasJNLPClassLoaderTest.java:
7191	Test runner for AppContextHasJNLPClassLoader
7192
71932013-04-23  Adam Domurad  <adomurad@redhat.com>
7194
7195	Ensure JarFile handles do not leak.
7196	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
7197	Ensure close is called for each JarFile.
7198
71992013-04-23  Adam Domurad  <adomurad@redhat.com>
7200
7201	* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPClassLoaderTest.java:
7202	New, JNLPClassLoader unit tests for (checkForMain), (getMainClassName),
7203	(activateNativeJar), and (isInvalidJar). Checks for file descriptor
7204	leaks.
7205	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
7206	(isInvalidJar): Change to default visibility for testing purposes.
7207	(checkForMain): Same.
7208	(getMainClassName): Same.
7209
72102013-04-23  Adam Domurad  <adomurad@redhat.com>
7211
7212	Rewrite of MethodOverloadResolver with detailed unittests.
7213	* plugin/icedteanp/java/sun/applet/MethodOverloadResolver.java:
7214	Rewritten to reduce duplicated code, fix very subtle bugs in
7215	never-tested codepaths, obey spec properly. Introduced new helper types
7216	where Object[] arrays with special-meaning positions were passed
7217	around.
7218	* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java:
7219	Updated to work with newly introduced types / refactored overload
7220	resolver.
7221	* tests/netx/unit/sun/applet/MethodOverloadResolverTest.java: In-depth
7222	unit tests of hairy details of method overloading in JS<->Java.
7223
72242013-04-23  Omair Majid  <omajid@redhat.com>
7225
7226	PR1299
7227	* NEWS: Update with fix
7228	* netx/net/sourceforge/jnlp/browser/BrowserAwareProxySelector.java
7229	(initFromBrowserConfig): Fix typo in socks proxy setting key.
7230
72312013-04-19  Jiri Vanek <jvanek@redhat.com>
7232
7233	testing server allowed from makefile
7234	* Makefile.am:
7235	(stamps/netx-dist-tests-prepare-reproducers.stamp) added stamps/netx-dist.stamp stamps/plugin.stamp dependence
7236	(stamps/test-extensions-compile.stamp) added stamps/netx-dist.stamp stamps/plugin.stamp dependence
7237	(stamps/compile-reproducers-testcases.stamp) added stamps/plugin.stamp  dependence
7238	(run-test-server-on-44321) new target, starts server in deploy dir, on port 44321
7239	(run-test-server-on-random-port) new target, starts server in deploy dir, on random port
7240	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java: (main)
7241	added better access to random port
7242
72432013-04-17  Jiri Vanek <jvanek@redhat.com>
7244
7245	Added various self-describing tests for codebase
7246	* tests/reproducers/simple/AppletSharedClassLoader/resources/LaunchSharedClassLoaderApplet-reader1-writer1.html
7247	* tests/reproducers/simple/AppletSharedClassLoader/resources/LaunchSharedClassLoaderApplet-reader1-writer2.html
7248	* tests/reproducers/simple/AppletSharedClassLoader/resources/LaunchSharedClassLoaderApplet-reader1.html
7249	* tests/reproducers/simple/AppletSharedClassLoader/resources/LaunchSharedClassLoaderApplet-reader2.html
7250	* tests/reproducers/simple/AppletSharedClassLoader/resources/LaunchSharedClassLoaderApplet-writer1.html
7251	* tests/reproducers/simple/AppletSharedClassLoader/resources/LaunchSharedClassLoaderApplet-writer2.html
7252	* tests/reproducers/simple/AppletSharedClassLoader/resources/LaunchSharedClassLoaderApplet2-reader1-writer1.html
7253	* tests/reproducers/simple/AppletSharedClassLoader/resources/LaunchSharedClassLoaderApplet2-reader1-writer2.html
7254	* tests/reproducers/simple/AppletSharedClassLoader/resources/LaunchSharedClassLoaderApplet2-reader1.html
7255	* tests/reproducers/simple/AppletSharedClassLoader/resources/LaunchSharedClassLoaderApplet2-reader2.html
7256	* tests/reproducers/simple/AppletSharedClassLoader/resources/LaunchSharedClassLoaderApplet2-writer1.html
7257	* tests/reproducers/simple/AppletSharedClassLoader/resources/LaunchSharedClassLoaderApplet2-writer2.html
7258	* tests/reproducers/simple/AppletSharedClassLoader/srcs/SharedClassLoaderApplet1.java
7259	* tests/reproducers/simple/AppletSharedClassLoader/srcs/SharedClassLoaderApplet2.java
7260	* tests/reproducers/simple/AppletSharedClassLoader/srcs/SharedSecret.java
7261	* tests/reproducers/simple/AppletSharedClassLoader/testcases/SharedClassLoaderApplet_WrittenCompleteCodeBaseTest.java
7262	* tests/reproducers/simple/AppletSharedClassLoader/testcases/SharedClassLoaderApplet_WrittenPartialStubCodeBaseTest.java
7263	* tests/reproducers/simple/AppletSharedClassLoader/testcases/SharedClassLoaderApplet_dotCodeBaseTest.java
7264
72652013-04-17 Adam Domurad  <adomurad@redhat.com>
7266           Jiri Vanek <jvanek@redhat.com>
7267
7268	CVE-2013-1926, RH916774: Class-loader incorrectly shared for applets with
7269	same relative-path.
7270	* netx/net/sourceforge/jnlp/PluginParameters.java
7271	(getCodeBase): Removed
7272	(getUniqueKey): Now takes absolute codebase
7273	* netx/net/sourceforge/jnlp/NetxPanel.java: Pass absolute codebase in
7274	getUniqueKey calls.
7275	* netx/net/sourceforge/jnlp/PluginBridge.java: Same.
7276
72772013-04-17  Jiri Vanek <jvanek@redhat.com>
7278
7279	Fixed gifar vulnereability with automated testcase
7280	* netx/net/sourceforge/jnlp/util/JarFile.java: IcedTea-Web replacement for
7281	java.util.jar.JarFile.java with capability to verify if the jar starts as jar
7282	and not as something else (eg gif)
7283	* netx/net/sourceforge/jnlp/Launcher.java: migrated to new JarFile
7284	* netx/net/sourceforge/jnlp/resources/Messages.properties: added
7285	BXignoreheaders key with description to new -Xignoreheaders switch
7286	* netx/net/sourceforge/jnlp/runtime/Boot.java: added switch Xignoreheaders
7287	to allow to disable the header verification.
7288	* netx/net/sourceforge/jnlp/runtime/CachedJarFileCallback.java:
7289	migrated to new JarFile
7290	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: improved
7291	reporting of  new JarFile exceptions
7292	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: new field
7293	ignoreHeaders, informing about new JarFile whether to verify or not verify
7294	headers. By default verifying, so have value of false.
7295	* netx/net/sourceforge/jnlp/tools/JarCertVerifier.java: migrated to new JarFile
7296	* netx/net/sourceforge/jnlp/util/InvalidJarHeaderException.java: new
7297	not-checked exception to signify that jar is corrupted on headers level.
7298	* tests/reproducers/custom/GifarCreator/srcs/Makefile:  makefile to
7299	join gif and jar to create gifar
7300	* tests/reproducers/signed/GifarBase/resources/gifarView_hacked.html:
7301	html with hacked gifar
7302	* tests/reproducers/signed/GifarBase/resources/gifarView_ok.html:
7303	html with valid gifs and jars
7304	* tests/reproducers/signed/GifarBase/resources/gifar_applet.jnlp:
7305	jnlp applet constructed from hacked gifar
7306	* tests/reproducers/signed/GifarBase/resources/gifar_application.jnlp:
7307	jnlp application constructed from hacked gifar
7308	* tests/reproducers/signed/GifarBase/srcs/GifarMain.java:
7309	Main method of reproducer
7310	* tests/reproducers/signed/GifarBase/testcases/GifarTestcases.java:
7311	Testing methods
7312	* tests/reproducers/signed/GifarBase/resources/happyNonAnimated.gif:
7313	binary file, image, gif, used to create hacked gifars
7314
73152013-04-17  Jiri Vanek <jvanek@redhat.com>
7316
7317	removed java call to obtain jvm args for plugin
7318	* /plugin/icedteanp/IcedTeaNPPlugin.cc: (get_jvm_args)
7319	Java call replaced by call to recently added read_deploy_property_value
7320	function.
7321
73222013-04-12  Adam Domurad  <adomurad@redhat.com>
7323
7324	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/ExtendedAppletSecurityHelp.java:
7325	Clean-up generated code.
7326
73272013-04-12  Adam Domurad  <adomurad@redhat.com>
7328
7329	Present more information in unsigned applet confirmation.
7330	* netx/net/sourceforge/jnlp/resources/Messages.properties
7331	(SRememberCodebase): Add codebase parameter.
7332	(SUnsignedDetail): Change layout, add documentbase parameter.
7333	* netx/net/sourceforge/jnlp/security/UnsignedAppletTrustWarningPanel.java
7334	(setupInfoPanel): Pass documentbase to SUnsignedDetail.
7335	(createCheckBoxPanel): Ensure left-alignment.
7336	(createButtonPanel): Less spacing above button.
7337
73382013-04-12  Jiri Vanek <jvanek@redhat.com>
7339
7340	Added help for extended applets security and settings
7341	* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel:
7342	(helpButtonActionPerformed) added code to open dialogue with help
7343	* netx/net/sourceforge/jnlp/resources/Messages.propertie:
7344	Included html help message
7345	* netx/net/sourceforge/jnlp/security/UnsignedAppletTrustWarningPanel.java:
7346	added help button and logic to open help dialogue
7347	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/ExtendedAppletSecurityHelp.java:
7348	Simple dialogue with JEditorPane  with html help from properties and few
7349	navigation buttons
7350	* NEWS: mentioned extended appelts security
7351
73522013-04-12  Jiri Vanek <jvanek@redhat.com>
7353
7354	Added dialogue to allow setting of custom JRE
7355	* launcher/itweb-settings.in: and
7356	* launcher/javaws.in: check for custom jre less strict
7357	* netx/net/sourceforge/jnlp/config/Defaults.java:made aware of
7358	deployment.jre.dir constant
7359	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: added\
7360	KEY_JRE_DIR= "deployment.jre.dir" constant, user file occurrences extracted
7361	to USER_DEPLOYMENT_PROPERTIES_FILE.
7362	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java: used validation
7363	of jdk when saving properties
7364	* netx/net/sourceforge/jnlp/controlpanel/JVMPanel.java: added text-field
7365	to set JVM directory, friendly with logic and validation.
7366	* netx/net/sourceforge/jnlp/resources/Messages.properties: added messages
7367	to JVM selection and validation.
7368	* netx/net/sourceforge/jnlp/util/StreamUtils.java: (readStreamAsString)
7369	new utility method.
7370	* NEWS: mentioned select-able  JVM
7371
73722013-04-11  Adam Domurad  <adomurad@redhat.com>
7373
7374	Remove legacy support for the old version of NPAPI.
7375	* plugin/icedteanp/IcedTeaNPPlugin.cc: Remove if directives for old
7376	version of NPAPI.
7377	* plugin/icedteanp/IcedTeaNPPlugin.h: Same
7378	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc: Same
7379	* plugin/icedteanp/IcedTeaPluginRequestProcessor.h: Same
7380	* plugin/icedteanp/IcedTeaPluginUtils.cc: Same
7381	* plugin/icedteanp/IcedTeaPluginUtils.h: Same
7382	* plugin/icedteanp/IcedTeaRunnable.h: Same
7383	* plugin/icedteanp/IcedTeaScriptablePluginObject.h: Same
7384
73852013-04-11  Adam Domurad  <adomurad@redhat.com>
7386
7387	Allow remembering applet confirmation for whole codebase.
7388	* netx/net/sourceforge/jnlp/resources/Messages.properties:
7389	Added SRememberAppletOnly, SRememberCodebase messages
7390	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java
7391	(showUnsignedWarningDialog): Use UnsignedWarningAction
7392	* netx/net/sourceforge/jnlp/security/UnsignedAppletTrustWarningDialog.java
7393	(UnsignedAppletTrustWarningDialog): Use UnsignedWarningAction
7394	* net/sourceforge/jnlp/security/UnsignedAppletTrustWarningPanel.java:
7395	Introduce UnsignedWarningAction, add additional confirmation choices
7396	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
7397	Support remembering action for entire codebase.
7398
73992013-04-10  Jana Fabrikova  <jfabriko@redhat.com>
7400
7401	* /tests/reproducers/simple/JSToJFuncResol/testcases/JSToJFuncResolTest.java:
7402	adding 11 testcases based on the interactive Liveconnect JS->Java
7403	overloaded function resolution tests, tests with JSObject were already
7404	included
7405	* /tests/reproducers/simple/JSToJFuncResol/srcs/JSToJFuncResol.java:
7406	the applet whose methods are invoked from JS during the tests
7407	* /tests/reproducers/simple/JSToJFuncResol/resources/JSToJava_FuncResol.js:
7408	the JavaScript code for calling the applet methods from JS
7409	* /tests/reproducers/simple/JSToJFuncResol/resources/jstoj-funcresol.jnlp:
7410	java network launch protocol file for displaying applet in the html
7411	page
7412	* /tests/reproducers/simple/JSToJFuncResol/resources/JSToJFuncResol.html:
7413	the html page with java applet embedded, displayed in browser during
7414	the tests
7415
74162013-04-10  Jana Fabrikova  <jfabriko@redhat.com>
7417
7418	* /tests/reproducers/simple/JToJSFuncReturn/testcases/JToJSFuncReturnTest.java:
7419	adding 5 testcases based on the interactive Liveconnect JS->Java
7420	function return type tests
7421	* /tests/reproducers/simple/JToJSFuncReturn/srcs/JToJSFuncReturn.java:
7422	the applet that calls JS functions
7423	* tests/reproducers/simple/JToJSFuncReturn/resources/JToJS_FuncReturn.js:
7424	auxiliary JavaScript code
7425	* /tests/reproducers/simple/JToJSFuncReturn/resources/jtojs-funcreturn.jnlp:
7426	jnlp file for displaying applet in the html page
7427	* /tests/reproducers/simple/JToJSFuncReturn/resources/JToJSFuncReturn.html:
7428	the html page where the applet calling JS functions is embedded
7429
74302013-04-08  Jiri Vanek <jvanek@redhat.com>
7431
7432	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/Epiphany.java:
7433	Removed good --sm-client-disable switch. No longer supported by epiphany
7434
74352013-04-04  Jiri Vanek <jvanek@redhat.com>
7436
7437	Plugin is now honoring the custom jre
7438	* launcher/itweb-settings.in :
7439	* launcher/javaws.in:
7440	In case that custom jre do not exists, complains, and use default rather
7441	* plugin/icedteanp/IcedTeaNPPlugin.cc: (get_plugin_executable) and
7442	(get_plugin_rt_jar) now tries to return custom values before returning the
7443	default one.
7444
74452013-04-03  Jana Fabrikova  <jfabriko@redhat.com>
7446
7447	* /test/reproducers/simple/JavascriptFuncParam/testcases/JavascriptFuncParamTest.java:
7448	added annotation KnownToFail in googleChrome and chromiumBrowser to
7449	the method (AppletJToJSFuncParam_JSObject_Test)
7450	* /test/reproducers/simple/JavascriptGet/testcases/JavascriptGetTest.java:
7451	added annotation KnownToFail in midori, epiphany, googleChrome
7452	and chromiumBrowser to the methods (AppletJToJSGet_1DArray_Test)
7453	and (AppletJToJSGet_2DArray_Test)
7454
74552013-04-03  Jana Fabrikova  <jfabriko@redhat.com>
7456
7457	* /tests/test-extensions/net/sourceforge/jnlp/annotations/KnownToFailInBrowsers.java:
7458	the implementation of new annotation, which has an array of
7459	browsers of type Browsers[] named failsIn
7460	* /tests/junit-runner/JunitLikeXmlOutputListener.java:
7461	in method (testDone) the testcases that are known to fail in
7462	current browser are detected in addition to the tests that are
7463	k2f in all browsers
7464	* /tests/junit-runner/LessVerboseTextListener.java:
7465	added method (getK2FinB) reading the annotation,
7466	in method (printK2F) the testcases that are known to fail in
7467	current browser are detected in addition to the tests that are
7468	k2f in all browsers
7469
74702013-03-28  Adam Domurad  <adomurad@redhat.com>
7471
7472	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java
7473	(normalizeUrlAndStripParams): Moved.
7474	* netx/net/sourceforge/jnlp/util/UrlUtils.java
7475	(normalizeUrlAndStripParams): New, moved from
7476	UnsignedAppletTrustConfirmation.
7477	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmationTest.java
7478	(testNormalizeUrlAndStripParams): Moved.
7479	* tests/netx/unit/net/sourceforge/jnlp/util/UrlUtilsTest.java:
7480	New, has (testNormalizeUrlAndStripParams) from
7481	UnsignedAppletTrustConfirmationTest.
7482
74832013-03-22  Jiri Vanek <jvanek@redhat.com>
7484
7485	Added code to parse properties and to find correct configuration files
7486	from c++ part of plugin
7487	* Makefile.am: IcedTeaParseProperties.cc added to be compiled with rest
7488	of plugin
7489	* plugin/icedteanp/IcedTeaParseProperties.cc: new file, contains implementation
7490	for searching for config files and to read  value from them
7491	* plugin/icedteanp/IcedTeaParseProperties.h:  public api for "library"
7492	* plugin/icedteanp/IcedTeaPluginUtils.cc:
7493	* plugin/icedteanp/IcedTeaPluginUtils.h: added new methods (trim) and
7494	(file_exists)
7495	* tests/cpp-unit-tests/IcedTeaParsePropertiesTest.cc: tests for library methods
7496	* tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc: added tests for new methods
7497
74982013-03-28  Adam Domurad  <adomurad@redhat.com>
7499
7500	Don't interrupt worker/consumer threads (can prevent shutdown code from
7501	executing); instead use Object wait/notify methods.
7502	* plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java
7503	(notifyHasWork): Replacement for thread interruption
7504	(waitForWork): Replacement for thread sleeping
7505	(run): Use waitForWork instead of Thread.sleep
7506	(notifyWorkerIsFree): Removed -- misleading method.
7507	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
7508	(message): Make volatile, as it should have always been.
7509	(notifyHasWork): Replacement for thread interruption
7510	(waitForWork): Replacement for thread sleeping
7511	(run): Use waitForWork instead of Thread.sleep
7512	(getPermissions): avoid potential NPE if code source location is
7513	missing
7514	(free): Remove reference to notifyWorkerIsFree.
7515
75162013-03-26  Adam Domurad  <adomurad@redhat.com>
7517
7518	Integration of unsigned applet confirmation dialogue.
7519	* netx/net/sourceforge/jnlp/PluginBridge.java
7520	(getArchiveJars): New, returns archive jars as list
7521	* netx/net/sourceforge/jnlp/resources/Messages.properties:
7522	Confirmation messages added to properties file
7523	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
7524	(getInstance): Initialization refactored into createInstance
7525	(createInstance): New, checks if unsigned applet is allowed,
7526	initializes classloader.
7527	(initializeResources): Don't consider no-jar applets signed.
7528	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java
7529	(showUnsignedWarningDialog): Creates message with
7530	DialogType.UNSIGNED_WARNING
7531	* netx/net/sourceforge/jnlp/security/SecurityDialog.java
7532	(installPanel): Add case for DialogType.UNSIGNED_WARNING
7533	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionStorage.java:
7534	Expose locking members from interface
7535	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
7536	(handleInitializationMessage): Do nothing if applets have been
7537	disabled.
7538	* netx/net/sourceforge/jnlp/security/UnsignedAppletTrustWarningDialog.java:
7539	New, security dialog that asks for unsigned applet confirmation.
7540	* netx/net/sourceforge/jnlp/security/UnsignedAppletTrustWarningPanel.java:
7541	Implements the dialog contents for unsigned applet confirmation.
7542	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
7543	Updates and checks applet confirmation storage, creates warning dialog
7544	if required.
7545	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmationTest.java:
7546	New, tests relative & normalized path creation helpers.
7547
75482013-03-26  Jiri Vanek <jvanek@redhat.com>
7549
7550	Path validator fixed to be correctly multiplatform
7551	* netx/net/sourceforge/jnlp/config/BasicValueValidators.java :
7552	(FilePathValidator) now check absolute file by File.isAbsolute() instead
7553	of by plain "/".
7554	* tests/netx/unit/net/sourceforge/jnlp/config/BasicValueValidatorsTests.java :
7555	New file to test new functionality.
7556
75572013-03-25  Jana Fabrikova <jfabriko@redhat.com>
7558
7559	* tests/reproducers/simple/JavascriptFuncReturn/testcases/JavascriptFuncReturnTest.java
7560	adding 5 testcases for testing calling javascript functions with
7561	various return types from java
7562	* tests/reproducers/simple/JavascriptFuncReturn/resources/JavascriptFuncReturn.html
7563	the html page for displaying browser tests
7564	* tests/reproducers/simple/JavascriptFuncReturn/resources/Javascript_FuncReturn.js
7565	auxiliary javascript functions
7566	* tests/reproducers/simple/JavascriptFuncReturn/resources/javascript-funcreturn.jnlp
7567	jnlp file for embedding applet in the html page
7568	* tests/reproducers/simple/JavascriptFuncReturn/srcs/JavascriptFuncReturn.java
7569	the applet that calls javascript functions
7570
75712013-03-25  Jana Fabrikova <jfabriko@redhat.com>
7572
7573	* tests/reproducers/simple/JavascriptSet/testcases/JavascriptSetTest.java
7574	adding 21 testcases for testing setting javascript variables from java
7575	* tests/reproducers/simple/JavascriptSet/resources/JavascriptSet.html
7576	the html page for displaying browser tests
7577	* tests/reproducers/simple/JavascriptSet/resources/Javascript_Set.js
7578	auxiliary javascript functions
7579	* tests/reproducers/simple/JavascriptSet/resources/javascript-set.jnlp
7580	jnlp file for embedding applet in the html page
7581	* tests/reproducers/simple/JavascriptSet/srcs/JavascriptSet.java
7582	the applet that sets javascript variables
7583
75842013-03-25  Jana Fabrikova <jfabriko@redhat.com>
7585
7586	* tests/reproducers/simple/JavascriptGet/testcases/JavascriptGetTest.java
7587	adding 7 new testcases for reading JS values from Java
7588	* tests/reproducers/simple/JavascriptGet/resources/JavascriptGet.html
7589	the html page for displaying browser tests
7590	* tests/reproducers/simple/JavascriptGet/resources/Javascript_Get.js
7591	auxiliary javascript functions
7592	* tests/reproducers/simple/JavascriptGet/resources/javascript-get.jnlp
7593	jnlp file for embedding the applet in the html page
7594	* tests/reproducers/simple/JavascriptGet/srcs/JavascriptGet.java
7595	the applet that reads values from javascript
7596
75972013-03-25  Jana Fabrikova <jfabriko@redhat.com>
7598
7599	* tests/reproducers/simple/JavascriptFuncParam/testcases/JavascriptFuncParamTest.java
7600	adding 19 testcases for calling javascript functions from java with
7601	parameters of various types
7602	* tests/reproducers/simple/JavascriptFuncParam/resources/JavascriptFuncParam.html
7603	the html page for displaying browser tests
7604	* tests/reproducers/simple/JavascriptFuncParam/resources/javascript-funcparam.jnlp
7605	jnlp file for embedding the applet in html page
7606	* tests/reproducers/simple/JavascriptFuncParam/srcs/JavascriptFuncParam.java
7607	the applet that calls functions from javascript
7608
76092013-03-22  Adam Domurad <adomurad@redhat.com>
7610
7611	* plugin/icedteanp/java/sun/applet/PluginParameterParser.java
7612	(isInt): Revert behaviour to catching NumberFormatException
7613
76142013-03-22  Adam Domurad <adomurad@redhat.com>
7615
7616	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
7617	(findClass): Print stacktrace for ClassFormatError
7618
76192013-03-22  Jiri Vanek <jvanek@redhat.com>
7620
7621	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java:
7622	(isMatching) is now ignring archives if empty.
7623	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImplTest.java:
7624	tests adapted and enriched for new archives processing.
7625
76262013-03-21  Jiri Vanek <jvanek@redhat.com>
7627
7628	Launchers made aware of custom set JRE
7629	* launcher/itweb-settings.in:
7630	* launcher/javaws.in:
7631	are now scanning ~/.icedtea/deployment.properties and
7632	/etc/.java/.deploy/deployment.properties for deployment.jre.dir property.
7633	If found, then its java and rt.jar are used to launch applications.
7634
76352013-03-20  Jana Fabrikova <jfabriko@redhat.com>
7636
7637	* tests/reproducers/simple/JSToJGet/testcases/JSToJGetTest.java:
7638	adding few lines for not running test in Opera
7639	* tests/reproducers/simple/JSToJSet/testcases/JSToJSetTest.java:
7640	adding few lines for not running test in Opera
7641	* tests/reproducers/simple/JSToJFuncParam/testcases/JSToJFuncParamTest.java:
7642	adding few lines for not running test in Opera
7643	* tests/reproducers/simple/JSToJTypeConv/testcases/JSToJTypeConvTest.java:
7644	adding few lines for not running test in Opera
7645
76462013-03-20  Jiri Vanek <jvanek@redhat.com>
7647
7648	All occurences of hardcoded paths to java repalced by call of functions
7649	* plugin/icedteanp/IcedTeaNPPlugin.cc:  (appletviewer_executable) renamed
7650	to (appletviewer_default_executable). (appletviewer_default_rtjar) new
7651	variable to keep default rt.jar path.
7652	(get_plugin_executable) and (string get_plugin_rt_jar) new functions,
7653	returniong the default variables for now.
7654
76552013-03-19  Adam Domurad  <adomurad@redhat.com>
7656
7657	* Makefile.am
7658	(CPP_UNITTEST_EXECUTABLE): Add -lrt & -lpthread flags, which do not
7659	seem to be brought in on all systems.
7660
76612013-03-13  Jiri Vanek <jvanek@redhat.com>
7662
7663	* NEWS: mentioned de translation
7664	* AUTHORS: added Jacob Wisor
7665
76662013-03-13  Jiri Vanek <jvanek@redhat.com>
7667            Jacob Wisor  <gitne@excite.co.jp>
7668
7669	Fixed strange sentences in default locales bundle.
7670	* netx/net/sourceforge/jnlp/resources/Messages.properties:
7671
76722013-03-13  Jiri Vanek <jvanek@redhat.com>
7673
7674	Added tests for German i18n
7675	* tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java:
7676	Enhanced to test also German localization .
7677	* tests/netx/unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java:
7678	Enhanced to handle de messages and be prepared for locales with one language
7679	but different nations.
7680
76812013-03-13  Jiri Vanek <jvanek@redhat.com>
7682            Jacob Wisor  <gitne@excite.co.jp>
7683
7684	Added initial German localization
7685	* netx/net/sourceforge/jnlp/resources/Messages_de.properties:
7686	New file with German properties
7687
76882013-03-05  Adam Domurad  <adomurad@redhat.com>
7689
7690	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
7691	(closeStream): Remove.
7692	(verifySignedJNLP): Make use of StreamUtils instead.
7693	* netx/net/sourceforge/jnlp/utils/StreamUtils.java
7694	(closeSilently): New method.
7695
76962013-02-28  Jiri Vanek  <jvanek@redhat.com>
7697
7698	* netx/net/sourceforge/jnlp/config/SecurityValueValidator.java: modifed
7699	null check - no considered as correct value as being valid value in runtime.
7700
77012013-02-27  Jiri Vanek  <jvanek@redhat.com>
7702
7703	Added backend and settings for extended applet security
7704	* netx/net/sourceforge/jnlp/config/Defaults.java: deployment.security.level
7705	added to defaults with its validator
7706	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: Added
7707	deployment.security.level (KEY_SECURITY_LEVEL)key and
7708	.appletTrustSettings (APPLET_TRUST_SETTINGS)filename with getters
7709	* netx/net/sourceforge/jnlp/config/SecurityValueValidator.java:
7710	Simple validator  for value of deployment.security.level based on parsing
7711	in AppletSecurityLevel.fromString
7712	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java:
7713	Incorporated UnsignedAppletsTrustingListPanel panel
7714	* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletActionTableModel.java:
7715	Backend for main tables in UnsignedAppletsTrustingListPanel
7716	* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java:
7717	GUI for manipulate the deployment.security.level values and content of
7718	.appletTrustSettings files
7719	* netx/net/sourceforge/jnlp/resources/Messages.properties:
7720	Added keys and values for new; user visible, strings
7721	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/AppletSecurityLevel.java:
7722	Object representation of deployment.security.level value
7723	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/AppletStartupSecuritySettings.java:
7724	Entrance singleton for current deployment.security.level policy and records.
7725	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/ExecuteUnsignedApplet.java:
7726	Object representation of action upon record in .appletTrustSettings
7727	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionEntry.java:
7728	Object representation of one item in .appletTrustSettings
7729	.appletTrustSettings  by itw (except settings part)
7730	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionStorage.java
7731	Minimal set of functionality requested for accessing the
7732	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UrlRegEx.java
7733	Simple class which should help to distinguish between plain String
7734	and String  keeping UrlRegex
7735	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageExtendedImpl.java:
7736	Extended implementation of UnsignedAppletActionStorageImpl which have
7737	additional "for settings" functionality
7738	* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java:
7739	Object representation of.appletTrustSettings file. It Should be multi-thread/app safe and
7740	should be always actual. Based on LockingReaderWriter.
7741	* netx/net/sourceforge/jnlp/util/lockingfile/LockedFile.java:
7742	Utility class with functionality to lock file in muti-app/thread environment
7743	* netx/net/sourceforge/jnlp/util/lockingfile/LockingReaderWriter.java:
7744	Utility class with functionality to lock file during reading/writing
7745	 in muti-app/thread environment
7746	* netx/net/sourceforge/jnlp/util/lockingfile/StorageIoException.java:
7747	Wrapper for common, but rare IOException extending RuntimeExceptionaround
7748	for LockingReaderWriter to avoid numerous declarations.
7749	* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImplTest.java:
7750	Tests of main methods in UnsignedAppletActionStorageImplTest focused on matching
7751	* tests/netx/unit/net/sourceforge/jnlp/util/lockingfile/LockingReaderWriterTest.java:
7752	Tests of multithread read/write to LockingReaderWriter
7753
77542013-02-25  Adam Domurad  <adomurad@redhat.com>
7755
7756	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
7757	(createInstance): Extract initialization logic from 'getInstance' into
7758	new 'createInstace' method.
7759	(getInstance): Call newly introduced createInstance method.
7760
77612013-02-25  Jiri Vanek  <jvanek@redhat.com>
7762
7763	Removed unused legacy-launcher sources
7764	* launcher/java.c:
7765	* launcher/java.h:
7766	* launcher/java_md.c:
7767	* launcher/java_md.h:
7768	* launcher/jli_util.c:
7769	* launcher/jli_util.h:
7770	* launcher/jni.h:
7771	* launcher/jni_md.h:
7772	* launcher/jvm.h:
7773	* launcher/jvm_md.h:
7774	* launcher/manifest_info.h:
7775	* launcher/parse_manifest.c:
7776	* launcher/splashscreen.h:
7777	* launcher/splashscreen_stubs.c:
7778	* launcher/version_comp.c:
7779	* launcher/version_comp.h:
7780	* launcher/wildcard.c:
7781	* launcher/wildcard.h:
7782	Happily removed
7783
77842013-02-21  Adam Domurad  <adomurad@redhat.com>
7785
7786	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
7787	(getPermissions): avoid potential NPE if code source location is
7788	missing
7789
77902013-02-14  Adam Domurad  <adomurad@redhat.com>
7791
7792	PR835: javaws leaks connections
7793	Uses HEAD requests if possible for testing URLs. Adds name to download
7794	threads.
7795	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
7796	(startThread): Add name to download thread
7797	(getResourceUrlResponseCode): Get or fake an HTTP response code.
7798	(findBestUrl): Use getResourceUrlResponseCode to first try a HEAD
7799	request. Fall-back to GET rquest.
7800	* netx/net/sourceforge/jnlp/utils/StreamUtils.java:
7801	New file, contains utility for consuming input stream.
7802
78032013-02-14  Adam Domurad  <adomurad@redhat.com>
7804
7805	* tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java:
7806	Support HEAD requests.
7807
78082013-02-13  Adam Domurad  <adomurad@redhat.com>
7809
7810	Fix PR580: http://www.horaoficial.cl/ loads improperly. Applets that
7811	must share a class-loader now load sequentially.
7812	* NEWS:
7813	Mention the fix.
7814	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
7815	(getUniqueKeyLock): New, atomically grabs or creates a lock for the
7816	unique key.
7817	(getInstance): Ensure classloader initialization is locked by unique
7818	key.
7819	(decrementLoaderUseCount): Ensure classloader deinitialization is
7820	locked by unique key, get rid of no-longer used locks.
7821
78222013-02-13  Jiri Vanek  <jvanek@redhat.com>
7823
7824	Added test for hanging firefox by LaunchException and Improved AddShutdownHookTest
7825	* tests/reproducers/simple/AddShutdownHook/resources/AddShutdownHook.html:
7826	new file to launch applet with RuntimeException as result.
7827	* tests/reproducers/simple/AddShutdownHook/resources/AddShutdownHook_wrong.html:
7828	new file to launch applet with LaunchException as result.
7829	* tests/reproducers/simple/AddShutdownHook/srcs/AddShutdownHook.java: is
7830	now also applet.
7831	* tests/reproducers/simple/AddShutdownHook/testcases/AddShutdownHookTest.java:
7832	Added test (AddShutdownHookApplet)for applet, removed duplicate code by rules.
7833	* tests/reproducers/simple/AddShutdownHook/testcases/HangFirefoxTests.java:
7834	New test set which is launching exception throwing applet, and after exception
7835	is thrown then it tries jsut stdou-ing applet. Second applet have to be
7836	launched.
7837
78382013-02-12  Jana Fabrikova  <jfabriko@redhat.com>
7839
7840	* /tests/reproducers/simple/JSToJFuncParam/testcases/JSToJFuncParamTest.java:
7841	adding 19 testcases - 18 based on the interactive Liveconnect JS->Java
7842	function parameter tests, 1 additional testcase for passing parameters
7843	of type JSObject (from JS to Java)
7844	* /tests/reproducers/simple/JSToJFuncParam/srcs/JSToJFuncParam.java:
7845	the applet whose methods are invoked from JS during the tests
7846	* /tests/reproducers/simple/JSToJFuncParam/resources/JSToJava_FuncParam.js:
7847	the JavaScript code for calling the applet methods from JS
7848	* /tests/reproducers/simple/JSToJFuncParam/resources/jstoj-funcparam.jnlp:
7849	JNLP file for displaying applet in the HTML page
7850	* /tests/reproducers/simple/JSToJFuncParam/resources/JSToJFuncParam.html:
7851	the html page with java applet embedded, displayed in browser during
7852	the tests
7853
78542013-02-12 Jana Fabrikova <jfabriko@redhat.com>
7855
7856	* /tests/reproducers/simple/JSToJTypeConv/testcases/JSToJTypeConvTest.java:
7857	adding 50 testcases based on the interactive Liveconnect
7858	JS->Java type conversion tests and 4 testcases for setting
7859	java boolean and Boolean variables to nonempty strings
7860	* /tests/reproducers/simple/JSToJTypeConv/srcs/JSToJTypeConv.java:
7861	the applet whose variables are set from JS during the tests
7862	* /tests/reproducers/simple/JSToJTypeConv/resources/JSToJava_TypeConv.js:
7863	the JavaScript code for setting the applet variables from JS
7864	* /tests/reproducers/simple/JSToJTypeConv/resources/jstoj-typeconv.jnlp:
7865	JNLP file for displaying applet in the html page
7866	* /tests/reproducers/simple/JSToJTypeConv/resources/JSToJTypeConv.html:
7867	the html page with java applet embedded, displayed in browser
7868	during the tests
7869
78702013-02-07  Adam Domurad  <adomurad@redhat.com>
7871
7872	Ensure applet destruction cannot in the middle of initialization.
7873	* netx/net/sourceforge/jnlp/NetxPanel.java
7874	(destroyApplet): wait for applet initialization
7875	missing
7876
78772013-02-06  Jana Fabrikova  <jfabriko@redhat.com>
7878
7879	* /tests/reproducers/simple/JSToJSet/testcases/JSToJSetTest.java:
7880	adding 1 testcase setting applets variable of type JSObject from JS,
7881	adding KnownToFail anotation and @Bug annotation with id=PR1298 to
7882	(AppletJSToJSet_intArrayElement_Test) and
7883	(AppletJSToJSet_DoubleArrayElement_Test) methods
7884	* /tests/reproducers/simple/JSToJSet/resources/JSToJava_Set.js:
7885	adding the JSObject case to (doSetTests) function
7886	* /tests/reproducers/simple/JSToJSet/srcs/JSToJSet.java:
7887	adding the JSObject variable to the applet and modifying
7888	(printNewValueAndFinish) method in order to output new values
7889	of JSObject variable
7890
78912013-02-06  Jana Fabrikova  <jfabriko@redhat.com>
7892
7893	* /tests/reproducers/simple/JSToJGet/resources/JSToJGet.html:
7894	adding 1 testcase reading applets variable of type JSObject from JS
7895	* /tests/reproducers/simple/JSToJGet/testcases/JSToJGetTest.java:
7896	adding 1 testcase reading applets variable of type JSObject from JS,
7897	small changes to evaluation of the applet's stdout methods, removing
7898	KnownToFail anotation from (AppletJSToJGet_DoubleFullArray_Test) method
7899	* /tests/reproducers/simple/JSToJGet/resources/JSToJ_auxiliary.js:
7900	removing parts of comment that are no longer true
7901	* /tests/reproducers/simple/JSToJGet/resources/JSToJava_Get.js:
7902	adding (test_get_JSObject) function also to the JS part of test
7903	* /tests/reproducers/simple/JSToJGet/srcs/JSToJGet.java:
7904	adding the JSObject variable to the applet
7905
79062013-02-06  Adam Domurad <adomurad@redhat.com>
7907
7908	Name threads for easier debugging/tooling. Remove 2 erroneous
7909	VoidPluginCallRequest header comments.
7910	* netx/net/sourceforge/jnlp/NetxPanel.java:
7911	Provide name for thread that calls (run).
7912	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java:
7913	Provide name for shutdown hook thread.
7914	* plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java:
7915	Remove erroneous VoidPluginCallRequest comment. Provide name for
7916	ConsumerThread thread.
7917	* plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java:
7918	Provide name for worker thread.
7919	* plugin/icedteanp/java/sun/applet/PluginStreamHandler.java:
7920	Remove erroneous VoidPluginCallRequest comment. Provide name for
7921	stream listener thread.
7922
79232013-02-03  Jiri Vanek  <jvanek@redhat.com>
7924
7925	Another renamed conflict file for case insensitive systems
7926	* tests/reproducers/simple/CountingApplet1/resources/ParallelAppletsTest_1E_x_2s.html
7927	Renamed to  ParallelAppletsTest_1_x_2EE.html
7928	* tests/reproducers/simple/CountingApplet1/resources/ParallelAppletsTest_1EE_x_2s.html
7929	new file.
7930	* tests/reproducers/simple/CountingApplet1/testcases/ParallelAppletsTest.java:
7931	(testParallelAppletsTest1Ex2s) adapted to renaming
7932
79332013-01-31  Jiri Vanek  <jvanek@redhat.com>
7934
7935	Renamed conflict file for case insensitive systems
7936	* tests/reproducers/simple/CountingApplet1/resources/ParallelAppletsTest_1_x_2E.html:
7937	Renamed to  ParallelAppletsTest_1_x_2EE.html
7938	* tests/reproducers/simple/CountingApplet1/resources/ParallelAppletsTest_1_x_2EE.html:
7939	new file.
7940	* tests/reproducers/simple/CountingApplet1/testcases/ParallelAppletsTest.java:
7941	(testParallelAppletsTest1x2E) adapted to renaming
7942
79432013-01-30  Jiri Vanek  <jvanek@redhat.com>
7944
7945	Add unit tests for locales and locales fixed
7946	* netx/net/sourceforge/jnlp/resources/Messages.properties:
7947	* netx/net/sourceforge/jnlp/resources/Messages_cs_CZ.properties:
7948	Added missing, filled empty and removed dangling items
7949	* tests/netx/unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java:
7950	New unittest for missing, empty, duplicate or dangling locales.
7951
79522013-01-30  Adam Domurad  <adomurad@redhat.com>
7953
7954	Fix for PR1292: Javaws does not resolve versioned jar names with
7955	periods correctly
7956	* netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java
7957	(getUrl): Fix versioning of jar names that have periods, eg
7958	'foo.bar.jar'. Make method static for testing.
7959	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceUrlCreatorTest.java:
7960	New, test version & pack URL encoding.
7961	* tests/reproducers/simple/VersionedJar__V1/resources/VersionedJarDisabled.jnlp:
7962	New, tries to use versioned jar with versioning not turned on.
7963	* tests/reproducers/simple/VersionedJar__V1/resources/VersionedJarEnabled.jnlp:
7964	New, tries to use versioned jar with versioning turned on.
7965	* tests/reproducers/simple/VersionedJar__V1/srcs/VersionedJar.java:
7966	New, prints simple message.
7967	* tests/reproducers/simple/VersionedJar__V1/testcases/VersionedJarTest.java:
7968	New, tests if VersionedJar has ran only with versioning turned on.
7969
79702013-01-30  Jiri Vanek  <jvanek@redhat.com>
7971
7972	* netx/net/sourceforge/jnlp/splashscreen/parts/JEditorPaneBasedExceptionDialog.java:
7973	Iteration over launchExceptionChain done by pointer/get instead by iterator
7974	to prevent ConcurrentModificationException.
7975
79762013-01-30  Jiri Vanek  <jvanek@redhat.com>
7977
7978	Splashscreen error report made more detailed by stored LaunchErrors
7979	* netx/net/sourceforge/jnlp/LaunchException.java: (LaunchExceptionWithStamp)
7980	new inner class for storing timestamp togetehr with error.
7981	(launchExceptionChain) new static list to capture LaunchErrors during
7982	runtime.
7983	* /netx/net/sourceforge/jnlp/resources/Messages.properties:
7984	* netx/net/sourceforge/jnlp/resources/Messages_cs_CZ.properties:
7985	Added explanation string
7986	* netx/net/sourceforge/jnlp/splashscreen/parts/JEditorPaneBasedExceptionDialog.java:
7987	Is now displaying launchExceptionChain in its error report and is copying
7988	it to clipboard.
7989	* tests/unit/net/sourceforge/jnlp/splashscreen/parts/JEditorPaneBasedExceptionDialogTest.java:
7990	(getTextTest) adapted calls of getText for new Date.
7991
79922013-01-28 Adam Domurad  <adomurad@redhat.com>
7993
7994	Fix PR1157: Applets can hang browser after fatal exception
7995	* NEWS: Add entry for PR1157
7996	* netx/net/sourceforge/jnlp/NetxPanel.java
7997	(runLoader): Move dispatchAppletEvent into a 'finally' block.
7998
79992013-01-16  Deepak Bhole <dbhole@redhat.com>
8000
8001	PR1260: IcedTea-Web should not rely on GTK
8002	* Makefile.am: Remove GTK includes and links
8003	* acinclude.m4: Remove check for GTK libs
8004	* plugin/icedteanp/IcedTeaJavaRequestProcessor.h: Removed gtk.h include
8005	and added unistd include (for usleep) which gtk.h brought in before
8006	* plugin/icedteanp/IcedTeaNPPlugin.cc: Remove GTK dialog shown when java
8007	is not found
8008	* plugin/icedteanp/IcedTeaNPPlugin.h: Removed gtk.h include
8009
80102013-01-16  Jiri Vanek  <jvanek@redhat.com>
8011
8012	Fixed set of paths to asm
8013	* configure.ac: (IT_FIND_OPTIONAL_JAR([asm], ASM,) path enhanced by
8014	objectweb-asm4/asm-all.jar.
8015
80162013-01-15  Adam Domurad  <adomurad@redhat.com>
8017
8018	Unit test for PluginAppletSecurityContext#toObjectIDString. Make
8019	PluginAppletSecurityContext more unit-testable.
8020	* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java:
8021	Don't initialize security manager in constructor. Fix a few Java->JS
8022	corner cases.
8023	* plugin/icedteanp/java/sun/applet/PluginMain.java: Create testing-only
8024	constructor for bypassing initialization of SecurityManager.
8025	* tests/netx/unit/sun/applet/PluginAppletSecurityContextTest.java:
8026	Unit test for all the corner cases of converting a Java object to a
8027	string that can be precisely identified.
8028
80292013-01-15  Adam Domurad  <adomurad@redhat.com>
8030
8031	Fix PR1198: JSObject passed incorrectly to Javascript
8032	* plugin/icedteanp/IcedTeaJavaRequestProcessor.cc: Pass extra data for
8033	'jsobject' object result messages.
8034	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc: Same.
8035	* plugin/icedteanp/IcedTeaPluginUtils.cc: Add special casing of
8036	javascript references passed from java.
8037	* plugin/icedteanp/java/netscape/javascript/JSObjectUnboxPermission.java:
8038	New permission for unboxing a JSObject's internal reference.
8039	* plugin/icedteanp/java/netscape/javascript/JSObject.java
8040	(getInternalReference): New, package-private, retrieves internal
8041	reference (Must have proper permission).
8042	* plugin/icedteanp/java/netscape/javascript/JSUtil.java
8043	(getJSObjectInternalReference) New, utility for accessing
8044	JSObject#getInternalReference from outside the package.
8045	* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java:
8046	(toObjectIDString): New, creates a string that precisely identifies a
8047	Java object.
8048	(handleMessage): Replace a lot of duplicated functionality with
8049	'toObjectIDString'.
8050	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: Replace
8051	duplicated functionality with 'toObjectIDString'.
8052	* tests/reproducers/simple/JSObjectFromEval/srcs/JSObjectFromEval.java:
8053	Don't print out type passed (differs from browser to browser).
8054	* tests/reproducers/simple/JSObjectFromEval/testcases/JSObjectFromEvalTest.java:
8055	Don't check type passed (differs from browser to browser). Remove
8056	known-to-fail. Reformat.
8057
80582013-01-10  Jiri Vanek  <jvanek@redhat.com>
8059
8060	Download indicator made compact for more then one jar
8061	* NEWS: mentioned this feature
8062	* netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java:
8063	(DownloadPanel) inner class were rewritten to support collapsed/detailed
8064	for more then one jar in queue.
8065	(frame) window is recreated each time state is changed (preventing errors
8066	on some X configurations) and is positioned to lower left corner of
8067	active screen.
8068	* netx/net/sourceforge/jnlp/resources/hideDownloadDetails.png
8069	* adding netx/net/sourceforge/jnlp/resources/showDownloadDetails.pn h
8070	Icons for "to collapsed state" and  "to detailed state"
8071
80722013-01-10  Jiri Vanek  <jvanek@redhat.com>
8073
8074	All IcedTea-Web dialogues are centered to middle of active screen
8075	* NEWS: mentioned this feature
8076	* netx/net/sourceforge/jnlp/JNLPSplashScreen.java:
8077	* netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java:
8078	* netx/net/sourceforge/jnlp/controlpanel/CacheViewer.java:
8079	* netx/net/sourceforge/jnlp/security/SecurityDialog.java:
8080	* netx/net/sourceforge/jnlp/security/viewer/CertificateViewer.java:
8081	* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/BasePainter.java:
8082	Dialogues in above classes made centering to active screen
8083	* netx/net/sourceforge/jnlp/util/ScreenFinder.java: New file, utility
8084	class which can find active monitor and center dialogue into it.
8085
80862013-01-09  Jiri Vanek  <jvanek@redhat.com>
8087
8088	First part of fix of recreating desktop icon
8089	* NEWS: mentioned PR725
8090	* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
8091	(addMenuAndDesktopEntries)added check for already existing icon
8092	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: Added methods for
8093	digging the already existing icon from system
8094	(getShortcutTmpFile) tmpfile fo generating the desktop icon
8095	(getDesktopIconName) for getting filename from application title
8096	(findFreedesktopOrgDesktopPathCatch) public method to find final desktop file
8097	(findFreedesktopOrgDesktopPath)  to get into ~/.config/user-dirs.dirs
8098	(getFreedesktopOrgDesktopPathFrom) to find XDG_DESKTOP_DIR value
8099	(filterQuotes) to handle simple quotations
8100	(evaluateLinuxVariables) to handle possible variables in XDG_DESKTOP_DIR
8101	value
8102	* tests/netx/unit/net/sourceforge/jnlp/util/XDesktopEntryTest.java:
8103	New tests focused on parsing of desktop location from stream (variables
8104	and quotations)
8105
81062013-01-09  Jiri Vanek  <jvanek@redhat.com>
8107
8108	Logging methods made synchronized
8109	* tests/test-extensions/net/sourceforge/jnlp/LoggingBottleneck.java:
8110	(processLogs) (getDefaultLoggingBottleneck) (writeXmlLog) (addToXmlLog)
8111	(modifyMethodWithForBrowser) (setLoggedBrowser) (logIntoPlaintextLog)
8112	made synchronised
8113
81142013-01-07  Deepak Bhole <dbhole@redhat.com>
8115
8116	* netx/net/sourceforge/jnlp/resources/Messages.properties: Converted to
8117	Unix format.
8118
81192013-01-04  Adam Domurad  <adomurad@redhat.com>
8120
8121	* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java:
8122	Code-formatting fixes and cosmetic changes.
8123	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
8124	Same.
8125	* tests/reproducers/simple/JSObjectFromEval/srcs/JSObjectFromEval.java:
8126	Same.
8127	* tests/reproducers/simple/JSObjectFromEval/testcases/JSObjectFromEvalTest.java:
8128	Same.
8129
81302013-01-03  Adam Domurad  <adomurad@redhat.com>
8131
8132	Fix breakage in unit test CodeBaseClassLoaderTest.testParentClassLoaderIsAskedForClassesApplication
8133	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
8134	(CodeBaseClassLoader#findClassNonRecursive): New, call into
8135	URLClassLoader#findClass
8136	(CodeBaseClassLoader#findClass): Delegate JNLPClassLoader#findClass
8137	(JNLPClassLoader#findClass): Call CodeBaseClassLoader#findClassNonRecursive
8138	* tests/reproducers/custom/AppletExtendsFromOutsideJar/srcs/AppletReferenceOutOfJar.java
8139	(init): Add applet finish message.
8140	* tests/reproducers/custom/AppletExtendsFromOutsideJar/testcases/AppletExtendsFromOutsideJarTests.java
8141	(testClassInAppletFolder): Close quickly on applet finish message.
8142
81432013-01-02  Jiri Vanek  <jvanek@redhat.com>
8144
8145	Fixed unittest for InformationElement.
8146	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/parts/InformationElementTest.java:
8147	(createFromJNLP) now asserts NotNull instead of IsNull as result of
8148	"Minor fix for possible NPE (non fatal) during splashscreen creation"
8149
81502012-12-21  Adam Domurad  <adomurad@redhat.com>
8151
8152	* plugin/icedteanp/IcedTeaNPPlugin.cc: Remove need for 'goto' in
8153	(NP_Initialize). Check TMPDIR environment variable for possible data
8154	directory. Expose some previously static variables/functions for unit
8155	testing purposes. Reduce need for explicit allocations for strings
8156	'data_directory' and 'appletviewer_executable'.
8157	* tests/cpp-unit-tests/IcedTeaNPPluginTest.cc:
8158	Add some basic tests for functions in IcedTeaNPPlugin.cc.
8159
81602012-12-21  Jiri Vanek  <jvanek@redhat.com>
8161
8162	* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java
8163	(shouldCreateShortcut) added handling of xtrustall during asking for
8164	desktop icon creation
8165
81662012-12-21  Jiri Vanek  <jvanek@redhat.com>
8167
8168	Minor fix for possible NPE (non fatal) during splashscreen creation
8169	* netx/net/sourceforge/jnlp/resources/Messages.properties:
8170	* netx/net/sourceforge/jnlp/resources/Messages_cs_CZ.properties:
8171	Added messages for user (SPLASHdefaultHomepage)
8172	(SPLASHerrorInInformation)(SPLASHmissingInformation).
8173	* netx/net/sourceforge/jnlp/splashscreen/parts/InformationElement.java
8174	(createFromJNLP) catch of NPE replaced by conditions with proper messages.
8175
81762012-12-21  Jiri Vanek <jvanek@redhat.com>
8177
8178	Forgotten condition for AviationWeather first run:
8179	* tests/reproducers/custom/remote/testcases/RemoteApplicationSettings.java:
8180	(AviationWeather) added condition for first run when creation of
8181	FileManager is written to stderr.
8182
81832012-12-20  Saad Mohammad  <smohammad@redhat.com>
8184
8185	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java:
8186	Added test and changes to work better with PR909 fix.
8187
81882012-12-20  Saad Mohammad  <smohammad@redhat.com>
8189
8190	Fix PR909 - URL is invalid after normalization.
8191	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java (normalizeUrl):
8192	Converts the URL to an URI object which handles all percent encodings.
8193
81942012-12-20  Adam Domurad  <adomurad@redhat.com>
8195
8196	* plugin/icedteanp/IcedTeaScriptablePluginObject.cc
8197	(IcedTeaScriptableJavaObject::deAllocate): Fix memory leak
8198	(IcedTeaScriptableJavaPackageObject::deAllocate): Fix memory leak
8199
82002012-12-20  Adam Domurad  <adomurad@redhat.com>
8201
8202	* tests/cpp-unit-tests/browser_mock.cc
8203	(mock_retainobject): New, mocks behaviour of NPAPI retainobject
8204	(mock_releaseobject): New, mocks behaviour of NPAPI releaseobject
8205	* tests/cpp-unit-tests/main.cc: Add warning of memory leak based on
8206	operator-new.
8207	* tests/cpp-unit-tests/IcedTeaScriptablePluginObjectTest.cc: New, tests
8208	for memory leak in (IcedTeaScriptableJavaObject::deAllocate) and
8209	(IcedTeaScriptableJavaPackageObject::deAllocate)
8210	* tests/cpp-unit-tests/checked_allocations.h: Defines set that does not
8211	use operator-new, to prevent recursion in overloaded operator-new
8212	* tests/cpp-unit-tests/checked_allocations.cc: Operator new overload
8213	that has allocation-set for querying live allocations.
8214
82152012-12-20  Jiri Vanek <jvanek@redhat.com>
8216
8217	Added and applied Remote annotation, added Remote tests:
8218	* tests/report-styles/jreport.xsl: and
8219	* tests/junit-runner/JunitLikeXmlOutputListener: and
8220	* tests/junit-runner/LessVerboseTextListener.java: added handling of
8221	Remote annotation
8222	* tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java:
8223	Tests downloading from classpath.org marked.
8224	* tests/reproducers/custom/remote/testcases/RemoteApplicationSettings.java:
8225	new file, handling url and evaluations of remote reproducers
8226	* tests/reproducers/custom/remote/testcases/RemoteApplicationTests.java:
8227	launcher for remote tests.
8228	* tests/test-extensions/net/sourceforge/jnlp/annotations/Remote.java:
8229	Implementation of Remote annotation
8230
82312012-12-18  Jiri Vanek <jvanek@redhat.com>
8232
8233	Cleaned unit-tests:
8234	* tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java:
8235	(DummyJNLPFile) class extracted from its anonymous members to private
8236	named member. Get rid of repeated methods (testResourceLoad*Caching) and
8237	replace it by (testResourceCaching) with parameter of full name and boolean
8238	keeping its expected existence and branching null assert on it. Added tests
8239	(testClassResourceLoadSuccessCachingApplication) and
8240	(testClassResourceLoadSuccessCachingApplet). (testResourceCaching) made
8241	less vulnerable by found classes and more precise. All resources paths
8242	fixed and clarified (to be found or not)
8243
82442012-12-18  Jana Fabrikova  <jfabriko@redhat.com>
8245
8246	* /tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
8247	Added several new versions of method (executeBrowser) with lists
8248	of ContentReaderListeners as arguments.
8249	* /tests/test-extensions/net/sourceforge/jnlp/ProcessWrapper.java:
8250	Added new versions of the (constructor of ProcessWrapper) and methods
8251	(addStdOutListeners) and (addStdErrListeners) for adding
8252	ContentReaderListeners using List<ContentReaderListener>
8253	instead of one ContentReaderListener as argument.
8254	Added a new version of (constructor of ProcessWrapper) with
8255	less arguments that is used instead of calling the constructor
8256	with several arguments passed as null, thus causing ambiguity.
8257	* /tests/reproducers/simple/SingeInstanceServiceTest/testcases/SingleInstanceTest.java:
8258	Modified the call of (executeBrowser) method with null arguments
8259	into a call of new method without the null arguments
8260	-getting rid of an ambiguous call.
8261
82622012-12-11  Jiri Vanek <jvanek@redhat.com>
8263
8264	Added jacoco code coverage support
8265	* Makefile.am: (JACOCO_*) bunch of new variables encapsulating jacoco
8266	files. (PLUGIN_COVERAGE_BOOTCLASSPATH) classpath to be used in plugin
8267	instead of normal one in coverage mode. (COVERABLE_PLUGIN_DIR) for
8268	compiling plugin with agent on. (jacoco-operator-source-files.txt) for
8269	storing files of reporting tool. All XSLTPROC command were done as non-fatal
8270	(stamps/compile-jacoco-operator.stamp) for compiling report operator.
8271	(stamps/run-unit-test-code-coverage-jacoco.stam) for cover unittests
8272	Set of (COVERABLE_PLUGIN_*) targets to compile plugin with agent on.
8273	(stamps/build-fake-plugin.stamp) top level target for fake plugin.
8274	(stamps/run-reproducers-test-code-coverage-jacoco.stamp) target for
8275	cover reproducers. (run-test-code-coverage-jacoco) for merged coverage
8276	(clean-unit-test-code-coverage-jacoco) and
8277	(clean-reproducers-test-code-coverage-jacoco) and
8278	(clean-test-code-coverage-jacoco) and
8279	(clean-test-code-coverage-tools-jacoco) cleaning targets.
8280	(run-reproducers-test-code-coverage-jacoco) and
8281	(run-unit-test-code-coverage-jacoco) as top level aliases.
8282	* configure.ac: added check for jacoco library and asm library
8283	* plugin/icedteanp/IcedTeaNPPlugin.cc removed duplicate code
8284	(plugin_start_appletviewe) removed duplicated code and added handling of
8285	java agent if defined.
8286	* tests/jacoco-operator/org/jacoco/operator/Main.java : New class,
8287	comamndline tool for merging results and for generating reports.
8288	* tests/jacoco-operator/org/jacoco/operator/MergeTask.java: New class.
8289	Utility class responsible for merging exec results to one exec file.
8290	* tests/jacoco-operator/org/jacoco/operator/ReportGenerator: New class.
8291	Utility method for gathering sources and builds and outputing xml and
8292	html reports.
8293
82942012-12-11  Adam Domurad  <adomurad@redhat.com>
8295
8296	* plugin/icedteanp/java/sun/applet/PluginParameterParser.java:
8297	Remove left-in System.out
8298
82992012-12-10  Saad Mohammad  <smohammad@redhat.com>
8300
8301	Add unit tests for PR1189.
8302	* tests/netx/unit/net/sourceforge/jnlp/PluginParametersTest.java:
8303	(testConstructorWithNoCodeAndObjectParam): Initialize PluginParameters
8304	without code/object parameters.
8305	(testConstructorWithOnlyJnlpHrefParam): Initialize PluginParameters with
8306	jnlp_href but no code/object parameters.
8307
83082012-12-10  Saad Mohammad  <smohammad@redhat.com>
8309
8310	Add reproducer for PR1189.
8311	* tests/reproducers/simple/AppletTagWithMissingCodeAttribute/resources/AppletTagWithMissingCodeAttribute.html:
8312	Simple webpage which contains an applet tag with no code attribute.
8313	* tests/reproducers/simple/AppletTagWithMissingCodeAttribute/resources/AppletTagWithMissingCodeAttribute.jnlp:
8314	Jnlp file that is used by the webpages using jnlp_href.
8315	* tests/reproducers/simple/AppletTagWithMissingCodeAttribute/testcases/AppletTagWithMissingCodeAttribute.java:
8316	Testcase that tests applets without code attribute in html pages.
8317	* tests/reproducers/simple/SimpleApplet/srcs/SimpleApplet.java:
8318	Simple applet class that outputs a string.
8319
83202012-12-10  Saad Mohammad  <smohammad@redhat.com>
8321
8322	Fix PR1189: Icedtea-plugin requires code attribute when using jnlp_href.
8323	* netx/net/sourceforge/jnlp/PluginParameters.java (PluginParameters):
8324	Updated if condition to prevent PluginParameterException from being thrown
8325	if applet tag contains jnlp_href but is missing code/object parameters.
8326
83272012-12-06  Adam Domurad  <adomurad@redhat.com>
8328
8329	* Makefile.am: Fix targets stamps/netx-unit-tests-compile.stamp and
8330	stamps/run-netx-unit-tests.stamp to not rely on installed directory.
8331
83322012-12-05  Saad Mohammad  <smohammad@redhat.com>
8333
8334	Added new option in itw-settings which allows users to set JVM
8335	arguments when plugin is initialized.
8336	* netx/net/sourceforge/jnlp/config/Defaults.java (getDefaults):
8337	Added defaults for DeploymentConfiguration.KEY_PLUGIN_JVM_ARGUMENTS.
8338	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java:
8339	Added new property (KEY_PLUGIN_JVM_ARGUMENTS) which stores the value of
8340	JVM plugin arguments.
8341	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java:
8342	(createMainSettingsPanel): Added JVM settings to the list of tabs.
8343	(createJVMSettingsPanel): Returns a new JVMPanel object.
8344	* netx/net/sourceforge/jnlp/controlpanel/JVMPanel.java:
8345	JVM settings panel.
8346	* netx/net/sourceforge/jnlp/resources/Messages.properties:
8347	Added a new items (CPJVMPluginArguments, CPHeadJVMSettings,
8348	CPTabJVMSettings).
8349	* plugin/icedteanp/IcedTeaNPPlugin.cc:
8350	(plugin_start_appletviewer): Adds JVM arguments to the commands line list.
8351	(get_jvm_args): Returns JVM arguments set in itw-settings.
8352	* plugin/icedteanp/IcedTeaPluginUtils.cc:
8353	(IcedTeaPluginUtilities::vectorStringToVectorGchar): New helper method
8354	which returns a vector of gchar* from the vector of strings passed.
8355	* plugin/icedteanp/IcedTeaPluginUtils.h:
8356	Declaration of IcedTeaPluginUtilities::vectorStringToVectorGchar.
8357
83582012-12-05  Pavel Tisnovsky  <ptisnovs@redhat.com>
8359
8360	* Makefile.am: Avoid warning message printed in clean target if
8361	softkiller is not compiled.
8362
83632012-12-04  Adam Domurad  <adomurad@redhat.com>
8364
8365	* netx/net/sourceforge/jnlp/resources/Messages.properties:
8366	"An serious exception have occured" -> "A serious exception occurred"
8367
83682012-12-04  Adam Domurad  <adomurad@redhat.com>
8369
8370	PluginAppletViewer refactoring.
8371	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
8372	(handleInitializationMessage): New, extracts initialization logic
8373	from PluginAppletViewer.handleMessage.
8374	* plugin/icedteanp/java/sun/applet/PluginAppletPanelFactory.java: Moved
8375	into own file.
8376
83772012-12-04  Adam Domurad  <adomurad@redhat.com>
8378
8379	Remove the applet/embed/object tag parser from ITW. Send the applet
8380	parameters directly from the C++.
8381	* Makefile.am: Allow unit-testing for classes in plugin.jar.
8382	* netx/net/sourceforge/jnlp/NetxPanel.java: Use PluginParameters for
8383	attribute lookup
8384	* netx/net/sourceforge/jnlp/PluginBridge.java: Use PluginParameters
8385	for attribute lookup
8386	* netx/net/sourceforge/jnlp/resources/Messages.properties: Add message
8387	for missing code/object attributes.
8388	* netx/net/sourceforge/jnlp/resources/Messages_cs_CZ.properties: Same.
8389	* plugin/icedteanp/IcedTeaNPPlugin.cc: Send escaped parameter
8390	name/values instead of applet tag. Remove some dead code.
8391	* plugin/icedteanp/IcedTeaNPPlugin.h: Rename applet_tag ->
8392	parameters_string.
8393	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: Extract
8394	parsing code into its own class.
8395	* tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc: Use CHECK_EQUALS
8396	instead of CHECK.
8397	* tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java: Update
8398	unit tests due to constructor changes.
8399	* netx/net/sourceforge/jnlp/PluginParameterException.java: New, thrown
8400	when code/object attributes are missing.
8401	* netx/net/sourceforge/jnlp/PluginParameters.java: New, Hashtable
8402	wrapper that handles plugin attribute/parameter lookups.
8403	* plugin/icedteanp/java/sun/applet/PluginParameterParser.java: New,
8404	creates PluginParameters from escaped name/values.
8405	* tests/cpp-unit-tests/PluginParametersTest.cc: New, C++ Unit tests for
8406	plugin parameter related functions
8407	* tests/netx/unit/net/sourceforge/jnlp/PluginParametersTest.java: New,
8408	unit tests for PluginParameters class.
8409	* tests/netx/unit/sun/applet/PluginParameterParserTest.java: New, unit
8410	tests for PluginParameterParser class.
8411
84122012-11-03  Jiri Vanek <jvanek@redhat.com>
8413
8414	Fixed logging bottleneck
8415	* tests/test-extensions/net/sourceforge/jnlp/LoggingBottleneck.java:
8416	added and used function (clearChars) which filter characters going to xml
8417	from invalid ones.
8418	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess: getting test
8419	method id by (getTestMethod) now relay on physical way to the class as
8420	the only real thing differing test class and framework class.
8421
84222012-12-03  Pavel Tisnovsky  <ptisnovs@redhat.com>
8423
8424	* Makefile.am: Added new target for compiling softkiller.
8425	* tests/softkiller/softkiller.c:
8426	Added browser softkiller.
8427	* tests/softkiller/Makefile:
8428	Added makefile used to build and clean browser softkiller.
8429	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/Firefox.java:
8430	Uncommented code used to close windows.
8431
84322012-11-30  Adam Domurad  <adomurad@redhat.com>
8433
8434	Breaks up IcedTeaPluginUtilities::javaResultToNPVariant into multiple,
8435	more manageable parts.
8436	* plugin/icedteanp/IcedTeaPluginUtils.cc: Make three helper functions
8437	for the different cases. Two new helper functions for converting from
8438	std::string to NPString and NPVariant.
8439	* plugin/icedteanp/IcedTeaPluginUtils.h: Two new helper functions.
8440	* tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc: Tests for the new
8441	NPString and NPVariant from std::string functions.
8442
84432012-11-30  Adam Domurad  <adomurad@redhat.com>
8444
8445	Added a simple mechanism for mocking functions in the browser function
8446	table. Can be expanded as needed.
8447	* tests/cpp-unit-tests/main.cc: Call setup function, warn on browser
8448	function based memory leak.
8449	* tests/cpp-unit-tests/browser_mock.cc: New, implements simple
8450	error-checking mocks of browser callbacks.
8451	* tests/cpp-unit-tests/browser_mock.h: New, interface to mocking
8452	functions.
8453
84542012-11-27  Jiri Vanek <jvanek@redhat.com>
8455
8456	Better error reporting from applets
8457	* netx/net/sourceforge/jnlp/NetxPanel.java: (init) ErrorSplash is shown
8458	if fatal exception is cough
8459	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: (replaceSpalsh)
8460	is rather removing all then just its previous version
8461	* tests/reproducers/simple/AppletTest/srcs/AppletErrorTest.java:
8462	* tests/reproducers/simple/AppletTest/resources/errorAppletAutoTests.html
8463	Testcase for manual testing of various exceptions from applet
8464
84652012-11-27  Jiri Vanek <jvanek@redhat.com>
8466
8467	* AUTHORS: added Jan Kmetko as current SplashScreen artwork author
8468
84692012-11-27  Jiri Vanek <jvanek@redhat.com>
8470
8471	Fixed epiphany switch
8472	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/Epiphany.java:
8473	-new-tab fixed to --new-tab
8474
84752012-11-23  Jiri Vanek <jvanek@redhat.com>
8476
8477	Firefox session-backup and stubs for softkiller, multiple listeners,
8478	processes handling moved to separate class.
8479	* tests/reproducers/simple/AppletTest/testcases/AppletTestTests.java:
8480	Removed unwanted assert on termination
8481	* tests/test-extensions/net/sourceforge/jnlp/ContentReader.java:
8482	Added support for multiple listeners.
8483	* tests/test-extensions/net/sourceforge/jnlp/ProcessAssasin.java:
8484	(destroyProcess()), non static wrapper around  former (destroyProcess
8485	(process)), introducing marks that process is being killed, added setter
8486	for reactigProcess.
8487	* tests/test-extensions/net/sourceforge/jnlp/ProcessWrapper.java:
8488	Wrapper around former ServerAccess.executeProcess set of methods.
8489	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java: all
8490	executeProcess/Javaws/Browser are now just api compatibility methods
8491	around ProcessWrapper.
8492	(executeProcess) main method moved to ProcessWrapper.execute.
8493	* tests/test-extensions/net/sourceforge/jnlp/ThreadedProcess.java:
8494	made public and synchronized with ProcessAssasin's (destroyProcess)
8495	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/Browser.java
8496	is now implementing ReactingProcess
8497	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/ReactingProcess.java:
8498	new interface for communication with main events of ThreadedProcess lifecycle.
8499	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/Firefox.java:
8500	is containing singleton of FirefoxProfilesOperator (FPO) and is responding to
8501	(beforeProcess) by FPO's (backupingProfiles), to (beforeKill) by calling
8502	ProcessAssasin's (closeWindows), and to (afterKill) by FPO's (restoreProfiles)
8503	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/firefox/FirefoxProfilesOperator.java:
8504	New class to backup and restore firefox profiles.
8505
85062012-11-21  Adam Domurad  <adomurad@redhat.com>
8507
8508	* Makefile.am: Fix new clean targets not cleaning properly
8509
85102012-11-21  Adam Domurad  <adomurad@redhat.com>
8511
8512	Support for C++ unit testing with UnitTest++ for IcedTeaWeb.
8513	* tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc: New, contains tests
8514	for utility functions.
8515	* tests/cpp-unit-tests/main.cc: New, contains unit test runner.
8516	* plugin/icedteanp/IcedTeaPluginUtils.h: Remove incorrect circular
8517	include dependency
8518	* plugin/icedteanp/IcedTeaRunnable.h: Add includes necessary for
8519	self-sustaining header.
8520	* Makefile.am: Add targets for unit test compilation and running,
8521	eg 'make run-cpp-unit-tests'.
8522
85232012-11-21  Adam Domurad  <adomurad@redhat.com>
8524
8525	Add the source code to UnitTest++ into the project.
8526	* tests/UnitTest++/COPYING: Part of UnitTest++
8527	* tests/UnitTest++/Makefile: Part of UnitTest++
8528	* tests/UnitTest++/README: Part of UnitTest++
8529	* tests/UnitTest++/src/AssertException.cpp: Part of UnitTest++
8530	* tests/UnitTest++/src/AssertException.h: Part of UnitTest++
8531	* tests/UnitTest++/src/CheckMacros.h: Part of UnitTest++
8532	* tests/UnitTest++/src/Checks.cpp: Part of UnitTest++
8533	* tests/UnitTest++/src/Checks.h: Part of UnitTest++
8534	* tests/UnitTest++/src/Config.h: Part of UnitTest++
8535	* tests/UnitTest++/src/CurrentTest.cpp: Part of UnitTest++
8536	* tests/UnitTest++/src/CurrentTest.h: Part of UnitTest++
8537	* tests/UnitTest++/src/DeferredTestReporter.cpp: Part of UnitTest++
8538	* tests/UnitTest++/src/DeferredTestReporter.h: Part of UnitTest++
8539	* tests/UnitTest++/src/DeferredTestResult.cpp: Part of UnitTest++
8540	* tests/UnitTest++/src/DeferredTestResult.h: Part of UnitTest++
8541	* tests/UnitTest++/src/ExecuteTest.h: Part of UnitTest++
8542	* tests/UnitTest++/src/MemoryOutStream.cpp: Part of UnitTest++
8543	* tests/UnitTest++/src/MemoryOutStream.h: Part of UnitTest++
8544	* tests/UnitTest++/src/Posix/SignalTranslator.cpp: Part of UnitTest++
8545	* tests/UnitTest++/src/Posix/SignalTranslator.h: Part of UnitTest++
8546	* tests/UnitTest++/src/Posix/TimeHelpers.cpp: Part of UnitTest++
8547	* tests/UnitTest++/src/Posix/TimeHelpers.h: Part of UnitTest++
8548	* tests/UnitTest++/src/ReportAssert.cpp: Part of UnitTest++
8549	* tests/UnitTest++/src/ReportAssert.h: Part of UnitTest++
8550	* tests/UnitTest++/src/Test.cpp: Part of UnitTest++
8551	* tests/UnitTest++/src/Test.h: Part of UnitTest++
8552	* tests/UnitTest++/src/TestDetails.cpp: Part of UnitTest++
8553	* tests/UnitTest++/src/TestDetails.h: Part of UnitTest++
8554	* tests/UnitTest++/src/TestList.cpp: Part of UnitTest++
8555	* tests/UnitTest++/src/TestList.h: Part of UnitTest++
8556	* tests/UnitTest++/src/TestMacros.h: Part of UnitTest++
8557	* tests/UnitTest++/src/TestReporter.cpp: Part of UnitTest++
8558	* tests/UnitTest++/src/TestReporter.h: Part of UnitTest++
8559	* tests/UnitTest++/src/TestReporterStdout.cpp: Part of UnitTest++
8560	* tests/UnitTest++/src/TestReporterStdout.h: Part of UnitTest++
8561	* tests/UnitTest++/src/TestResults.cpp: Part of UnitTest++
8562	* tests/UnitTest++/src/TestResults.h: Part of UnitTest++
8563	* tests/UnitTest++/src/TestRunner.cpp: Part of UnitTest++
8564	* tests/UnitTest++/src/TestRunner.h: Part of UnitTest++
8565	* tests/UnitTest++/src/TestSuite.h: Part of UnitTest++
8566	* tests/UnitTest++/src/TimeConstraint.cpp: Part of UnitTest++
8567	* tests/UnitTest++/src/TimeConstraint.h: Part of UnitTest++
8568	* tests/UnitTest++/src/TimeHelpers.h: Part of UnitTest++
8569	* tests/UnitTest++/src/UnitTest++.h: Part of UnitTest++
8570	* tests/UnitTest++/src/XmlTestReporter.cpp: Part of UnitTest++
8571	* tests/UnitTest++/src/XmlTestReporter.h: Part of UnitTest++
8572
85732012-11-21  Adam Domurad  <adomurad@redhat.com>
8574
8575	* plugin/icedteanp/IcedTeaNPPlugin.cc
8576	(consume_plugin_message): Free two buffers returned from NPN_GetValueForURL function.
8577
85782012-11-20  Jiri Vanek <jvanek@redhat.com>
8579
8580	*  Makefile.am: (stamps/run-netx-dist-tests.stamp)  and
8581	(stamps/run-netx-unit-tests.stamp) Swapped logs and report xslt operations
8582
85832012-11-20  Jana Fabrikova  <jfabriko@redhat.com>
8584
8585	* tests/reproducers/simple/JSToJGet/testcases/JSToJGetTest.java:
8586	added @KnownToFail annotations to the tests, which are showing
8587	unimplemented/broken features of js-plugin communication.
8588
85892012-11-13  Adam Domurad  <adomurad@redhat.com>
8590
8591	Reproducer for PR1198, JSObject#eval creates invalid JS object.
8592	* tests/reproducers/simple/JSObjectFromEval/resources/JSObjectFromEval.html:
8593	Loads applet + JS for test
8594	* tests/reproducers/simple/JSObjectFromEval/resources/JSObjectFromEval.js:
8595	Calls java code to test JSObject#eval
8596	* tests/reproducers/simple/JSObjectFromEval/srcs/JSObjectFromEval.java:
8597	Provides java<->JS wrappers for JSObject methods
8598	* tests/reproducers/simple/JSObjectFromEval/testcases/JSObjectFromEvalTest.java:
8599	Tests if JSObject#eval creates valid JSObject.
8600
86012012-11-13  Saad Mohammad  <smohammad@redhat.com>
8602
8603	Fix PR1166: Embedded JNLP File is not supported in applet tag.
8604	* configure.ac: Checks for sun.misc.BASE64Decoder.
8605	* NEWS: Added entry for PR1166.
8606	* netx/net/sourceforge/jnlp/JNLPFile.java (JNLPFile):
8607	New constructor which accepts inputstream of jnlp file and a
8608	specified codebase.
8609	* netx/net/sourceforge/jnlp/Parser.java (Parser): If parsing of
8610	codebase fails, it will overwrite the codebase with the one passed
8611	in through parameters.
8612	* netx/net/sourceforge/jnlp/PluginBridge.java:
8613	(PluginBridge) Supports embedded jnlp file.
8614	(decodeBase64String) Decodes Base64 strings to byte array.
8615
86162012-11-13  Saad Mohammad  <smohammad@redhat.com>
8617
8618	Added unit tests for PR1166.
8619	* tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java:
8620	Tests the JNLPFile constructor that accepts an InputStream and an alternative codebase.
8621	* tests/netx/unit/net/sourceforge/jnlp/ParserTest.java:
8622	Tests if the constructor handles the alternative codebase parameter correctly.
8623	* tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java:
8624	Tests if BASE64 strings are decoded correctly and if PluginBridge is constructed with an
8625	embedded jnlp.
8626
86272012-11-13  Saad Mohammad  <smohammad@redhat.com>
8628
8629	Added reproducer for PR1166.
8630	* tests/reproducers/simple/EmbeddedJnlpInApplet/resources/EmbeddedJnlp.jnlp:
8631	Launching jnlp file that is used by jnlp_href in applet tag
8632	* tests/reproducers/simple/EmbeddedJnlpInApplet/resources/EmbeddedJnlpInAppletNoCodebase.html:
8633	Applet with an embedded jnlp file with no codebase specified
8634	* tests/reproducers/simple/EmbeddedJnlpInApplet/resources/EmbeddedJnlpInAppletWithDotCodebase.html:
8635	Applet with an embedded jnlp file with codebase set as a 'dot'
8636	* tests/reproducers/simple/EmbeddedJnlpInApplet/resources/JnlpInApplet.html:
8637	Applet with jnlp_href file.
8638	* tests/reproducers/simple/EmbeddedJnlpInApplet/srcs/EmbeddedJnlp.java:
8639	Simple class that outputs strings.
8640	* tests/reproducers/simple/EmbeddedJnlpInApplet/testcases/EmbeddedJnlpInAppletTest.java:
8641	Testcase that tests embedded jnlps in html pages.
8642
86432012-11-08  Saad Mohammad  <smohammad@redhat.com>
8644
8645	* NEWS: Added entry for PR1027 - DownloadService is not supported by
8646	IcedTea-Web.
8647
86482012-11-08  Saad Mohammad  <smohammad@redhat.com>
8649
8650	Added reproducer for DownloadService.
8651	* tests/reproducers/signed/DownloadService/resources/DownloadService.jnlp:
8652	Launching jnlp file that contains extension jnlp and jars marked with part names.
8653	* tests/reproducers/signed/DownloadService/resources/DownloadServiceExtension.jnlp:
8654	DownloadService extension jnlp file with jars marked with part names.
8655	* tests/reproducers/signed/DownloadService/srcs/DownloadServiceRunner.java:
8656	A simple class that uses DownloadService to complete tasks and outputs the results.
8657	* tests/reproducers/signed/DownloadService/testcases/DownloadServiceTest.java:
8658	Testcase for DownloadService.
8659
86602012-11-08  Saad Mohammad  <smohammad@redhat.com>
8661
8662	Core implementation of DownloadService.
8663	* netx/net/sourceforge/jnlp/cache/CacheUtil.java (getCacheParentDirectory):
8664	Returns the parent directory of the cached resource.
8665	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
8666	(getLoaders): Returns all loaders that this loader uses, including
8667	itself
8668	(addNewJar): Adds a new jar to the classloader with specified
8669	UpdatePolicy.
8670	(removeJars): Remove jars from the filesystem.
8671	(initializeNewJarDownload): Downloads and initializes jars into the
8672	current loader.
8673	(manageExternalJars): Manages jars which are not mentioned in the
8674	JNLP file.
8675	* netx/net/sourceforge/jnlp/runtime/LocateJnlpClassLoader.java:
8676	(getLoaderByJnlpFile): Returns the classloader of the jnlp file
8677	specified.
8678	(getLoaderByResourceUrl): Returns the classloader that contains the
8679	specified jar.
8680	* netx/net/sourceforge/jnlp/runtime/ManageJnlpResources.java:
8681	(findJars): Returns jars from the JNLP file with the specified
8682	partname.
8683	(removeCachedJars): Removes jar from cache.
8684	(downloadJars): Downloads jars identified by part name.
8685	(loadExternalResouceToCache): Download and initalize resources which
8686	are not mentioned in the jnlp file.
8687	(removeExternalCachedResource): Removes resources from cache which
8688	are not mentioned in the jnlp file.
8689	(isExternalResourceCached): Determines if the resource that is not
8690	mentioned in the jnlp file is cached and returns a boolean with the
8691	result.
8692	* netx/net/sourceforge/jnlp/services/XDownloadService.java:
8693	Core implementation of DownloadService.
8694
86952012-11-02  Jiri Vanek <jvanek@redhat.com>
8696            Alexandr Kolouch  <skolnag@gmail.com>
8697
8698	Added cz_CS locales with test
8699	* AUTHORS: added translator, mr. Kolouch
8700	* NEWS: mentioned localization
8701	* netx/net/sourceforge/jnlp/resources/Messages_cs_CZ.properties: file
8702	itself with translation
8703	* tests/reproducers/simple/LocalesTest/testcases/LocalesTestTest.java:
8704	Test which is testing whether and how locales are applied.
8705
87062012-11-02  Jiri Vanek <jvanek@redhat.com>
8707
8708	Splashscreen integrated to javaws and plugin
8709	*  Makefile.am: (edit_launcher_script) added JAVAWS_SPLASH_LOCATION
8710	substitution for installed javaws_splash.png.
8711	(install-exec-loca) added installation of javaws_splash.png.
8712	* NEWS: mentioned splashscreen
8713	* launcher/javaws.in: added SPLASH_LOCATION, as path to image with "java"
8714	splash which s then shown until internal vector one appear.
8715	* netx/net/sourceforge/jnlp/GuiLaunchHandler.java: splashScreen made volatile,
8716	(launchInitialized) splashscreen is created and shown
8717	* netx/net/sourceforge/jnlp/JNLPSplashScreen.java: (setSplashImageURL)
8718	splash bg image is loaded from given url or default is used if not found
8719	or not specified by jnlp/applet. (correctSize) width is calculated from
8720	bg image or default is used when no image set. Splash is centered to
8721	primary monitor.
8722	* netx/net/sourceforge/jnlp/Launcher.java: (launchApplet) and
8723	(launchApplication) enriched by handling of splashs.
8724	(launchError) overloaded and is now handling forwarding of errors to
8725	splash. All relevant calls of launchError enriched by  appletInstance.
8726	* netx/net/sourceforge/jnlp/NetxPanel.java: is now implementing
8727	SplashController.This is done by setting and wrapping of splashController
8728	variable.
8729	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: is now handling
8730	splashscreen for applets in browsers.
8731	(framePanel) is now providing panel to be processed (PluginAppletViewer)
8732	is now invoking SplashCreator. (replaceSplash) new method which replace
8733	splashscreen with error splashscreen. (removeSplash) new method to remove
8734	splash when loading is done. (update) is added to call paint directly
8735	(SplashCreator) new internal runnable to create splash
8736	* tests/reproducers/simple/CountingApplet1/resources/ParallelAppletsTest_1_x_2.html:
8737	second jar made XslowX to track two FIXME introduced in this patch -
8738	Launcher's createApplet and PluginAppletViewer's framePanel.
8739	* netx/javaws_splash.png: Binary image to be shown before java is launched
8740	* tests/reproducers/simple/simpletest1/resources/netxPlugin.png: Binary image
8741	to ne used for testing custom splashscreens
8742
87432012-10-31 Jana Fabrikova <jfabriko@redhat.com>
8744
8745	* tests/reproducers/simple/JSToJGet/testcases/JSToJGetTest.java:
8746	Modifying the testcase output to a simpler text.
8747	* tests/reproducers/simple/JSToJSet/testcases/JSToJSetTest.java:
8748	Modifying the testcase output to a simpler text.
8749
87502012-10-29  Omair Majid  <omajid@redhat.com>
8751
8752	* tests/reproducers/signed/DeploymentPropertiesAreExposed/resources/DeploymentPropertiesAreExposed.jnlp,
8753	* tests/reproducers/signed/DeploymentPropertiesAreExposed/srcs/Test.java,
8754	* tests/reproducers/signed/DeploymentPropertiesAreExposed/testcases/DeploymentPropertiesAreExposedTest.java:
8755	New files.
8756
87572012-10-29  Omair Majid  <omajid@redhat.com>
8758
8759	PR1186
8760	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java:
8761	(load(boolean)): Delegate to load(File,File,boolean).
8762	(load(File,File,boolean)): New method.
8763	(copyTo): New method.
8764	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java:
8765	(initialize): Copy configuration to system properties.
8766	* tests/netx/unit/net/sourceforge/jnlp/config/DeploymentConfigurationTest.java:
8767	New File.
8768
87692012-10-29  Jana Fabrikova <jfabriko@redhat.com>
8770
8771	* tests/reproducers/simple/JSToJSet
8772	Added reproducer for testing LiveConnect - setting Java members from JavaScript side
8773
87742012-10-26  Jiri Vanek <jvanek@redhat.com>
8775
8776	Added clipboard reproducers (PR708)
8777	* tests/reproducers/signed/ClipboardContentSigned/resources/ClipboardContentSignedCopy1.jnlp:
8778	Jnlp to invoke manual copying to clipboard on signed app, please note
8779	the delayed death of application
8780	* tests/reproducers/signed/ClipboardContentSigned/resources/ClipboardContentSignedCopy2.jnlp:
8781	Jnlp to invoke jtextfield like copying  signed app, please note the
8782	delayed death of application
8783	* tests/reproducers/signed/ClipboardContentSigned/resources/ClipboardContentSignedPaste1.jnlp:
8784	Jnlp to invoke manual pasting on signed application
8785	* tests/reproducers/signed/ClipboardContentSigned/resources/ClipboardContentSignedPaste2.jnlp:
8786	Jnlp to invoke jtextfield like pasting on signed application
8787	* tests/reproducers/signed/ClipboardContentSigned/srcs/ClipboardContentSigned.java:
8788	Application which is trying to access clipboard by various ways.
8789	* tests/reproducers/signed/ClipboardContentSigned/testcases/ClipboardContentSignedTests.java:
8790	Automated tests for four above jnlps.
8791	* tests/reproducers/simple/ClipboardContent/resources/ClipboardContentCopy1.jnlp:
8792	Jnlp to invoke manual copying to clipboard on unsigned app, please note
8793	the delayed death of application
8794	* tests/reproducers/simple/ClipboardContent/resources/ClipboardContentCopy2.jnlp:
8795	Jnlp to invoke jtextfield like copying  unsigned app, please note the
8796	delayed death of application
8797	* tests/reproducers/simple/ClipboardContent/resources/ClipboardContentPaste1.jnlp:
8798	Jnlp to invoke manual pasting on unsigned application
8799	* tests/reproducers/simple/ClipboardContent/resources/ClipboardContentPaste2.jnlp:
8800	Jnlp to invoke jtextfield like pasting on unsigned application
8801	* tests/reproducers/simple/ClipboardContent/srcs/ClipboardContent.java:
8802	Application which is trying to access clipboard by various ways.
8803	* tests/reproducers/simple/ClipboardContent/testcases/ClipboardContentTests.java:
8804	Automated tests for first and third of above four jnlps. The tests of
8805	second and fourth is disabled due to necessary manual interaction
8806	* tests/test-extensions/net/sourceforge/jnlp/tools/WaitingForStringProcess.java:
8807	Utility class for process waiting for some string for another string
8808	* tests/test-extensions/net/sourceforge/jnlp/tools/ClipboardHelpers.java
8809	Utility class for copying/pasting text to/from clipboard
8810	* tests/test-extensions/net/sourceforge/jnlp/tools/AsyncJavaws.java
8811	Utility class for launching javaws in separate thread.
8812
8813
88142012-10-23  Jiri Vanek <jvanek@redhat.com>
8815
8816	KnownToFail texts are now bold in html report
8817	* tests/report-styles/jreport.xsl: all text outputs of
8818	test="@known-to-fail=true" conditions are marked with <b>.
8819
88202012-10-19  Adam Domurad  <adomurad@redhat.com>
8821
8822	* tests/reproducers/custom/AdditionalJarsInMetaInfIndexList/testcases/AdditionalJarsInMetaInfIndexListTests.java
8823	(SignedMetaInfIndexListTest): Add @KnownToFail annotation
8824
88252012-10-19  Jiri Vanek <jvanek@redhat.com>
8826
8827	Renamed reproducers-related variables and targets
8828	* Makefile.am:
8829	NETX_TEST_DIR - new parent directory variable for tests
8830	NETX_UNIT_TEST_DIR - is now using this variable
8831	JNLP_TESTS_ENGINE_SRCDIR -> TEST_EXTENSIONS_SRCDIR
8832	JNLP_TESTS_ENGINE_TESTS_SRCDIR -> TEST_EXTENSIONS_TESTS_SRCDIR
8833	JNLP_TESTS_SRCDIR -> REPRODUCERS_TESTS_SRCDIR
8834	JNLP_TESTS_ENGINE_DIR -> TEST_EXTENSIONS_DIR
8835	JNLP_TESTS_ENGINE_TESTS_DIR -> TEST_EXTENSIONS_TESTS_DIR
8836	new variable TEST_EXTENSIONS_COMPATIBILITY_SYMLINK still pointing to $(TESTS_DIR)/netx/jnlp_testsengine
8837	$(TESTS_DIR)/jnlp_testsengine now points to $(TESTS_DIR)/test-extensions
8838	JNLP_TESTS_SERVER_DEPLOYDIR -> REPRODUCERS_TESTS_SERVER_DEPLOYDIR
8839	JNLP_TESTS_DIR -> REPRODUCERS_BUILD_DIR
8840	netx-dist-tests-source-files.txt -> test-extensions-source-files.txt
8841	stamps/netx-dist-tests-compile.stamp -> stamps/test-extensions-compile.stamp
8842	stamps/netx-dist-tests-tests-compile.stamp -> stamps/test-extensions-tests-compile.stamp
8843	stamps/netx-dist-tests-compile-testcases.stamp -> stamps/compile-reproducers-testcases.stamp
8844	stamps/netx-dist-tests-copy-resources.stamp -> stamps/copy-reproducers-resources.stamp
8845	* tests/reproducers/custom/AdditionalJarsInMetaInfIndexList/srcs/Makefile: and
8846	* tests/reproducers/custom/AppletExtendsFromOutsideJar/srcs/Makefile: and
8847	* tests/reproducers/custom/AppletFolderInArchiveTag/srcs/Makefile: and
8848	* tests/reproducers/custom/UnsignedContentInMETAINF/srcs/Makefile: following above renaming
8849
88502012-10-19  Adam Domurad  <adomurad@redhat.com>
8851
8852	Revised multiple signatures test to check for new message. Added more
8853	accurate reproducer for PR822.
8854	* tests/reproducers/signed2/MultipleSignaturesTest/srcs/somecrazytestpackage/MultipleSignaturesTest.java:
8855	Made class take a classname parameter so different out-of-package
8856	classes could be executed.
8857	* tests/reproducers/signed2/MultipleSignaturesTest/resources/MultipleSignaturesTest.html:
8858	Added main-class parameter.
8859	* tests/reproducers/signed2/MultipleSignaturesTest/resources/MultipleSignaturesTest1.jnlp:
8860	Same.
8861	* tests/reproducers/signed2/MultipleSignaturesTest/resources/MultipleSignaturesTest1_requesting.jnlp:
8862	Same.
8863	* tests/reproducers/signed2/MultipleSignaturesTest/resources/MultipleSignaturesTest2.jnlp:
8864	Same.
8865	* tests/reproducers/signed2/MultipleSignaturesTest/testcases/MultipleSignaturesTestTests.java
8866	(multipleSignaturesTestHtmlAppletUsesPermissions): New, tests if fully
8867	signed HTML applets with varied signers can (as they should) execute
8868	with full permissions. Reproduces PR822.
8869	(multipleSignaturesTestJnlpApplicationRequesting): Check for
8870	mismatching signers JNLP failure message. Remove known-to-fail &
8871	inaccurate bug annotation.
8872	* tests/reproducers/signed2/MultipleSignaturesTestSamePackage/testcases/MultipleSignaturesTestTestsSamePackage.java
8873	(multipleSignaturesTestSamePackageJnlpApplicationRequesting): Check for
8874	mismatching signers JNLP failure message. Remove known-to-fail &
8875	inaccurate bug annotation.
8876
88772012-10-19  Adam Domurad  <adomurad@redhat.com>
8878
8879	Reproduces PR822: Applets fail to load if jars have different signers.
8880	Tests for applets & JNLPs with multiple signers per jar.
8881	* tests/reproducers/signed/ReadPropertiesSigned/srcs/ReadPropertiesSigned.java:
8882	Modified to end with standard applet finish message.
8883	* tests/reproducers/simple/ReadProperties/srcs/ReadProperties.java:
8884	* tests/reproducers/custom/MultipleSignaturesPerJar/README: Explains
8885	dependence on ReadPropertiesSigned.
8886	* tests/reproducers/custom/MultipleSignaturesPerJar/resources/MultipleSignaturesPerJarMatching.html:
8887	HTML applet test with a common signer.
8888	* tests/reproducers/custom/MultipleSignaturesPerJar/resources/MultipleSignaturesPerJarMatching.jnlp:
8889	JNLP test with a common signer.
8890	* tests/reproducers/custom/MultipleSignaturesPerJar/resources/MultipleSignaturesPerJarMismatching.html:
8891	HTML applet test without a common signer.
8892	* tests/reproducers/custom/MultipleSignaturesPerJar/resources/MultipleSignaturesPerJarMismatching.jnlp:
8893	JNLP test without a common signer.
8894	* tests/reproducers/custom/MultipleSignaturesPerJar/srcs/Makefile:
8895	Custom makefile used to sign a jar with multiple signers.
8896	* tests/reproducers/custom/MultipleSignaturesPerJar/srcs/somecrazytestpackage/MultipleSignaturesPerJarMain.java:
8897	Accesses ReadPropertiesSigned from another package with different
8898	signers.
8899	* tests/reproducers/custom/MultipleSignaturesPerJar/testcases/MultipleSignaturesPerJarTests.java:
8900	Test driver.
8901
89022012-10-19  Adam Domurad  <adomurad@redhat.com>
8903
8904	New message for signer mismatch in JNLP applications.
8905	* netx/net/sourceforge/jnlp/resources/Messages.properties: Added
8906	message 'The JNLP application is not fully signed by a single cert.'
8907	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: Message
8908	thrown when JNLP's jcv.allJarsSigned() is true but not
8909	jcv.isFullySigned();
8910
89112012-10-19  Adam Domurad  <adomurad@redhat.com>
8912
8913	Fixes JCV#isTriviallySigned(). Reproducer 'EmptySignedJar' passes
8914	again.
8915	* netx/net/sourceforge/jnlp/tools/JarCertVerifier.java: Remove
8916	problematic 'triviallySigned' variable and instead determine
8917	whether triviallySigned on the fly. Consider jars with 0 signable
8918	entries as SIGNED_OK.
8919	* tests/netx/unit/net/sourceforge/jnlp/tools/JarCertVerifierTest.java:
8920	Update no-signers unit test.
8921
89222012-10-19  Adam Domurad  <adomurad@redhat.com>
8923
8924	* netx/net/sourceforge/jnlp/security/AppVerifier.java: Use interface
8925	types for declared types where applicable.
8926	* netx/net/sourceforge/jnlp/security/PluginAppVerifier.java: Same.
8927	* netx/net/sourceforge/jnlp/tools/JarCertVerifier.java: Same.
8928
89292012-10-19  Adam Domurad  <adomurad@redhat.com>
8930
8931	* netx/net/sourceforge/jnlp/security/AppVerifier.java: Use interface
8932	types for declared types where applicable.
8933	* netx/net/sourceforge/jnlp/security/PluginAppVerifier.java: Same.
8934	* netx/net/sourceforge/jnlp/tools/JarCertVerifier.java: Same.
8935
89362012-10-19  Danesh Dadachanji  <ddadacha@redhat.com>
8937
8938	Rework JarCertVerifier certificate management to handle multiple
8939	certificates and use different algorithms to verify JNLPs and Applets.
8940	* netx/net/sourceforge/jnlp/resources/Messages.properties:
8941	Removed SHasUnsignedEntry.
8942	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
8943	Set JCV instance to final but uninitialized.
8944	(JNLPClassLoader): Initialized JCV with runtime dependent verifier.
8945	(addNewJar), (initializeResources), (verifySignedJNLP):
8946	Replaced use of local JarCertVerifier variable with the instance  variable.
8947	Added calls to isFullySigned wherever signer verification is done.
8948	(activateJars): No longer verifies nested jars. These receive the same
8949	security permissions as their parent jar, regardless of the nested
8950	jar's signing.
8951	(checkTrustWithUser): Removed JCV param, reimplemented to wrap around
8952	JCV's checkTrustWithUser method.
8953	(verifyJars): Removed.
8954	* netx/net/sourceforge/jnlp/security/AppVerifier.java:
8955	New strategy pattern interface that specifies verification methods
8956	required regardless of the runtime.
8957	* netx/net/sourceforge/jnlp/security/JNLPAppVerifier.java:
8958	* netx/net/sourceforge/jnlp/security/PluginAppVerifier.java:
8959	New strategy pattern classes used to determine which algorithms to use
8960	depending on the runtime.
8961	* netx/net/sourceforge/jnlp/security/CertVerifier.java:
8962	Added CertPath param to all the methods.
8963	(noSigningIssues): Removed.
8964	* netx/net/sourceforge/jnlp/security/CertWarningPane.java:
8965	* netx/net/sourceforge/jnlp/security/CertsInfoPane.java:
8966	* netx/net/sourceforge/jnlp/security/MoreInfoPane.java:
8967	Updated calls to the verifier's methods with the new CertPath param. All
8968	are set to null so far.
8969	* netx/net/sourceforge/jnlp/security/HttpsCertVerifier.java:
8970	Added CertPath param to all the methods. It's mostly ignored though.
8971	* netx/net/sourceforge/jnlp/tools/CertInformation.java:
8972	New class to represent all the information about a signer with
8973	with respect to all of the entries it has signed for the app.
8974	* netx/net/sourceforge/jnlp/tools/JarCertVerifier.java:
8975	Completely reworked to use CertInformation and AppVerifier functionality.
8976	(getCertPath), (getCertInformation), (checkTrustWithUser),
8977	(getJarSignableEntries), (getTotalJarEntries): New method.
8978	(noSigningIssues), (anyJarsSigned): Removed.
8979	(verifyResult): Renamed enum to VerifyResult
8980	(JarCertVerifier): New constructor used to set AppVerifier instance.
8981	(getAlreadyTrustPublisher), (getRootInCacerts): Now uses strategy pattern.
8982	(hasSigningIssues), (getDetails), (checkTrustedCerts), (checkCertUsage):
8983	Now uses cert info class.
8984	(getCerts): Renamed to getCertsList.
8985	(isFullySignedByASingleCert): renamed to isFullySigned and to use
8986	the strategy pattern.
8987	(add): New public method that resets some instance vars and
8988	calls verifyJars.
8989	(verifyJars): Modifier changed to private, above method should be used.
8990	Also skips jars that have been verified before.
8991	(verifyJar): Removed actual verification code, only reads jars into the JVM.
8992	(verifyJarEntryCerts): New method. Does actual verification of jars.
8993	(getPublisher), (getRoot): Use hacky currentlyUsed variable as the signer.
8994	* tests/netx/unit/net/sourceforge/jnlp/tools/JarCertVerifierTest.java:
8995	Unit test JCV's verifyJarEntryCerts method.
8996	* tests/test-extensions/net/sourceforge/jnlp/tools/CodeSignerCreator.java:
8997	Unit test helper that creates CodeSigner instances.
8998
89992012-10-16  Adam Domurad  <adomurad@redhat.com>
9000
9001	* tests/reproducers/simple/AppletTakesLastParam/srcs/AppletTakesLastParam.java:
9002	Add 'standard' applet closing message.
9003	* tests/reproducers/simple/AppletTakesLastParam/testcases/AppletTakesLastParamTests.java:
9004	Clean-up code and add automatic applet closing on finish.
9005
90062012-10-15  Jana Fabrikova  <jfabriko@redhat.com>
9007
9008	* tests/reproducers/simple/JSToJGet/testcases/JSToJGetTest.java:
9009	Modified the testcases - more readable method calls.
9010
90112012-10-05  Omair Majid  <omajid@redhat.com>
9012
9013	PR1145
9014	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
9015	(getAccessControlContextForClassLoading): Do not catch
9016	ClassCircularityError.
9017	(findLoadedClassAll): Call findLoadedClass without any special
9018	permissions.
9019
90202012-10-03 Jana Fabrikova  <jfabriko@redhat.com>
9021
9022	* tests/reproducers/simple/JSToJGet:
9023	Added a new reproducer for the first LiveConnect
9024	test - getting members from Java side.
9025
90262012-10-02  Martin Olsson  <martin@minimum.se>
9027
9028	* plugin/icedteanp/IcedTeaNPPlugin.cc: Typo fix.
9029	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc: Typo fix.
9030
90312012-09-26  Jana Fabrikova  <jfabriko@redhat.com>
9032
9033	* tests/test-extensions/net/sourceforge/jnlp/closinglisteners/StringMatchClosingListener.java:
9034	Added forgotten package name.
9035
90362012-09-25  Jiri Vanek <jvanek@redhat.com>
9037
9038	Added rules listeners
9039	* tests/test-extensions/net/sourceforge/jnlp/closinglisteners/CountingClosingListener.java:
9040	Base class for closing listeners which is containing complete output in
9041	each time.
9042	* tests/test-extensions/net/sourceforge/jnlp/closinglisteners/Rule.java:
9043	Class with rule definition for RulesFolowingClosingListener
9044	* tests/test-extensions/net/sourceforge/jnlp/closinglisteners/RulesFolowingClosingListener.java:
9045	ClosingListener consisted from rules which all have to match for close action
9046	* tests/test-extensions/net/sourceforge/jnlp/closinglisteners/StringRule.java:
9047	Implementation of rule based on string
9048	* tests/reproducers/signed/AppletTestSigned/testcases/AppletTestSignedTests.java:
9049	* tests/reproducers/simple/AppletTest/testcases/AppletTestTests.java:
9050	Refactored to use Above iisteners.
9051
9052
90532012-09-24  Jiri Vanek <jvanek@redhat.com>
9054
9055	Added basic closing listener implementation
9056	* tests/reproducers/signed/AppletTestSigned/resources/AppletTestSigned.html:
9057	removed unnecessary XslowX
9058	* tests/reproducers/signed/AppletTestSigned/resources/AppletTestSigned2.html:
9059	added missing XslowX
9060	* tests/reproducers/signed/AppletTestSigned/srcs/AppletTestSigned.java:
9061	added standard closing sentence
9062	* tests/reproducers/signed/AppletTestSigned/testcases/AppletTestSignedTests.java:
9063	used auto*closing listeners
9064	* tests/test-extensions/net/sourceforge/jnlp/ClosingListener.java:
9065	interface for identifying closing listeners
9066	* tests/test-extensions/net/sourceforge/jnlp/ProcessAssasin.java:
9067	added possibility to set timeout n the fly
9068	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
9069	(executeBrowser) added shortcut for autoclosing listeners,
9070	(setUpClosingListener) method for setting properties of ClosingListener
9071	(executeBrowser) add logic to handle ClosingListeners
9072	* tests/test-extensions/net/sourceforge/jnlp/closinglisteners/AutoAllClosingListener.java:
9073	listener closing  on "APPLET FINISHED" string
9074	* tests/test-extensions/net/sourceforge/jnlp/closinglisteners/AutoErrorClosingListener.java:
9075	listener closing on "xception" match
9076	* tests/test-extensions/net/sourceforge/jnlp/closinglisteners/AutoOkClosingListener.java:
9077	listener closing on both xception and finished string.
9078	* tests/test-extensions/net/sourceforge/jnlp/closinglisteners/StringBasedClosingListener.java:
9079	Base forefather for Auto*ClosingListener
9080
90812012-09-24  Jiri Vanek <jvanek@redhat.com>
9082            Jana Fabrikova <jfabriko@redhat.com>
9083
9084	Reproducers are now correctly compiled against liveconect(plugin.jar)
9085	* Makefile.am: (stamps/netx-dist-tests-prepare-reproducers.stamp)
9086	added one more dependency: stamps/liveconnect-dist.stamp
9087	added one more directory on cp: $(abs_top_builddir)/liveconnect
9088
90892012-09-17  Deepak Bhole <dbhole@redhat.com>
9090
9091	PR1161: X509VariableTrustManager does not work correctly with OpenJDK7
9092	* Makefile.am: If building with JDK 6, don't build
9093	VariableX509TrustManagerJDK7.
9094	* NEWS: Updated.
9095	* acinclude.m4: In addition to setting VERSION_DEFS, also set HAVE_JAVA7
9096	if building with JDK7.
9097	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (initialize): Use new
9098	getSSLSocketTrustManager() method to get the trust manager.
9099	(getSSLSocketTrustManager): New method. Depending on runtime JRE version,
9100	returns the appropriate trust manager.
9101	* netx/net/sourceforge/jnlp/security/HttpsCertVerifier.java: Removed
9102	unused tm variable.
9103	* netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java: No
9104	longer extends com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager.
9105	(checkClientTrusted): Renamed to checkTrustClient and removed overloaded
9106	implementations.
9107	(checkServerTrusted): Renamed to checkTrustServer. Also, modified to
9108	accept socket and engine (may be null). Assume that CN is mismatched by
9109	default, rather than matched. If explicitly trusted, bypass other checks,
9110	including CN mismatch.
9111	(checkAllManagers): Modified to accept socket and engine. Modified to work
9112	for both JDK6 and JDK7.
9113	(getAcceptedIssuers): Make protected (called by others in package).
9114	* netx/net/sourceforge/jnlp/security/VariableX509TrustManagerJDK6.java:
9115	New class -- X509TrustManager for JDK6.
9116	* netx/net/sourceforge/jnlp/security/VariableX509TrustManagerJDK7.java:
9117	New class -- X509TrustManager for JDK7.
9118
91192012-09-07  Saad Mohammad  <smohammad@redhat.com>
9120
9121	Added signed jnlp tests for applications with multiple jar resources.
9122	* tests/reproducers/signed/MultiJar-NoSignedJnlp/resources/MainJarWithoutSignedJnlp.jnlp:
9123	Launching jnlp file that's main jar does not have a signed jnlp file, but
9124	other jar resources do.
9125	* tests/reproducers/signed/MultiJar-NoSignedJnlp/srcs/SimpleApplication.java:
9126	A class that uses reflection to access resources from different jars.
9127	* tests/reproducers/signed/MultiJar-SignedJnlpApplication/resources/MainJarWithMatchingSignedJnlpApplication.jnlp:
9128	Launching jnlp file that's main jar matches the signed jnlp application
9129	file.
9130	* tests/reproducers/signed/MultiJar-SignedJnlpApplication/resources/MainJarWithUnmatchingSignedJnlpApplication.jnlp:
9131	Launching jnlp file that's main jar does not match the signed jnlp
9132	application file.
9133	* tests/reproducers/signed/MultiJar-SignedJnlpApplication/srcs/JNLP-INF/APPLICATION.jnlp:
9134	Signed JNLP application file for MultiJar-SignedJnlpApplication.
9135	* tests/reproducers/signed/MultiJar-SignedJnlpApplication/srcs/SignedJnlpApplication.java:
9136	A class that uses reflection to access resources from different jars.
9137	* tests/reproducers/signed/MultiJar-SignedJnlpApplication/testcases/MultiJarSignedJnlpTest.java:
9138	Testcase that tests the launch and validation of signed jnlp files for
9139	application that have multiple jar resources.
9140	* tests/reproducers/signed/MultiJar-SignedJnlpTemplate/resources/MainJarWithMatchingSignedJnlpTemplate.jnlp:
9141	Launching jnlp file that's main jar matches the signed jnlp application
9142	template file.
9143	* tests/reproducers/signed/MultiJar-SignedJnlpTemplate/resources/MainJarWithUnmatchingSignedJnlpTemplate.jnlp:
9144	Launching jnlp file that's main jar does not match the signed jnlp
9145	application template file.
9146	* tests/reproducers/signed/MultiJar-SignedJnlpTemplate/srcs/JNLP-INF/APPLICATION_TEMPLATE.jnlp:
9147	Signed JNLP application template file for MultiJar-SignedJnlpTemplate.jar
9148	* tests/reproducers/signed/MultiJar-SignedJnlpTemplate/srcs/SignedJnlpTemplate.java:
9149	A class that uses reflection to access resources from different jars.
9150
91512012-09-07  Jiri Vanek  <jvanek@redhat.com>
9152
9153	Added strict test
9154	* tests/reproducers/simple/simpletest1/testcases/SimpleTest1Test.java:
9155	Removed deprecated ServerAccess.ProcessResult
9156	(testSimpletest1lunchOk) extracted asserting code
9157	(checkLaunched) family of methods to evaluate output of application
9158	(createStrictFile) method to prepare file which will pass strict checking
9159	(testSimpletest1lunchOkStrictJnlp) new test, ensuring that even strict
9160	file can be read without strict option
9161	(testSimpletest1lunchNotOkJnlpStrict) new test ensuring that strictly
9162	read no-strict file will fail
9163	(testSimpletest1lunchOkStrictJnlpStrict) new test ensuring that strictly
9164	read strict file will pass
9165
91662012-09-06  Jiri Vanek  <jvanek@redhat.com>
9167
9168	Fixing several typos from previous push
9169	* tests/test-extensions/net/sourceforge/jnlp/ServerLauncher.java:
9170	(getUrlUponThisInstance) Javadoc, replaced Ctreate with Create.
9171	* tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java: (run)
9172	Fixed indentation.
9173	* tests/reproducers/simple/ParametrizedJarUrl/testcases/ParametrizedJarUrlTests.java:
9174	Refactored createCodeBAse to createCodeBase.
9175
91762012-09-05  Jiri Vanek  <jvanek@redhat.com>
9177
9178	Fixing several errors which were causing incorrect behaviour causing
9179	correct reproduction of PR905
9180	* tests/reproducers/simple/ParametrizedJarUrl/resources/ParametrizedJarUrlSigned.htm
9181	Using different jar for reproducing
9182	* tests/reproducers/simple/ParametrizedJarUrl/testcases/ParametrizedJarUrlTests.java
9183	Added tests for hardcoded codebase (same and different)
9184	enhanced original PR905 reproducers
9185	* tests/test-extensions/net/sourceforge/jnlp/LoggingBottleneck.java:
9186	added flush for logs
9187	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java: cleaned
9188	and enhanced getUrl* methods.
9189	* tests/test-extensions/net/sourceforge/jnlp/ServerLauncher.java: delegated
9190	socket
9191	* tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java: fixed
9192	processing of question mark.
9193
91942012-09-05  Jiri Vanek  <jvanek@redhat.com>
9195
9196	* tests/reproducers/signed/CountingAppletSigned/srcs/CountingAppletSigned.java:
9197	Signed applet painting to canvas and periodically printing out counted messages
9198	* tests/reproducers/signed2/AppletTestSigned2/srcs/AppletTestSigned2:
9199	Second simple signed applet for testing two different simple ones parallel
9200	* tests/reproducers/simple/CountingApplet1/resources/ParallelAppletsTest_1E_x_2s.html:
9201	* tests/reproducers/simple/CountingApplet1/resources/ParallelAppletsTest_1_x_1.html:
9202	* tests/reproducers/simple/CountingApplet1/resources/ParallelAppletsTest_1_x_2.html:
9203	* tests/reproducers/simple/CountingApplet1/resources/ParallelAppletsTest_1_x_2E.html:
9204	* tests/reproducers/simple/CountingApplet1/resources/ParallelAppletsTest_1_x_2e.html:
9205	* tests/reproducers/simple/CountingApplet1/resources/ParallelAppletsTest_1_x_2sk.html:
9206	* tests/reproducers/simple/CountingApplet1/resources/ParallelAppletsTest_1e_x_2s.html:
9207	* tests/reproducers/simple/CountingApplet1/resources/ParallelAppletsTest_1k_x_2.html:
9208	* tests/reproducers/simple/CountingApplet1/resources/ParallelAppletsTest_1s_x_2.html:
9209	* tests/reproducers/simple/CountingApplet1/resources/ParallelAppletsTest_1s_x_2s.html:
9210	* tests/reproducers/simple/CountingApplet1/resources/ParallelAppletsTest_1s_x_2ss.html:
9211	Various combinations of plain, signed, crashing, exception throwing and
9212	exiting applets on single web-page
9213	* tests/reproducers/simple/CountingApplet1/srcs/CountingApplet1.java:
9214	Simple applet painting to canvas and periodically printing out counted messages
9215	* tests/reproducers/simple/CountingApplet1/testcases/ParallelAppletsTest.java:
9216	testcases launching above html files.
9217	* tests/reproducers/simple/CountingApplet2/srcs/CountingApplet2.java:
9218	Second simple applet painting to canvas and periodically printing out counted messages
9219	* tests/reproducers/simple/simpletest2/srcs/SimpleTest2.java: Enhanced
9220	exception throwing reproducer.
9221
92222012-09-04  Jiri Vanek  <Jvanek@redhat.com>
9223            Danesh Dadachanji  <ddadacha@redhat.com>
9224
9225	Single instance support for jnlp-href and tests
9226	* netx/net/sourceforge/jnlp/services/XSingleInstanceService.java:
9227	(initializeSingleInstance) fixed code for catching running instance
9228	(checkSingleInstanceRunning) Added handling of parameters.
9229	* netx/net/sourceforge/jnlp/Launcher.java: (launchApplication),
9230	(launchApplet) 	Added debug output that instance is already running.
9231	(getApplet) added check for services and debug output
9232	* netx/net/sourceforge/jnlp/resources/Messages.properties: added
9233	(LSingleInstanceExists) entry for exception.
9234	tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTest.jnlp
9235	* tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTestWS.jnlp:
9236	* tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTest_clasical.html:
9237	* tests/reproducers/simple/SingleInstanceServiceTest/resources/SingleInstanceTest_jnlpHref.html:
9238	Applet and application in jnlp or html launching files.
9239	* tests/reproducers/simple/SingleInstanceServiceTest/srcs/SingleInstanceChecker.java
9240	SingleInstance implementing applet/application
9241	* tests/reproducers/simple/SingleInstanceServiceTest/testcases/SingleInstanceTest.java
9242	Testfile for launching for above jnlps/htmls as testcases.
9243
92442012-08-27  Adam Domurad  <adomurad@redhat.com>
9245
9246	Fixes PR920, duplicate loading of classes in certain cases
9247	* NEWS: Added entry: Fixes PR920
9248	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: Remove
9249	recursive/non-recursive distinction. Add parent JNLPClassLoader to
9250	parent chain.
9251
92522012-08-27  Adam Domurad  <adomurad@redhat.com>
9253
9254	Reproduces problem behind PR920, class is in a jar is loaded twice when
9255	used by both a class within the jar, and also used by a class outside
9256	the jar extending that class.
9257	* tests/reproducers/custom/AppletExtendsFromOutsideJar/README:
9258	Describes test
9259	* tests/reproducers/custom/AppletExtendsFromOutsideJar/resources/AppletExtendsFromOutsideJar.html:
9260	Runs applet with main class outside jar
9261	* A tests/reproducers/custom/AppletExtendsFromOutsideJar/srcs/AppletReferenceInSameJar.java:
9262	References class Referenced inside same jar
9263	* tests/reproducers/custom/AppletExtendsFromOutsideJar/srcs/AppletReferenceOutOfJar.java:
9264	References class Referenced outside the jar
9265	* tests/reproducers/custom/AppletExtendsFromOutsideJar/srcs/Makefile:
9266	Packages Reference, AppletReferenceInSameJar into a jar,
9267	AppletReferenceOutOfJar outside it
9268	* tests/reproducers/custom/AppletExtendsFromOutsideJar/srcs/Referenced.java:
9269	Class that is referenced twice, loaded twice in failing behaviour
9270	* tests/reproducers/custom/AppletExtendsFromOutsideJar/testcases/AppletExtendsFromOutsideJarTests.java:
9271	Drives AppletExtendsFromOutsideJar.html
9272
92732012-08-27  Adam Domurad  <adomurad@redhat.com>
9274
9275	Tests whether a main class can be found in a jar specified in
9276	META-INF/INDEX.LIST. This test is done with both signed and unsigned
9277	jars. The failure with signed jars encapsulates PR1112.
9278	* tests/reproducers/custom/AdditionalJarsInMetaInfIndexList/resources/AdditionalJarsInMetaInfIndexListSigned.jnlp:
9279	* tests/reproducers/custom/AdditionalJarsInMetaInfIndexList/resources/AdditionalJarsInMetaInfIndexListUnsigned.jnlp:
9280	JNLP files for the signed and unsigned varions of the test
9281	* tests/reproducers/custom/AdditionalJarsInMetaInfIndexList/srcs/LoadedViaMetaInfIndexList.java:
9282	Main class that is within a jar loaded via
9283	* tests/reproducers/custom/AdditionalJarsInMetaInfIndexList/srcs/Makefile:
9284	Prepares a jar with INDEX.LIST pointing to another jar that has the
9285	main-class. Copies of these jars and made and signed.
9286 	* tests/reproducers/custom/AdditionalJarsInMetaInfIndexList/testcases/AdditionalJarsInMetaInfIndexListTests.java:
9287	Test driver, tests if main-class has run.
9288
92892012-08-27  Adam Domurad  <adomurad@redhat.com>
9290
9291	Tests custom policy definition in such a way that has been known to
9292	cause ClassCircularityError's. Reproducer for PR1145.
9293	* tests/reproducers/signed/CustomPolicy/resources/CustomPolicy.jnlp:
9294	* tests/reproducers/signed/CustomPolicy/srcs/CustomPolicy.java:
9295	Sets custom policy and performs a privileged operation with no given
9296	privileges.
9297	* tests/reproducers/signed/CustomPolicy/testcases/CustomPolicyTests.java:
9298	Tests that an access control exception was caught, and that the program
9299	exits correctly.
9300
93012012-08-27  Deepak Bhole <dbhole@redhat.com>
9302
9303	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
9304	(getAccessControlContextForClassLoading): Catch ClassCircularityErrors and
9305	ignore them (thus denying permission to caller).
9306
93072012-08-27  Jiri Vanek  <jvanek@redhat.com>
9308
9309	Added tests for PR822 - multiple signatures on classpath
9310	* Makefile.am: listed signed2 directory
9311	* tests/reproducers/signed2/MultipleSignaturesTest/resources/MultipleSignaturesTest.html:
9312	* tests/reproducers/signed2/MultipleSignaturesTest/resources/MultipleSignaturesTest1.jnlp:
9313	* tests/reproducers/signed2/MultipleSignaturesTest/resources/MultipleSignaturesTest1_requesting.jnlp:
9314	* tests/reproducers/signed2/MultipleSignaturesTest/resources/MultipleSignaturesTest2.jnlp:
9315	* tests/reproducers/signed2/MultipleSignaturesTestSamePackage/resources/MultipleSignaturesTest1_SamePackage.jnlp:
9316	* tests/reproducers/signed2/MultipleSignaturesTestSamePackage/resources/MultipleSignaturesTest1_SamePackage_requesting.jnlp:
9317	* tests/reproducers/signed2/MultipleSignaturesTestSamePackage/resources/MultipleSignaturesTest2_SamePackage.jnlp:
9318	* tests/reproducers/signed2/MultipleSignaturesTestSamePackage/resources/MultipleSignaturesTest_SamePackage.html:
9319	various variations of multiple signtarues jnlp/html, in/out package, same/different/ signature
9320	* tests/reproducers/signed2/MultipleSignaturesTestSamePackage/srcs/MultipleSignaturesTestSamePackage.java:
9321	simple class just with call to second jar
9322	* tests/reproducers/signed2/MultipleSignaturesTest/srcs/somecrazytestpackage/MultipleSignaturesTest.java:
9323	simple class just with call to second jar, but in package
9324	* tests/reproducers/signed2/MultipleSignaturesTest/testcases/MultipleSignaturesTestTests.java:
9325	* tests/reproducers/signed2/MultipleSignaturesTestSamePackage/testcases/MultipleSignaturesTestTestsSamePackage.java
9326	various testcases tro above resources
9327	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java: "-verbose " fixed to "-verbose"
9328
93292012-08-27  Jiri Vanek  <jvanek@redhat.com>
9330
9331	Fixed long term failing unit-test, fixed NPE from ClassLoader
9332	* netx/net/sourceforge/jnlp/NullJnlpFileException.java: new class to
9333	distinguish plain NPE from null jnlp file.
9334	* netx/net/sourceforge/jnlp/SecurityDesc.java: (getSandBoxPermissions)
9335	added throw of NullJnlpFileException in case of null jnlp file.
9336	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (findClass)
9337	added Override annotation,  add catch of NullJnlpFileException and
9338	re-throw of  CNF exception.
9339	* tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java:
9340	(testResourceLoadSuccessCaching) (testResourceLoadFailureCaching)
9341	(testParentClassLoaderIsAskedForClasses) - internal JNLPFile's
9342	(getSecurity) null in SecurityDesc constructorrepalced by this.
9343	(testNullFileSecurityDesc) new test to ensure NPE in null JNLPFile case.
9344
93452012-08-22  Jiri Vanek  <jvanek@redhat.com>
9346
9347	Added tests for PR905 - parameters in jnlp/html application/applet resources
9348	* tests/reproducers/simple/ParametrizedJarUrl/resources/ParametrizedJarUrl.html:
9349	html file to launch applet, requested archive jar have parameter
9350	* tests/reproducers/simple/ParametrizedJarUrl/resources/ParametrizedJarUrl1.jnlp:
9351	jnlp file to launch application, requested archive jar have parameter
9352	* tests/reproducers/simple/ParametrizedJarUrl/resources/ParametrizedJarUrl2.jnlp:
9353	jnlp file to launch application, requested jnlp have parameter
9354	* tests/reproducers/simple/ParametrizedJarUrl/resources/ParametrizedJarUrlSigned.html:
9355	html file to launch signed applet, requested archive jar have parameter
9356	* tests/reproducers/simple/ParametrizedJarUrl/resources/ParametrizedJarUrlSigned1.jnlp:
9357	jnlp file to launch signed application, requested archive jar have parameter
9358	* tests/reproducers/simple/ParametrizedJarUrl/resources/ParametrizedJarUrlSigned2.jnlp:
9359	jnlp file to launch signed application, requested jnlp have parameter
9360	* tests/reproducers/simple/ParametrizedJarUrl/resources/ParametrizedJarAppletUrl2.jnlp
9361	* tests/reproducers/simple/ParametrizedJarUrl/resources/ParametrizedJarAppletUrl.jnlp
9362	* tests/reproducers/simple/ParametrizedJarUrl/resources/ParametrizedJarAppletUrlSigned2.jnlp
9363	* tests/reproducers/simple/ParametrizedJarUrl/resources/ParametrizedJarAppletUrlSigned.jnlp
9364	variations launching applets from jnlp
9365	* tests/reproducers/simple/ParametrizedJarUrl/testcases/ParametrizedJarUrlTests.java:
9366	testaceses of above ParametrizedJarUrl/jnlps+htmls namely - (parametrizedAppletTestSignedTest)
9367	, (testParametrizedJarUrl2), (testParametrizedJarUrlSigned2): passing
9368	calls /partially/ with parameter. Those test are passing.
9369	(parametrizedAppletTestSignedFirefoxTest) call with parameter upon signed
9370	applet in browser, failing and so is representing PR905
9371
93722012-08-21  Jiri Vanek  <jvanek@redhat.com>
9373
9374	* tests/test-extensions/net/sourceforge/jnlp/ProcessAssasin.java:
9375	(sigInt), (sigKill), (sigTerm) new methods for various killing of
9376	processes by kill.
9377	(kill) new method, launching kill process.
9378	(destroyProcess	) is now calling sigInt instead of unwrapped sigTerm.
9379
93802012-08-21  Jiri Vanek  <jvanek@redhat.com>
9381
9382	* launcher/javaws.in: java is now launched by exec
9383
93842012-08-19  Thomas Meyer  <thomas@m3y3r.de>
9385
9386	* netx/net/sourceforge/jnlp/JNLPFile.java:
9387	* netx/net/sourceforge/jnlp/LaunchHandler.java:
9388	* netx/net/sourceforge/jnlp/PluginBridge.java:
9389	* netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java:
9390	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
9391	* netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java:
9392	Fix javadoc warnings.
9393	* plugin/icedteanp/java/sun/applet/PluginObjectStore.java (contains):
9394	Fix a small bug that prevents the only user of this method
9395	(PluginAppletSecurity line 1064) to work correctly.
9396
93972012-08-18  Jiri Vanek  <jvanek@redhat.com>
9398
9399	added encodings reproducer (PR1108)
9400	* tests/reproducers/simple/encodingTestsĚŠČŘŽÝÁÍÉĚÉŘŤÝÚŮÍÓÁŠĎŽŹŇ: new
9401	reproducer
9402	* tests/reproducers/simple/encodingTestsĚŠČŘŽÝÁÍÉĚÉŘŤÝÚŮÍÓÁŠĎŽŹŇ/srcs/encodingTest.java:
9403	main class/main applet class and method of new encodingTestsĚŠČŘŽÝÁÍÉĚÉŘŤÝÚŮÍÓÁŠĎŽŹŇ.jar
9404	* tests/reproducers/simple/encodingTestsĚŠČŘŽÝÁÍÉĚÉŘŤÝÚŮÍÓÁŠĎŽŹŇ/testcases/encodingTestTest.java:
9405	testcases for jnlps of this reproducers
9406	* tests/reproducers/simple/encodingTestsĚŠČŘŽÝÁÍÉĚÉŘŤÝÚŮÍÓÁŠĎŽŹŇ/resources:
9407	four utf-8 and four iso-8859-2 jnlp files and one utf-8 and one
9408	iso-8859-2 html files
9409	* tests/reproducers/simple/simpletest1/srcs/simpletest1.java: now prints
9410	 its args out
9411	* tests/test-extensions-tests/net/sourceforge/jnlp/ResourcesTest.java:
9412	correctly swaped error and output listener in its test
9413
94142012-08-17  Adam Domurad  <adomurad@redhat.com>
9415
9416	Fixes PR588, cookies set in the java cookie jar are now stored properly
9417	* plugin/icedteanp/IcedTeaNPPlugin.cc
9418	(set_cookie_info): New, uses setvalueforurl
9419	(consume_plugin_message): Additional message added allowing
9420	set_cookie_info to be used from the java side.
9421	* plugin/icedteanp/java/sun/applet/PluginCookieManager.java: Now
9422	overrides put method, results in set_cookie_info calls in C++
9423	* plugin/icedteanp/java/sun/applet/PluginMain.java: Passes
9424	PluginStreamHandler to PluginCookieManager to allow C++ side
9425	communication
9426
94272012-08-17  Adam Domurad  <adomurad@redhat.com>
9428
9429	Reproducers for PR588, sets persistent and session cookies in the
9430	cookie jar and tries to read them with various means.
9431	* tests/reproducers/signed/SavingCookies/resources/CheckCookie.html:
9432	Print the cookie store contents
9433	* tests/reproducers/signed/SavingCookies/resources/CheckCookieAndGotoClear.html:
9434	Print the cookie store contents, and then go to
9435	ClearPersistentCookie.html with showDocument
9436	* tests/reproducers/signed/SavingCookies/resources/ClearPersistentCookie.html:
9437	Clear the test cookie so it does not interfere with further tests
9438	* tests/reproducers/signed/SavingCookies/resources/SavePersistentCookie.html:
9439	Create a persistent cookie
9440	* tests/reproducers/signed/SavingCookies/resources/SavePersistentCookieAndGotoCheck.html:
9441	Create a persistent cookie and check it with showDocument
9442	* tests/reproducers/signed/SavingCookies/resources/SaveSessionCookie.html:
9443	Create a session cookie
9444	* tests/reproducers/signed/SavingCookies/resources/SaveSessionCookieAndGotoCheck.html:
9445	Create a session cookie and check it with showDocument
9446	* tests/reproducers/signed/SavingCookies/srcs/CheckingCookies.java:
9447	Checks the contents of the cookie store.
9448	Depending on the test, this may go to another page upon completion.
9449	* tests/reproducers/signed/SavingCookies/srcs/SavingCookies.java:
9450	Store cookies in the java cookie store. Depending on the test, this may
9451	go to another page upon completion.
9452	* tests/reproducers/signed/SavingCookies/testcases/SavingCookiesTests.java
9453	Test driver for testing persistent and session cookies in different
9454	ways
9455
94562012-08-18  Jiri Vanek  <jvanek@redhat.com>
9457
9458	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java: added
9459	VERBOSE_OPTION constant with -verbose value for javaws launching.
9460
94612012-08-17  Jiri Vanek  <jvanek@redhat.com>
9462
9463	* tests/reproducers/simple/deadlocktest/testcases/DeadLockTestTest.java:
9464	(testDeadLockTestTerminatedBody) removed tests for killed-process and
9465	termination of remaining javas put on correct place.
9466	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
9467	(executeBrowser)  stout and stderr listeners forwarded to next method in
9468	correct order.
9469
94702012-08-14  Danesh Dadachanji  <ddadacha@redhat.com>
9471
9472	Classpaths in jars' manifests are only considered when the applet is run
9473	without using jnlp_href and a JNLP file.
9474	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (activateJars):
9475	Add conditional check for use of jnlp_href.
9476	* tests/reproducers/signed/Classpath.Manifest.Test.Helper/srcs/CheckForClasspath.java:
9477	Applet whose jar is stored in a subdir under the test engine server.
9478	* tests/reproducers/signed/ClasspathManifestTest/resources/ClasspathManifestAppletTest.html:
9479	* tests/reproducers/signed/ClasspathManifestTest/resources/ClasspathManifestAppletTest.jnlp:
9480	* tests/reproducers/signed/ClasspathManifestTest/resources/ClasspathManifestApplicationTest.jnlp:
9481	* tests/reproducers/signed/ClasspathManifestTest/resources/ClasspathManifestJNLPHrefTest.html:
9482	* tests/reproducers/signed/ClasspathManifestTest/srcs/ClasspathManifest.java:
9483	* tests/reproducers/signed/ClasspathManifestTest/srcs/META-INF/MANIFEST.MF:
9484	* tests/reproducers/signed/ClasspathManifestTest/testcases/ClasspathManifestTest.java:
9485	Test if manifest entry is searched for classpath only when in the plugin
9486	is run without using jnlp_href.
9487
94882012-08-14  Adam Domurad  <adomurad@redhat.com>
9489
9490	Reproducer for allowing unsigned content in META-INF/ folder.
9491	Derives from ReadPropertiesSigned test's signed jar.
9492	* tests/reproducers/custom/UnsignedContentInMETAINF/resources/UnsignedContentInMETAINF.jnlp:
9493	New, runs a modified version of ReadPropertiesSigned.jar (UnsignedContentInMETAINF.jar)
9494	* tests/reproducers/custom/UnsignedContentInMETAINF/srcs/META-INF/unsigned_file_in_metainf:
9495	New, placed into a modified version of ReadPropertiesSigned.jar
9496	(UnsignedContentInMETAINF.jar) so that there is unsigned content in the
9497	META-INF/ folder.
9498	* tests/reproducers/custom/UnsignedContentInMETAINF/srcs/Makefile:
9499	New, creates a modified version of ReadPropertiesSigned.jar, named
9500	UnsignedContentInMETAINF.jar, and places unsigned content inside its
9501	META-INF/ folder
9502	* tests/reproducers/custom/UnsignedContentInMETAINF/testcases/UnsignedContentInMETAINF.java:
9503	Test driver for jnlp file
9504
95052012-08-14  Adam Domurad  <adomurad@redhat.com>
9506
9507	Unit test for method in JCV, isMetaInfFile()
9508	* netx/net/sourceforge/jnlp/tools/JarCertVerifier.java:
9509	Made isMetaInfFile package-private for testing purposes.
9510	* tests/netx/unit/net/sourceforge/jnlp/tools/JarCertVerifierTest.java:
9511	New, tests isMetaInfFile
9512
95132012-08-06  Jiri Vanek  <jvanek@redhat.com>
9514
9515	Added splashscreen implementation
9516	* netx/net/sourceforge/jnlp/GuiLaunchHandler.java: calling JNLPSplashScreen
9517	constructor with file ratehr then null.
9518	* netx/net/sourceforge/jnlp/InformationDesc.java:  ONE_LINE changed from
9519	"oneline" to "one-line", added citation why. (getDescriptionStrict) new
9520	method returning exact value or null without fall-back.
9521	* netx/net/sourceforge/jnlp/JNLPSplashScreen.java: Added header, default
9522	values and useless string replaced by JnlpFile.
9523	* netx/net/sourceforge/jnlp/resources/Messages.properties: Added SPLASH
9524	family of keys.
9525	* netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java: (getSplashControler)
9526	new method returning its SplashControler.
9527	* netx/net/sourceforge/jnlp/runtime/Boot.java: Constants (name) and
9528	(version) made public.
9529	* netx/net/sourceforge/jnlp/splashscreen/SplashController.java: New interface
9530	for each class which wants its splasshcreen controlled by SplashUtils.
9531	* netx/net/sourceforge/jnlp/splashscreen/SplashErrorPanel.java: New interface
9532	for each class which wants to serve as error-showing splashscreen.
9533	* netx/net/sourceforge/jnlp/splashscreen/SplashPanel.java:  New interface
9534	for each class which wants to serve as splashscreen.
9535	* netx/net/sourceforge/jnlp/splashscreen/SplashUtils.java: Factory methods
9536	for simplified splashscreens creation.
9537	* netx/net/sourceforge/jnlp/splashscreen/impls/DefaultErrorSplashScreen2012.java:
9538	Full implementation of SplashErrorPanel to be used as default error
9539	splashscreen.
9540	* netx/net/sourceforge/jnlp/splashscreen/impls/DefaultSplashScreen2012.java:
9541	Full implementation of SplashPanel to be used as default splashscreen.
9542	* netx/net/sourceforge/jnlp/splashscreen/impls/DefaultSplashScreens2012Commons.java:
9543	Class for gathering same logic in DefaultErrorSplashScreen2012 and
9544	DefaultSplashScreen2012.
9545	* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/BasePainter.java:
9546	Class responsible for paint main graphic in DefaultSplashScreen2012.
9547	* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/ControlCurve.java:
9548	Painting forefather for primitives drawing curves.
9549	* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/Cubic.java:
9550	Class with cubic calculation.
9551	* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/ErrorPainter.java:
9552	Class responsible for paint main graphic in DefaultErrorSplashScreen2012.
9553	* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/MovingText.java:
9554	Class responsible for metal-shining web label.
9555	* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/NatCubic.java:
9556	Painting primitive for drawing cubic-splines.
9557	* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/NatCubicClosed.java:
9558	Painting primitive for drawing self-closed cubic-splines.
9559	* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/TextOutlineRenderer.java:
9560	Class for rendering text from given texture,
9561	* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/TextWithWaterLevel.java:
9562	Class for rendering Iced label slowly filled with watter
9563	* netx/net/sourceforge/jnlp/splashscreen/parts/BasicComponentErrorSplashScreen.java:
9564	Common forefather for all error splashscreens which would like to be an
9565	component too.
9566	* netx/net/sourceforge/jnlp/splashscreen/parts/BasicComponentSplashScreen.java:
9567	Common forefather for all splashscreens which would like to be an component too.
9568	* netx/net/sourceforge/jnlp/splashscreen/parts/DescriptionInfoItem.java:
9569	Description item of InformationElement
9570	* netx/net/sourceforge/jnlp/splashscreen/parts/InfoItem.java:
9571	Individual items in InformationElement
9572	* netx/net/sourceforge/jnlp/splashscreen/parts/InformationElement.java:
9573	Wrapper around jnlp's information element.
9574	* netx/net/sourceforge/jnlp/splashscreen/parts/JEditorPaneBasedExceptionDialog.java:
9575	Custom error dialogue with direct access to exception and icedtea-web page
9576	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/ErrorSplashScreenTest.java:
9577	Test for final composition of ErrorSplashScreen2012, including main method
9578	for manual testing
9579	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/SplashScreenTest.java:
9580	Test for final composition of SplashScreen2012, including main method
9581	for manual testing
9582	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/ErrorSplashUtilsTest.java:
9583	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/BasePainterTest.java:
9584	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/ControlCurveTest.java:
9585	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/CubicTest.java:
9586	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/ErrorPainterTest.java:
9587	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/MovingTextTest.java:
9588	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/NatCubicClosedTest.java:
9589	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/NatCubicTest.java:
9590	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/SplinesDefsTest.java:
9591	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/TextOutlineRendererTest.java:
9592	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/TextWithWaterLevelTest.java:
9593	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/parts/BasicComponentErrorSplashScreenTest.java:
9594	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/parts/BasicComponentSplashScreenTest.java:
9595	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/parts/DescriptionInfoItemTest.java:
9596	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/parts/InfoItemTest.java:
9597	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/parts/InformationElementTest.java:
9598	* tests/netx/unit/net/sourceforge/jnlp/splashscreen/parts/JEditorPaneBasedExceptionDialogTest.java:
9599	Unit-test classes always testing the class with corresponding name
9600
96012012-08-13  Jiri Vanek  <jvanek@redhat.com>
9602
9603	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
9604	(executeProcessUponURL)Fixed wrong call in previous commit which was
9605	causing null process name.
9606	* tests/reproducers/simple/AppletTest/testcases/AppletTestTests.java:
9607	Removed unused import.
9608
96092012-08-13  Jiri Vanek  <jvanek@redhat.com>
9610
9611	Reproducers of PR955
9612	* tests/reproducers/simple/LocalisedInformationElement/resources/LocalisedInformationElement1.jnlp:
9613	* tests/reproducers/simple/LocalisedInformationElement/resources/LocalisedInformationElement2.jnlp:
9614	* tests/reproducers/simple/LocalisedInformationElement/resources/LocalisedInformationElement3.jnlp:
9615	* tests/reproducers/simple/LocalisedInformationElement/resources/LocalisedInformationElement4.jnlp:
9616	Test jnlp files with various combinations of locales, reproducers of PR955.
9617	* tests/reproducers/simple/LocalisedInformationElement/resources/LocalisedInformationElement_noLoc.jnlp
9618	Jnlp file with which is not affected by PR955 and is helping to catch error in LOCALE changing hack
9619	* tests/reproducers/simple/LocalisedInformationElement/srcs/LocalisedInformationElement.java:
9620	Reproducer main class, after loading prints out default locale.
9621	* tests/reproducers/simple/LocalisedInformationElement/testcases/LocalisedInformationElementTest.java:
9622	Testcases launching above jnlps under various locales.
9623	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
9624	Added set of methods allowing passing of custom variables to ThreadedProcess.
9625	* tests/test-extensions/net/sourceforge/jnlp/ThreadedProcess.java:
9626	Added processing of custom variables.
9627
96282012-08-10  Adam Domurad  <adomurad@redhat.com>
9629
9630	* plugin/icedteanp/IcedTeaNPPlugin.cc
9631	(consume_plugin_message): New, called by consume_message, handles
9632	cookie and proxy info retrieval, and setting cookie info
9633	(consume_message): Call consume_plugin_message for "plugin ..."
9634	messages
9635
96362012-08-08  Danesh Dadachanji  <ddadacha@redhat.com>
9637
9638	Fix PR955: regression: SweetHome3D fails to run
9639	* NEWS: Added entry for PR955
9640	* netx/net/sourceforge/jnlp/JNLPFile.java: New enum Match that represents
9641	the level of precision to use when matching locales.
9642	(localMatches): Renamed to localeMatches, added matchLevel paramater
9643	and updated conditionals to handle the level of precision specified by it.
9644	(getVendor): New method that returns an information's vendor text.
9645	(getInformation): Added override methods for getTitle and getVendor
9646	that are used by the anonymous class to filter by locale. All three
9647	methods now go through all levels of precision to search for the best
9648	fitted locale.
9649	(getResources), (getResourcesDescs): Updated to check if any level of
9650	precision matches when searching for locales.
9651	(parse): Added call to checkForTitleVendor.
9652	* netx/net/sourceforge/jnlp/Parser.java
9653	(checkForTitleVendor): New method to check for availability of localized
9654	title and vendor from the information tags. Throws ParseException.
9655	(getInfo): Replace loop with foreach loop.
9656	(getInformationDesc): Remove check for present title and vendor.
9657	(getLocale): Variant returned can now use everything after the eigth
9658	element of the locale's string.
9659	* netx/net/sourceforge/jnlp/resources/Messages.properties:
9660	Update missing title and vendor messages to mention localization.
9661	* tests/reproducers/simple/InformationTitleVendorParser/testcases/InformationTitleVendorParserTest.java:
9662	Update output string as per new changes to Messages internationalizations.
9663	* tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java:
9664	New unit test that checks the localesMatches method in JNLPFile.
9665	* tests/netx/unit/net/sourceforge/jnlp/MockJNLPFile.java:
9666	New class used to create a mock JNLPFile object.
9667	* tests/netx/unit/net/sourceforge/jnlp/ParserTest.java:
9668	New unit test that checks that the return of getTitle and getVendor
9669	have localized information.
9670
96712012-08-07  Thomas Meyer  <thomas@m3y3r.de>
9672
9673	* plugin/icedteanp/IcedTeaNPPlugin.cc: only export NP_GetMIMEDescription,
9674	NP_GetValue, NP_Initialize and NP_Shutdown. This should fix PR472.
9675
96762012-08-07  Saad Mohammad  <smohammad@redhat.com>
9677
9678	Added license header to files without one.
9679	* netx/net/sourceforge/jnlp/AppletLog.java:
9680	* netx/net/sourceforge/jnlp/JNLPMatcherException.java:
9681	* netx/net/sourceforge/jnlp/Log.java:
9682	* netx/net/sourceforge/jnlp/Node.java:
9683	* netx/net/sourceforge/jnlp/UpdateDesc.java:
9684	* netx/net/sourceforge/jnlp/cache/IllegalResourceDescriptorException.java:
9685	* netx/net/sourceforge/jnlp/security/SecurityDialogMessage.java: Added
9686	license header.
9687
96882012-08-07  Adam Domurad  <adomurad@redhat.com>
9689
9690	Fixes PR1106, plugin crashing with firefox + archlinux/gentoo
9691	* plugin/icedteanp/IcedTeaNPPlugin.cc
9692	(initialize_browser_functions): Account for the fact that
9693	browserTable->size can be larger than sizeof(NPNetscapeFuncs)
9694
96952012-08-01  Saad Mohammad  <smohammad@redhat.com>
9696
9697	Fix PR1049: Extension jnlp's signed jar with the content of only META-INF/*
9698	is considered unsigned.
9699	* NEWS: Added entry for PR1049.
9700	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (initializeResources):
9701	Removes the display of the security dialog for loaders with only empty jars.
9702	* netx/net/sourceforge/jnlp/tools/JarCertVerifier.java:
9703	(JarCertVerifier): Tracks whether all jars verified are empty jars.
9704	(hasAllEmptyJars): Returns true if all jars verified are empty jars.
9705	(verifyJars): Checks whether signable entries and certificates are found and
9706	decides if all jars are empty jars.
9707	(isFullySignedByASingleCert): If all jars are emptyJars, returns true.
9708	* tests/reproducers/signed/EmptySignedJar/resources/EmptySignedJarInLaunchingJnlp.jnlp:
9709	Launching jnlp with the resource of an empty jar and an extension jnlp
9710	containing the main jar.
9711	* tests/reproducers/signed/EmptySignedJar/resources/EmptySignedJarInExtensionJnlp.jnlp:
9712	Launching jnlp with the resource of the main jar and an extension jnlp
9713	containing the empty jar.
9714	* tests/reproducers/signed/EmptySignedJar/resources/EmptySignedJarExtension.jnlp:
9715	Extension jnlp containing only an empty jar.
9716	* tests/reproducers/signed/EmptySignedJar/srcs/META-INF/empty_file:
9717	Empty file within META-INF; required to create EmptySignedJar.jar
9718	by the test engine.
9719	* tests/reproducers/signed/EmptySignedJar/testcases/EmptySignedJarTest.java:
9720	Testcase that tests jnlp files with empty jars.
9721	* tests/reproducers/signed/SignedJarResource/resources/SignedJarResource.jnlp:
9722	Launches SignedJarResource class directly.
9723
97242012-07-31  Danesh Dadachanji  <ddadacha@redhat.com>
9725
9726	Minor fix to overly restrictive unit test.
9727	* tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java
9728	(testIsMatchDoesNotHangOnLargeData): Increase timeout to 5 seconds.
9729
97302012-07-24  Adam Domurad  <adomurad@redhat.com>
9731
9732	CVE-2012-3422, RH840592: Potential read from an uninitialized
9733	memory location.
9734	* plugin/icedteanp/IcedTeaNPPlugin.cc
9735	(get_cookie_info): Only attempt to perform this operation if there is a
9736	valid plugin instance
9737	(get_proxy_info): Only attempt to perform this operation if there is a
9738	valid plugin instance
9739
97402012-07-31  Danesh Dadachanji  <ddadacha@redhat.com>
9741
9742	* Makefile.am: Fix call to keytool that is missing its absolute path.
9743
97442012-07-31  Jiri Vanek  <jvanek@redhat.com>
9745            Peter Hatina  <phatina@redhat.com>
9746
9747	Introduced configure option --with-gtk=2|3|default to be able
9748	to compile against different version of GTK+ (2.x or 3.x).
9749	* NEWS: mentioned bug fix
9750	* acinclude.m4: (ITW_GTK_CHECK_VERSION) macro for getting GTK+ version
9751	(ITW_GTK_CHECK) macro for checking GTK+ version
9752
97532012-07-24  Adam Domurad  <adomurad@redhat.com>
9754
9755	* plugin/icedteanp/IcedTeaPluginUtils.cc
9756	(IcedTeaPluginUtilities::strSplit): Replace usage of " " with proper
9757	delimiter
9758
97592012-07-18  Danesh Dadachanji  <ddadacha@redhat.com>
9760
9761	Fix RH838417, Fix RH838559: Disambiguate signed applet security prompt
9762	from certificate warning.
9763	* NEWS: Added entries for RH838417 and RH838559.
9764	* netx/net/sourceforge/jnlp/resources/Messages.properties:
9765	Added SWarnFullPermissionsIgnorePolicy and updated SHttpsUnverified.
9766	* netx/net/sourceforge/jnlp/security/CertWarningPane.java: Display
9767	SWarnFullPermissionsIgnorePolicy if the cert is from a jar and is either
9768	unverified or has a signing error. Also added warning.png to HTTPS dialogs.
9769
97702012-07-18  Thomas Meyer  <thomas@m3y3r.de>
9771
9772	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java (handleMessage):
9773	Fix possible endless loop while waiting for the applet object instance to
9774	get created.
9775
97762012-07-11  Jiri Vanek  <jvanek@redhat.com>
9777
9778	try to close browser before kill it
9779	* tests/reproducers/signed/AppletTestSigned/testcases/AppletTestSignedTests.java:
9780	* tests/reproducers/simple/AppletTest/testcases/AppletTestTests.java:
9781	* tests/reproducers/simple/CheckServices/testcases/CheckServicesTests.java
9782	(evaluateSignedApplet) addapted to properly closed browser
9783	* tests/reproducers/simple/CheckServices/srcs/CheckServices.java:
9784	removed fixme section as it shuld work now
9785	* tests/test-extensions/net/sourceforge/jnlp/ProcessAssasin.java
9786	(destroyProcess) new method, launching kill with SIGTERM before clasical
9787	process.destroy()
9788	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
9789	removed Set<Thread> terminated, should be removed long ago
9790
97912012-07-10  Adam Domurad  <adomurad@redhat.com>
9792
9793	Refactor JNLPFile#launchType into its own interface type (as opposed to
9794	Object), LaunchDesc.
9795	* netx/net/sourceforge/jnlp/AppletDesc.java: Add override annotation to
9796	getMainClass().
9797	* netx/net/sourceforge/jnlp/ApplicationDesc.java: Same as above
9798	* netx/net/sourceforge/jnlp/InstallerDesc.java: Same as above
9799	* netx/net/sourceforge/jnlp/JNLPFile.java: Make launchType a
9800	LaunchDesc object. Update getLaunchInfo() accordingly.
9801	* netx/net/sourceforge/jnlp/LaunchDesc.java: New launch description.
9802	* netx/net/sourceforge/jnlp/Parser.java
9803	(getLauncher): Return type changed to LaunchDesc
9804	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: Replace
9805	occurences of instanceof with respect to launchType.
9806
98072012-07-09  Deepak Bhole <dbhole@redhat.com>
9808
9809	* configure.ac: Bumped release number to 1.4pre
9810
98112012-07-09  Saad Mohammad  <smohammad@redhat.com>
9812
9813	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (initializeExtensions):
9814	Checks and assigns the main-class name prior to the for loop.
9815
98162012-07-09  Martin Olsson  <martin@minimum.se>
9817
9818	* plugin/icedteanp/IcedTeaPluginUtils.cc: Change calls from g_free
9819	to free when allocated with calloc.
9820	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
9821	(PluginRequestProcessor::call): Make sure args_array doesnt hold
9822	garbage when freed.
9823	(_loadURL): Change calls from g_free to free when allocated with
9824	calloc.
9825
98262012-07-09  Adam Domurad  <adomurad@redhat.com>
9827
9828	Ignore invalid jar files in applets, like the oracle plugin does.
9829	* netx/net/sourceforge/jnlp/cache/IllegalResourceDescriptorException.java:
9830	New exception type for ResourceTracker to throw instead of
9831	IllegalArgumentException
9832	* netx/net/sourceforge/jnlp/cache/IllegalResourceDescriptorException.java:
9833	Throws IllegalArgumentDescriptorException instead of
9834	IllegalArgumentException.
9835	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
9836	(isInvalidJar): New, checks for ZipException in new JarFile(...)
9837	(shouldFilterInvalidJars): New, checks if we are in an applet
9838	(initializeResources): if 'shouldFilterInvalidJars()' is true and a jar
9839	is not a valid jar file, the jar is filtered out and normal execution
9840	continues.
9841
98422012-07-03  Saad Mohammad  <smohammad@redhat.com>
9843
9844	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
9845	(JNLPClassLoader): New constructor that accepts an additional parameter
9846	containing the main class name.
9847	(getInstance): Accepts mainName as parameter to override application's
9848	main class name
9849	(initializeExtensions): Passes in the name of the application's main class
9850	when creating a new JNLPClassLoader instance.
9851	(initializeResources): If the loader owns no jars, it will consider
9852	itself as signed if all of the extension loaders are signed. Also, if the
9853	extension jars have the main class, it will set foundMainJar to true.
9854	(initializeResources): If the main class was not found, check if it was
9855	found within the extension jars.
9856	(checkForMain): Uses the overwritten main class name (if set) when
9857	searching for the main within the jars.
9858	(hasMainJar): Returns true if this loader holds the main jar.
9859	(hasMainInExtensions): Returns true if extension loaders have the main jar
9860	* tests/jnlp_tests/signed/ExtensionJnlp/resources/UsesSignedJarExtension.jnlp:
9861	* tests/jnlp_tests/signed/ExtensionJnlp/resources/UsesSignedJnlpExtension.jnlp:
9862	* tests/jnlp_tests/signed/ExtensionJnlp/resources/UsesSignedJnlpJarAndSignedJarExtension.jnlp:
9863	Launching jnlps that use extension jnlp as its resource.
9864	* tests/jnlp_tests/signed/ExtensionJnlp/resources/UsesSignedJar.jnlp:
9865	Launching jnlp that directly launches SignedJarResource class.
9866	* tests/jnlp_tests/signed/ExtensionJnlp/resources/UsesSignedJnlp.jnlp:
9867	Launching jnlp that directly launches SignedJnlpResource class.
9868	* tests/jnlp_tests/signed/ExtensionJnlp/testcases/ExtensionJnlpTest.java:
9869	Testcase that tests the launching of jnlp files containing extension jnlps
9870	as resource.
9871	* tests/jnlp_tests/signed/SignedJarResource/resources/SignedJarExtension.jnlp:
9872	Component jnlp file that is used as an extension resource.
9873	* tests/jnlp_tests/signed/SignedJarResource/srcs/SignedJarResource.java:
9874	A simple java class that outputs a string.
9875	* tests/jnlp_tests/signed/SignedJnlpResource/resources/UnmatchingSignedJnlpExtension.jnlp:
9876	Component jnlp file that is used as an extension resource and does not
9877	match the signed jnlp file.
9878	* tests/jnlp_tests/signed/SignedJnlpResource/resources/MatchingSignedJnlpExtension.jnlp:
9879	Component jnlp file that is used as an extension resource and matches the
9880	signed jnlp file.
9881	* tests/jnlp_tests/signed/SignedJnlpResource/srcs/JNLP-INF/APPLICATION_TEMPLATE.jnlp:
9882	Signed jnlp file.
9883	* tests/jnlp_tests/signed/SignedJnlpResource/srcs/SignedJnlpResource.java:
9884	A simple java class that outputs a string.
9885
98862012-07-02  Jiri Vanek  <jvanek@redhat.com>
9887
9888	Added missing headers
9889	* tests/reproducers/simple/CreateClassLoader/resources/CreateClassLoader.jnlp:
9890	* tests/reproducers/simple/ReadEnvironment/resources/ReadEnvironment.jnlp:
9891	* tests/reproducers/simple/ReadProperties/resources/ReadProperties1.jnlp:
9892	* tests/reproducers/simple/ReadProperties/resources/ReadProperties2.jnlp:
9893	* tests/reproducers/simple/RedirectStreams/resources/RedirectStreams.jnlp:
9894	* tests/reproducers/simple/ReplaceSecurityManager/resources/ReplaceSecurityManager.jnlp:
9895	* tests/reproducers/simple/SetContextClassLoader/resources/SetContextClassLoader.jnlp:
9896	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
9897	* tests/test-extensions/net/sourceforge/jnlp/annotations/Bug.java:
9898	* tests/test-extensions/net/sourceforge/jnlp/annotations/KnownToFail.java:
9899	* tests/test-extensions/net/sourceforge/jnlp/annotations/NeedsDisplay.java:
9900	* tests/test-extensions/net/sourceforge/jnlp/annotations/TestInBrowsers.java:
9901	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/Browser.java:
9902	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/BrowserFactory.java:
9903	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/BrowserTest.java:
9904	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/BrowserTestRunner.java:
9905	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/Browsers.java:
9906	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/Chrome.java:
9907	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/Chromium.java:
9908	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/Epiphany.java:
9909	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/Firefox.java:
9910	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/LinuxBrowser.java:
9911	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/Midory.java:
9912	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/MozillaFamilyLinuxBrowser.java:
9913	* tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/Opera.java:
9914	added license headers
9915
99162012-07-02  Jiri Vanek  <jvanek@redhat.com>
9917
9918	Makefile adapted to recent (three changelog items) refactoring
9919	* Makefile.am: (JNLP_TESTS_ENGINE_SRCDIR) now points correctly to
9920	test-extensions. (JNLP_TESTS_ENGINE_TESTS_SRCDIR) new variable for
9921	test-extensions-tests. (JNLP_TESTS_SRCDIR) now points to reproducers.
9922	(JNLP_TESTS_ENGINE_TESTS_DIR) new variable for built
9923	JNLP_TESTS_ENGINE_TESTS_SRCDIR
9924	(netx-dist-tests-tests-source-files.txt) new target for list of
9925	content of JNLP_TESTS_ENGINE_TESTS_SRCDIR.
9926	(stamps/netx-dist-tests-tests-compile.stamp) new target for compiling
9927	netx-dist-tests-tests-source-files.txt
9928	(netx-dist-tests-source-files.tx) now depends on
9929	stamps/netx-dist-tests-tests-compile.stamp
9930	($(REPRODUCERS_CLASS_NAMES)) target is now working in JNLP_TESTS_ENGINE_TESTS_DIR
9931	instead of JNLP_TESTS_ENGINE_DIR
9932	(stamps/run-netx-dist-tests.stamp): added JNLP_TESTS_ENGINE_TESTS_DIR to classpath
9933	(stamps/run-unit-test-code-coverage.stamp), (stamps/run-reproducers-test-code-coverage.stamp)
9934	added JNLP_TESTS_ENGINE_TESTS_DIR to classpath and
9935	JNLP_TESTS_ENGINE_TESTS_SRCDIR to sources path
9936
99372012-07-02  Jiri Vanek  <jvanek@redhat.com>
9938
9939	All tests from test-extensions extracted to test-extensions-tests.
9940	All inner classes in test-extensions extracted as outer classes
9941	* tests/test-extensions/net/sourceforge/jnlp/ResourcesTest.java:
9942	moved to test-extensions-tests
9943	* tests/test-extensions-tests/net/sourceforge/jnlp/ResourcesTest.java:
9944	new file, copied from test-extensions
9945	* tests/test-extensions-tests/net/sourceforge/jnlp/ServerAccessTest.java:
9946	all tests from original ServerAccess.java
9947	* tests/test-extensions/net/sourceforge/jnlp/ContentReader.java:
9948	* tests/test-extensions/net/sourceforge/jnlp/LogItem.java:
9949	* tests/test-extensions/net/sourceforge/jnlp/LoggingBottleneck.java:
9950	* tests/test-extensions/net/sourceforge/jnlp/ProcessAssasin.java:
9951	* tests/test-extensions/net/sourceforge/jnlp/ProcessResult.java:
9952	* tests/test-extensions/net/sourceforge/jnlp/ServerLauncher.java:
9953	* tests/test-extensions/net/sourceforge/jnlp/TestsLogs.java:
9954	* tests/test-extensions/net/sourceforge/jnlp/ThreadedProcess.java:
9955	* tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java:
9956	new files, extracted classes from ServerAccess
9957	* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
9958	extracted tests and inner classes
9959
99602012-07-02  Jiri Vanek  <jvanek@redhat.com>
9961
9962	hg move tests/netx/jnlp_testsengine/ tests/test-extensions
9963
99642012-07-02  Jiri Vanek  <jvanek@redhat.com>
9965
9966	hg move tests/jnlp_tests/ tests/reproducers
9967
99682012-06-29  Jiri Vanek  <jvanek@redhat.com>
9969
9970	Fixed resource tests and Browsers.none behavior
9971	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java:
9972	Added slash into all executeBrowsers urls.
9973	Added midori and epiphany to simple proxies test.
9974	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/BrowserTestRunner.java:
9975	Corrected handling of Browsers.none together with -Dmodified.browsers.run switch
9976
99772012-06-28  Omair Majid  <omajid@redhat.com>
9978
9979	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
9980	(findClass): Invoke CodeBaseClassLoader.findClass with a flag to avoid
9981	infinite recursion.
9982	(CodeBaseClassLoader.findClass(String)): Delegate to ...
9983	(CodeBaseClassLoader.findClass(String,boolean)): New method.
9984	* tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java
9985	(testParentClassLoaderIsAskedForClasses): New method.
9986
99872012-06-28 Jiri Vanek <jvanek@redhat.com>
9988
9989	Correctly backup all log files re-writable by emma during code-coverage
9990	* Makefile.am: (EMMA_MODIFIED_FILES) new variable with list of files to
9991	backup/restore. (stamps/run-unit-test-code-coverage.stamp) and
9992	(stamps/run-reproducers-test-code-coverage.stamp) are now iterating over
9993	EMMA_MODIFIED_FILES instead of enumerating them
9994
99952012-06-28  Jiri Vanek  <jvanek@redhat.com>
9996
9997	Removed repeated re-runing of tests during coverage, stamped pac tests
9998	* Makefile.am: (check-pac-functions) moved to target aliases and replaced
9999	by stamps/check-pac-functions.stamp.
10000	(clean-netx-unit-tests) added removing of  stamps/check-pac-functions.stamp
10001	(stamps/exported-test-certs.stamp): no longer depends on
10002	netx-dist-tests-remove-cert-from-public, logic of it have to be
10003	copy-pasted from here.
10004	(stamps/run-unit-test-code-coverage.stamp): no longer depends on check,
10005	but was added direct dependences
10006
100072012-06-28  Adam Domurad  <adomurad@redhat.com>
10008
10009	Allow for folders in archive tag.
10010	* netx/net/sourceforge/jnlp/PluginBridge.java:
10011	(PluginBridge) Changes jar -> archive, parse contents with
10012	addArchiveEntries.
10013	(addArchiveEntries) New method. Adds entries ending with / to the list
10014	of folders.
10015	(getCodeBaseFolders) Returns the folders collected by addArchiveEntries
10016	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
10017	(initializeResources) If ran as plugin, add archive tag folders to the
10018	code base loader.
10019
100202012-06-27  Adam Domurad  <adomurad@redhat.com>
10021
10022	Tests folders in archive tag
10023	* tests/jnlp_tests/custom/AppletFolderInArchiveTag/testcases/AppletFolderInArchiveTagTests.java:
10024	Runs html file in browser
10025	* tests/jnlp_tests/custom/AppletFolderInArchiveTag/srcs/Makefile:
10026	packages compiled source files in folder
10027	* tests/jnlp_tests/custom/AppletFolderInArchiveTag/srcs/AppletFolderInArchiveTag.java:
10028	Simple output to confirm it is running
10029	* tests/jnlp_tests/custom/AppletFolderInArchiveTag/resources/AppletFolderInArchiveTag.html:
10030	Has folder in its archive tag that contains a class file
10031
100322012-06-26  Jiri Vanek  <jvanek@redhat.com>
10033
10034	Added slipped midori and epiphany to recognized browsers.
10035	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/BrowserFactory.java:
10036	(BrowserFactory) added slipped cases for creating Epiphany and Midori singletons
10037
100382012-06-26  Jiri Vanek  <jvanek@redhat.com>
10039
10040	* Makefile.am:  Most crucial variables exported to be used by custom Makefiles
10041	(CUSTOM_REPRODUCERS): new variable to hold custom name
10042	(ALL_NONCUSTOM_REPRODUCERS): new variable for gathering all except custom reproducers
10043	(ALL_REPRODUCERS): now contains also custom ones
10044	(stamps/junit-jnlp-dist-dirs): now depends also on junit-jnlp-dist-custom.txt
10045	(junit-jnlp-dist-custom.txt): new target scanning for directories in jnlp_tests/custom
10046	and saving them as list for future purposes.
10047	(stamps/netx-dist-tests-prepare-reproducers.stamp): and
10048	( stamps/change-dots-to-paths.stamp):iterate through ALL_NONCUSTOM_REPRODUCERS
10049	instead of ALL__REPRODUCERS
10050	(stamps/process-custom-reproducers.stamp) : new target for iterating by
10051	junit-jnlp-dist-custom.txt through  jnlp_tests/custom/srcs* and launching
10052	make prepare-reproducer in each.
10053	(clean-custom-reproducers): same as above but launching make clean-reproducer
10054	(run-netx-dist-tests) now depends on stamps/process-custom-reproducers.stamp
10055	(clean-netx-dist-tests): now depends on clean-custom-reproducers and is removing
10056	stamps/netx-dist-tests-copy-resources.stamp
10057	(stamps/netx-dist-tests-copy-resources.stamp): new target extracting
10058	copying of resources from stamps/netx-dist-tests-compile-testcases.stamp
10059	* tests/jnlp_tests/README: described this mechanism a bit
10060
100612012-06-26 Jiri Vanek <jvanek@redhat.com>
10062
10063	Reproducer for classes which should be loaded before verification but are not
10064	* tests/jnlp_tests/signed/InternalClassloaderWithDownloadedResource/resources/InternalClassloaderWithDownloadedResource-applet-hack.jnlp
10065	jnlp launcher of applet variant with injecting new url to classlaoder
10066	* tests/jnlp_tests/signed/InternalClassloaderWithDownloadedResource/resources/InternalClassloaderWithDownloadedResource-applet-new.jnlp
10067	jnlp launcher of applet variant with custom classlaoder
10068	* tests/jnlp_tests/signed/InternalClassloaderWithDownloadedResource/resources/InternalClassloaderWithDownloadedResource-hack.html
10069	html launcher of applet variant with injecting new url to classlaoder
10070	* tests/jnlp_tests/signed/InternalClassloaderWithDownloadedResource/resources/InternalClassloaderWithDownloadedResource-hack.jnlp
10071	jnlp launcher of application variant with injecting new url to classlaoder
10072	* tests/jnlp_tests/signed/InternalClassloaderWithDownloadedResource/resources/InternalClassloaderWithDownloadedResource-new.html
10073	html launcher of applet variant with custom classlaoder
10074	* tests/jnlp_tests/signed/InternalClassloaderWithDownloadedResource/resources/InternalClassloaderWithDownloadedResource-new.jnlp
10075	jnlp launcher of application variant with custom classlaoder
10076	* tests/jnlp_tests/signed/InternalClassloaderWithDownloadedResource/srcs/InternalClassloaderWithDownloadedResource.java:
10077	Both application and applet reproducing behavior of this bug
10078	* tests/jnlp_tests/signed/InternalClassloaderWithDownloadedResource/testcases/InternalClassloaderWithDownloadedResourceTest.java:
10079	Testcase launching jnlp application, jnlp applet and html applet
10080
100812012-06-26  Jiri Vanek  <jvanek@redhat.com>
10082
10083	Last hope for not downloaded resources to be verified
10084	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
10085	(getCodeSourceSecurity): will now try to download and verify resource
10086	which was downloaded outside of netx.
10087	(alreadyTried) set for memory of once tried resources to not try again
10088
100892012-06-25  Adam Domurad  <adomurad@redhat.com>
10090
10091	Small comment cleanup to classes with missing or wrong descriptions.
10092	* plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java:
10093	Comment at top fixed
10094	* plugin/icedteanp/java/sun/applet/AppletSecurityContextManager.java:
10095	Same
10096	* plugin/icedteanp/java/sun/applet/PluginException.java: Same
10097	* plugin/icedteanp/java/sun/applet/PluginCallRequestFactory.java: Same
10098	* netx/net/sourceforge/jnlp/PluginBridge.java: Add class description.
10099	* plugin/icedteanp/java/sun/applet/PluginCallRequest.java:
10100	Removed FIXME that had already been fixed.
10101
101022012-06-25  Adam Domurad  <adomurad@redhat.com>
10103
10104	Allow passing of plugin tables and browser tables in NP_Initialize that
10105	are not the expected length but still large enough for our purposes.
10106	* plugin/icedteanp/IcedTeaNPPlugin.cc
10107	(initialize_browser_functions): New function to check size of passed
10108	browser function table, and initialize 'browser_functions' global
10109	variable.
10110	(initialize_plugin_table): New function to check size of passed
10111	plugin function table, and initialize proper plugin callbacks.
10112	(NP_Initialize): Make use of initialization helper functions, get
10113	rid of old size tests and error if the helper functions fail.
10114
101152012-06-20  Adam Domurad  <adomurad@redhat.com>
10116
10117	* netx/net/sourceforge/jnlp/tools/JarCertVerifier.java
10118	(verifyJar): two for loops made into for-each loops
10119
101202012-06-19  Jiri Vanek  <jvanek@redhat.com>
10121
10122	various test for browser engine
10123	* tests/jnlp_tests/simple/AppletTest/resources/appletAutoTests.html:
10124	fixed missing parenthesis
10125	* tests/jnlp_tests/simple/AppletTest/resources/appletAutoTests2.html:
10126	new test excluding XslowX for applets
10127	* tests/jnlp_tests/simple/AppletTest/testcases/AppletTestTests:
10128	(doubleChrome) test for ensuring that two chrome browsers launched
10129	behind themselves will not cause errors as they were without
10130	criticalFixes patch
10131	(AppletInBrowserTest) and (AppletInBrowserTestXslowX) testing methods
10132	for all browser
10133	* tests/jnlp_tests/simple/AppletTest/testcases/AppletBaseURLTest:
10134	* tests/jnlp_tests/simple/AppletTest/testcases/CheckServicesTests:
10135	* tests/jnlp_tests/simple/AppletTest/testcases/AppletReadsInvalidJarTests:
10136	Included @TestInBrowser instead of plain executeBrowser
10137	* tests/jnlp_tests/simple/deadlocktest/srcs/DeadlockTest.java: improved
10138	to print sometimes something out
10139	* tests/jnlp_tests/simple/deadlocktest/testcases/DeadLockTestTest.java:
10140	(testDeadLockTestTerminatedBody) enhanced to ensure that not so much is
10141	lost when process is terminated, but showing that something can be lost
10142	(which is correct)
10143	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java:
10144	(testNonExisitngBrowserWillNotDeadlock) testing taht when no browser is
10145	set, then no deadlock happens as happen before criticalFixes's deadlyException
10146	(testUnexistingProcessWillFailRecognizedly)  is actually testing deadlyException
10147	(testNonExisitngBrowserWillNotCauseMess) some but with annotation which
10148	was also harming output of tool little bit without TestInBrowsersAnnotation fixed.
10149	(testBrowsers2) is testing all browsers configuration without annotation
10150	and (testBrowser3) do the same configuration tests annotation driven
10151	(testBrowser) body of above two methods. Is testing whether used
10152	browsers are correctly linked with latest build
10153	(testBrowsers1) is testing parsing of -D variable
10154	(testListeners) annotated that needs display
10155	* tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java:
10156	annotated with Bug annotation
10157
101582012-06-19  Jiri Vanek  <jvanek@redhat.com>
10159
10160	introduced possibility to run comfortably applets+html reproducers
10161	* Makefile.am: used BROWSER_TESTS_MODIFICATION variable to pass global
10162	switch from configure
10163	* acinclude.m4: (IT_SET_GLOBAL_BROWSERTESTS_BHAVIOUR) new method
10164	handling --with-browser-tests
10165	* configure.ac: used IT_SET_GLOBAL_BROWSERTESTS_BHAVIOUR
10166	switch and passing  BROWSER_TESTS_MODIFICATION variable to Makefile.
10167	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
10168	(currentBrowser) variable holding injected browser for ServerAccess instance
10169	(loggedBrowser) static variable keeping id of (currentBrowser) for static
10170	logging purposes
10171	(modifyMethodWithForBrowser) new function changing the name of method to
10172	"method - browser" for logging purposes
10173	(getBrowserLocation) - returning path to process to be launched when
10174	browser requested
10175	(getBrowserParams) - gathering set default's browser settings
10176	(set/getCurrentBrowsers) - set browser by id/return id of set browser
10177	(set/getCurrentBrowser) - set browser instance /returns instance of
10178	current browser
10179	(executeBrowser) family of methods now cooperate with above methods for
10180	default set browser
10181	(executeBrowser(Browser) family to work with implicit browser
10182	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/annotations/TestInBrowsers.java:
10183	annotation for determining which browser(s) to use with annotated method
10184	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/Browser.java:
10185	interface for dealing with various browsers
10186	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/BrowserFactory.java:
10187	singleton for mapping configured browsers x requested browser x browsers proxies
10188	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/BrowserTest.java:
10189	Forefather of all testcases which have methods to do tests iniside browser.
10190	Is allowing correct annotation -> proxy trasnver to VirtualServer for
10191	selected method and is requesting custom runner from junit framework
10192	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/BrowserTestRunner.java:
10193	custom test Ruuner which is responsible for translating annotation and
10194	run the method mutlipletimes for each requested browser and to name it properly
10195	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/Browsers.java:
10196	enumeration of abstract browsers and theirs sets or subsets.
10197	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/browsers/*:
10198	individual browsers proxies and theirs abstractions,namely:
10199	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/browsers/Opera.java:
10200	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/browsers/Firefox.java:
10201	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/browsers/Chrome.java:
10202	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/browsers/Chromium.java:
10203	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/browsers/Midori.java:
10204	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/browsers/Epiphany.java:
10205	proxies for  browsers as name suggests
10206	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/browsers/LinuxBrowser.java:
10207	abstract forefather for all browsers implementing Browser interface. Is
10208	setting /usr/bin as bin path, libjavaplugin.so as default plugin library name,
10209	intorducing stubs for methods (eg 32/64 bit libs)
10210	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/browsertesting/browsers/MozillaFamilyLinuxBrowser:
10211	forefather for all browsers except Opera. Is unifying .mozilla/plugins directories
10212
102132012-06-15  Jiri Vanek  <jvanek@redhat.com>
10214
10215	* tests/jnlp_tests/simple/AppletTest/resources/appletAutoTests.html:
10216	Added quotes around parameters  of html applet tag.
10217	* tests/jnlp_tests/simple/deadlocktest/testcases/DeadLockTestTest.java:
10218	Output verification is counting with repeated and probably unfinished outputs.
10219	* tests/jnlp_tests/simple/deadlocktest/srcs/DeadlockTest.java
10220	Is now printing out sentence in intervals to avoid destroy-consume as much as possible
10221	* tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java:
10222	Added bug annotation with threads on distro-pkg-dev
10223
102242012-06-15  Adam Domurad  <adomurad@redhat.com>
10225
10226	Fixed two memory leaks
10227	* plugin/icedteanp/IcedTeaNPPlugin.cc
10228	(consume_message): Call to g_strsplit matched with call to g_strfreev.
10229	* plugin/icedteanp/IcedTeaPluginUtils.cc
10230	(post): Removed copy of string, which assumed consumer freed string
10231	(which was not true and not always possible)
10232
102332012-06-11  Danesh Dadachanji  <ddadacha@redhat.com>
10234
10235	PR855: AppletStub getDocumentBase() doesn't return full URL
10236	* NEWS: Added PR855 entry.
10237	* plugin/icedteanp/IcedTeaNPPlugin.cc (plugin_get_documentbase):
10238	Assign documentbase_copy directly to href's value instead of iterating
10239	through the segments to remove the file from the path.
10240	* tests/jnlp_tests/simple/AppletBaseURLTest/srcs/AppletBaseURL.java:
10241	* tests/jnlp_tests/simple/AppletBaseURLTest/testcases/AppletBaseURLTest.java:
10242	* tests/jnlp_tests/simple/AppletBaseURLTest/resources/AppletBaseURLTest.html:
10243	* tests/jnlp_tests/simple/AppletBaseURLTest/resources/AppletBaseURLTest.jnlp:
10244	* tests/jnlp_tests/simple/AppletBaseURLTest/resources/AppletJNLPHrefBaseURLTest.html:
10245	New reproducer that checks the URLS that document and codebase
10246	point are correct.
10247
102482012-06-13  Danesh Dadachanji  <ddadacha@redhat.com>
10249
10250	Update CheckServices reproducer to handle browser testcase.
10251	* tests/jnlp_tests/simple/CheckServices/testcases/CheckServicesTests.java:
10252	Added browser test and annotation, refactored asserts into helper method.
10253	* tests/jnlp_tests/simple/CheckServices/resources/CheckPluginServices.html:
10254	New browser test file that runs applet using jnlp_href.
10255
102562012-06-13  Jiri Vanek  <jvanek@redhat.com>
10257
10258	* tests/junit-runner/JunitLikeXmlOutputListener.java:
10259	Introduced TEST_IGNORED_ATTRIBUTE to mark test as ignored if should be.
10260	* tests/report-styles/jreport.xsl: Applied correct text and style for
10261	tests with attribute ignored.
10262
102632012-06-12  Adam Domurad  <adomurad@redhat.com>
10264
10265	Fixes PR722, javaws failing to run with unsigned content in META-INF/
10266	* NEWS: Added entry: Fixes PR722
10267	* netx/net/sourceforge/jnlp/tools/JarCertVerifier.java: Changed
10268	isSignatureRelated => isMetaInfFile. Now all files under META-INF/ are
10269	disregarded in checking the jar signage.
10270
102712012-06-11  Jiri Vanek  <jvanek@redhat.com>
10272
10273	Implemented xml logging backend
10274	* Makefile.am: (stamps/run-netx-unit-tests.stamp) and
10275	(stamps/run-netx-dist-tests.stamp) removed redirection of streams as
10276	logging is now done in ServerAccess tests extensions
10277	added xsltproc execution above generated xml log
10278	xsltproc generating results html files is now receiving result of above
10279	as parameter
10280	* tests/report-styles/jreport.xsl: log parameter is now accepted, and
10281	if set, then all tests are linking into specified file to show the log
10282	* tests/report-styles/report.css: added styles for new links
10283	* tests/report-styles/index.js: new functions to work for result of below sheet
10284	* tests/report-styles/logs.xsl: new file, sheet to convert xml log to html file
10285	* tests/report-styles/output.css: new file, styles of above html file
10286	* tests/jnlp_tests/simple/deadlocktest/testcases/DeadLockTestTest.java:
10287	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java:
10288	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
10289	Tests', server's and ProcessAssasin's logs are now redirected to bottleneck
10290	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
10291	(LOGS_REPRINT) flag for debugging purposes, will enable reprinting to
10292	stdout/err again
10293	(DEFAULT_LOG_FILE ) default name of xml output
10294	(DEFAULT_STDERR_FILE)(DEFAULT_STDOUT_FILE)(DEFAULT_STDLOGS_FILE) default
10295	values of plain text output files
10296	(*ELEMENT) and( (*ATTRIBUTE) variables keeping repeated names of xml
10297	output parts
10298	(writeXmlLog) method called from Sytsem.hook to save xml log
10299	(addToXmlLog) method to record item to xml structure
10300	(TestsLogs) and (LogItem) inner classes to keep logging information
10301	(log) is now reprinting message with id to std out/err dependently on
10302	(LOGS_REPRINT) but always to internal streams, possilbe exception is thrown
10303	(logException) new method, shortcut to log exception in same way as message
10304	(getTestMethod) now can handle methods inside ServerAccess class too
10305
103062012-06-11  Adam Domurad  <adomurad@redhat.com>
10307
10308	* NEWS: Added mention of fixing PR518
10309
103102012-06-07  Saad Mohammad  <smohammad@redhat.com>
10311
10312	Allows the user to configure browser paths and/or disable browsers.
10313	* acinclude.m4 (IT_FIND_BROWSER): Checks if the browser is set to be
10314	disabled, or if the path provided is valid. Otherwise, it locates the
10315	default path to the browser if found on the system.
10316	* configure.ac: Uses IT_FIND_BROWSER to find/configure browsers.
10317
103182012-06-06  Deepak Bhole <dbhole@redhat.com>
10319
10320	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
10321	(getAccessControlContextForClassLoading): Iterate over codebase URLs only
10322	if codeBaseLoader is not null.
10323
103242012-06-05  Deepak Bhole <dbhole@redhat.com>
10325
10326	PR861: Allow loading from non codebase hosts. Allow code to connect to
10327	hosting server.
10328	* netx/net/sourceforge/jnlp/SecurityDesc.java
10329	(getSandBoxPermissions): Only add host if it is not empty.
10330	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
10331	(getPermissions): Add SocketPermission for code source host.
10332	(findLoadedClassAll): Call super methods privileged so that connection to
10333	non codebase hosts can be made.
10334	(findClass): Same.
10335	(findResourcesBySearching): Same. Also use privileged context for enum
10336	operations because the enum is defined on the fly by URLClassLoader and
10337	checks for hosting server connectivity via next().
10338	(getAccessControlContextForClassLoading): New method. Returns a control
10339	context for classloader operations like find/load/etc.
10340	(CodeBaseClassLoader::findClass): Call super methods privileged so that
10341	connection to non codebase hosts can be made.
10342	(CodeBaseClassLoader::findResource): Same.
10343
103442012-06-05  Jiri Vanek  <jvanek@redhat.com>
10345
10346	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/annotations/KnownToFail.java
10347	New file. Annotation for marking failing tests.
10348	* tests/report-styles/jreport.xsl:
10349	* tests/junit-runner/LessVerboseTextListener.java:
10350	* tests/junit-runner/JunitLikeXmlOutputListener.java:  Added counting
10351	and printing of @KnownToFail annotations if presented.
10352	* tests/jnlp_tests/simple/Spaces can be everywhere/testcases/SpacesCanBeEverywhereTests.java:
10353	(SpacesCanBeEverywhereRemoteTests1) (SpacesCanBeEverywhereRemoteTests2)
10354	(SpacesCanBeEverywhereRemoteTests3)
10355	* tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java: (testTemplateCDATA)
10356	(testApplicationCDATA)
10357	* tests/netx/unit/net/sourceforge/jnlp/ParserCornerCases.java:
10358	(testCDataFirstChild) (testCDataSecondChild) (testCommentInAttributes)
10359	* tests/netx/unit/net/sourceforge/jnlp/ParserMalformedXml.java:
10360	(testMalformedArguments) (testTagNotClosed) (testUnquotedAttributes)
10361	marked as KnownToFail
10362
103632012-06-05  Jiri Vanek  <jvanek@redhat.com>
10364
10365	isDateInRange renamed to isDateInRange_internallForIcedTeaWebTesting
10366	* netx/net/sourceforge/jnlp/runtime/pac-funcs.js: and
10367	* tests/netx/pac/pac-funcs-test.js:
10368	(isDateInRange): Renamed to isDateInRange_internallForIcedTeaWebTesting.
10369	(isDateInRange_internallForIcedTeaWebTesting): New function
10370
103712012-06-04  Saad Mohammad <smohammad@redhat.com>
10372
10373	Added signed jnlp file tests.
10374	* tests/jnlp_tests/signed/SignedJnlpApplication/resources/SignedJnlpApplication1.jnlp:
10375	Launching jnlp file that matches the signed jnlp application file.
10376	* tests/jnlp_tests/signed/SignedJnlpApplication/resources/SignedJnlpApplication2.jnlp:
10377	* tests/jnlp_tests/signed/SignedJnlpApplication/resources/SignedJnlpApplication3.jnlp:
10378	Launching jnlp file that does not match the signed jnlp application file.
10379	* tests/jnlp_tests/signed/SignedJnlpApplication/srcs/JNLP-INF/APPLICATION.jnlp:
10380	Signed jnlp application file.
10381	* tests/jnlp_tests/signed/SignedJnlpApplication/srcs/SignedJnlpApplication.java:
10382	A simple java class that outputs a string.
10383	* tests/jnlp_tests/signed/SignedJnlpApplication/testcases/SignedJnlpApplicationTest.java:
10384	Testcase that tests the launching of applications with a signed jnlp
10385	application file.
10386	* tests/jnlp_tests/signed/SignedJnlpTemplate/resources/SignedJnlpTemplate1.jnlp:
10387	Launching jnlp file that matches the signed jnlp application template file.
10388	* tests/jnlp_tests/signed/SignedJnlpTemplate/resources/SignedJnlpTemplate2.jnlp:
10389	* tests/jnlp_tests/signed/SignedJnlpTemplate/resources/SignedJnlpTemplate3.jnlp:
10390	Launching jnlp file that does not match the signed jnlp application
10391	template file.
10392	* tests/jnlp_tests/signed/SignedJnlpTemplate/srcs/JNLP-INF/APPLICATION_TEMPLATE.jnlp:
10393	Signed jnlp application template file.
10394	* tests/jnlp_tests/signed/SignedJnlpTemplate/srcs/SignedJnlpTemplate.java:
10395	A simple java class that outputs a string.
10396	* tests/jnlp_tests/signed/SignedJnlpTemplate/testcases/SignedJnlpTemplateTest.java:
10397	Testcase that tests the launching of applications with a signed jnlp
10398	application template file.
10399	* tests/jnlp_tests/simple/UnsignedJnlpApplication/resources/UnsignedJnlpApplication1.jnlp:
10400	Launching jnlp file that matches the unsigned jnlp application file.
10401	* tests/jnlp_tests/simple/UnsignedJnlpApplication/resources/UnsignedJnlpApplication2.jnlp:
10402	* tests/jnlp_tests/simple/UnsignedJnlpApplication/resources/UnsignedJnlpApplication3.jnlp:
10403	Launching jnlp file that does not match the unsigned jnlp application file.
10404	* tests/jnlp_tests/simple/UnsignedJnlpApplication/srcs/JNLP-INF/APPLICATION.jnlp:
10405	Unsigned jnlp application file.
10406	* tests/jnlp_tests/simple/UnsignedJnlpApplication/srcs/UnsignedJnlpApplication.java:
10407	A simple java class that outputs a string.
10408	* tests/jnlp_tests/simple/UnsignedJnlpApplication/testcases/UnsignedJnlpApplicationTest.java:
10409	Testcase that tests the launching of applications with an unsigned jnlp
10410	application file.
10411	* tests/jnlp_tests/simple/UnsignedJnlpTemplate/resources/UnsignedJnlpTemplate1.jnlp:
10412	Launching jnlp file that matches the unsigned jnlp application
10413	template file.
10414	* tests/jnlp_tests/simple/UnsignedJnlpTemplate/resources/UnsignedJnlpTemplate2.jnlp:
10415	* tests/jnlp_tests/simple/UnsignedJnlpTemplate/resources/UnsignedJnlpTemplate3.jnlp:
10416	Launching jnlp file that does not match the unsigned jnlp application
10417	template file.
10418	* tests/jnlp_tests/simple/UnsignedJnlpTemplate/srcs/JNLP-INF/APPLICATION_TEMPLATE.jnlp:
10419	Unsigned jnlp application template file.
10420	* tests/jnlp_tests/simple/UnsignedJnlpTemplate/srcs/UnsignedJnlpTemplate.java:
10421	A simple java class that outputs a string.
10422	* tests/jnlp_tests/simple/UnsignedJnlpTemplate/testcases/UnsignedJnlpTemplateTest.java:
10423	Testcase that tests the launching of applications with an unsigned jnlp
10424	application template file.
10425	* tests/jnlp_tests/signed/SignedJnlpCaseTestOne/resources/SignedJnlpCaseTestOne1.jnlp:
10426	Launching jnlp file that matches the signed jnlp application file.
10427	* tests/jnlp_tests/signed/SignedJnlpCaseTestOne/resources/SignedJnlpCaseTestOne2.jnlp:
10428	Launching jnlp file that does not match the signed jnlp application file.
10429	* tests/jnlp_tests/signed/SignedJnlpCaseTestOne/srcs/JNLP-INF/aPpLiCaTioN.jnlp:
10430	Signed jnlp application file.
10431	* tests/jnlp_tests/signed/SignedJnlpCaseTestOne/srcs/SignedJnlpCase.java:
10432	A simple java class that outputs a string.
10433	* tests/jnlp_tests/signed/SignedJnlpCaseTestOne/testcases/SignedJnlpCaseOneTest.java:
10434	Testcase that tests the case-sensitivity of the signed jnlp application's
10435	filename.
10436	* tests/jnlp_tests/signed/SignedJnlpCaseTestTwo/resources/SignedJnlpCaseTestTwo1.jnlp:
10437	Launching jnlp file that matches the signed jnlp application template file.
10438	* tests/jnlp_tests/signed/SignedJnlpCaseTestTwo/resources/SignedJnlpCaseTestTwo2.jnlp:
10439	Launching jnlp file that does not match the signed jnlp application
10440	template file.
10441	* tests/jnlp_tests/signed/SignedJnlpCaseTestTwo/srcs/JNLP-INF/aPpLiCaTiOn_tEmPlAte.jnlp:
10442	Signed jnlp application template file.
10443	* tests/jnlp_tests/signed/SignedJnlpCaseTestTwo/srcs/SignedJnlpCase.java:
10444	A simple java class that outputs a string.
10445	* tests/jnlp_tests/signed/SignedJnlpCaseTestTwo/testcases/SignedJnlpCaseTwoTest.java:
10446	Testcase that tests the case-sensitivity of the signed jnlp application
10447	template's filename.
10448
104492012-06-04  Danesh Dadachanji  <ddadacha@redhat.com>
10450
10451	Fix to handle absolute paths passed into jnlp_href's value.
10452	* netx/net/sourceforge/jnlp/PluginBridge.java
10453	(PluginBridge): Uses context of codebase to evaluate jnlp_href's value.
10454	Uses JNLPCreator's create method to make new JNLPFile variables.
10455	New constructor that wraps around the original one, creating a new
10456	JNLPCreator to use.
10457	* netx/net/sourceforge/jnlp/JNLPCreator.java: New strategy pattern class
10458	to be used to wrap around the creation of a JNLPFile. Replace this creator
10459	when unit testing to skip running parsing code.
10460	* tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java:
10461	New class to unit test getEvaluatedJNLPHref.
10462
104632012-06-04  Adam Domurad  <adomurad@redhat.com>
10464
10465	Added self to AUTHORS.
10466	This patch fixes PR518, ensures null termination of strings based off
10467	of NPVariant results.
10468	* plugin/icedteanp/IcedTeaPluginUtils.h: Added declaration of
10469	NPVariantAsString
10470	* plugin/icedteanp/IcedTeaPluginUtils.cc
10471	(NPVariantAsString): New. Converts an NPVariant to a
10472	std::string, assumes it is a valid NPString.
10473	(isObjectJSArray): Now uses NPVariantAsString, minor cleanup.
10474	* plugin/icedteanp/IcedTeaJavaRequestProcessor.cc
10475	(plugin_get_documentbase): Now uses NPVariantAsString.
10476	* plugin/icedteanp/IcedTeaNPPlugin.cc
10477	(NPVariantToString): Now uses NPVariantAsString, minor cleanup.
10478
104792012-06-01  Deepak Bhole <dbhole@redhat.com>
10480
10481	PR863: Error passing strings to applet methods in Chromium
10482	* plugin/icedteanp/IcedTeaJavaRequestProcessor.cc
10483	(createJavaObjectFromVariant): Account for length of the characters.
10484	* plugin/icedteanp/IcedTeaNPPlugin.cc (plugin_get_documentbase): Same.
10485	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc (_eval): Print the
10486	string's c_str rather than utf8characters.
10487	* plugin/icedteanp/IcedTeaPluginUtils.cc (printNPVariant): Account for
10488	length of the characters.
10489	(NPVariantToString): Same.
10490	(isObjectJSArray): Same.
10491
104922012-05-30  Jiri Vanek  <jvanek@redhat.com>
10493
10494	Enabled multiple certificates and extracted variables
10495	* Makefile.am: EXPORTED_TEST_CERT by EXPORTED_TEST_CERT_PREFIX and
10496	EXPORTED_TEST_CERT_SUFFIX for further composition
10497	SIGNED_REPRODUCERS new variable for  iterating through signed reproducers
10498	SIMPLE_REPRODUCERS new variable for  iterating through simple reproducers
10499	ALL_REPRODUCER new variable for  iterating through all reproducers
10500	(junit-jnlp-dist-signed.txt) replaced by
10501	(stamps/junit-jnlp-dist-signed.stamp) which generates
10502	junit-jnlp-dist-signedX.txt for each directory with signed reproducers
10503	(stamps/netx-dist-tests-prepare-reproducers.stamp)
10504	(stamps/change-dots-to-paths.stamp)
10505	(stamps/netx-dist-tests-compile-testcases.stamp)
10506	(run-netx-dist-codecoverage): extracted variables
10507	(clean-netx-dist-tests): iterates through all the list and removes them
10508	(stamps/netx-dist-tests-sign-some-reproducers.stamp): now iterate through
10509	SIGNED_REPRODUCERS and creates special certificate for each member. Each
10510	jar from this directory is then signed by corresponding certificate
10511	(netx-dist-tests-remove-cert-from-public): iterates through all certificates
10512	(stamps/netx-dist-tests-import-cert-to-public): exports each certificate
10513	created during tests preparations
10514	($(EXPORTED_TEST_CERT)) replaced by stamps/exported-test-certs.stamp which
10515	create for each of SIGNED_REPRODUCERS individual certificate
10516	(tests/jnlp_tests/README): mentioned possibility of multiple certificate
10517
105182012-05-29  Jiri Vanek  <jvanek@redhat.com>
10519
10520	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (getPermissions):
10521	New rethrow of exceptions and following condition make more accurate.
10522
105232012-05-29  Jiri Vanek  <jvanek@redhat.com>
10524
10525	Get rid of repeated sout/serr  in reproducers testcases/unit tests and
10526	introduce bottleneck for loging.
10527	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
10528	(PROCESS_LOG) static flag for enabling/disabling automatic logging of
10529	statically executed processes.
10530	(logErrorReprint) (logOutputReprint) (logNoReprint) new methods, to call
10531	logging bottleneck.
10532	(log) main logging bottleneck, reprint message to according stream with
10533	calling test-class and test-method as suffix.
10534	(getTestMethod) new method to analyze calling test-method.
10535	(executeProcess) enhanced for conditional automatic logging of start of
10536	process and outputs of process.
10537	* tests/jnlp_tests/signed/AppletTestSigned/testcases/AppletTestSignedTests.java:
10538	* tests/jnlp_tests/signed/CacheReproducer/testcases/CacheReproducerTest.java:
10539	* tests/jnlp_tests/signed/MissingJar/testcases/MissingJarTest.java:
10540	* tests/jnlp_tests/signed/ReadPropertiesSigned/testcases/ReadPropertiesSignedTest.java:
10541	* tests/jnlp_tests/signed/Spaces can be everywhere signed/testcases/SpacesCanBeEverywhereTestsSigned.java:
10542	* tests/jnlp_tests/simple/AccessClassInPackage/testcases/AccessClassInPackageTest.java:
10543	* tests/jnlp_tests/simple/AddShutdownHook/testcases/AddShutdownHookTest.java:
10544	* tests/jnlp_tests/simple/AllStackTraces/testcases/AllStackTracesTest.java:
10545	* tests/jnlp_tests/simple/AppletTest/testcases/AppletTestTests.java:
10546	* tests/jnlp_tests/simple/CheckServices/testcases/CheckServicesTests.java:
10547	* tests/jnlp_tests/simple/CreateClassLoader/testcases/CreateClassLoaderTest.java:
10548	* tests/jnlp_tests/simple/InformationTitleVendorParser/testcases/InformationTitleVendorParserTest.java:
10549	* tests/jnlp_tests/simple/ManifestedJar1/testcases/ManifestedJar1Test.java:
10550	* tests/jnlp_tests/simple/ReadEnvironment/testcases/ReadEnvironmentTest.java:
10551	* tests/jnlp_tests/simple/ReadProperties/testcases/ReadPropertiesTest.java:
10552	* tests/jnlp_tests/simple/RedirectStreams/testcases/RedirectStreamsTest.java:
10553	* tests/jnlp_tests/simple/ReplaceSecurityManager/testcases/ReplaceSecurityManagerTest.java:
10554	* tests/jnlp_tests/simple/SetContextClassLoader/testcases/SetContextClassLoaderTest.java:
10555	* tests/jnlp_tests/simple/Spaces can be everywhere/testcases/SpacesCanBeEverywhereTests.java:
10556	* tests/jnlp_tests/simple/deadlocktest/testcases/DeadLockTestTest.java:
10557	* tests/jnlp_tests/simple/simpletest1/testcases/SimpleTest1Test.java:
10558	* tests/jnlp_tests/simple/simpletest2/testcases/SimpleTest2Test.java:
10559	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java:
10560	* tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java:
10561	* tests/netx/unit/net/sourceforge/jnlp/util/replacements/BASE64EncoderTest.java:
10562	all System.out replaced by ServerAccess.logOutputReprint
10563	and System.err replaced by ServerAccess.logErrorReprint
10564
105652012-05-25  Adam Domurad <adomurad@redhat.com>
10566
10567	Changed for-loops over iterators and indices to for-each loops if they
10568	were sufficient and clearer.
10569	* netx/net/sourceforge/jnlp/JNLPFile.java: Changed for-loops that could
10570	be expressed more clearly as for-each loops.
10571	* netx/net/sourceforge/jnlp/PluginBridge.java: Same
10572	* netx/net/sourceforge/jnlp/ResourcesDesc.java: Same
10573	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: Same
10574	* netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java: Same
10575	* netx/net/sourceforge/jnlp/cache/Resource.java: Same
10576	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java: Same
10577	* netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java: Same
10578	* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java: Same
10579	* plugin/icedteanp/java/netscape/javascript/JSObject.java: Same
10580	* plugin/icedteanp/java/sun/applet/JavaConsole.java: Same
10581	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: Same
10582
105832012-05-23  Adam Domurad  <adomurad@redhat.com>
10584	Removed instances of snprintf where buffer size was not known. Added
10585	buffer size constant for allocating buffers for numeric conversions.
10586	* plugin/icedteanp/IcedTeaNPPlugin.cc: Removed usage of snprintf for
10587	simple blanking of strings. Buffer size was misguided previously.
10588	Used NUM_STR_BUFFER_SIZE constant to replace magic numbers/
10589	* plugin/icedteanp/IcedTeaPluginUtils.cc: Made
10590	NPVariantToString(NPVariant variant, std::string* result) use two
10591	space indentation. Used NUM_STR_BUFFER_SIZE constant to replace magic
10592	numbers.
10593	* plugin/icedteanp/IcedTeaPluginUtils.h: Added constant,
10594	NUM_STR_BUFFER_SIZE.
10595
105962012-05-24  Danesh Dadachanji <ddadacha@redhat.com>
10597
10598	Fix use of src dir instead of build dir when whitelisting.
10599	* Makefile.am (REPRODUCERS_CLASS_WHITELIST): Use abs_top_srcdir
10600	instead of abs_top_builddir.
10601
106022012-05-23  Martin Olsson <martin@minimum.se>
10603
10604	* plugin/icedteanp/IcedTeaPluginUtils.cc:
10605	Tiny fixup for changeset 383; don't do free(stack_variable).
10606
106072012-05-20  Jiri Vanek  <jvanek@redhat.com>
10608
10609	Reproducers engine enhanced for jars in subdirectories by "." naming convention
10610	* Makefile.am: (stamps/change-dots-to-paths.stamp) new target to copy jars
10611	with dots (.jar omitted) to the java-like package/directory structure in
10612	jnlp_test_server
10613	(EXPORTED_TEST_CERT) now depends on  stamps/change-dots-to-paths.stamp
10614	(clean-netx-dist-tests) removes stamps/change-dots-to-paths.stamp too.
10615
106162012-05-24  Jiri Vanek  <jvanek@redhat.com>
10617
10618	Introduced whitelist for reproducers
10619	* netx-dist-tests-whitelist: new file, contains regular expressions
10620	(separated by space) for expr to select testcases which only will be
10621	run. By default set to all by expression .*
10622	* Makefile.am: (REPRODUCERS_CLASS_NAMES) When class with testcases is
10623	going to be included in list, it is at first check for match in whitelist.
10624	If there is no match, will not be included.
10625
106262012-05-24  Martin Olsson <martin@minimum.se>
10627
10628	* plugin/icedteanp/IcedTeaPluginUtils.cc:
10629	Fix two typos.
10630
106312012-05-23  Deepak Bhole <dbhole@redhat.com>
10632
10633	* AUTHORS: Added Martin Olsson to list.
10634
106352012-05-23  Martin Olsson  <martin@minimum.se>
10636
10637	* plugin/icedteanp/IcedTeaNPPlugin.cc:
10638	Use g_mutex_free instead of g_free to free appletviewer_mutex (fixes
10639	crash).
10640
106412012-05-23  Deepak Bhole <dbhole@redhat.com>
10642
10643	* ChangeLog: Converted spaces to tabs in an older entry
10644
106452012-05-23  Jiri Vanek  <jvanek@redhat.com>
10646
10647	* netx/net/sourceforge/jnlp/resources/Messages.properties: fixed error
10648	in PBadNonrelativeUrl
10649
106502012-05-23 Jiri Vanek  <jvanek@redhat.com>
10651
10652	Added more debugging outputs
10653	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
10654	(getCodeSourceSecurity): added output message when no SecurityDesc is found
10655	for some url/resource
10656	* netx/net/sourceforge/jnlp/resources/Messages.properties: added LNoSecInstance
10657	and LCertFoundIn values
10658	* netx/net/sourceforge/jnlp/security/KeyStores.java: (getPathToKeystore):
10659	new method, able to search for file used for creating of KeyStore if possible
10660	* netx/net/sourceforge/jnlp/security/CertificateUtils.java: (inKeyStores)
10661	using getPathToKeystore for debug output
10662
106632012-05-23  Jiri Vanek  <jvanek@redhat.com>
10664
10665	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (getPermissions):
10666	Any exception from this method is consumed somewhere. I have cough exception,
10667	reprint it in debug mode and re-throw (to be lost). Main condition in this
10668	method had several possible NullPointer exceptions. Separated and thrown before
10669	this condition.
10670
106712012-05-23  Jiri Vanek  <jvanek@redhat.com>
10672
10673	Enhanced about dialog
10674	* extra/net/sourceforge/javaws/about/Main.java: Main frame and Main tab
10675	renamed from "About NetX" to "About IcedTea-Web and NetX".
10676	* extra/net/sourceforge/javaws/about/resources/about.html: mentioned
10677	IcedTea-Web.
10678	* extra/net/sourceforge/javaws/about/resources/notes.html: List of authors
10679	synchronized with AUTHORS, mentioned classpath's IcedTea-Web as homepage
10680	of IcedTea-web.
10681
106822012-05-23  Jiri Vanek  <jvanek@redhat.com>
10683
10684	Fixed error in reproducers source preparation
10685	* Makefile.am: (stamps/netx-dist-tests-prepare-reproducers.stamp) removed
10686	inappropriately used quotes when copying notSrcFiles. Source files now
10687	copied only if src dir exists in reproducer
10688
106892012-05-22  Adam Domurad  <adomurad@redhat.com>
10690
10691	Changed allocation of small, fixed-size buffers to stack-based
10692	allocations. Changed occurences of sprintf to the safer function
10693	snprintf, added buffer information. While unlikely to change
10694	functionality, snprintf adds an extra check to prevent buffer
10695	overflows.
10696	* plugin/icedteanp/IcedTeaNPPlugin.cc: Allocation of small buffers
10697	using malloc changed to stack allocation & changed sprintf calls to
10698	buffer-size aware snprintf calls.
10699	* plugin/icedteanp/IcedTeaPluginUtils.cc: Same as above.
10700
107012012-05-22  Jiri Vanek  <jvanek@redhat.com>
10702
10703	* tests/jnlp_tests/signed/ReadPropertiesSigned/testcases/ReadPropertiesSignedTest.java:
10704	* tests/jnlp_tests/simple/AddShutdownHook/testcases/AddShutdownHookTest.java:
10705	* tests/jnlp_tests/simple/AllStackTraces/testcases/AllStackTracesTest.java:
10706	* tests/jnlp_tests/simple/CreateClassLoader/testcases/CreateClassLoaderTest.java:
10707	* tests/jnlp_tests/simple/ReadEnvironment/testcases/ReadEnvironmentTest.java:
10708	* tests/jnlp_tests/simple/ReadProperties/testcases/ReadPropertiesTest.java:
10709	* tests/jnlp_tests/simple/RedirectStreams/testcases/RedirectStreamsTest.java:
10710	* tests/jnlp_tests/simple/ReplaceSecurityManager/testcases/ReplaceSecurityManagerTest.java:
10711	* tests/jnlp_tests/simple/SetContextClassLoader/testcases/SetContextClassLoaderTest.java:
10712	All exact matches upon AccessControlException replaced by regular expression matching both jdk7 and jdk6 syntax
10713
107142012-05-21  Jiri Vanek  <jvanek@redhat.com>
10715
10716	* Makefile.am: mzilla-filesystem linking targets now counts also with
10717	midori and epiphany. Extracted duplicated entries to variables
10718	* configure.ac: added  check for midori and epiphany
10719
107202012-05-21  Jiri Vanek  <jvanek@redhat.com>
10721
10722	Added detection of installed browsers and added targets to create
10723	symbolic links from install dir to browsers' plugin directories.
10724	Primarily for testing purposes
10725	* Makefile.am: (stamps/user-links.stamp) with alias (links) - new target for
10726	creating symlinks for all users. One must be root to execute this target.
10727	(stamps/global-links.stamp) with alias (user-links) - new target
10728	for creating symlinks for logged user only. Because opera is missing this feature,
10729	quite useless for testing or dependence targets, but good for live user.
10730	(restore-global-links): target for restoring original global links.
10731	One must be root again
10732	(restore-user-links): target for restoring user's links
10733	* configure.ac: added basic check whether and which browsers are
10734	installed
10735
107362012-05-18  Jiri Vanek  <jvanek@redhat.com>
10737
10738	Fixed behavior when encoded/characters needed encoding included in url
10739	* NEWS: mentioned PR811
10740	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: (urlEquals) Enhanced
10741	to be able compare encoded/decoded urls correctly.
10742	(notNullUrlEquals) new method to separate comparing of individual parts of
10743	url from null checks
10744	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java: (addResource)
10745	is now encoding url if needed. (normalizeUrl) new method to encode path in
10746	url of all except file protocol. (normalizeChunk) New method for encoding
10747	of atomic piece.
10748
107492012-05-18  Jiri Vanek  <jvanek@redhat.com>
10750
10751	More tests for Spaces and characters in urls
10752	* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java: and
10753	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: for unit-tests
10754	purposes (cacheDir) make to point to tmp dir when no
10755	DeploymentConfiguration	exists.
10756	* tests/jnlp_tests/signed/Spaces can be everywhere signed/:
10757	couple of new test doing the same as simple "Spaces can be everywhere"
10758	but are signed
10759	* tests/jnlp_tests/simple/Spaces can be everywhere/: added new test-cases
10760	and html/jnlp test files to try more combinations of encodable characters
10761	x launches
10762	* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceTrackerTest.java:
10763	unittest for url encoder behavior
10764	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheUtilTest.java:
10765	unittest for urlEquals function
10766
107672012-05-17  Adam Domurad  <adomurad@redhat.com>
10768
10769	Fixed uses of == to compare String objects to .equals where
10770	appropriate.
10771	Noted a non-obvious use of == to compare a 'magic' String reference.
10772	* netx/net/sourceforge/jnlp/JNLPFile.java:
10773	Changed calls that compare String contents from == to .equals
10774	* plugin/icedteanp/java/sun/applet/GetMemberPluginCallRequest.java:
10775	Same
10776	* plugin/icedteanp/java/sun/applet/PluginCallRequestFactory.java:
10777	Same
10778	* netx/net/sourceforge/jnlp/Version.java: Added comment explaining why
10779	== was used vs .equals
10780
107812012-05-14  Jiri Vanek  <jvanek@redhat.com>
10782
10783	* tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java:
10784	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java:
10785	System.out replaced with System.err
10786
107872012-05-14  Jiri Vanek  <jvanek@redhat.com>
10788
10789	* tests/junit-runner/JunitLikeXmlOutputListener.java: fixed indentation
10790	and spacing
10791
107922012-05-11  Thomas Meyer  <thomas@m3y3r.de>
10793
10794	* tests/netx/unit/net/sourceforge/jnlp/util/PropertiesFileTest.java: Add
10795	some unit tests for the PropertiesFile class
10796	* tests/netx/unit/net/sourceforge/jnlp/cache/CacheLRUWrapperTest.java: Add
10797	some unit tests for the CacheLRUWrapper class
10798	* netx/net/sourceforge/jnlp/util/PropertiesFile.java: Use last
10799	modification timestamp of the underlying file to lazy load properties.
10800	(load): Only reload file, if the file modification timestamp has changed.
10801	(store): Actually fsync() the file to disk.
10802	* netx/net/sourceforge/jnlp/services/XPersistenceService.java (create):
10803	Fix coding style
10804	* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java (load): Only check
10805	data when the recently_used file was reloaded.
10806
108072012-05-02  Jiri Vanek  <jvanek@redhat.com>
10808
10809	Introduced new annotations Bug (to connect test/reproducer with documentation)
10810	and NeedsDisplay which tells the launching engine that this particular
10811	test needs Display. Based on ptisnovs's ideas and jtreg experiences
10812	* Makefile.am: (JUNIT_RUNNER_JAR), (stamps/run-netx-unit-tests.stamp) and
10813	(stamps/run-unit-test-code-coverage.stamp) are now dependent on (stamps/netx-dist-tests-compile)
10814	 and classpaths inside them have been enriched for JNLP_TESTS_ENGINE_DIR
10815	which contains definitions of those annotations
10816	* tests/jnlp_tests/simple/CheckServices/testcases/CheckServicesTests.java: and
10817	* tests/jnlp_tests/simple/ManifestedJar1/testcases/ManifestedJar1Test.java: and
10818	* tests/jnlp_tests/simple/Spaces can be everywhere/testcase/SpacesCanBeEverywhereTests.java:
10819	 filled Bug annotations
10820	* tests/junit-runner/JunitLikeXmlOutputListener.java: made to understand
10821	Bug annotation
10822	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/annotations/NeedsDisplay.java:
10823	and
10824	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/annotations/Bug.java:
10825	annotations definitions
10826	* tests/report-styles/jreport.xsl: made nice links from bug annotation
10827	prepared by JunitLikeXmlOutputListener
10828
108292012-04-24  Omair Majid  <omajid@redhat.com>
10830
10831	* Makefile.am
10832	(RUNTIME): Add resources.jar.
10833	(stamps/run-unit-test-code-coverage.stamp) [WITH_EMMA]: Add resouces.jar
10834	to classpath.
10835	(stamps/run-reproducers-test-code-coverage.stamp) [WITH_EMMA]: Include
10836	resources.jar in classpath.
10837	(stamps/bootstrap-directory.stamp): Create a link to resources.jar in
10838	BOOT_DIR.
10839
108402012-04-19  Omair Majid  <omajid@redhat.com>
10841
10842	PR918: java applet windows uses a low resulution black/white icon
10843	* NEWS: Update with fix.
10844	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Remove windowIcon.
10845	(initialize): Do not call loadWindowIcon.
10846	(getWindowIcon): Remove.
10847	(setWindowIcon): Remove.
10848	(loadWindowIcon): Remove.
10849	* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
10850	(checkTopLevelWindow): Do not set the icon for all top level windows. Use
10851	the default java icon instead.
10852	* netx/net/sourceforge/jnlp/util/ImageResources.java: New file. Provides
10853	access to icons.
10854	* netx/net/sourceforge/jnlp/JNLPSplashScreen.java (JNLPSplashScreen),
10855	* netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java
10856	(getListener),
10857	* netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java
10858	(AdvancedProxySettingsDialog),
10859	* netx/net/sourceforge/jnlp/controlpanel/CacheViewer.java (CacheViewer),
10860	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java (ControlPanel),
10861	* netx/net/sourceforge/jnlp/security/SecurityDialog.java (SecurityDialog),
10862	* netx/net/sourceforge/jnlp/security/viewer/CertificateViewer.java
10863	(CertificateViewer),
10864	* netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java (show),
10865	* plugin/icedteanp/java/sun/applet/JavaConsole.java (initialize):
10866	Explicitly load icons.
10867	* tests/netx/unit/net/sourceforge/jnlp/util/ImageResourcesTest.java: Test
10868	for ImageResources class.
10869
108702012-04-18  Jiri Vanek  <jvanek@redhat.com>
10871
10872	Allowed signed applets in automatic reproducers tests
10873	* tests/jnlp_tests/signed/AppletTestSigned/resources/AppletTestSigned.html:
10874	html file for launching signed applet. Its style is different from the one for
10875	calling unsigned applets - red.
10876	* tests/jnlp_tests/signed/AppletTestSigned/resources/AppletTestSigned.jnlp:
10877	jnlp file for launched signed applet
10878	* tests/jnlp_tests/signed/AppletTestSigned/srcs/AppletTestSigned.java
10879	body of signed applet
10880	* tests/jnlp_tests/signed/AppletTestSigned/testcases/AppletTestSignedTests.java:
10881	(AppletTestSignedTest): testing method to launch signed applet in javaws
10882	(AppletTestSignedFirefoxTest): testing method to launch signed applet in
10883	browser
10884	* Makefile.am: PUBLIC_KEYSTORE_PASS, EXPORTED_TEST_CERT, TEST_CERT_ALIAS,
10885	PUBLIC_KEYSTORE PUBLIC_KEYSTORE_PASS: new global variables holding
10886	keystores' credentials
10887	(clean-local): clean-bootstrap-directory moved to be last one, as keytool
10888	is necessary for removing certificate
10889	(EXPORTED_TEST_CERT): new target exporting certificate from testing keystore
10890	(stamps/netx-dist-tests-import-cert-to-public): new target to import
10891	certificate to PUBLIC_KEYSTORE
10892	(netx-dist-tests-remove-cert-from-public): new target removing testing
10893	certificate from PUBLIC_KEYSTORE
10894	(clean-netx-dist-tests): now depends on netx-dist-tests-remove-cert-from-public
10895	and is removing EXPORTED_TEST_CERT file
10896
108972012-04-17  Jiri Vanek <jvanek@redhat.com>
10898
10899	Rewritten DeadLockTestTest to stop failing in more then 1/2 of cases
10900	All assassinated processes were hanging as zombies, killed forcibly by
10901	kill -9 now.
10902	* /tests/jnlp_tests/simple/deadlocktest/testcases/DeadLockTestTest.java:
10903	(countJavaInstances) now return pids of found javas.
10904	(killDiff) new method killing zombie javas forcibly.
10905
109062012-04-11  Jiri Vanek  <jvanek@redhat.com>
10907
10908	* Makefile.am: EMMA_JAVA_ARGS, new variable for adjusting emma runs.
10909	Currently set to -Xmx2G.
10910	(stamps/run-unit-test-code-coverage.stamp),
10911	(stamps/run-reproducers-test-code-coverage.stamp),
10912	(run-test-code-coverage): Use EMMA_JAVA_ARGS in theirs emma runs.
10913
109142012-06-04  Jiri Vanek <jvanek@redhat.com>
10915            Thomas Meyer <thomas@m3y3r.de>
10916
10917	* makefile.am: (stamps/run-netx-dist-tests.stamp) and
10918	               (run-reproducers-test-code-coverage.stamp)
10919	now using $(javaws) variable instead of plaintext javaws
10920	* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java: (checkData) new
10921	method checking for sanity of cache entries
10922	(load) now checks for data sanity after loading, and stores without
10923	corrupted items if necessary
10924	(Comparator.compare) for sorting lru items. Now redundant checking for
10925	sanity removed
10926	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: (getCacheFile) don't
10927	call lruHandler.store twice for new cache entries
10928	(getCacheFileIfExist) removed iteration and cleaning mechanism
10929	* netx/net/sourceforge/jnlp/resources/Messages.properties: modified
10930	cache messages
10931	* tests/jnlp_tests/signed/CacheReproducer/testcases/CacheReproducerTest.java
10932	Added test for checking corrupted path in entry and all tests adapted for
10933	exception thrown only in debug mode
10934
109352012-04-04  Danesh Dadachanji <ddadacha@redhat.com>
10936
10937	Change the name of JarSigner to JarCertVerifier to make it more
10938	relevant to the purpose of the file.
10939	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
10940	* netx/net/sourceforge/jnlp/tools/KeyStoreUtil.java:
10941	Replace all instances, paramaters and references of JarSigner
10942	by JarCertVerifier.
10943	* netx/net/sourceforge/jnlp/security/CertWarningPane.java
10944	* netx/net/sourceforge/jnlp/security/CertsInfoPane.java
10945	* netx/net/sourceforge/jnlp/security/MoreInfoPane.java
10946	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java:
10947	Replaced all paramaters, references and variable names of JarSigner
10948	to CertVerifier to match the variable object type.
10949	* netx/net/sourceforge/jnlp/security/SecurityDialog.java (getJarSigner):
10950	Renamed to getCertVerifier as it returns the certVerfier instance.
10951	* netx/net/sourceforge/jnlp/tools/JarSigner.java:
10952	Renamed to JarCertVerifier.
10953	* netx/net/sourceforge/jnlp/tools/JarCertVerifier.java:
10954	The rename of JarSigner.
10955
109562012-04-05  Jiri Vanek <jvanek@redhat.com>
10957
10958	Fixing issue when process was not launched at all and when was killed but
10959	left behind living/hanging, fixing mime-types
10960	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
10961	(getContentOfStream) this method overloaded with possibility to specify
10962	encoding (I needed to set it to ASCII in one test)
10963	(deadlyException) field introduced in ThreadedProcess to record exception
10964	caused by impassibility of launching the process. And so process have
10965	been null without any sign why.
10966	(TinyHttpdImpl) now correctly returns known mime types
10967	(ProcessAssasin) can now skip or smoothly (and finally correctly)
10968	destroy its process, and all his logging messages were done null-proof
10969	(as deadlyException now allows)
10970	Asynchronous (ContentReader) have been silenced when complaining about
10971	closed streams by Assassin.
10972
109732012-04-03  Danesh Dadachanji  <ddadacha@redhat.com>
10974
10975	Change all vendors in JNLP test suite to IcedTea and homepage href's to
10976	a link to IcedTea-Web's wiki page.
10977	* tests/jnlp_tests/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedJAVAXJNLP.jnlp
10978	* tests/jnlp_tests/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedNETSF.jnlp
10979	* tests/jnlp_tests/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedSELF.jnlp
10980	* tests/jnlp_tests/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedSUNSEC.jnlp
10981	* tests/jnlp_tests/signed/CacheReproducer/resources/CacheReproducer1.jnlp
10982	* tests/jnlp_tests/signed/CacheReproducer/resources/CacheReproducer1_1.jnlp
10983	* tests/jnlp_tests/signed/CacheReproducer/resources/CacheReproducer2.jnlp
10984	* tests/jnlp_tests/signed/CacheReproducer/resources/CacheReproducer2_1.jnlp
10985	* tests/jnlp_tests/signed/MissingJar/resources/MissingJar.jnlp
10986	* tests/jnlp_tests/signed/MissingJar/resources/MissingJar2.jnlp
10987	* tests/jnlp_tests/signed/MissingJar/resources/MissingJar3.jnlp
10988	* tests/jnlp_tests/signed/MissingJar/resources/MissingJar4.jnlp
10989	* tests/jnlp_tests/signed/ReadPropertiesBySignedHack/resources/ReadPropertiesBySignedHack.jnlp
10990	* tests/jnlp_tests/signed/ReadPropertiesSigned/resources/ReadPropertiesSigned1.jnlp
10991	* tests/jnlp_tests/signed/ReadPropertiesSigned/resources/ReadPropertiesSigned2.jnlp
10992	* tests/jnlp_tests/signed/SimpletestSigned1/resources/SimpletestSigned1.jnlp
10993	* tests/jnlp_tests/simple/AccessClassInPackage/resources/AccessClassInPackageJAVAXJNLP.jnlp
10994	* tests/jnlp_tests/simple/AccessClassInPackage/resources/AccessClassInPackageNETSF.jnlp
10995	* tests/jnlp_tests/simple/AccessClassInPackage/resources/AccessClassInPackageSELF.jnlp
10996	* tests/jnlp_tests/simple/AccessClassInPackage/resources/AccessClassInPackageSUNSEC.jnlp
10997	* tests/jnlp_tests/simple/AddShutdownHook/resources/AddShutdownHook.jnlp
10998	* tests/jnlp_tests/simple/AllStackTraces/resources/AllStackTraces.jnlp
10999	* tests/jnlp_tests/simple/AppletTest/resources/AppletTest.jnlp
11000	* tests/jnlp_tests/simple/CheckServices/resources/CheckServices.jnlp
11001	* tests/jnlp_tests/simple/CreateClassLoader/resources/CreateClassLoader.jnlp
11002	* tests/jnlp_tests/simple/InformationTitleVendorParser/resources/TitleParser.jnlp
11003	* tests/jnlp_tests/simple/InformationTitleVendorParser/resources/TitleVendorParser.jnlp
11004	* tests/jnlp_tests/simple/InformationTitleVendorParser/resources/VendorParser.jnlp
11005	* tests/jnlp_tests/simple/ManifestedJar1/resources/ManifestedJar-1main2mainAppDesc.jnlp
11006	* tests/jnlp_tests/simple/ManifestedJar1/resources/ManifestedJar-1main2mainNoAppDesc.jnlp
11007	* tests/jnlp_tests/simple/ManifestedJar1/resources/ManifestedJar-1main2nothingNoAppDesc.jnlp
11008	* tests/jnlp_tests/simple/ManifestedJar1/resources/ManifestedJar-1mainHaveAppDesc.jnlp
11009	* tests/jnlp_tests/simple/ManifestedJar1/resources/ManifestedJar-1mainNoAppDesc.jnlp
11010	* tests/jnlp_tests/simple/ManifestedJar1/resources/ManifestedJar-1noAppDesc.jnlp
11011	* tests/jnlp_tests/simple/ManifestedJar1/resources/ManifestedJar-1noAppDescAtAll.jnlp
11012	* tests/jnlp_tests/simple/ManifestedJar1/resources/ManifestedJar-1nothing2nothingAppDesc.jnlp
11013	* tests/jnlp_tests/simple/ManifestedJar1/resources/ManifestedJar-1nothing2nothingNoAppDesc.jnlp
11014	* tests/jnlp_tests/simple/ReadEnvironment/resources/ReadEnvironment.jnlp
11015	* tests/jnlp_tests/simple/ReadProperties/resources/ReadProperties1.jnlp
11016	* tests/jnlp_tests/simple/ReadProperties/resources/ReadProperties2.jnlp
11017	* tests/jnlp_tests/simple/RedirectStreams/resources/RedirectStreams.jnlp
11018	* tests/jnlp_tests/simple/ReplaceSecurityManager/resources/ReplaceSecurityManager.jnlp
11019	* tests/jnlp_tests/simple/SetContextClassLoader/resources/SetContextClassLoader.jnlp
11020	* tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere1.jnlp
11021	* tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere2.jnlp
11022	* tests/jnlp_tests/simple/Spaces can be everywhere/resources/SpacesCanBeEverywhere1.jnlp
11023	* tests/jnlp_tests/simple/deadlocktest/resources/deadlocktest.jnlp
11024	* tests/jnlp_tests/simple/deadlocktest/resources/deadlocktest_1.jnlp
11025	* tests/jnlp_tests/simple/simpletest1/resources/simpletest1.jnlp
11026	* tests/jnlp_tests/simple/simpletest1/resources/simpletestCustomSplash.jnlp
11027	* tests/jnlp_tests/simple/simpletest1/resources/simpletestMegaSlow.jnlp
11028	* tests/jnlp_tests/simple/simpletest1/resources/simpletestSlow.jnlp
11029	* tests/jnlp_tests/simple/simpletest1/resources/simpletestSlowBrokenCustomSplash.jnlp
11030	* tests/jnlp_tests/simple/simpletest1/resources/simpletestSlowSlowCustomSplash.jnlp
11031	* tests/jnlp_tests/simple/simpletest2/resources/simpletest2.jnlp:
11032	Replaced the specified vendor with IcedTea and homepage with a link to
11033	IcedTea-Web's wiki.
11034
110352012-04-03  Omair Majid  <omajid@redhat.com>
11036
11037	* netx/net/sourceforge/jnlp/runtime/pac-funcs.js: Replace incorrect use of
11038	getYear() with getFullYear().
11039	(inYearMonthDateRange): Add missing conditional case.
11040	* tests/netx/pac/pac-funcs-test.js
11041	(runTest): New function.
11042	(runTests): Call runTest.
11043	(incDate): Deal with month/year wrapping around.
11044	(decDate): Removed.
11045	(testDateRange, testDateRange2, testDateRange3): Handle wrapping of month
11046	and days.
11047
110482012-04-03  Jiri Vanek <jvanek@redhat.com>
11049
11050	Tests virtual server thread marked as daemon by default
11051	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
11052	All (ServerLauncher) instances returned by methods were marked as daemon
11053	by default. Possibility to change and api were kept.
11054
110552012-03-30  Danesh Dadachanji  <ddadacha@redhat.com>
11056
11057	Certificate start dates are not being checked, they are still verified
11058	even if the date has yet not been reached.
11059	* netx/net/sourceforge/jnlp/tools/JarSigner.java (verifyJar): If the start
11060	date is in the future, set notYetValidCert to true.
11061
110622012-03-21  Omair Majid  <omajid@redhat.com>
11063
11064	* tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java
11065	(testIsMatchDoesNotHangOnLargeData): New method.
11066
110672012-03-21  Lars Herschke  <lhersch@dssgmbh.de>
11068
11069	PR898: signed applications with big jnlp-file doesn't start
11070	* netx/net/sourceforge/jnlp/JNLPMatcher.java (JNLPMatcher): Handle large
11071	files correctly.
11072
110732012-03-19  Danesh Dadachanji  <ddadacha@redhat.com>
11074
11075	Fix failing unit test missing title/vendor tags in the JNLP stream.
11076	* tests/netx/unit/net/sourceforge/jnlp/ParserCornerCases.java
11077	(testNestedComments): Added title and vendor tags to malformedJnlp.
11078
110792012-03-19  Jiri Vanek <jvanek@redhat.com>
11080	* tests/jnlp_tests/signed/CacheReproducer/testcases/CacheReproducerTest.java:
11081	 as javaws have now integrated splash, I have changed this test to lunch
11082	 javaws -Xclearcache with -headless to skip this logo (although it is
11083	not fatal fr testrun itself)
11084	* tests/jnlp_tests/simple/AppletTest/resources/appletAutoTests.html:
11085	 this html file is lunched during tests run in browser and stdout of
11086	 lunched applet is examined. Is lunched with slow resources to test
11087	 spalshscreen
11088	* tests/jnlp_tests/simple/AppletTest/resources/appletViewTest.html: this
11089	test html file is dedicated to manual lunch and let user to look how the
11090	 applet (with slow loading) is 	loaded and how looks splashscreen in
11091	 small mode and in large mode
11092	* tests/jnlp_tests/simple/AppletTest/testcases/AppletTestTests.java:
11093	 test is enriched for lunching the html file with applet in browser and
11094	 is examining output of this file. Browser must be always terminated as
11095	 there is no way how to close from inside
11096	* tests/jnlp_tests/simple/simpletest1/resources/netxPlugin.png:
11097	 image to let user observe that user-defined splashscreen is still
11098	 working even when internal splashscreen is enabled
11099	* tests/jnlp_tests/simple/simpletest1/resources/simpletestCustomSplash.jnlp:
11100	 this and all jnlp files below are just for manual lunching and for
11101	 watching various lunches of splash screen - slow loading of resources
11102	 and with custom splash
11103	* tests/jnlp_tests/simple/simpletest1/resources/simpletestMegaSlow.jnlp:
11104	slow loading of resource and (XslowX)jnlp also
11105	* tests/jnlp_tests/simple/simpletest1/resources/simpletestSlow.jnlp:
11106	 slow loading of resource
11107	* tests/jnlp_tests/simple/simpletest1/resources/simpletestSlowBrokenCustomSplash.jnlp:
11108	 slow loading of resource with broken user's splash (our internal will be used)
11109	* tests/jnlp_tests/simple/simpletest1/resources/simpletestSlowSlowCustomSplash.jnlp:
11110	 slow loading of custom splash screen and resource
11111	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
11112	 Main server launcher was modified to support lunching of browser,
11113	 stdout listteners and for slowing download of resources to provide time
11114	 for watching splash screen (main) was rewritten to provide free port OR
11115	 run server in-D specified directory on custom or default port - very
11116	 useful for debuging reproducers
11117	 (getIndependentInstance) can now run also on specified port and (or) directory
11118	 (USED_BROWSER_COMMAND) new constant handling value of -D property to
11119	set browser = "used.browser.command";
11120	 (getBrowserLocation) new method  to provide specified
11121	(by used.browser.command -D property) or default browser location (firefox)
11122	 (ensureServer) test is testing weather XslowXmodifier is working
11123	 (executeBrowser) set of overloaded functions to lunch browser
11124	 (TinyHttpdImpl) was enriched for XslowX modifier. When resource starts
11125	 with this, is returned slowly - splited to 10 parts with 1s delay
11126	 betwen sending each of them.
11127	 Although it is throwing BrokenPipe exception, is working fine.
11128	 (splitArray) new function to split array of byte to n arrays of bytes,
11129	 which when concated do the same array
11130	 (splitArrayTestN) set of tests for splitArray
11131	 (ContentReader) now can also have lsteners for catching outputs n runtime.
11132	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ContentReaderListener.java:
11133	Listener for catching chars and lines form processes outputs
11134	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java:
11135	added (testListeners) to test listeners behaviour
11136
111372012-03-16  Danesh Dadachanji  <ddadacha@redhat.com>
11138
11139	Applications using JNLP files without a title or vendor section
11140	still run, despite them being required elements.
11141	* netx/net/sourceforge/jnlp/Parser.java:
11142	(getInformationDesc): If title or vendor are not found in info,
11143	a new ParseException is thrown.
11144	* netx/net/sourceforge/jnlp/resources/Messages.properties:
11145	Added PNoTitleElement and PNoVendorElement
11146	* tests/jnlp_tests/simple/InformationTitleVendorParser/resources/InformationParser.jnlp,
11147	* tests/jnlp_tests/simple/InformationTitleVendorParser/resources/TitleParser.jnlp,
11148	* tests/jnlp_tests/simple/InformationTitleVendorParser/resources/TitleVendorParser.jnlp,
11149	* tests/jnlp_tests/simple/InformationTitleVendorParser/resources/VendorParser.jnlp,
11150	* tests/jnlp_tests/simple/InformationTitleVendorParser/testcases/TitleVendorParserTest.java:
11151	New test that runs JNLPs in a combination of missing information, title
11152	and vendor tags, checking for the appropriate exceptions.
11153
111542012-03-14  Deepak Bhole <dbhole@redhat.com>
11155			Omair Majid <omajid@redhat.com>
11156
11157	PR895: IcedTea-Web searches for missing classes on each loadClass or
11158	findClass
11159	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
11160	(CodeBaseClassLoader): Added new map to track resources that are not
11161	found.
11162	(findClass): If resource was not found before, return immediately. If
11163	resource was not found for the first time, record it in the new map.
11164	(findResouces): Same.
11165	(findResource): Same.
11166	* tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java:
11167	Test case for PR895 from Omair Majid.
11168
111692012-03-14  Omair Majid  <omajid@redhat.com>
11170
11171	Print exceptions to terminal when running in gui mode too.
11172	* netx/net/sourceforge/jnlp/AbstractLaunchHandler.java: New file.
11173	* netx/net/sourceforge/jnlp/DefaultLaunchHandler.java: Extend
11174	AbstractLaunchHandler.
11175	(DefaultLaunchHandler): New method.
11176	(printMessage): Moved to parent class.
11177	* netx/net/sourceforge/jnlp/GuiLaunchHandler.java: Extend
11178	AbstractLaunchHandler.
11179	(GuiLauchHandler): New method.
11180	(launchError): Print the error too.
11181	(launchWarning,validationError): Call parent's printMessage.
11182	* netx/net/sourceforge/jnlp/LaunchException.java: Use standard java
11183	exception chaining. This removes compatibility with pre-java 1.3 class
11184	libraries.
11185	(LaunchException(JNLPFile,Exception,String,String,String,String)): Pass
11186	cause to parent so exceptions are chanined properly.
11187	(LaunchException(String,Throwable),LaunchException(Throwable)): Call
11188	parent's constructor.
11189	(printStackTrace(PrintStream),printStackTrace(PrintWriter),getCause):
11190	Removed. Use parent's implementation instead.
11191	(getCauses): Removed.
11192	* netx/net/sourceforge/jnlp/LaunchHandler.java
11193	(validationError): Rename argument to clarify meaing.
11194	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
11195	(initialize): Redirect output of all handlers to System.err.
11196	* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
11197	(PluginAppletSecurityContext): Likewise.
11198	* tests/netx/unit/net/sourceforge/jnlp/DefaultLaunchHandlerTest.java,
11199	* tests/netx/unit/net/sourceforge/jnlp/LaunchExceptionTest.java: New
11200	file. Contains tests.
11201
112022012-03-12  Danesh Dadachanji  <ddadacha@redhat.com>
11203
11204	Adding test for regression of JNLP API accessibility in constructor
11205	methods of applets.
11206	* Makefile.am: Added classes.jar to classpath when compiling jnlp_tests.
11207	* tests/jnlp_tests/simple/CheckServices/resources/CheckServices.jnlp:
11208	* tests/jnlp_tests/simple/CheckServices/srcs/CheckServices.java:
11209	* tests/jnlp_tests/simple/CheckServices/testcases/CheckServicesTests.java:
11210	New test file added. Tests ServiceManager is setup correctly when called
11211	from applet constructors.
11212
112132012-03-12  Danesh Dadachanji  <ddadacha@redhat.com>
11214
11215	Update tests that are missing title/vendor tag in their JNLPs.
11216	* tests/jnlp_tests/signed/CacheReproducer/resources/CacheReproducer1.jnlp,
11217	* tests/jnlp_tests/signed/CacheReproducer/resources/CacheReproducer1_1.jnlp,
11218	* tests/jnlp_tests/signed/CacheReproducer/resources/CacheReproducer2.jnlp,
11219	* tests/jnlp_tests/signed/CacheReproducer/resources/CacheReproducer2_1.jnlp,
11220	* tests/jnlp_tests/signed/MissingJar/resources/MissingJar.jnlp,
11221	* tests/jnlp_tests/signed/MissingJar/resources/MissingJar2.jnlp,
11222	* tests/jnlp_tests/signed/MissingJar/resources/MissingJar3.jnlp,
11223	* tests/jnlp_tests/signed/MissingJar/resources/MissingJar4.jnlp,
11224	* tests/jnlp_tests/signed/ReadPropertiesBySignedHack/resources/ReadPropertiesBySignedHack.jnlp,
11225	* tests/jnlp_tests/signed/ReadPropertiesSigned/resources/ReadPropertiesSigned1.jnlp,
11226	* tests/jnlp_tests/signed/ReadPropertiesSigned/resources/ReadPropertiesSigned2.jnlp,
11227	* tests/jnlp_tests/simple/AddShutdownHook/resources/AddShutdownHook.jnlp,
11228	* tests/jnlp_tests/simple/AllStackTraces/resources/AllStackTraces.jnlp
11229	* tests/jnlp_tests/simple/CreateClassLoader/resources/CreateClassLoader.jnlp,
11230	* tests/jnlp_tests/simple/ReadEnvironment/resources/ReadEnvironment.jnlp,
11231	* tests/jnlp_tests/simple/ReadProperties/resources/ReadProperties1.jnlp,
11232	* tests/jnlp_tests/simple/ReadProperties/resources/ReadProperties2.jnlp,
11233	* tests/jnlp_tests/simple/RedirectStreams/resources/RedirectStreams.jnlp,
11234	* tests/jnlp_tests/simple/ReplaceSecurityManager/resources/ReplaceSecurityManager.jnlp,
11235	* tests/jnlp_tests/simple/SetContextClassLoader/resources/SetContextClassLoader.jnlp,
11236	* tests/netx/unit/net/sourceforge/jnlp/templates/template8.jnlp:
11237	Added missing title/vendor tags that make them fail with this changeset.
11238
112392012-03-05  Jiri Vanek <jvanek@redhat.com>
11240
11241	Added test for main-class in manifest for jnlp
11242	* Makefile.am: (prepare-reproducers.stamp) fixed manifest handling. Till
11243	now was manifest copied as any other non java file, and so was rewritten
11244	by jar tool
11245	* tests/jnlp_tests/simple/ManifestedJar2/srcs: secondary jar file which
11246	should have manifest and so should help ManifestedJar1 with testing
11247	* tests/jnlp_tests/simple/ManifestedJar2/resources/META-INF/MANIFEST.MF:
11248	 manifest for  ManifestedJar2.jar
11249	* tests/jnlp_tests/simple/ManifestedJar1/srcs: main testing jar
11250	* tests/jnlp_tests/simple/ManifestedJar2/resources/META-INF/MANIFEST.MF:
11251	 manifest for  ManifestedJar1.jar
11252	* tests/jnlp_tests/simple/ManifestedJar1/testcases/ManifestedJar1Test.java:
11253	 testing class for this reproducers
11254	* tests/jnlp_tests/simple/ManifestedJar1/resources/: nine reproducers jnlps
11255
112562012-03-06  Jiri Vanek <jvanek@redhat.com>
11257
11258	Improved reflection test:
11259	* tests/jnlp_tests/simple/AccessClassInPackage/testcases/AccessClassInPackageTest.java:
11260	This testcase was extended for three more unsigned reflection tries and four signed
11261	* tests/jnlp_tests/simple/AccessClassInPackage/srcs/AccessClassInPackage.java:
11262	now accepting class to be findByName as argument. Four new jnlp files in
11263	signed a four in simple are then passing  those argument
11264	* tests/jnlp_tests/simple/AccessClassInPackage/resources/AccessClassInPackageSUNSEC.jnlp:
11265	* tests/jnlp_tests/simple/AccessClassInPackage/resources/AccessClassInPackageNETSF.jnlp:
11266	* tests/jnlp_tests/simple/AccessClassInPackage/resources/AccessClassInPackageJAVAXJNLP.jnlp:
11267	* tests/jnlp_tests/simple/AccessClassInPackage/resources/AccessClassInPackageSELF.jnlp:
11268	* tests/jnlp_tests/simple/AccessClassInPackage/resources/AccessClassInPackage.jnlp:
11269	removed
11270	* tests/jnlp_tests/signed/AccessClassInPackageSigned/srcs/AccessClassInPackageSigned.java
11271	signed variation of AccessClassInPackage, tescase is also in AccessClassInPackage
11272	* tests/jnlp_tests/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedSELF.jnlp
11273	* tests/jnlp_tests/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedNETSF.jnlp
11274	* tests/jnlp_tests/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedSUNSEC.jnlp
11275	* tests/jnlp_tests/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedJAVAXJNLP.jnlp
11276
112772012-02-29  Deepak Bhole <dbhole@redhat.com>
11278
11279	* configure.ac: Bumped version to 1.3pre
11280
112812012-02-29  Deepak Bhole <dbhole@redhat.com>
11282
11283	* netx/net/sourceforge/jnlp/security/CertificateUtils.java
11284	(inKeyStores): Only check for certificate equality.
11285
112862012-02-28  Deepak Bhole <dbhole@redhat.com>
11287
11288	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
11289	(checkForMain): Also check manifest file of main jar.
11290	(getMainClassName): New method. Looks in a jar manifest to see if there is
11291	a Main-Class specified.
11292
112932012-02-28  Deepak Bhole <dbhole@redhat.com>
11294
11295	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
11296	(_eval): Return 0 id to Java side if eval fails.
11297	(_call): Return 0 id to Java side if call fails.
11298
112992012-02-27  Matthias Klose  <doko@ubuntu.com>
11300
11301	* acinclude.m4 (IT_CHECK_PLUGIN_DEPENDENCIES): Use the mozilla-plugin
11302	 pkgconfig module if the libxul module is not available.
11303
113042012-02-27  Matthias Klose  <doko@ubuntu.com>
11305
11306	* acinclude.m4 (IT_FIND_JAVA): Set VERSION_DEFS.
11307	* Makefile.am ($(PLUGIN_DIR)/%.o): Pass $(VERSION_DEFS)
11308	* IcedTeaNPPlugin.cc (PLUGIN_MIME_DESC): Define in terms
11309	of HAVE_JAVA7.
11310
113112012-02-27  Thomas Meyer <thomas@m3y3r.de>
11312			Deepak Bhole <dbhole@redhat.com>
11313
11314	PR820: IcedTea-Web 1.1.3 crashing Firefox when loading Citrix XenApp
11315	* plugin/icedteanp/IcedTeaJavaRequestProcessor.cc
11316	(createJavaObjectFromVariant): If variant is a generic object array,
11317	create a JSObject on Java side instead of JSObject array.
11318	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
11319	(newMessageOnBus): Run finalize on main thread.
11320	(eval): Create Java object in _eval
11321	(call): Create Java object in _call.
11322	(setMember): Create Java object in _setMember.
11323	(sendMember): Create Java object in _getMember.
11324	(sendString): Create Java object in _getString.
11325	(_setMember): Process result and create Java object if needed.
11326	(_getMember): Same.
11327	(_eval): Same.
11328	(_call): Same.
11329	(_getString): Same.
11330
113312012-02-22  Danesh Dadachanji  <ddadacha@redhat.com>
11332
11333	Add ability to check for jnlp_href use outside of PluginBridge.
11334	* netx/net/sourceforge/jnlp/PluginBridge.java
11335	(PluginBridge): New boolean useJNLPHref is set if jnlp_href is used.
11336	(useJNLPHref): New getter method, returns boolean useJNLPHref.
11337
113382012-02-10  Danesh Dadachanji  <ddadacha@redhat.com>
11339
11340	Fix path to NEW_LINE_IFS for when one builds outside of src directory.
11341	* Makefile.am: Use top src directory instead of top build directory
11342	for NEW_LINE_IFS
11343
113442012-02-06  Danesh Dadachanji  <ddadacha@redhat.com>
11345
11346	Fixed regression in running webstart applets from JNLP files.
11347	* netx/net/sourceforge/jnlp/Launcher.java (createApplet): Added call to
11348	set applet variable in the AppletInstance's AppletEnvironment.
11349	* netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java
11350	(setApplet): New method, set AppletEnvironment's applet variable only once.
11351
113522012-02-02  Danesh Dadachanji  <ddadacha@redhat.com>
11353
11354	* netx/net/sourceforge/jnlp/LaunchException.java: Fix message
11355	to handle null description
11356
113572012-02-01  Danesh Dadachanji  <ddadacha@redhat.com>
11358
11359	* netx/net/sourceforge/jnlp/LaunchException.java: Add description
11360	parameter to the message the exception stores.
11361
113622012-02-01 Jiri Vanek<jvanek@redhat.com>
11363
11364	Fix for PR844
11365	* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java: (getLRUSortedEntries)
11366	instead of error throwing own LRU exception. Also catches more then
11367	NumberFormatException
11368	(clearLRUSortedEntries) new method - making soft clearing of cache public
11369	(clearCache) now return true if cache was cleared, false otherwise
11370	(or exception)
11371	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: (getCacheFileIfExist)
11372	does three tires to load cache. If ifrst fails, then recently_used file
11373	is emptied both in memory and on disc. When second attemmpt fails, then
11374	LRU cache is forcibly cleared. if clearing fails, then error is thrown.
11375	If it pass, then one more try to load entries is allowed. When third
11376	attempt fails, then error is  thrown.
11377	* /netx/net/sourceforge/jnlp/cache/LruCacheException.java:
11378	new file, for purpose of catching this particular exception
11379	* netx/net/sourceforge/jnlp/util/PropertiesFile.java: (store) tries to
11380	mkdirs to its path. It is better then to fail when no cache directory exists.
11381	* tests/jnlp_tests/signed/CacheReproducer: new  reproducr trying severals
11382	way of corupted cache on several types of jnlp files. Is signed because
11383	of reflection used.
11384	* tests/jnlp_tests/signed/SimpletestSigned1: signed hello world to be
11385	used in  CacheReproducer tests.
11386	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
11387	timeout for processes doubled, as clear cache methods sometimes took
11388	more then original allowed.
11389
113902012-01-27  Deepak Bhole <dbhole@redhat.com>
11391
11392	PR852: Classloader not being flushed after last applet from a site is closed
11393	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: Added variable
11394	to count usage for a given ClassLoader instance.
11395	(getInstance): Decrement use count for a loader after it is merged with
11396	another. Increment loader use count before returning.
11397	(incrementLoaderUseCount): New method. Increments loader use count.
11398	(decrementLoaderUseCount): New method. Decrements loader use count.
11399	* java/sun/applet/PluginAppletViewer.java (appletClose): Decrement loader
11400	use count when applet is closed.
11401
114022012-01-25  Jiri Vanek  <jvanek@redhat.com>
11403
11404	Added test for -Xnofork option and for applet launching by jnlp
11405	* tests/jnlp_tests/simple/deadlocktest/resources/deadlocktest_1.jnlp: new file
11406	By specifying new max heap size, should invoke jvm to fork when launched
11407	* tests/jnlp_tests/simple/deadlocktest/srcs/DeadlockTest.java:
11408	improved indentation, added debug output that main method was lunched
11409	* tests/jnlp_tests/simple/deadlocktest/testcases/DeadLockTestTest.java:
11410	small refactoring, add lunching  of deadlocktest_1.jnlp with and
11411	without -Xnofork, and counting java instances during runtime
11412	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java
11413	(ThreadedProcess.run) fixed situation, when process ended, but not all
11414	the output was read by its stdout/stderr readers
11415	(ContentReader.run) enabled exception printing to stderr.
11416	* tests/jnlp_tests/simple/AppletTest/ : test for loading applets by jnlp file
11417
114182012-01-06  Danesh Dadachanji  <ddadacha@redhat.com>
11419
11420	Use the JNLP file's information section for the Name and
11421	Publisher labels of access dialogs, if available.
11422	* netx/net/sourceforge/jnlp/PluginBridge.java:
11423	(PluginBridge): Assigned info variable to JNLP file's information
11424	section (if one is used), otherwise to a new, empty ArrayList.
11425	(getInformation): Removed method, superclass method
11426	should be used instead.
11427	* netx/net/sourceforge/jnlp/resources/Messages.properties:
11428	Adding SUnverified.
11429	* a/netx/net/sourceforge/jnlp/security/AccessWarningPane.java:
11430	(addComponents): Append unverified note to the publisher label.
11431
114322012-01-09  Deepak Bhole <dbhole@redhat.com>
11433
11434	PR838: IcedTea plugin crashes with chrome browser when javascript is executed
11435	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc (eval): Added a check
11436	to ensure that the result pointer is valid before attempting to create an
11437	NPVariant from it.
11438
114392012-01-05  Omair Majid <omajid@redhat.com>
11440
11441	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
11442	(initializeResources): Only throw exceptions about the main class not
11443	being found when the jnlp file can have a main class.
11444	(addToCodeBaseLoader): Dont try to process null URLs.
11445
114462011-12-15  Jiri Vanek  <jvanek@redhat.com>
11447
11448	* configure.ac: added search for xsltproc program and setting
11449	WITH_XSLTPROC variable
11450	* Makefile.am: xsltproc result is no longer ignored, command
11451	itself is in conditional block
11452
114532011-12-22  Thomas Meyer <thomas@m3y3r.de>
11454
11455	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc(sendMember): Use
11456	correct response parameter when returning array member vs member itself.
11457
114582011-12-21  Thomas Meyer <thomas@m3y3r.de>
11459
11460	RH586194: Unable to connect to connect with Juniper VPN client
11461	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc(sendMember): Use
11462	createJavaObjectFromVariant to create the resulting object on Java side,
11463	rather than always creating a JSObject.
11464
114652011-12-21  Jiri Vanek  <jvanek@redhat.com>
11466
11467	* acinclude.m4: added definition of IT_CHECK_XULRUNNER_API_VERSION,
11468	which tries to compile small program against new xulrunner api
11469	* configure.ac: added call of IT_CHECK_XULRUNNER_API_VERSION
11470	* plugin/icedteanp/IcedTeaNPPlugin.cc: (NP_GetMIMEDescription)
11471	return type set-up by dependency on defined LEGACY_XULRUNNERAPI.
11472	 This one is set by IT_CHECK_XULRUNNER_API_VERSION during configure.
11473	if defined, then old char* is used. New const char* is used otherwise.
11474
114752011-12-19  Danesh Dadachanji <ddadacha@redhat.com>
11476
11477	Fix for BasicService being used in applet constructors but not
11478	having access to ApplicationInstance variable.
11479	* netx/net/sourceforge/jnlp/Launcher.java:
11480	(createApplet): Moved applet initialization below loader.setApplication,
11481	appletInstance is now initialized with applet param as null.
11482	* netx/net/sourceforge/jnlp/runtime/AppletInstance.java:
11483	(setApplet): New method, allows setting of AppletInstance's applet
11484	only once.
11485
114862011-12-16  Deepak Bhole <dbhole@redhat.com>
11487
11488	Patch from Thomas Meyer <thomas@m3y3r.de>
11489	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc: Fixed function name
11490	in comment for sendMember.
11491
114922011-12-08  Omair Majid  <omajid@redhat.com>
11493
11494	* netx/net/sourceforge/jnlp/Launcher.java
11495	(launchApplication): Print arguments being passed to the application's
11496	main method in debug mode.
11497
114982011-12-05  Danesh Dadachanji <ddadacha@redhat.com>
11499
11500	Update UI for AccessWarningPane
11501	* netx/net/sourceforge/jnlp/security/AccessWarningPane.java:
11502	Use question.png instead of warning.png for access dialogs.
11503
115042011-11-28 Jiri Vanek <jvanek@redhat.com>
11505
11506	Added code-coverage generation targets
11507	* configure.ac: added search for optional emma.jar
11508	* makefile.am: added UNIT_CLASS_NAMES and REPRODUCERS_CLASS_NAMES variables
11509	to store tests clases for reuse in emmarun. Both also moved to separate target
11510	(run-netx-unit-tests): made dependent on reused stamped version
11511	(run-netx-dist-tests): made dependent on reused stamped version
11512	(stamps/run-netx-dist-tests): stamped rusable version of run-netx-dist-tests
11513	(run-unit-test-code-coverage) targets to generate report from unit-tests.
11514	 Result binary and xml file and html report in tests.build/netx/unit
11515	(run-reproducers-test-code-coverage) targets to generate report from
11516	 reproducers-test. Result binary file, xml and html report in
11517	 tests.build/netx/jnlp_testsengine
11518	(run-test-code-coverage): merges binary results from unit and reproducers
11519	(clean-unit-test-code-coverage) conditionaly removes html,xml report
11520	 and es and ec files from tests.build/netx/unit
11521	(clean-reproducers-test-code-coverage) condtionlay removes html and xml
11522	 report and es file from tests.build/netx/jnlp_testsengine
11523	(clean-test-code-coverage) conditionlay removes merged html, xml es and em
11524	files from tests.build
11525	(clean-netx-tests) now depends also on clean-test-code-coverage
11526
115272011-11-11  Jiri Vanek  <jvanek@redhat.com>
11528
11529	Added reproducer for PR804 and PR8011
11530	* tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere1.jnlp:
11531	new jnlp file with space in name and with jar in resources which name does not contain
11532	spaces
11533	* tests/jnlp_tests/simple/Spaces can be everywhere/resources/Spaces can be everywhere2.jnlp:
11534	new jnlp file with space in name and with jar in resources which name contains spaces
11535	* tests/jnlp_tests/simple/Spaces can be everywhere/resources/SpacesCanBeEverywhere1.jnlp:
11536	jnlp file without space in name but with jar in resources which name contains spaces
11537	* tests/jnlp_tests/simple/Spaces can be everywhere/srcs/SpacesCanBeEverywhere.java:
11538	new file containig simple main method of "Spaces can be everywhere.jar" jar
11539	* tests/jnlp_tests/simple/Spaces can be everywhere/testcases/SpacesCanBeEverywhereTests.java
11540	testcase for this reproducer. It is lunching  each of this jnlp once locally from filesystem and
11541	once remotely from server. Please note that except it's own jar, this reproducer is also
11542	using simpletest1.jar
11543
115442011-11-11  Jiri Vanek  <jvanek@redhat.com>
11545
11546	Fixed reproducers engine to handle spaces in files and in urls
11547	* Makefile.am: (stamps/netx-dist-tests-prepare-reproducers.stamp)
11548	(stamps/netx-dist-tests-sign-some-reproducers.stamp)
11549	(stamps/netx-dist-tests-compile-testcases.stamp):
11550	added call to NEW_LINE_IFS to use line breake temporarily as parameter
11551	separator while loading files from list and correct quoting
11552	* NEW_LINE_IFS: new file, small separate script used in makefile as inline script
11553	which backup original IFS variable and then set it to pure new line. It is in
11554	separate file because it is reused and I do not know another way how to save a new
11555	line variable in makefile. Restore to original vlaue is handled in Makefile
11556	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java:
11557	(testResourcesExists) filename is encoded to correct URL before requested from server
11558	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
11559	"-headless" string extracted to variable HEADLES_OPTION
11560	(executeProcess) and (ThreadedProcess) enhanced for variable dir to specify working
11561	directory. Backward compatibility kept
11562	(TinyHttpdImpl) now expects url on requests, so all requests are now decoded by
11563	java.net.URLDecoder
11564
115652011-11-10  Jiri Vanek <jvanek at redhat.com>
11566
11567	Added tests which covers corner cases or rhino support function dateRange
11568	Enabled testWeekdayRange test
11569	* tests/netx/pac/pac-funcs-test.js: (testWeekdayRange) - added mising
11570	runTests call
11571	(incDate) (decDate) (monthToStr) moved level up from function scope
11572	to be shareable
11573	(testDateRange2) new method, tests last days of months.
11574	(testDateRange3) new method, tests first days of months
11575	* netx/net/sourceforge/jnlp/runtime/pac-funcs.js:
11576	(dateRange) logic of this method moved to isDateInRange. This one now serve
11577	just as api using current date
11578	(isDateInRange) logic of dateRange, can calculate ranges against any date
11579
115802011-10-31  Omair Majid  <omajid@redhat.com>
11581
11582	PR808: javaws is unable to start when missing jars are enumerated before
11583	main jar
11584	* NEWS: Update.
11585	* netx/net/sourceforge/jnlp/tools/JarSigner.java (verifyJars): Continue
11586	with other jars if the first jar can't be used.
11587
115882011-10-28  Deepak Bhole <dbhole@redhat.com>
11589
11590	RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and
11591	suffix domain SOP bypass
11592	* NEWS: Updated
11593	* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
11594	(checkPermission): Remove special case for SocketPermission.
11595
115962011-10-27  Deepak Bhole <dbhole@redhat.com>
11597
11598	PR778: Jar download and server certificate verification deadlock
11599	* ChangeLog: Removed extra whitespace from previous entries
11600	* NEWS: Updated
11601	* netx/net/sourceforge/jnlp/GuiLaunchHandler.java (launchInitialized):
11602	Moved as much code as possible out of the invokeLater block.
11603
116042011-10-25  Omair Majid  <omajid@redhat.com>
11605
11606	PR804: javaws launcher incorrectly handles file names with spaces
11607	* NEWS: Update.
11608	* launcher/javaws.in: Use bash arrays to store arguments to handle
11609	filenames with spaces correctly.
11610
116112011-10-24  Jiri Vanek <jvanek@redhat.com>
11612
11613	Added reproducer for - PR788: Elluminate Live! is not working
11614	* tests/jnlp_tests/signed/MissingJar/resources/MissingJar.jnlp
11615	* tests/jnlp_tests/signed/MissingJar/resources/MissingJar2.jnlp
11616	* tests/jnlp_tests/signed/MissingJar/resources/MissingJar3.jnlp
11617	* tests/jnlp_tests/signed/MissingJar/resources/MissingJar4.jnlp
11618	four testcases's jnlp files. Differs by order and by used resoure tags
11619	* tests/jnlp_tests/signed/MissingJar/srcs/MissingJar.java
11620	very simple main jar, just printing message when initialized
11621	* tests/jnlp_tests/signed/MissingJar/testcases/MissingJarTest.java
11622	testing file of reproducer, launchiing above four jnlp files, each in individual test
11623
116242011-10-17  Jiri Vanek <jvanek@redhat.com>
11625
11626	PR564: NetX depends on sun.misc.BASE64Encoder
11627	* configure.ac: removed IT564 comment, removed check for sun.misc.BASE64Encoder
11628	* netx/net/sourceforge/jnlp/security/CertificateUtils.java : sun.misc.BASE64Encoder;
11629	replaced (just changed import) by internal implementation from
11630	net.sourceforge.jnlp.util.replacements.BASE64Encoder;
11631	* netx/net/sourceforge/jnlp/util/replacements/BASE64Encoder.java:
11632	* netx/net/sourceforge/jnlp/util/replacements/CharacterEncoder.java:
11633	New files, internal implementation of BASE64Encoder,  copied from OpenJDK
11634	* tests/netx/unit/net/sourceforge/jnlp/util/replacements/BASE64EncoderTest.java
11635	New file, to test internal base64encoder implementation
11636
11637
116382011-10-03  Jiri Vanek <jvanek@redhat.com>
11639
11640	* tests/jnlp_tests/signed/ReadPropertiesBySignedHack/resources/ReadPropertiesBySignedHack.jnlp
11641	* tests/jnlp_tests/signed/ReadPropertiesBySignedHack/srcs/ReadPropertiesBySignedHack.java
11642	* tests/jnlp_tests/signed/ReadPropertiesBySignedHack/testcases/ReadPropertiesBySignedHackTest.java
11643	* tests/jnlp_tests/signed/ReadPropertiesSigned/resources/ReadPropertiesSigned1.jnlp
11644	* tests/jnlp_tests/signed/ReadPropertiesSigned/resources/ReadPropertiesSigned2.jnlp
11645	* tests/jnlp_tests/signed/ReadPropertiesSigned/srcs/ReadPropertiesSigned.java
11646	* tests/jnlp_tests/signed/ReadPropertiesSigned/testcases/ReadPropertiesSignedTest.java
11647	Direcory signed was somehow missing from my commit from 2011-09-22.
11648	Now it  have been added with all its original files
11649
116502011-09-29  Omair Majid  <omajid@redhat.com>
11651
11652	PR618: Can't install OpenDJ, JavaWebStart fails with Input stream is null
11653	error.
11654	* NEWS: Update.
11655	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
11656	(getResource): Rename to ...
11657	(findResource): New method.
11658	(findResources): If resource can not be found, search in lazy resources.
11659	(findResourcesBySearching): New method.
11660
116612011-09-28  Omair Majid  <omajid@redhat.com>
11662
11663	* netx/net/sourceforge/jnlp/AppletDesc.java (getMainClass): Clarify the
11664	return value in javadoc.
11665	* netx/net/sourceforge/jnlp/Launcher.java
11666	(createApplet, createAppletObject): Do not replace '/' with '.'.
11667	* netx/net/sourceforge/jnlp/PluginBridge.java (PluginBridge): Ensure that
11668	the class name is in the dot-separated from.
11669	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
11670	(checkForMain): Ensure that the name is an exact match.
11671
116722011-09-28  Deepak Bhole <dbhole@redhat.com>
11673
11674	PR794: IcedTea-Web does not work if a Web Start app jar has a Class-Path
11675	element in the manifest.
11676	* netx/net/sourceforge/jnlp/runtime/CachedJarFileCallback.java
11677	(retrieve): Blank out the Class-Path elements in manifest.
11678	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
11679	(activateJars): Only load Class-Path elements if this is an applet.
11680	(addNewJar): Add the right permissions for the cached jar file and verify
11681	signatures.
11682
116832011-09-26  Lars Herschke  <lhersch@dssgmbh.de>
11684
11685	* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
11686	CVExportPasswordMessage, CVImportPasswordMessage and
11687	CVPasswordTitle.
11688	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (initialize):
11689	Initialize SSLContext with the user's client certificates.
11690	* netx/net/sourceforge/jnlp/security/CertificateUtils.java
11691	(addPKCS12ToKeyStore, addPKCS12ToKeyStore, dumpPKCS12): New methods.
11692	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
11693	(getPasswords): New method.
11694	(ImportButtonListener.actionPerformed): Import client certificates
11695	in PKCS12 format.
11696	(ExportButtonListener.actionPerformed): Export client certificates
11697	in PKCS12 format.
11698
116992011-09-23  Omair Majid  <omajid@redhat.com>
11700
11701	RH738814: Access denied at ssl handshake
11702	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java
11703	(showCertWarningDialog): Add a javadoc comment.
11704	* netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java
11705	(askUser): Wrap the call to showCertWarningDialog in a doPrivileged
11706	block.
11707
117082011-09-22  Omair Majid  <omajid@redhat.com>
11709
11710	PR788: Elluminate Live! is not working
11711	* NEWS: Update.
11712	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
11713	(checkForMain): If localFile is null (JAR couldn't be downloaded), try to
11714	continue, rather than allowing the exception to cause an abort.
11715
117162011-09-21  Omair Majid  <omajid@redhat.com>
11717
11718	PR766: javaws fails to parse an <argument> node that contains CDATA
11719	* netx/net/sourceforge/nanoxml/XMLElement.java
11720	(sanitizeInput): Do not remove CDATA sections along with comments.
11721
117222011-09-20  Omair Majid  <omajid@redhat.com>
11723
11724	* tests/netx/unit/net/sourceforge/jnlp/ParserCornerCases.java
11725	(testCdata, testCdataNested, testCDataFirstChild, testCDataSecondChild)
11726	(testCommentInElements2, testDoubleDashesInComments): New methods
11727	* tests/netx/unit/net/sourceforge/jnlp/application/application0.jnlp,
11728	* tests/netx/unit/net/sourceforge/jnlp/templates/template0.jnlp:
11729	Change <!CDATA[ to <![CDATA[.
11730
117312011-09-22  Lars Herschke  <lhersch@dssgmbh.de>
11732
11733	PR789: typo in jrunscript.sh
11734	* jrunscript.in: Use = instead of ==.
11735
117362011-09-22  Jiri Vanek <jvanek@redhat.com>
11737
11738	* tests/jnlp_tests/signed/ReadPropertiesBySignedHack/resources/ReadPropertiesBySignedHack.jnlp:
11739	jnlp file to lunch ReadPropertiesBySignedHack, notice please dependenci
11740	on ReadProperties.jar from simple reproducers
11741	* tests/jnlp_tests/signed/ReadPropertiesBySignedHack/srcs/ReadPropertiesBySignedHack.java:
11742	this reproducers verify, that even reflection-by enabled
11743	XtrustAll will not allow to lunch unsigned code
11744	* tests/jnlp_tests/signed/ReadPropertiesBySignedHack/testcases/ReadPropertiesBySignedHackTest.java:
11745	testcase for this reproducer
11746
117472011-09-22  Jiri Vanek <jvanek@redhat.com>
11748
11749	* tests/jnlp_tests/signed/ReadPropertiesSigned/resources/ReadPropertiesSigned1.jnlp:
11750	* tests/jnlp_tests/signed/ReadPropertiesSigned/resources/ReadPropertiesSigned2.jnlp:
11751	* tests/jnlp_tests/signed/ReadPropertiesSigned/testcases/ReadPropertiesSignedTest.java:
11752	* tests/jnlp_tests/signed/ReadPropertiesSigned/srcs/ReadPropertiesSigned.java:
11753	those four files are  example of signed reproducer
11754	* tests/jnlp_tests/simple/ReadProperties/srcs/ReadProperties.java: now prints out got
11755	variable for comparsion with above created signed example
11756
117572011-09-22  Jiri Vanek <jvanek@redhat.com>
11758
11759	Added signed reproducers engine
11760	* Makefile.am: added variable KEYSTORE_NAME
11761	(stamps/junit-jnlp-dist-dirs): creates stamp and depend on next two targets
11762	(junit-jnlp-dist-simple.txt): creates list of simple reproducers, extracted
11763	 from stamps/junit-jnlp-dist-dirs
11764	(junit-jnlp-dist-signed.txt): creates list of signed reproducers
11765	(stamps/netx-dist-tests-prepare-reproducers.stamp): now traverse over
11766	signed and simple
11767	(stamps/netx-dist-tests-sign-some-reproducers.stamp): depends
11768	on netx-dist-tests-prepare-reproducers, traverse through signed
11769	reproducers and sign them
11770	(stamps/netx-dist-tests-compile-testcases.stamp): now traverse over
11771	signed and simple
11772	(stamps/bootstrap-directory.stamp): creates symlinks/stubs to
11773	jarsigner and keytool
11774	(clean-netx-dist-tests):remove new stamps, signed and simple list and keysstore
11775	* acinclude.m4: declared to proceed IT_FIND_KEYTOOL and IT_FIND_JARSIGNER macro
11776	* configure.ac: declared macros to check for keytool and jarsigner
11777	* tests/jnlp_tests/README: mentioned signed directory
11778
117792011-09-22  Jiri Vanek <jvanek@redhat.com>
11780
11781	* netx/net/sourceforge/jnlp/runtime/Boot.java: (main): added logic to
11782	handle -Xtrustall option
11783	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: declared private static boolean
11784	trustAll=false; with public getter and pkg.private  setter
11785	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (checkTrustWithUser): modified,
11786	when XtrustAll declared, then user is not asked and certificate is trusted
11787	* netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java:  (askUser): modified,
11788	when XtrustAll declared, then user is not asked and certificate is trusted
11789
117902011-09-15  Jiri Vanek <jvanek@redhat.com>
11791
11792	* tests/jnlp_tests/: all current reproducers (AccessClassInPackage
11793	AddShutdownHook AllStackTraces CreateClassLoader deadlocktest
11794	ReadEnvironment ReadProperties RedirectStreams ReplaceSecurityManager
11795	SetContextClassLoader simpletest1 simpletest2) junit's asserts are enchanted
11796	for reason, so junit assertion exception message is much clearer.
11797
117982011-09-13  Deepak Bhole <dbhole@redhat.com>
11799
11800	PR782: Support building against npapi-sdk as well
11801	Patch from Michał Górny < mgorny at gentoo dot org >
11802	* acinclude.m4: Build against npapi-sdk.
11803
118042011-09-13  Deepak Bhole <dbhole@redhat.com>
11805
11806	* ChangeLog: Fixed formatting issues in previous entry.
11807
118082011-09-01 Jiri Vanek<jvanek@redhat.com>
11809
11810	Added functionality to allow icedtea web to be buildable with
11811	rhel5 libraries.
11812	* configure.ac: added IT_CHECK_GLIB_VERSION check.
11813	* acinclude.m4: added IT_CHECK_GLIB_VERSION definition block to test.
11814	version of glib installed and add LEGACY_GLIB define macro into
11815	 variable DEFS if version is <2.16.
11816	* plugin/icedteanp/IcedTeaNPPlugin.cc: added replacements for incompatible
11817	functions (g_strcmp0 and find_first_item_in_hash_table)if LEGACY_GLIB
11818	is defined. Added define sections for use this function instead of glib ones.
11819	Duplicated code moved into function getFirstInTableInstance(GHashTble* table).
11820	* Makefile.am: ($(PLUGIN_DIR)/%.o): using DEFS setted by configure for compilation
11821
118222011-08-29  Deepak Bhole <dbhole@redhat.com>
11823
11824	RH734081: Javaws cannot use proxy settings from Firefox
11825	Based on patch from Lukas Zachar <lzachar at redhat dot com>
11826	* netx/net/sourceforge/jnlp/browser/FirefoxPreferencesFinder.java
11827	(find): Only process Profile sections. Do not throw an exception if a
11828	Default= line is not found since it is not guaranteed to exist.
11829
118302011-08-24  Deepak Bhole <dbhole@redhat.com>
11831
11832	RH718693: MindTerm SSH Applet doesn't work
11833	* plugin/icedteanp/java/netscape/security/PrivilegeManager.java: New
11834	file. Stub class, not needed with IcedTea-Web.
11835
118362011-08-23  Deepak Bhole <dbhole@redhat.com>
11837
11838	PR769: IcedTea-Web plugin does not work with some ssl sites with OpenJDK7
11839	* netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java
11840	(checkServerTrusted): Account for a null hostname that the
11841	overloaded implementation may pass.
11842
118432011-08-23  Omair Majid  <omajid@redhat.com>
11844
11845	* configure.ac: Add check for new non-standard classes
11846	sun.net.www.protocol.jar.URLJarFile and
11847	sun.net.www.protocol.jar.URLJarFileCallBack.
11848
118492011-08-23  Omair Majid  <omajid@redhat.com>
11850
11851	* Makefile.am: Remove JRE. Replace uses with SYSTEM_JRE_DIR instead. Also
11852	replace uses of SYSTEM_JDK_DIR/jre with SYSTEM_JRE_DIR.
11853	* acinclude.m4
11854	(IT_CHECK_FOR_JRE): New macro.
11855	(IT_FIND_JAVA): Require IT_CHECK_FOR_JRE. Use java binary from within the
11856	JRE.
11857
118582011-08-22  Saad Mohammad  <smohammad@redhat.com>
11859	* netx/net/sourceforge/jnlp/JNLPFile.java:
11860	(parse): After the file has been parsed, it calls
11861	checkForSpecialProperties() to check if the resources contain any special
11862	properties.
11863	(checkForSpecialProperties): Scans through resources and checks if it
11864	contains any special properties.
11865	(requiresSignedJNLPWarning): Returns a boolean after determining if a signed
11866	JNLP warning should be displayed.
11867	(setSignedJNLPAsMissing): Informs JNLPFile that a signed JNLP file is
11868	missing in the main jar.
11869	* netx/net/sourceforge/jnlp/SecurityDesc.java:
11870	(getJnlpRIAPermissions): Returns all the names of the basic JNLP system
11871	properties accessible by RIAs.
11872	* netx/net/sourceforge/jnlp/resources/Messages.properties:
11873	Added LSignedJNLPFileDidNotMatch and SJNLPFileIsNotSigned.
11874	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
11875	(initializeResources): Locates the jar file that contains the main class
11876	and verifies if a signed JNLP file is also located in that jar. This also
11877	checks 'lazy' jars if the the main class was not found in 'eager' jars.
11878	If the main jar was not found, a LaunchException is thrown which terminates
11879	the launch of the application.
11880	(checkForMain): A method that goes through each jar and checks to see
11881	if it has the main class. If the main class is found, it calls
11882	verifySignedJNLP() to verify if a valid signed JNLP file is also found in
11883	the jar.
11884	(verifySignedJNLP): A method that checks if the jar file contains a valid
11885	signed JNLP file.
11886	(closeStream): Closes a stream.
11887	(loadClassExt): Added a try/catch block when addNextResource() is called.
11888	(addNextResource): If the main jar has not been found, checkForMain() is
11889	called to check if the jar contains the main class, and verifies if a signed
11890	JNLP file is also located.
11891	* netx/net/sourceforge/jnlp/security/MoreInfoPane.java:
11892	(addComponents): Displays the signed JNLP warning message if necessary.
11893	* netx/net/sourceforge/jnlp/security/SecurityDialog.java:
11894	(SecurityDialog): Stores the value of whether a signed JNLP warning should
11895	be displayed.
11896	(showMoreInfoDialog): Passes in the associated JNLP file when creating a
11897	SecurityDialog object.
11898	(requiresSignedJNLPWarning): Returns a boolean after determining if a signed
11899	JNLP warning should be displayed.
11900
119012011-08-17  Danesh Dadachanji <ddadacha@redhat.com>
11902
11903	Update UI for SecurityDialog
11904	* netx/net/sourceforge/jnlp/resources/question.png: New icon added.
11905	* netx/net/sourceforge/jnlp/security/CertWarningPane.java:
11906	(addComponents): When certs are verified, question.png is used as the icon
11907	and SAlwaysTrustPublisher is automatically selected.
11908	* netx/net/sourceforge/jnlp/security/SecurityDialog.java:
11909	(initDialog): Changed the title of a CERT_WARNING dialog.
11910
119112011-08-17  Danesh Dadachanji <ddadacha@redhat.com>
11912
11913	AUTHORS: Adding myself and Denis Lila. Removing the extra email from
11914	Andrew Hughes.
11915
119162011-08-11  Danesh Dadachanji <ddadacha@redhat.com>
11917
11918	PR742: IcedTea-Web checks certs only upto 1 level deep before declaring
11919	them untrusted.
11920	* NEWS: Updated.
11921	* netx/net/sourceforge/jnlp/tools/JarSigner.java:
11922	(checkTrustedCerts): All certs along certPath are now checked for trust.
11923
119242011-08-09  Deepak Bhole <dbhole@redhat.com>
11925
11926	PR771: IcedTea-Web certificate verification code does not use the right
11927	API
11928	* netx/net/sourceforge/jnlp/security/CertificateUtils.java
11929	(inKeyStores): Use Certificate.verify to correctly verify a certificate
11930	against a public key in the store.
11931
119322011-08-09  Saad Mohammad  <smohammad@redhat.com>
11933
11934	PR765: JNLP file with all resource jars marked as 'lazy' fails to validate
11935	signature and stops the launch of application
11936	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
11937	(initializeResources): Initializes the first jar file if all resources
11938	are marked as lazy jars
11939
119402011-08-03  Saad Mohammad  <smohammad@redhat.com>
11941
11942	* netx/net/sourceforge/jnlp/JNLPMatcher.java:
11943	  (JNLPMatcher): Removed NullPointerException from being thrown, caught and
11944	  then thrown again via JNLPMatcherException. This was replaced by throwing
11945	  a checked exception [JNLPMatcherException] directly.
11946  	  (JNLPMatcher): Removed unused code [getters]
11947	  (JNLPMatcher): Closed Input/Output streams that were opened.
11948	  (isMatch): Removed caching of return value
11949	  (closeInputStream): Added this method to close input streams
11950	  (closeOutputStream): Added this method to close output streams
11951	* netx/net/sourceforge/jnlp/Node.java:
11952	  Removed getAttributeNames() method from the commented section
11953
119542011-08-03  Deepak Bhole <dbhole@redhat.com>
11955
11956	PR768: Signed applets/Web Start apps don't work with OpenJDK7 and up
11957	* netx/net/sourceforge/jnlp/tools/JarSigner.java (verifyJar): Put entry in
11958	cert hashtable only if the entry is expected to be signed.
11959
119602011-08-02 Jiri Vanek <jvanek@redhat.com>
11961
11962	* Makefile.am: (stamps/netx-dist-tests-prepare-reproducers.stamp):
11963	now are compiled files correctly compiled from directory structure.
11964	Also not java files are copied with expected directory structure and
11965	jarred together with classes.
11966
119672011-07-26  Jiri Vanek <jvanek@redhat.com>
11968
11969	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java: String
11970	 containing "localhost"  have been declared as final constant.
11971	(SERVER_NAME) have been  moved instant Server instance so each server can
11972	 have it name without affecting others
11973	(getUrl()) added -  can return URL of server singleton. Implementation of
11974	 this method is inside server, so each server can return its own useful URL.
11975	(saveFile()) is now public.
11976	Added identification for ThreadedProcess based on commandlineArgs and its
11977	 run is now slowed by Thread.sleep
11978	(ServerLuncher) inner class is now public (it was bug to not be as we have
11979	 getIndependentInstance of it method ) and renamed to ServerLauncher
11980	Enchanted wrapping of executeProcess
11981
11982
119832011-07-21  Deepak Bhole <dbhole@redhat.com>
11984
11985	PR749: sun.applet.PluginStreamHandler#handleMessage(String) really slow
11986	Original patch from: Ricardo Martín Camarero <rickyepoderi at yahoo dot es>
11987	* plugin/icedteanp/java/sun/applet/PluginStreamHandler.java
11988	(readPair): New function.
11989	(handleMessage): Use readPair to incrementally tokenize message, rather
11990	than using String.split().
11991
119922011-07-19  Saad Mohammad  <smohammad@redhat.com>
11993
11994	* netx/net/sourceforge/jnlp/JNLPMatcher.java:
11995	  Created this class to compare signed JNLP file with the launching
11996	  JNLP file. When comparing, it has support for both method of signing
11997	  of a JNLP file: APPLICATION_TEMPLATE.JNLP and APPLICATION.JNLP.
11998	* netx/net/sourceforge/jnlp/JNLPMatcherException.java:
11999	  Added a custom exception: JNLPMatcherException. Thrown if verifying
12000	  signed JNLP files fails.
12001	* netx/net/sourceforge/jnlp/Node.java:
12002	  Created a method that retrieves the attribute names of the Node and
12003	  stores it in private string [] member. The method returns the
12004	  attribute names.
12005	* tests/netx/unit/net/sourceforge/jnlp/JNLPMatcherTest.java:
12006	  This is a test case that tests the functionality of JNLPMatcher.
12007	  It tests the algorithm with a variety of template and application
12008	  JNLP files.
12009	* tests/netx/unit/net/sourceforge/jnlp/launchApp.jnlp:
12010	  Launching JNLP file: This is the launching JNLP file used to compare
12011	  with templates and application JNLP files in JNLPMatcherTest.java
12012	* tests/netx/unit/net/sourceforge/jnlp/templates/template0.jnlp:
12013	  Test Template JNLP file: Contains CDATA.
12014	* tests/netx/unit/net/sourceforge/jnlp/templates/template1.jnlp:
12015	  Test Template JNLP file: An exact duplicate of the launching
12016	  JNLP file.
12017	* tests/netx/unit/net/sourceforge/jnlp/templates/template2.jnlp:
12018	  Test Template JNLP file: Contains wildchars as attribute/element
12019	  values.
12020	* tests/netx/unit/net/sourceforge/jnlp/templates/template3.jnlp:
12021	  Test Template JNLP file: Different order of elements/attributes
12022	  (same value)
12023	* tests/netx/unit/net/sourceforge/jnlp/templates/template4.jnlp:
12024	  Test Template JNLP file: Contains wildchars as values of ALL elements
12025	  and attribute.
12026	* tests/netx/unit/net/sourceforge/jnlp/templates/template5.jnlp:
12027	  Test Template JNLP file: Contains comments.
12028	* tests/netx/unit/net/sourceforge/jnlp/templates/template6.jnlp:
12029	  Test Template JNLP file: Contains different attribute and element
12030	  values.
12031	* tests/netx/unit/net/sourceforge/jnlp/templates/template7.jnlp:
12032	  Test Template JNLP file: Contains additional children in element.
12033	* tests/netx/unit/net/sourceforge/jnlp/templates/template8.jnlp:
12034	  Test Template JNLP file: Contains fewer children in element.
12035	* tests/netx/unit/net/sourceforge/jnlp/templates/template9.jnlp:
12036	  Test Template JNLP file: All values are different from the launching
12037	  JNLP file.
12038	* tests/netx/unit/net/sourceforge/jnlp/application/application0.jnlp:
12039	  Test Application JNLP file: Contains CDATA.
12040	* tests/netx/unit/net/sourceforge/jnlp/application/application1.jnlp:
12041	  Test Application JNLP file: An exact duplicate of the launching
12042	  JNLP file.
12043	* tests/netx/unit/net/sourceforge/jnlp/application/application2.jnlp:
12044	  Test Application JNLP file: Different order of element/attributes
12045	  (same value).
12046	* tests/netx/unit/net/sourceforge/jnlp/application/application3.jnlp:
12047	  Test Application JNLP file: Contains comments.
12048	* tests/netx/unit/net/sourceforge/jnlp/application/application4.jnlp:
12049	  Test Application JNLP file: Contains wildchars as attribute/element
12050	  values.
12051	* tests/netx/unit/net/sourceforge/jnlp/application/application5.jnlp:
12052	  Test Application JNLP file: Contains a different attribute (codebase)
12053	  value.
12054	* tests/netx/unit/net/sourceforge/jnlp/application/application6.jnlp:
12055	  Test Application JNLP file: Contains additional children in element.
12056	* tests/netx/unit/net/sourceforge/jnlp/application/application7.jnlp:
12057	  Test Application JNLP file: Contains fewer children in element.
12058	* tests/netx/unit/net/sourceforge/jnlp/application/application8.jnlp:
12059	  Test Application JNLP file: All values are different from the
12060	  launching JNLP file.
12061	* Makefile.am:
12062	  (run-netx-unit-tests): Copies resources(non java files) to test.build
12063	  before running the unit tests.
12064
120652011-06-22 Jiri Vanek <jvanek@redhat.com>
12066
12067	* tests/report-styles/jreport.xsl: part with classes statistics is now collapsible
12068
120692011-06-21 Jiri Vanek <jvanek@redhat.com>
12070
12071	* tests/jnlp_tests/simple: AccessClassInPackage, ReplaceSecurityManager,
12072	AddShutdownHook, ReadEnvironment,  SetContextClassLoader,
12073	AllStackTraces,  ReadProperties, CreateClassLoader, RedirectStreams tests
12074
120752011-06-21 Jiri Vanek <jvanek@redhat.com>
12076
12077	* Makefile.am: (run-netx-dist-tests): no depends on copying of styles
12078	(clean-netx-dist-tests): depends also on removing of styles
12079
120802011-06-17 Jiri Vanek <jvanek@redhat.com>
12081
12082	* tests/jnlp_tests: directory for reproducers
12083	* tests/jnlp_tests/advanced: reproducers which must care about
12084	 deploying and compiling thmselves
12085	* tests/jnlp_tests/simple: reproducers compiled, jared and deployed
12086	automatically
12087	* tests/jnlp_tests/simple/name/srcs|testcases|resources/: sourcefiles,
12088	resources and testaces for simple reproducers
12089	* tests/jnlp_tests/simple/deadlocktest: test for tracing not-killable
12090	javaws
12091	* tests/jnlp_tests/simple/simpletest1: tutorial test
12092	* tests/jnlp_tests/simple/simpletest2: tutorial test with exception
12093	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ResourcesTest.java:
12094	tests for server basic functionality
12095	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
12096	implementation of server to produce jnlps and resources. Implementation
12097	of helpers to run javaws process.
12098	* Makefile.am: new variables pointing to structure above;
12099	(junit-jnlp-dist-dirs.txt): prepare destination directory structure
12100	(stamps/netx-dist-tests-prepare-reproducers.stamp):compile tescascases of simple reproducers
12101	(netx-dist-tests-source-files.txt): lookup for server and helping classes
12102	(stamps/netx-dist-tests-compile.stamp): compile server and helping classes
12103	(stamps/netx-dist-tests-compile-testcases.stamp): compile, jar and deploy all simple testcases and their resources
12104	(run-netx-dist-tests): after make install run junit testsuite upon reproducers on virtual server
12105	(clean-netx-tests): added dependence on  clean-netx-dist-tests
12106	(clean-netx-dist-tests): deleting  of reproducers
12107
121082011-06-16 Jiri Vanek <jvanek@redhat.com>
12109
12110	* tests/report-styles/index.js: fast navigation functions
12111	* tests/report-styles/report.css: styles for transformed result
12112	* tests/report-styles/jreport.xsl: template for human-readable
12113	xml->html transformation.
12114	* Makefile.am: New variable for report-styles directory;
12115	($(TESTS_DIR)/$(REPORT_STYLES_DIRNAME)): goal for copying styles and
12116	javascripts; (run-netx-unit-tests): added nonfaling xsltproc
12117	transformation of sheet and unit-tests' xml report to index_unit.html;
12118	(clean-netx-unit-tests): now depends also on clean_tests_reports;
12119	(clean_tests_reports): new goal to remove report styles directory and
12120	indexs html files.
12121
121222011-07-14  Omair Majid  <omajid@redhat.com>
12123
12124	RH718170, CVE-2011-2514: Java Web Start security warning dialog
12125	manipulation
12126	* netx/net/sourceforge/jnlp/services/XExtendedService.java
12127	(openFile): Create XContents based on a copy of the File object to prevent
12128	overloaded File classes from mangling the name.
12129	(XFileContents): Create a separate copy of File object for local use.
12130
121312011-07-14  Omair Majid  <omajid@redhat.com>
12132
12133	RH718164, CVE-2011-2513: Home directory path disclosure to untrusted
12134	applications
12135	* netx/net/sourceforge/jnlp/runtime/CachedJarFileCallback.java: New file.
12136	* netx/net/sourceforge/jnlp/util/UrlUtils.java: New file.
12137	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
12138	jarLocationSecurityMap now contains originating urls, not cache urls.
12139	(initializeResources): Add remote url to map instead of local url.
12140	(activateJars): Add remote url to the classloader's urls. Add mapping for
12141	remote to local url. Put remote url in jarLocationSecurityMap.
12142	(loadClass): Add remote url to the classloader's urls. Add mapping for
12143	remote to local url.
12144	(getCodeSourceSecurity): Update javadoc to note that the url must be
12145	remote.
12146	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
12147	(initialize): Set the callback for URLJarFile.
12148
121492011-06-14  Andrew Su  <asu@redhat.com>
12150
12151	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java:
12152	(ControlPanel): Removed line that prevents resizing.
12153	(createMainSettingsPanel): Detect the minimum size of panels instead
12154	of fixed size.
12155	* netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java:
12156	(addComponents): Changed to update size when tool is being resized.
12157	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
12158	addComponents): Changed to a layout that will resize itself.
12159
121602011-06-10  Denis Lila  <dlila@redhat.com>
12161
12162	* netx/net/sourceforge/jnlp/GuiLaunchHandler.java:
12163	(mutex): New mutex for synchronizing splashScreen.
12164	(closeSplashScreen): New method to hide and dispose
12165	splashScreen.
12166	(launchStarting): Call closeSplashScreen instead of doing it
12167	inline.
12168	(launchInitialized): Sync splashScreen creation.
12169	(validationError, launchError): Call closeSplashScreen.
12170
121712011-06-10  Denis Lila  <dlila@redhat.com>
12172
12173	* netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java:
12174	(frameMutex): New mutex to synchronize accesses to "frame".
12175	(getListener): Make almost all of it synchronized on frameMutex.
12176	(disposeListener): Sync hider's body around frameMutex and call
12177	dispose on the frame so that the awt threads die when they should.
12178	(addProgressPanel): Sync "frame" usage.
12179
121802011-06-08  Saad Mohammad  <smohammad@redhat.com>
12181
12182	* AUTHORS: Updated
12183	* netx/net/sourceforge/jnlp/services/ServiceUtil.java
12184	(checkAccess): Moved the process of checking if the application is a trusted
12185	application to a new method called isSigned().
12186	* netx/net/sourceforge/jnlp/services/XPersistenceService.java
12187	(checkLocation): Allows trusted application to have access to
12188	PersistenceService data from different hosts. It uses ServiceUtil.isSigned()
12189	to determine if the current application is a trusted application.
12190
121912011-06-08  Andrew Su  <asu@redhat.com>
12192
12193	* NEWS: Updated.
12194	* netx/net/sourceforge/jnlp/JNLPFile.java:
12195	(JNLPFile): Calls new constructor.
12196	(JNLPFile): New constructor to take an option for forcing a codebase.
12197	(JNLPFile): Call parse with extra parameter.
12198	(parse): Use the given codebase passed in if we did not find one.
12199	* netx/net/sourceforge/jnlp/Parser.java:
12200	(Parser): Calls new constructor.
12201	(Parser): New constructor which takes in a codebase as a last option.
12202	* netx/net/sourceforge/jnlp/PluginBridge.java:
12203	(PluginBridge): Calls new JNLPFile's constructor with current codebase
12204
122052011-06-08  Andrew Su  <asu@redhat.com>
12206
12207	* netx/net/sourceforge/jnlp/PluginBridge.java:
12208	(jars): Changed to use HashSet instead of String[].
12209	(PluginBridge): Updated to work with HashSet instead of String[]
12210	(getResources): Likewise.
12211
122122011-06-08  Deepak Bhole <dbhole@redhat.com>
12213
12214	PR721: IcedTeaPlugin.so cannot run g_main_context_iteration on a different
12215	thread unless a different GMainContext *context is used
12216	* plugin/icedteanp/IcedTeaJavaRequestProcessor.cc
12217	(postAndWaitForResponse): Added logic for tracking when the processor is
12218	running from a plugin main thread, and logic to process main thread
12219	specific messages queued thereafter until function exit.
12220	* plugin/icedteanp/IcedTeaNPPlugin.cc:
12221	(itnp_plugin_thread_id): New variable. Tracks plugin main thread ID.
12222	(pluginAsyncCallMutex): New variable. Mutex to lock async call queue.
12223	(NP_Initialize): Initialize the itnp_plugin_thread_id variable and make
12224	ithe make pluginAsyncCallMutex recursive.
12225	(NP_Shutdown): Destroy pluginAsyncCallMutex.
12226	* plugin/icedteanp/IcedTeaNPPlugin.h:
12227	(CHROMIUM_WORKAROUND): Remove macro.
12228	(itnp_plugin_thread_id): New variable. Tracks plugin main thread ID.
12229	(pluginAsyncCallMutex): New variable. Mutex to lock async call queue.
12230	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
12231	(eval): Remove chromium workaround.
12232	(call): Same.
12233	(sendString): Same.
12234	(setMember): Same.
12235	(sendMember): Same.
12236	(loadURL): Same.
12237	* plugin/icedteanp/IcedTeaPluginRequestProcessor.h: Moved
12238	async_call_thread_data to IcedTeaPluginUtils.h.
12239	* plugin/icedteanp/IcedTeaPluginUtils.cc
12240	(pendingPluginThreadRequests): New variable. Queue to track events waiting
12241	for async execution on plug-in thread.
12242	(callAndWaitForResult): New function. Calls a method on plug-in thread and
12243	waits for the execution to complete.
12244	(postPluginThreadAsyncCall): New function. Posts a method call to the
12245	async execution queue and calls NPN_PluginThreadAsynCall.
12246	(processAsyncCallQueue): New function. Called from the plug-in thread,
12247	this function empties the event queue of functions waiting for plug-in
12248	thread execution.
12249	* plugin/icedteanp/IcedTeaPluginUtils.h
12250	(plugin_thread_call): New struct to hold async call data.
12251	(async_call_thread_data): Struct moved from IcedTeaPluginRequestProcessor.
12252	(processAsyncCallQueue): New function.
12253	(postPluginThreadAsyncCall): Same.
12254	(callAndWaitForResult): Same.
12255	* plugin/icedteanp/IcedTeaScriptablePluginObject.cc
12256	(get_scriptable_java_object): Use
12257	IcedTeaPluginUtilities::callAndWaitForResult to post async callback for
12258	_createAndRetainJavaObject.
12259
122602011-05-31  Omair Majid  <omajid@redhat.com>
12261
12262	* netx/net/sourceforge/jnlp/JNLPSplashScreen.java: Subclass JDialog, not
12263	JFrame.
12264
122652011-05-30  Andrew Su  <asu@redhat.com>
12266
12267	* netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java:
12268	(addComponent): Add check to see if specified cache directory is
12269	writable.
12270
122712011-05-30  Andrew Su  <asu@redhat.com>
12272
12273	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
12274	(downloadResource): Check whether file to be downloaded is current.
12275
122762011-05-30  Andrew Su  <asu@redhat.com>
12277
12278	* netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java:
12279	(properties): Removed property.
12280	(addComponents): Removed checkbox.
12281	* netx/net/sourceforge/jnlp/resources/Messages.properties:
12282	Removed translation string for DPLifeCycleExceptions.
12283
122842011-05-27  Deepak Bhole <dbhole@redhat.com>
12285
12286	PR723: AccessControlException while downloading resource
12287	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java
12288	(Downloader): Make class private.
12289	(Downloader::run): Call processResource via doPrivileged since
12290	resources may get added at run time from application code via
12291	JNLPClassLoader::addNewJar().
12292
122932011-05-27  Deepak Bhole <dbhole@redhat.com>
12294
12295	PR735: Firefox 4 sometimes freezes if the applet calls showDocument()
12296	* plugin/icedteanp/IcedTeaNPPlugin.cc (consume_message): Defer handling to
12297	url load request to the queue processor.
12298	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
12299	(PluginRequestProcessor::newMessageOnBus): Handle new LoadURL command.
12300	(PluginRequestProcessor::loadURL): New method. Loads the specified url in
12301	the given target.
12302	(queue_processor): Process the LoadURL command.
12303	(_loadURL): New async callback function to handle LoadURL commands.
12304	* plugin/icedteanp/IcedTeaPluginRequestProcessor.h: Add _loadURL and
12305	loadURL method declerations.
12306	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java (showDocument):
12307	Send the url load command in the standard "instance X reference Y
12308	<command> <args>" format.
12309
123102011-05-27  Deepak Bhole <dbhole@redhat.com>
12311
12312	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
12313	(appletClose): Call dispose from the swing thread. Also, don't try to stop
12314	the threadgroup.
12315
123162011-05-27  Deepak Bhole <dbhole@redhat.com>
12317
12318	* Backed out 0256de6a4bf6
12319
123202011-05-27  Omair Majid  <omajid@redhat.com>
12321
12322	* NEWS: Update.
12323	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
12324	(getClassPathsFromManifest): Check for possible nulls and empty strings.
12325
123262011-05-26  Andrew Su  <asu@redhat.com>
12327
12328	* NEWS: Update.
12329	* netx/net/sourceforge/jnlp/cache/CacheUtil.java:
12330	(cleanCache): Split conditional for delete.
12331
123322011-05-20  Andrew Su  <asu@redhat.com>
12333
12334	* NEWS: Update.
12335
123362011-05-20  Andrew Su  <asu@redhat.com>
12337
12338	* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java:
12339	(CacheLRUWrapper): New constructor to create file.
12340	(lock): Removed creation of file here.
12341
123422011-05-17 Jiri Vanek <jvanek@redhat.com>
12343
12344	* tests/junit-runner/JunitLikeXmlOutputListener: This listener exports
12345	results of junit in xml which "follows junit-output schema". Extended
12346	for date, duration and some statististics for future purpose
12347	* Makefile.am (run-netx-unit-tests): backuping stdout/stderr of tests
12348	* tests/junit-runner/CommandLine.java: registered
12349	JunitLikeXmlOutputListener
12350
123512011-05-10  Andrew Su  <asu@redhat.com>
12352
12353	* netx/net/sourceforge/jnlp/controlpanel/CachePane.java:
12354	(addComponents):Created a new comparator for sorting by file size and
12355	date.
12356
123572011-05-09  Jiri Vanek  <jvanek@redhat.com>
12358	* tests/junit-runner/CommandLine.java:r added skipping of inner
12359	classes and one jnlp file from sources package.
12360
123612011-05-03  Denis Lila  <dlila@redhat.com>
12362
12363	* netx/net/sourceforge/jnlp/NetxPanel.java:
12364	Add imports.
12365	(uKeyToTG): Change to HashMap.
12366	(TGMapMutex): New mutex to synchronize uKeyToTG.
12367	(getThreadGroup): Synchronize on TGMapMutex.
12368	(NetxPanel): Only create a new thread group if one doesn't already
12369	exist for the computed uKey.
12370
123712011-05-02  Deepak Bhole <dbhole@redhat.com>
12372
12373	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
12374	(appletClose): Do not try to stop threads, now that the loader is shared
12375	and the thread group for applets on a page is identical. Call dispose from
12376	invokeAndWait.
12377	(appletSystemExit): Exit the VM when called.
12378
123792011-04-28  Denis Lila  <dlila@redhat.com>
12380
12381	* netx/net/sourceforge/jnlp/NetxPanel.java:
12382	Remove unused import; add imports.
12383	(uKey, uKeyToTG, appContextCreated): New members.
12384	(getThreadGroup, createNewAppContext): New methods.
12385	(runLoader): Pass uKey to PluginBridge's constructor.
12386	(run): Remove. No longer needed.
12387	(NetxPanel): Initialize uKey. If it is a new key, make a new thread
12388	group for it and save it in the hash map.
12389	(createAppletThread): Use getFutureTG instead of creating a thread
12390	group on the spot.
12391	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
12392	(createPanel): Initialize and frame the panel in a separate thread.
12393	* netx/net/sourceforge/jnlp/Launcher.java:
12394	Remove unused import.
12395	(createApplet, createApplication, createThreadGroup): Replace
12396	AppThreadGroup with ThreadGroup. Remove all calls to setApplication.
12397	* netx/net/sourceforge/jnlp/PluginBridge.java:
12398	(PluginBridge): Remove the uniqueKey initialization logic. Set
12399	uniqueKey to the uKey parameter.
12400	* netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java:
12401	Remove file.
12402
124032011-04-28  Omair Majid  <omajid@redhat.com>
12404
12405	* Makefile.am (javaws, itweb_settings): New variables.
12406	(edit_launcher_script, all-local, install-exe-local)
12407	(uninstall-local, clean-launchers, javaws.desktop)
12408	(itweb-settings.desktop): Replace all uses of javaws and
12409	itweb-settings with the new variables.
12410	(launcher.build/javaws): Replace with ...
12411	(launcher.build/$(javaws)): New target.
12412	(launcher.build/itweb-settings): Replace with...
12413	(launcher.build/$(itweb-settings)): New target.
12414
124152011-04-21  Deepak Bhole <dbhole@redhat.com>
12416
12417	* configure.ac: Bumped version to 1.2pre
12418
124192011-04-21  Deepak Bhole <dbhole@redhat.com>
12420
12421	* plugin/icedteanp/IcedTeaNPPlugin.cc (consume_message): Use
12422	NPN_GetURLNotify (non-blocking) instead of NPN_GetURL (blocking) so that
12423	the plugin is free to process additional requests.
12424	* ChangeLog: Fixed spacing issues in previous entry.
12425
124262011-04-20  Andrew Su  <asu@redhat.com>
12427
12428	* netx/net/sourceforge/jnlp/controlpanel/CachePane.java:
12429	(createButtonPanel): Changed to update the recently_used file to
12430	reflect the deletion. Added method updateRecentlyUsed to anonymous
12431	ActionListener class which will do the actual updating.
12432
124332011-04-20  Omair Majid  <omajid@redhat.com>
12434
12435	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: Add new private
12436	variable classpathsInManifest.
12437	(activateJars): When adding jar index, also add Class-Path entries from the
12438	Manifest file in the jar.
12439	(loadClass): Search for jars specified in classpaths before looking for
12440	entries in jar index.
12441	(addNewJar): New method refactored from loadClass.
12442
124432011-04-20  Omair Majid  <omajid@redhat.com>
12444
12445	* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
12446	(getApplication(Class[],int)): Renamed to ...
12447	(getApplication(Thread,Class[],int)): New method. Check the thread's
12448	context ClassLoader as well as parents of the classloader.
12449	(getJnlpClassLoader): New method.
12450	(getApplication, checkExit): Update to work with new method signatures.
12451
124522011-04-20  Omair Majid  <omajid@redhat.com>
12453
12454	* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
12455	(PluginAppletSecurityContext): Set the launch handler to the stdout/stderr
12456	based one.
12457
124582011-04-20  Andrew Su  <asu@redhat.com>
12459
12460	* netx/net/sourceforge/jnlp/controlpanel/CachePane.java:
12461	(generateData): Skip through the identifier for cached item.
12462
124632011-04-20  Andrew Su  <asu@redhat.com>
12464
12465	* netx/net/sourceforge/jnlp/controlpanel/CachePane.java:
12466	(createButtonPanel): Added check to delete button for whether plugin
12467	or javaws is not running before proceeding with delete.
12468
124692011-04-20  Andrew Su  <asu@redhat.com>
12470
12471	* netx/net/sourceforge/jnlp/cache/CacheUtil.java:
12472	(cleanCache): Added check for removing files that are over set max
12473	limit.
12474	(removeUntrackedDirectories): Removed method. Replaced by
12475	removeSetOfDirectories.
12476	(removeSetOfDirectories): New method. Removes a given set of
12477	directories.
12478
124792011-04-20  Andrew Su  <asu@redhat.com>
12480
12481	* netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java:
12482	(addComponents): Uncommented lines of code to reintroduce components
12483	to handle setting cache size limit.
12484
124852011-04-20  Andrew Su  <asu@redhat.com>
12486
12487	* netx/net/sourceforge/jnlp/cache/CacheUtil.java:
12488	(getCacheFile): Store lru after modifying.
12489
124902011-04-18  Andrew Su  <asu@redhat.com>
12491
12492	* netx/net/sourceforge/jnlp/cache/CacheEntry.java:
12493	(markForDelete): New method. Adds an entry to info file specifying
12494	that this file should be delete.
12495	(lock): New method. Locks the info file.
12496	(unlock): New method. Unlocks the info file.
12497	* netx/net/sourceforge/jnlp/cache/CacheUtil.java:
12498	(cacheDir, lruHandler, propertiesLockPool): New private static fields.
12499	(clearCache): Changed to use static field.
12500	(getCacheFile): Changed to call getCacheFileIfExist and
12501	makeNewCacheFile where appropriate.
12502	(getCacheFileIfExist): New method. Get the file of requested item.
12503	(makeNewCacheFile): New method. Create a new location to store cache
12504	file.
12505	(pathToURLPath): New method. Convert the file path to the url path.
12506	(cleanCache): New method. Search for redundant entries and remove
12507	them.
12508	(removeUntrackedDirectories): New method. Remove all untracked
12509	directories.
12510	(lockFile): New method. Locks the given property file.
12511	(unlockFile): New method. Unlocks the property file if we locked
12512	before.
12513	* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java: New class.
12514	Provides wrappers for handling cache's LRU.
12515	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
12516	(downloadResource): Ensure that we only allow downloading the
12517	specified file once.
12518	(initializeResource): Added creation of new location to store an
12519	updated or new file.
12520	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
12521	(JNLPClassLoader): Reordered the calls since we should check
12522	permission after we have the files ready.
12523	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java:
12524	(markNetxRunning): Added call to CacheUtil.cleanCache() when adding
12525	shutdown hooks.
12526	* netx/net/sourceforge/jnlp/util/FileUtils.java:
12527	(getFileLock): New method.
12528	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java:
12529	(getContentsAsReader): Changed call from using urlToPath to
12530	getCacheFile, since the directories are no longer in that location.
12531
125322011-04-18  Denis Lila  <dlila@redhat.com>
12533
12534	* netx/net/sourceforge/jnlp/Launcher.java:
12535	Remove unused import.
12536	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
12537	Add annotation to suppress warning.
12538	(loadClass): Make synchronized.
12539
125402010-04-14  Andrew John Hughes  <ahughes@redhat.com>
12541
12542	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java,
12543	(PluginAppletPanelFactory.createPanel(PluginStreamHandler,
12544	int,long,int,int,URL,Hashtable)): Remove duplication of wait
12545	for panel.isAlive().
12546	(PluginAppletViewer.panelLock): New lock used to track panel
12547	creation.
12548	(PluginAppletViewer.panelLive): Condition queue for panel creation.
12549	(PluginAppletViewer.appletsLock): New lock used to track additions
12550	to the applets map.
12551	(PluginAppletViewer.appletAdded): Condition queue for applet addition.
12552	(PluginAppletViewer.statusLock): New lock for status changes.
12553	(PluginAppletViewer.initComplete): Condition queue for initialisation
12554	completion.
12555	(PluginAppletViewer.framePanel(int,long,NetxPanel)):
12556	Replace synchronized block with use of appletsLock and notification
12557	on appletAdded condition queue.
12558	(AppletEventListener.appletStateChanged(AppletEvent)): Signal the
12559	panelLive condition queue that the panel is live.
12560	(PluginAppletViewer.handleMessage(int,int,String)): Wait on appletAdded
12561	condition queue for applet to be added to the applets map.
12562	(PluginAppletViewer.updateStatus(Int,PAV_INIT_STATUS)): Signal when a
12563	status change occurs using the initComplete condition queue.
12564	(PluginAppletViewer.waitForAppletInit(NetxPanel)): Wait on the panelLive
12565	condition queue until the panel is created.
12566	(PluginAppletViewer.handleMessage(int,String)): Wait on the initComplete
12567	condition queue until initialisation is complete.  Wait on the panelLive
12568	signal until panel is created.
12569	(waitTillTimeout(ReentrantLock,Condition,long)): Convert to use
12570	ReentrantLock and Condition.  Add assertion to check the lock is held.
12571	Avoid conversion between milliseconds and nanoseconds.
12572
125732011-04-18  Deepak Bhole <dbhole@redhat.com>
12574
12575	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
12576	(PluginAppletPanelFactory::createPanel): Make the NetxPanel variable
12577	final. Resize frame to work around problem whereby AppletViewerPanel
12578	doesn't always set the right size initially.
12579
125802011-04-18  Deepak Bhole <dbhole@redhat.com>
12581
12582	RH691259: Midori sends a SIGSEGV with the IcedTea NP Plugin
12583	* plugin/icedteanp/IcedTeaNPPlugin.cc (NP_Initialize): Rather than
12584	returning immediately if already initialized, return after function tables
12585	are reset.
12586
125872010-04-11  Andrew John Hughes  <ahughes@redhat.com>
12588
12589	* configure.ac:
12590	Check Gentoo install location for JUnit 4.
12591
125922011-04-13  Deepak Bhole <dbhole@redhat.com>
12593
12594	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java (createPanel):
12595	use Object.wait() to wait, rather than pariodic sleep.
12596	(APPLET_TIMEOUT): Updated to be in nanoseconds.
12597	(framePanel): Synchronize put and notify threads waiting on the applets
12598	map instance.
12599	(appletStateChanged): Notify all threads waiting on the panel that just
12600	changed state.
12601	(handleMessage): Use the new waitTillTimeout function to wait, rather than
12602	periodically waking up. Improved timeout error string sent back.
12603	(updateStatus): Synchronize put and notify all threads waiting on status
12604	map.
12605	(waitForAppletInit): Use the new waitTillTimeout function to wait, rather
12606	than periodically waking up.
12607	(waitTillTimeout): New function. For a given non-null object, waits until
12608	the specified timeout, or, if an interrupt was thrown during wait, returns
12609	immediately.
12610
126112011-04-14  Denis Lila  <dlila@redhat.com>
12612
12613	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
12614	Remove unused imports, added various SuppressWarnings annotations.
12615	(createPanel): Return NetxPanel from doPriviledged. Remove dead code.
12616	(PluginParseRequest): Remove - unused.
12617	(defaultSaveFile, label, statusMsgStream, requests, handle): Remove unused.
12618	(panel): Make NetxPanel.
12619	(identifier, appletPanels): Privatize.
12620	(appletPanels): Change type to NetxPanel.
12621	(applets, status): Use ConcurrentHashMaps.
12622	(framePanel, PluginAppletViewer): Remove unused PrintStream argument.
12623	(forceredraw): Remove - unused.
12624	(getApplets): Use generics.
12625	(appletClose): Fix style to match our convention.
12626	(destroyApplet): Use pav instead of calling get many times.
12627	(splitSeparator): Remove. Replace uses by String.split().
12628
126292011-04-13  Andrew Su  <asu@redhat.com>
12630
12631	* netx/net/sourceforge/jnlp/cache/CacheDirectory.java:
12632	Added final modifier to class declaration.
12633	(CacheDirectory): New private constructor.
12634
126352011-04-12  Denis Lila  <dlila@redhat.com>
12636
12637	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
12638	(applets, status): Make concurrent.
12639	(PluginAppletViewer): Synchronize appletPanels addElement.
12640	(destroyApplet): Remove applets.containsKey because it and the
12641	get that followed it were not atomic.
12642	(appletPanels): Privatize.
12643	(getApplet, getApplets): Synchronize iteration.
12644
126452011-04-08  Omair Majid  <omajid@redhat.com>
12646
12647	* README: Update to add notes on rhino and junit.
12648
126492011-04-07  Deepak Bhole <dbhole@redhat.com>
12650
12651	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
12652	(constructor): Make window close event call destroy applet which can be
12653	safely called multiple times, unlike appletClose.
12654
126552011-04-06  Andrew Su  <asu@redhat.com>
12656
12657	* netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsPane.java:
12658	(addComponents): Changed all port fields to use document which
12659	prevents input of non-valid port numbers.
12660	* netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java:
12661	(addComponents): likewise.
12662	(getPortNumberDocument): New method.
12663	* netx/net/sourceforge/jnlp/resources/Messages.properties:
12664	Added CPInvalidPort and CPInvalidPortTitle.
12665
126662011-04-05  Denis Lila  <dlila@redhat.com>
12667
12668	* plugin/icedteanp/java/netscape/javascript/JSObject.java:
12669	Replaced every instance of PluginDebug.debug(a + b + c...)
12670	with PluginDebug.debug(a, b, c...).
12671
126722011-04-05  Denis Lila  <dlila@redhat.com>
12673
12674	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
12675	Remove unused imports, add import.
12676	(downloadOptions): Make ConcurrentHashMap.
12677
126782011-04-05  Denis Lila  <dlila@redhat.com>
12679
12680	* plugin/icedteanp/IcedTeaNPPlugin.cc
12681	(plugin_start_appletviewer): Replace hardcoded indices
12682	with a variable; roll up free calls in a loop; fix whitespace;
12683	set classpath to ICEDTEA_WEB_JRE/lib/rt.jar.
12684	* launcher/javaws.in:
12685	Set class path to JRE/lib/rt.jar.
12686	* Makefile.am:
12687	Replace @JRE@ with $(JRE) in edit_launcher_script.
12688
126892011-04-01  Denis Lila  <dlila@redhat.com>
12690
12691	* plugin/icedteanp/java/sun/applet/PluginDebug.java:
12692	(debug): Use StringBuilder to build the string.
12693
126942011-03-31  Omair Majid  <omajid@redhat.com>
12695
12696	* netx/net/sourceforge/jnlp/Launcher.java: Add parserSettings and extra.
12697	(setParserSettings): New method.
12698	(setInformationToMerge): New method.
12699	(launch(JNLPFile,Container)): Call mergeExtraInformation.
12700	(launch(URL,boolean)): New method.
12701	(mergeExtraInformation): New method.
12702	(addProperties, addParameters, addArguments): Moved here from Boot.java
12703	(fromUrl): New method.
12704	* netx/net/sourceforge/jnlp/ParserSettings.java: New file.
12705	* netx/net/sourceforge/jnlp/resources/Messages.properties: Remove BArgNA,
12706	BParamNA.
12707	* netx/net/sourceforge/jnlp/runtime/Boot.java
12708	(run): Do not parse JNLP file. Pass ParserSettings and other command line
12709	additions to launcher.
12710	(getFile): Rename to...
12711	(getFileLocation): New method.
12712	(addProperties, addParameters, addArguments): Move to Launcher.java.
12713
127142011-03-31  Denis Lila  <dlila@redhat.com>
12715
12716	* plugin/icedteanp/java/netscape/javascript/JSObject.java:
12717	Fix comments, remove unused imports.
12718	(equals): Remove. It was breaking the reflexivity in the
12719	equals contract.
12720
127212011-03-31  Denis Lila  <dlila@redhat.com>
12722
12723	* plugin/icedteanp/java/sun/applet/PluginObjectStore.java:
12724	Add citation of Effective Java, 2nd edition.
12725
127262011-03-31  Denis Lila  <dlila@redhat.com>
12727
12728	* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
12729	(store): Make private and remove fixme to make private.
12730	* plugin/icedteanp/java/sun/applet/PluginObjectStore.java
12731	(PluginObjectStore): Make it a singleton using enum.
12732	(objects, counts, identifiers, lock, wrapped, nextUniqueIdentifier,
12733	 checkNeg): Made instance methods/members.
12734	(getInstance): New static method.
12735
127362011-03-31  Denis Lila  <dlila@redhat.com>
12737
12738	* plugin/icedteanp/java/sun/applet/AppletSecurityContextManager.java
12739	* plugin/icedteanp/java/sun/applet/GetMemberPluginCallRequest.java
12740	* plugin/icedteanp/java/sun/applet/GetWindowPluginCallRequest.java
12741	* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
12742	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
12743	* plugin/icedteanp/java/sun/applet/PluginCookieInfoRequest.java
12744	* plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java
12745	* plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java
12746	* plugin/icedteanp/java/sun/applet/PluginObjectStore.java
12747	* plugin/icedteanp/java/sun/applet/PluginProxyInfoRequest.java
12748	* plugin/icedteanp/java/sun/applet/PluginProxySelector.java
12749	* plugin/icedteanp/java/sun/applet/PluginStreamHandler.java
12750	* plugin/icedteanp/java/sun/applet/RequestQueue.java
12751	* plugin/icedteanp/java/sun/applet/VoidPluginCallRequest.java:
12752	Change all instances of PluginDebug.debug(arg1 + arg2 + ...)
12753	to PluginDebug.debug(arg1, arg2, ...).
12754	* plugin/icedteanp/java/sun/applet/PluginDebug.java:
12755	Change debug from "void debug(String)" to "void debug(Object...)".
12756
127572011-03-31  Denis Lila  <dlila@redhat.com>
12758
12759	* plugin/icedteanp/java/sun/applet/PluginObjectStore.java
12760	(wrapped, lock): New static variables.
12761	(getNextID, checkNeg): New functions.
12762	(reference): Using getNextID and synchronized.
12763	(dump): Improve iteration and synchronized.
12764	(unreference, getObject, getIdentifier, contains(Object),
12765	contains(int)): Synchronized.
12766
127672011-03-31  Omair Majid  <omajid@redhat.com>
12768
12769	Add unit tests for the parser
12770	* Makefile.am: Add TESTS_DIR,TESTS_SRCDIR, NETX_UNIT_TEST_DIR,
12771	and NETX_UNIT_TEST_SRCDIR, JUNIT_RUNNER_DIR, JUNIT_RUNNER_SRCDIR, and
12772	JUNIT_RUNNER_JAR. Conditionally define RHINO_TESTS and UNIT_TESTS.
12773	(clean-local): Use RHINO_TESTS and UNIT_TESTS.
12774	(clean-tests): Depend on clean-netx-tests. Delete directory.
12775	(junit-runner-source-files.txt, $(JUNIT_RUNNER_JAR)),
12776	(next-unit-tests-sources-files.txt stamps/netx-unit-tests-compile.stamp),
12777	(run-netx-unit-tests, clean-netx-tests, clean-junit-runner)
12778	(clean-netx-unit-tests): New targets.
12779	* configure.ac: Add new optional dependency on junit.
12780	* tests/junit-runner/CommandLine.java,
12781	* tests/junit-runner/LessVerboseTextListener.java,
12782	* tests/junit-runner/README,
12783	* tests/netx/unit/net/sourceforge/jnlp/ParserBasicTests.java,
12784	* tests/netx/unit/net/sourceforge/jnlp/ParserCornerCaseTests.java,
12785	* tests/netx/unit/net/sourceforge/jnlp/ParserMalformedXmlTests.java,
12786	* tests/netx/unit/net/sourceforge/jnlp/basic.jnlp: New files.
12787
127882011-03-30  Omair Majid  <omajid@redhat.com>
12789
12790	* Makefile.am: Fix comment explaining reasons for setting
12791	JDK_UPDATE_VERSION.
12792
127932011-03-30  Omair Majid  <omajid@redhat.com>
12794
12795	* netx/net/sourceforge/jnlp/resources/Messages.properties: Fix typo in
12796	RCantRename.
12797
127982011-03-30  Omair Majid  <omajid@redhat.com>
12799
12800	* Makefile.am: Document reason for using bootclasspath.
12801
128022011-03-30  Omair Majid  <omajid@redhat.com>
12803
12804	* netx/javaws.1: Fix FILES section to point to
12805	~/.icedtea/deployment.properties.
12806
128072011-03-30  Omair Majid  <omajid@redhat.com>
12808
12809	* netx/net/sourceforge/jnlp/LaunchHandler.java
12810	(launchInitialized, launchStarting): New methods.
12811	* netx/net/sourceforge/jnlp/DefaultLaunchHandler.java
12812	(launchInitialized, launchStarting): New methods. No-op
12813	implementation.
12814	(printMessage): Make it static.
12815	* netx/net/sourceforge/jnlp/GuiLaunchHandler.java: New file.
12816	(launchCompleted, launchError, launchStarting, launchInitialized),
12817	(launchWarning, validationError): New methods.
12818	* netx/net/sourceforge/jnlp/Launcher.java (launchApplication):
12819	Invoke handler.launchInitialized and handler.launchStarting instead
12820	of showing a splash screen directly.
12821	* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
12822	ButShowDetails, ButHideDetails and Error.
12823	* netx/net/sourceforge/jnlp/runtime/Boot.java (run): Do not exit on
12824	error.
12825	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
12826	(initialize): Set handler to GuiLaunchHandler if not running in
12827	headless mode.
12828	* netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java: New
12829	file.
12830	(exceptionToString, show): New methods.
12831
128322011-03-29  Denis Lila <dlila@redhat.com>
12833
12834	* netx/net/sourceforge/jnlp/JNLPFile.java
12835	(getInformation): Remove redundant if.
12836
128372010-03-29  Andrew John Hughes  <ahughes@redhat.com>
12838
12839	* plugin/docs/npplugin_liveconnect_design.html:
12840	Replace binary PDF documentation with editable HTML.
12841	* plugin/docs/npplugin_liveconnect_design.pdf: Removed.
12842
128432011-03-28  Omair Majid  <omajid@redhat.com>
12844
12845	* launcher/javaws.in: Split out -J arguments and pass it to the JVM.
12846
128472011-03-28  Deepak Bhole <dbhole@redhat.com>
12848
12849	* netx/net/sourceforge/jnlp/PluginBridge.java
12850	(PluginBridge): Construct unique key based on a combination of
12851	codebase, cache_archive, java_archive, and archive. This automatically
12852	ensures are loaders are shared only when appropriate.
12853
128542011-03-25  Denis Lila <dlila@redhat.com>
12855
12856	* netx/net/sourceforge/jnlp/PluginBridge.java
12857	(codeBaseLookup): new member and getter for it.
12858	(PluginBridge): set codeBaseLookup.
12859	* netx/net/sourceforge/jnlp/Launcher.java:
12860	(createApplet, createAppletObject): call enableCodeBase() if and
12861	only if the enableCodeBase argument is true.
12862
128632011-03-24  Omair Majid  <omajid@redhat.com>
12864
12865	* Makefile.am (EXTRA_DIST): Add $(top_srcdir)/tests.
12866
128672011-03-24  Omair Majid  <omajid@redhat.com>
12868
12869	* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
12870	RBrowserLocationPromptTitle, RBrowserLocationPromptMessage and
12871	RBrowserLocationPromptMessageWithReason.
12872	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
12873	(isWindows): New method. Moved from XBasicService.
12874	(isUnix): New method.
12875	* netx/net/sourceforge/jnlp/services/XBasicService
12876	(initialize): Call initializeBrowserCommand.
12877	(initializeBrowserCommand): New method.
12878	(posixCommandExists): New method.
12879	(isWindows): Moved to JNLPRuntime.
12880
128812011-03-23  Denis Lila  <dlila@redhat.com>
12882
12883	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
12884	(findResource, findResources): New functions. Return nothing
12885	if name.startsWith("META-INF"). Otherwise delegate to superclass.
12886
128872011-03-21  Matthias Klose  <doko@ubuntu.com>
12888
12889	* launcher/itweb-settings.in: Use /bin/sh as interpreter.
12890	* launcher/javaws.in: Likewise.
12891
128922011-03-14  Andrew Su <asu@redhat.com>
12893
12894	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java:
12895	(markNetxRunning): Handle case for when shared locks are not allowed
12896	on the system.
12897
128982011-03-14  Andrew Su <asu@redhat.com>
12899
12900	* netx/net/sourceforge/jnlp/Launcher.java:
12901	(fileLock): Removed private static field.
12902	(launch): Mark NetX as running before launching apps.
12903	(launchApplication): Removed call to markNetxRunning() and removed
12904	shutdown hook for calling markNetxStopped().
12905	(markNetxRunning): Removed method.
12906	(markNetxStopped): Removed method.
12907	* netx/net/sourceforge/jnlp/cache/CacheUtil.java:
12908	(okToClearCache): Removed closing of channel.
12909	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java:
12910	(fileLock): New private static field.
12911	(markNetxRunning): New method to indicate NetX is running.
12912	(markNetxStopped): New method to indicate NetX has stopped.
12913
129142011-03-16  Jiri Vanek  <jvanek@redhat.com>
12915
12916	* extras/net/sourceforge/jnlp/about/Main.java: removed hyperlinkUpdate
12917	and HyperlinkListener, as it can not work without all-permissions.
12918	Also all createAndShowGUI was shorten for call from
12919	net.sourceforge.jnlp package. Html resources were redirected to javaws
12920	* netx/net/sourceforge/jnlp/resources/about.jnlp: removed
12921	<all-permissions>
12922
129232011-03-16  Jiri Vanek  <jvanek@redhat.com>
12924
12925	* netx/net/sourceforge/jnlp/runtime/Boot.java: getAboutFile changed to
12926	return path to local about.jnlp instead to  inner-from-jar
12927	* extras/net/sourceforge/jnlp/: refactored to
12928	extras/net/sourceforge/javaws/, as /net/sourceforge/jnlp/ package
12929	must be run with all-permissions.
12930	* netx/net/sourceforge/jnlp/resources/about.jnlp: codebase changed
12931	to "."
12932
12933
129342011-03-15  Denis Lila  <dlila@redhat.com>
12935
12936	* netx/net/sourceforge/jnlp/Launcher.java
12937	(markNetxRunning): Throw exception if directories can't be created.
12938	* netx/net/sourceforge/jnlp/cache/CacheDirectory.java
12939	(cleanParent): Print error message if file can't be deleted.
12940	* netx/net/sourceforge/jnlp/cache/CacheUtil.java
12941	(getCacheFile): Throw exception if directories can't be created.
12942	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java
12943	(save): Throw exception if directories can't be created.
12944	* netx/net/sourceforge/jnlp/controlpanel/CachePane.java
12945	(createButtonPanel): Print error message if file can't be deleted.
12946	* netx/net/sourceforge/jnlp/resources/Messages.properties
12947	Added messages.
12948	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
12949	(initializeStreams): Throw exception if directories can't be created.
12950	* netx/net/sourceforge/jnlp/services/XPersistenceService.java
12951	(create, get): Throw exception if directories can't be created.
12952	(delete): Print error message if file can't be deleted.
12953	* netx/net/sourceforge/jnlp/util/FileUtils.java
12954	(createRestrictedFile): Throw exception if file permissions can't be
12955	changed.
12956	(createParentDir, deleteWithErrMesg): new functions.
12957
129582011-03-15  Omair Majid  <omajid@redhat.com>
12959
12960	* Makefile.am (LAUNCHER_BOOTCLASSPATH, PLUGIN_BOOTCLASSPATH)
12961	(javaws.desktop, itweb-settings.desktop): Remove DESTDIR.
12962
129632011-03-10  Mark Wielaard  <mark@klomp.org>
12964
12965	* tests/netx/pac/pac-funcs-test.js (testIsResolvable):
12966	Change single host name icedtea to NotIcedTeaHost
12967	to make sure it really isn't resolvable.
12968
129692011-03-10  Omair Majid  <omajid@redhat.com>
12970
12971	Replace native launchers with shell scripts
12972	* NEWS: Update.
12973	* Makefile.am
12974	(LAUNCHER_BOOTCLASSPATH): Remove leading -J.
12975	(LAUNCHER_SRCDIR),
12976	(LAUNCHER_OBJECTS),
12977	(NETX_LAUNCHER_OBJECTS),
12978	(CONTROLPANEL_LAUNCHER_OBJECTS),
12979	(LAUNCHER_FLAGS),
12980	(LAUNCHER_LINK): Remove.
12981	(edit_launcher_script): New function.
12982	(all-local): Depend on new launcher targets.
12983	(clean-local): Depend on clean-launchers.
12984	(.PHONY): Add clean-launchers.
12985	(install-exec-local): Use new launcher paths.
12986	(clean-launchers): New target.
12987	($(NETX_DIR)/launcher/%.o),
12988	($(NETX_DIR)/launcher/controlpanel/%.o),
12989	($(NETX_DIR)/launcher/javaws),
12990	($(NETX_DIR)/launcher/controlpanel/itweb-settings): Remove.
12991	(launcher.build/javaws): New launcher.
12992	(launcher.build/itweb-settings): Likewise.
12993	* launcher/itweb-settings.in,
12994	* launcher/javaws.in: New file.
12995	* netx/net/sourceforge/jnlp/Launcher.java (launchExternal),
12996	* netx/net/sourceforge/jnlp/controlpanel/CommandLine.java (CommandLine):
12997	Use new system properties to find paths and program names.
12998
129992011-03-10  Omair Majid  <omajid@redhat.com>
13000
13001	* acinclude.m4 (IT_FIND_RHINO_JAR): Remove.
13002
130032011-03-10  Omair Majid  <omajid@redhat.com>
13004
13005	* tests/netx/pac/pac-funcs-test.js
13006	(main): Make test summary output more jtreg-like.
13007	(runTests): Change test output format to be more jtreg-like.
13008
130092011-03-09  Denis Lila  <dlila@redhat.com>
13010
13011	* netx/net/sourceforge/jnlp/Parser.java
13012	(getJAR): Remove unused variable.
13013	* netx/net/sourceforge/jnlp/cache/Resource.java
13014	(connection): Remove unused member.
13015	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java
13016	(lock): Initialize to Object() instead of Integer(0). Also,
13017	make final.
13018	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java
13019	(SettingsPanel): Make static class.
13020	* netx/net/sourceforge/jnlp/event/ApplicationEvent.java
13021	(application): Make member transient.
13022	* netx/net/sourceforge/jnlp/event/DownloadEvent.java
13023	(tracker, resource): Make members transient.
13024	* netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java
13025	(appletInstance): Remove unused member.
13026	(parameters): Add parameters to its type (a map).
13027	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
13028	Remove unused import.
13029	(getNativeDir): Improve random int computation.
13030	(CodeBaseClassLoader): Make it a static class.
13031	* netx/net/sourceforge/jnlp/JNLPFile.java
13032	(JNLPFile): Improve random positive int computation.
13033	* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
13034	(activeApplication): Remove unused member.
13035	(checkExit): Remove dead code resulting from activeApplication
13036	always being null.
13037	* netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java
13038	Remove unused import.
13039	(addComponents): Remove unused variable.
13040	* netx/net/sourceforge/jnlp/security/SecurityDialogPanel.java
13041	(SetValueHandler): Make it a static class.
13042	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
13043	(CertificateType): Make it a static class.
13044	* netx/net/sourceforge/jnlp/services/ServiceUtil.java
13045	(checkAccess): Replace new Boolean with Boolean.valueOf.
13046	* netx/net/sourceforge/jnlp/tools/JarSigner.java
13047	(storeHash): Remove unused member.
13048	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java
13049	(getContentsAsReader): Remove unused variable pathToJavaws.
13050
130512011-03-09  Andrew Su  <asu@redhat.com>
13052
13053	* netx/net/sourceforge/jnlp/controlpanel/SecuritySettingsPanel.java:
13054	(addComponents): Fix typo.
13055
130562011-03-08  Omair Majid  <omajid@redhat.com>
13057
13058	* acinclude.m4 (IT_FIND_OPTIONAL_JAR): New macro.
13059	* configure.ac: Do not call IT_FIND_RHINO. Use IT_FIND_OPTIONAL_JAR
13060	instead.
13061
130622011-03-08  Denis Lila  <dlila@redhat.com>
13063
13064	* netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java
13065	(getProxies): Add result to cache, not cachedResult.
13066
130672011-03-08  Denis Lila  <dlila@redhat.com>
13068
13069	* netx/net/sourceforge/jnlp/browser/FirefoxPreferencesFinder.java
13070	(find): Close input stream.
13071	* netx/net/sourceforge/jnlp/browser/FirefoxPreferencesParser.java
13072	(parse): Close input stream.
13073	* netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java
13074	(getPacContents, getHelperFunctionContents): Close input stream.
13075	* netx/net/sourceforge/jnlp/security/CertWarningPane.java
13076	(CheckBoxListener.actionPerformed): Close output stream.
13077	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
13078	(ImportButtonListener.actionPerformed): Close output stream.
13079
130802011-03-08  Andrew Su  <asu@redhat.com>
13081
13082	* netx/net/sourceforge/jnlp/util/PropertiesFile.java:
13083	(load): Closed streams after opening them.
13084	(store): Likewise.
13085
130862011-03-08  Denis Lila  <dlila@redhat.com>
13087
13088	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
13089	(getRequestIdentifier): Fix race condition by synchronizing
13090	on mutex.
13091	(requestIdentityCounter): Now a long.
13092
130932011-03-07  Omair Majid  <omajid@redhat.com>
13094
13095	* acinclude.m4 (IT_FIND_RHINO_JAR): Set RHINO_AVAILABLE to true or false
13096	appropriately.
13097	* build.properties.in: New file.
13098	* jrunscript.in: New file.
13099	* configure.ac: Add build.properties and jrunscript to AC_CONFIG_FILES.
13100	* Makefile.am
13101	(.PHONY): Remove clean-jrunscript.
13102	(build.properties): Remove target.
13103	(stamps/netx.stamp): Remove dependency on build.properties.
13104	(clean-netx): Do not delete build.properties.
13105	(jrunscript): Remove target.
13106	(check-pac-functions): Remove dependency on jrunscript.
13107	(clean-tests): Remove dependency on clean-jrunscript.
13108	(clean-jrunscript): Remove target.
13109
131102011-03-07  Omair Majid  <omajid@redhat.com>
13111
13112	* NEWS: Update.
13113	* acinclude.m4 (IT_OBTAIN_HG_REVISIONS): Use hg id instead of hg tip.
13114
131152011-03-07  Omair Majid  <omajid@redhat.com>
13116
13117	* plugin/icedteanp/IcedTeaNPPlugin.cc: Add plugin_debug_suspend.
13118	(plugin_start_appletviewer): If plugin_debug_suspend is true, start jvm in
13119	suspend mode.
13120
131212011-03-07  Omair Majid  <omajid@redhat.com>
13122
13123	* NEWS: Update.
13124	* Makefile.am
13125	(RHINO_RUNTIME): Define to point to rhino jars, or empty.
13126	(RUNTIME, LAUNCHER_BOOTCLASSPATH, PLUGIN_BOOTCLASSPATH): Include
13127	RHINO_RUNTIME.
13128	(PHONY): Add check-pac-functions, clean-jrunscript and clean-tests.
13129	(check-local): New target. Depends on check-pac-functions.
13130	(check-pac-functions): New target.
13131	(jrunscript): New target.
13132	(clean-tests): New target.
13133	(clean-jrunscript): New target.
13134	(netx-source-files.txt): Remove rhino related files if not building with
13135	rhino.
13136	(build.properties): New target.
13137	(stamps/netx.stamp): Depend on build.properties and copy new files to
13138	build location.
13139	(clean-netx): Remove build.properties.
13140	(stamps/bootstrap-directory.stamp): Add java to bootstrap programs.
13141	* acinclude.m4 (IT_FIND_RHINO_JAR): New macro.
13142	* configure.ac: Invoke IT_FIND_RHINO_JAR.
13143	* netx/net/sourceforge/jnlp/browser/BrowserAwareProxySelector.java: Add
13144	browserProxyAutoConfig.
13145	(initFromBrowserConfig): Initialize browserProxyAutoConfig if needed.
13146	(getFromBrowserPAC): Use browserProxyAutoConfig to find proxies.
13147	* netx/net/sourceforge/jnlp/resources/Messages.properties: Replace
13148	RPRoxyPacNotImplemented with RPRoxyPacNotSupported.
13149	* netx/net/sourceforge/jnlp/runtime/JNLPProxySelector.java: Add
13150	pacEvaluator.
13151	(parseConfiguration): Initialize pacEvaluator if needed.
13152	(getFromPAC): Use pacEvaulator to find proxies.
13153	(getProxiesFromPacResult): New method. Converts a proxy string to a list
13154	or proxies.
13155	* netx/net/sourceforge/jnlp/runtime/PacEvaluator.java: New file. Defines a
13156	Java interface for a PAC evaluator.
13157	* netx/net/sourceforge/jnlp/runtime/FakePacEvaluator.java: New file. Dummy
13158	implementation of a PAC evaluator.
13159	* netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java: New file.
13160	A rhino-based PAC evaluator.
13161	* netx/net/sourceforge/jnlp/runtime/PacEvaluatorFactory.java: New file. A
13162	factory for creating the right PAC evaulator.
13163	* netx/net/sourceforge/jnlp/runtime/pac-funcs.js: New file. Defines helper
13164	functions needed while evaluating PAC files.
13165	* tests/netx/pac/pac-funcs-test.js: New file. Tests the PAC helper
13166	functions.
13167
131682011-03-07  Denis Lila  <dlila@redhat.com>
13169
13170	* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java:
13171	(prepopulateMethod) removed unused object o.
13172	* plugin/icedteanp/java/sun/applet/PluginCallRequest.java:
13173	Made all the members private.
13174	* plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java:
13175	Removed unused imports.
13176	(MAX_PARALLEL_INITS, MAX_WORKERS, PRIORITY_WORKERS, readQueue,
13177	 workers, streamHandler, consumerThread,
13178	 registerPriorityWait(String), unRegisterPriorityWait(String)):
13179	 made private.
13180	(initWorkers, as, processedIds, unRegisterPriorityWait(Long),
13181	 addToInitWorkers): removed - unused.
13182	(getPriorityStrIfPriority): made static; replaced while with for-each.
13183	(notifyWorkerIsFree): removed synchronized section - useless.
13184	(ConsumerThread.run): removed call to addToInitWorkers.
13185	* plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java:
13186	Removed explicit member initializations to the default values; fixed typo.
13187	(PluginMessageHandlerWorker): Removed SecurityManager argument - unused.
13188	* plugin/icedteanp/java/sun/applet/PluginStreamHandler.java:
13189	Removed unused imports.
13190	(consumer, shuttingDown): made private.
13191	(pav, writeQueue, getMessage, messageAvailable): removed - unused.
13192	(PluginStreamHandler): removed pav initialization.
13193	* plugin/icedteanp/java/sun/applet/AppletSecurityContextManager.java:
13194	Removed FIXME comment.
13195
131962011-03-07  Denis Lila  <dlila@redhat.com>
13197
13198	* netx/net/sourceforge/jnlp/JNLPFile.java:
13199	(getResourcesDescs): added comment.
13200	(getDownloadOptionsForJar): removed commented out code.
13201	* netx/net/sourceforge/jnlp/PluginBridge.java
13202	(getResourcesDescs): added comment.
13203	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java
13204	(downloadResource): added comment.
13205
132062011-03-04  Denis Lila  <dlila@redhat.com>
13207
13208	* netx/net/sourceforge/jnlp/JNLPFile.java:
13209	(getDownloadOptionsForJar): Moved here from JNLPClassLoader.java.
13210	* netx/net/sourceforge/jnlp/PluginBridge.java
13211	(usePack, useVersion): added.
13212	(PluginBridge): initializing usePack and useVersion.
13213	(getDownloadOptionsForJar): return the download options.
13214	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
13215	(getDownloadOptionsForJar): logic moved to JNLPFile.java and its
13216	subclasses. Now just calling file.getDownloadOptionsForJar.
13217	* NEWS: Updated with fix of PR658.
13218
132192011-03-04  Denis Lila  <dlila@redhat.com>
13220
13221	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java
13222	(downloadResource): changed the order in which pack200+gz compression
13223	and gzip compression are checked.
13224	* netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java
13225	(getUrl): if usePack is true, append ".pack.gz" to the file name,
13226	instead of replacing ".jar" with ".pack.gz".
13227
132282011-03-04  Deepak Bhole <dbhole@redhat.com>
13229
13230	* NEWS: Updated.
13231	* netx/net/sourceforge/jnlp/PluginBridge.java (PluginBridge): Use
13232	documentbase as a uniquekey so that the classloader may be shared by
13233	applets from the same page.
13234	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: Added new
13235	CodeBaseClassLoader class to load codebase (from path instead of a file)
13236	classes.
13237	(getInstance): Try to match file locations only for Web Start apps. For
13238	plugin, merge the new loader into current one.
13239	(enableCodeBase): Use the new addToCodeBaseLoader method.
13240	(findLoadedClassAll): Search the codebase loader if the class was not
13241	found in the file loaders.
13242	(findClass): Likewise.
13243	(getResource): Likewise.
13244	(findResources): Likewise.
13245	(merge): Merge codebase loaders.
13246	(addToCodeBaseLoader): New method. Adds a given url to the codebase loader
13247	if it is a path.
13248	(CodeBaseClassLoader): New inner class. Extends URLClassLoader to expose
13249	its protected methods like addURL.
13250	* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
13251	(getApplication): Accomodate the fact that the classloader for a class may
13252	be a CodeBaseClassLoader.
13253	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java (run):
13254	Likewise.
13255
132562011-03-03  Deepak Bhole <dbhole@redhat.com>
13257
13258	* plugin/icedteanp/IcedTeaNPPlugin.cc
13259	(plugin_send_initialization_message): New method. Sends initialization
13260	information to the Java side.
13261	(ITNP_SetWindow): Call the new plugin_send_initialization_message
13262	function.
13263	(get_scriptable_object): Same.
13264
132652011-03-03  Deepak Bhole <dbhole@redhat.com>
13266
13267	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
13268	(eval): Proceed with _eval only if instance is valid.
13269	(call): Proceed with _call only if instance is valid. Moved declaration
13270	of result_variant_jniid, result_variant args_array and thread_data to
13271	the top.
13272	(sendString): Proceed with _getString only if instance is valid. Remove
13273	thread count incrementer.
13274	(setMember): Proceed with _setMember only if instance is valid. Remove
13275	thread count incrementer.
13276	(sendMember): Proceed with _getMember only if instance is valid.
13277
132782011-03-03  Deepak Bhole <dbhole@redhat.com>
13279
13280	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
13281	(PluginRequestProcessor): Remove initialization of tc_mutex
13282	(~PluginRequestProcessor): Remove destruction of tc_mutex
13283	(sendString): Removed thread count incrementer code.
13284	(setMember): Same.
13285	(sendMember): Same.
13286	* plugin/icedteanp/IcedTeaPluginRequestProcessor.h: Removed tc_mutex and
13287	thread_count variables.
13288
132892011-03-02  Omair Majid  <omajid@redhat.com>
13290
13291	Fix PR612.
13292	* NEWS: Update with fix.
13293	* netx/net/sourceforge/jnlp/SecurityDesc.java: Add PropertyPermissions for
13294	browser and browser.* to sandboxPermissions.
13295
132962011-03-02  Omair Majid  <omajid@redhat.com>
13297
13298	* netx/net/sourceforge/jnlp/controlpanel/CommandLine.java
13299	(handleSetCommand): Fix warning message.
13300	* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
13301	CLWarningUnknownProperty.
13302
133032011-03-01  Omair Majid  <omajid@redhat.com>
13304
13305	 * netx/net/sourceforge/jnlp/runtime/JNLPPolicy.java (isSystemJar): Check
13306	 for nulls.
13307
133082011-03-01  Andrew Su  <asu@redhat.com>
13309
13310	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java
13311	(createMainSettingsPanel): Commented out unimplemented feature.
13312	* netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java
13313	(addComponents): Commented out unimplemented feature.
13314
133152011-02-28  Omair Majid  <omajid@redhat.com>
13316
13317	* netx/net/sourceforge/jnlp/controlpanel/CommandLine.java
13318	(printResetHelp): Indicate that "all" is a valid argument.
13319	(handleResetCommand): Deal with "all" instead of a property name by
13320	reseting all properties.
13321
133222011-02-28  Denis Lila  <dlila@redhat.com>
13323
13324	* plugin/icedteanp/java/sun/applet/PluginMain.java
13325	(redirectStreams, streamHandler, securityContext) make them local.
13326	(theVersion): make it private.
13327	(PluginMain): make it private. Empty the body.
13328	(main): Do all the work that used to be in PluginMain.
13329	(connect): make it static, and now it returns a PluginStreamHandler
13330	instead of setting a static variable.
13331	(messageAvailable, getMessage): Remove.
13332
133332011-02-28  Omair Majid  <omajid@redhat.com>
13334
13335	* netx/net/sourceforge/jnlp/resources/Messages.properties: Add Password,
13336	Username and SAuthenticationPrompt.
13337	* netx/net/sourceforge/jnlp/security/JNLPAuthenticator.java
13338	(getPasswordAuthentication): Show password prompt using the secure thread.
13339	* netx/net/sourceforge/jnlp/security/PasswordAuthenticationPane.java
13340	(PasswordAuthenticationPane): Initialize variables.
13341	(initialize): For consistency, rename to..
13342	(addComponents): New method. Set the appropriate return value when user
13343	takes an action.
13344	(askUser): Remove.
13345	(main): Remove.
13346	* netx/net/sourceforge/jnlp/security/SecurityDialog.java
13347	(initDialog): Add extra case for AUTHENTICATION dialog type.
13348	(installPanel): Likewise.
13349	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java
13350	(DialogType): Add AUTHENTICATION.
13351	(showAuthenicationPrompt): New method. Shows a password authentication
13352	prompt.
13353
133542011-02-28  Omair Majid  <omajid@redhat.com>
13355
13356	Rename files
13357	* netx/net/sourceforge/jnlp/security/PasswordAuthenticationDialog.java:
13358	Rename to ...
13359	* netx/net/sourceforge/jnlp/security/PasswordAuthenticationPane.java: New
13360	file.
13361	* netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java: Rename
13362	to...
13363	* netx/net/sourceforge/jnlp/security/SecurityDialog.java: New file.
13364	* netx/net/sourceforge/jnlp/security/SecurityWarning.java: Rename to...
13365	* netx/net/sourceforge/jnlp/security/SecurityDialogs.java: New file.
13366	* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java,
13367	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java,
13368	* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java,
13369	* netx/net/sourceforge/jnlp/security/AccessWarningPane.java,
13370	* netx/net/sourceforge/jnlp/security/AppletWarningPane.java,
13371	* netx/net/sourceforge/jnlp/security/CertWarningPane.java,
13372	* netx/net/sourceforge/jnlp/security/CertsInfoPane.java,
13373	* netx/net/sourceforge/jnlp/security/JNLPAuthenticator.java,
13374	* netx/net/sourceforge/jnlp/security/MoreInfoPane.java,
13375	* netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java,
13376	* netx/net/sourceforge/jnlp/security/SecurityDialogMessage.java,
13377	* netx/net/sourceforge/jnlp/security/SecurityDialogMessageHandler.java,
13378	* netx/net/sourceforge/jnlp/security/SecurityDialogPanel.java,
13379	* netx/net/sourceforge/jnlp/security/SingleCertInfoPane.java,
13380	* netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java,
13381	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java,
13382	* netx/net/sourceforge/jnlp/services/ServiceUtil.java,
13383	* netx/net/sourceforge/jnlp/services/XClipboardService.java,
13384	* netx/net/sourceforge/jnlp/services/XExtendedService.java,
13385	* netx/net/sourceforge/jnlp/services/XFileOpenService.java,
13386	* netx/net/sourceforge/jnlp/services/XFileSaveService.java: Update class
13387	names to the new classes.
13388
133892011-02-25  Omair Majid  <omajid@redhat.com>
13390
13391	* Makefile.am (stamps/netx-dist.stamp): Do not add extra files to
13392	classes.jar.
13393
133942011-02-25  Omair Majid  <omajid@redhat.com>
13395
13396	* netx/net/sourceforge/jnlp/resources/Manifest.mf: Remove unused file.
13397
133982011-02-23  Omair Majid  <omajid@redhat.com>
13399
13400	* Makefile.am: Add missing slash to JRE.
13401
134022011-02-23  Omair Majid  <omajid@redhat.com>
13403
13404	RH677772: NoSuchAlgorithmException using SSL/TLS in javaws
13405	* NEWS: Update with bugfix.
13406	* netx/net/sourceforge/jnlp/runtime/JNLPPolicy.java: Add new field
13407	jreExtDir.
13408	(JNLPPolicy): Initialize jreExtDir.
13409	(getPermissions): Grant AllPermissions if the CodeSourse is a system jar.
13410	(isSystemJar): New method.
13411	* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
13412	(checkPermission): Remove special casing of
13413	SecurityPermission("putProviderProperty.SunJCE") and
13414	SecurityPermission("accessClassInPackage.sun.security.internal.spec").
13415	(inTrustedCallChain): Remove.
13416
134172011-02-22  Omair Majid  <omajid@redhat.com>
13418            Mark Greenwood <mark@dcs.shef.ac.uk>
13419
13420	Fix PR638
13421	* NEWS: Update with fix.
13422	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (loadClass): Throw
13423	ClassNotFoundException instead of returning null.
13424	* AUTHORS: Update.
13425
134262011-02-22  Omair Majid  <omajid@redhat.com>
13427
13428	* Makefile.am (uninstall-local): Fix typo in PACKAGE_NAME.
13429
134302011-02-22  Omair Majid  <omajid@redhat.com>
13431
13432	* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
13433	RNoAboutJnlp.
13434	* netx/net/sourceforge/jnlp/runtime/Boot.java: Remove NETX_ABOUT_FILE.
13435	(getAboutFile): Look for about.jnlp using the classloader.
13436	(getFile): Use localized error message string.
13437
134382011-02-22  Omair Majid  <omajid@redhat.com>
13439            DJ Lucas  <dj@lucasit.com>
13440
13441	* Makefile.am
13442	(install-data-local): Use $(mandir) for man page dir.
13443	(uninstall-local): Use $(mandir) for man page dir.
13444	* AUTHORS: Update.
13445
134462011-02-22  Omair Majid  <omajid@redhat.com>
13447
13448	Install icedtea-web into a FHS-compliant location
13449	* Makefile.am: Add new vars JRE, LAUNCHER_BOOTCLASSPATH and
13450	PLUGIN_BOOTCLASSPATH.
13451	(install-exec-local): Install files to FHS-compliant location; do not
13452	create links.
13453	(install-data-local): Likewise.
13454	(uninstall-local): Update file paths to delete.
13455	($(PLUGIN_DIR)/%.o): Pass PLUGIN_BOOTCLASSPATH and ICEDTEA_WEB_JRE.
13456	($(NETX_DIR)/launcher/%.o): Pass LAUNCHER_BOOTCLASSPATH and
13457	ICEDTEA_WEB_JRE.
13458	($(NETX_DIR)/launcher/controlpanel/%.o): Likewise.
13459	* launcher/java_md.c
13460	(GetIcedTeaWebJREPath): New method.
13461	(CreateExecutionEnvironment): Call GetIcedTeaWebJREPath.
13462	* plugin/icedteanp/IcedTeaNPPlugin.cc
13463	(plugin_start_appletviewer): Add PLUGIN_BOOTCLASSPATH to the command.
13464	(NP_Initialize): Use ICEDTEA_WEB_JRE to initialize filename.
13465
134662011-02-18  Omair Majid  <omajid@redhat.com>
13467
13468	Remove pluginappletviewer binary
13469	* Makefile.am
13470	(ICEDTEAPLUGIN_TARGET): Remove dependency on pluginappletviewer.
13471	(PLUGIN_LAUNCHER_OBJECTS): Remove.
13472	(install-exec-local): Do not install pluginappletviewer.
13473	(uninstall-local): Do not remove pluginappletviewer.
13474	($(PLUGIN_DIR)/launcher/%.o): Remove.
13475	($(PLUGIN_DIR)/launcher/pluginappletviewer): Remove.
13476	(clean-IcedTeaPlugin): Dont clean plugin launcher files.
13477
134782011-02-15  Omair Majid  <omajid@redhat.com>
13479
13480	* netx/net/sourceforge/jnlp/util/TimedHashMap.java: Do not extend HashMap
13481	to provide a more type-safe and consistent interface. Use System.nanoTime
13482	for a more monotonic clock.
13483
134842011-02-15  Omair Majid  <omajid@redhat.com>
13485
13486	* plugin/icedteanp/java/sun/applet/PluginProxySelector.java
13487	(TimedHashMap): Moved to...
13488	* netx/net/sourceforge/jnlp/util/TimedHashMap.java: New file.
13489
134902011-02-11  Omair Majid  <omajid@redhat.com>
13491
13492	RH677332, CVE-2011-0706: IcedTea multiple signers privilege escalation
13493	* NEWS: Updated.
13494	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
13495	(initializeResources): Assign appropriate security descriptor based on
13496	code signing.
13497
134982011-02-11  Deepak Bhole <dbhole@redhat.com>
13499
13500	Fix S6983554, CVE-2010-4450: Launcher incorrect processing of empty
13501	library path entries
13502	* NEWS: Updated.
13503	* launcher/java_md.c: Ignore empty LD_LIBRARY_PATH.
13504
135052011-02-11  Omair Majid  <omajid@redhat.com>
13506
13507	* netx/net/sourceforge/jnlp/PluginBridge.java
13508	(getResourcesDescs): New method implemented to override behaviour in
13509	JNLPFile class.
13510
135112011-02-11  Omair Majid  <omajid@redhat.com>
13512
13513	* netx/net/sourceforge/jnlp/JNLPFile.java
13514	(getResourceDescs): Renamed to...
13515	(getResourcesDescs): New method.
13516	(getResourceDescs): Renamed to...
13517	(getResourcesDescs): New method.
13518	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
13519	(getDownloadOptionsForJar): Call renamed method.
13520
135212011-02-10  Omair Majid  <omajid@redhat.com>
13522
13523	Fix RH669942; Add support for packEnabled and versionEnabled.
13524	* NEWS: Update with bugfix.
13525	* netx/net/sourceforge/jnlp/DownloadOptions.java: New file.
13526	* netx/net/sourceforge/jnlp/JNLPFile.java
13527	(openURL): Use null for DownloadOptions.
13528	(getResourceDescs): New method.
13529	(getResourceDescs(Locale,String,String)): New method.
13530	* netx/net/sourceforge/jnlp/Launcher.java
13531	(launchApplication): Add image to downloader with null DownloadOptions.
13532	* netx/net/sourceforge/jnlp/cache/CacheUtil.java
13533	(getCachedResource):  Add resource with null DownloadOptions.
13534	* netx/net/sourceforge/jnlp/cache/Resource.java: Add new field
13535	downloadLocation.
13536	(Resource): Initialize downloadLocation.
13537	(getDownloadLocation): New method.
13538	(setDownloadLocation): New method.
13539	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java: Add new field
13540	downloadOptions.
13541	(addResource(URL,Version,UpdatePolicy)): Renamed to...
13542	(addResource(URL,Version,DownloadOptions,UpdatePolicy)): New method.
13543	(downloadResource): Add support for explicit downloading of packed jars as
13544	well as content-encoded packed jars.
13545	(initializeResource): Invokde findBestUrl to find the best url. Set that
13546	as the download location for the resource.
13547	(getVersionedResourceURL): Remove.
13548	(findBestUrl): New method. Use ResourceUrlCreator to get a list of all
13549	possible urls that can be used to download this resource. Try them one by
13550	one until one works and return that.
13551	* netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java: New file.
13552	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
13553	(initializeResources): Add resource with appropriate download options.
13554	(activateJars): Likewise.
13555	(loadClass): Likewise.
13556	(getDownloadOptionsForJar): New method.
13557
135582011-02-10  Deepak Bhole <dbhole@redhat.com>
13559
13560	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (initialize):
13561	Restrict access to net.sourceforge.jnlp.* classes by untrusted
13562	classes.
13563
135642011-02-09  Omair Majid  <omajid@redhat.com>
13565
13566	* netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java
13567	(addComponents): Fix the listener attached to the port field to update the
13568	right config option.
13569
135702011-02-08  Omair Majid  <omajid@redhat.com>
13571
13572	* netx/net/sourceforge/jnlp/browser/BrowserAwareProxySelector.java
13573	(initFromBrowserConfig): Do not try to create a URL from null.
13574	(getFromBrowser): Only print informational messages in debug mode.
13575
135762011-02-01  Omair Majid  <omajid@redhat.com>
13577
13578	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
13579	(activateJars): Add the nested jar to ResourceTracker. Use
13580	JarSigner.verifyJars instead of JarSigner.verifyJar.
13581	* netx/net/sourceforge/jnlp/tools/JarSigner.java
13582	(verifyJar): Make private to indicate nothing should be using this
13583	directly.
13584
135852011-01-24 Deepak Bhole <dbhole@redhat.com>
13586
13587	RH672262, CVE-2011-0025: IcedTea jarfile signature verification bypass
13588	* rt/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
13589	(initializeResources): Prompt user only if there is a single certificate
13590	that signs all jars in the jnlp file, otherwise treat as unsigned.
13591	* rt/net/sourceforge/jnlp/security/CertVerifier.java: Rename getCerts to
13592	getCertPath and make it return a CertPath.
13593	* rt/net/sourceforge/jnlp/security/CertsInfoPane.java: Rename certs
13594	variable to certPath and change its type to CertPath.
13595	(buildTree): Use new certPath variable.
13596	(populateTable): Same.
13597	* rt/net/sourceforge/jnlp/security/HttpsCertVerifier.java: Rename getCerts
13598	to getCertPath and make it return a CertPath.
13599	* rt/net/sourceforge/jnlp/tools/JarSigner.java: Change type for certs
13600	variable to be a hashmap that stores certs and the number of entries they
13601	have signed.
13602	(totalSignableEntries): New variable to track how many signable entries
13603	have been encountered.
13604	(getCerts): Updated method to return certs from new hashmap.
13605	(isFullySignedByASingleCert): New method. Returns if there is a single
13606	cert that signs all the entries in the jars specified in the jnlp file.
13607	(verifyJars): Move verifiedJars and unverifiedJars out of the for loop so
13608	that the data is not lost when the next jar is processed. After verifying
13609	each jar, see if there is a single signer, and prompt the user if there is
13610	such an untrusted signer.
13611	(verifyJar): Increment totalSignableEntries for each signable entry
13612	encountered and the count for each cert when it signs an entry. Move
13613	checkTrustedCerts() out of the function into verifyJars().
13614
136152011-01-28  Omair Majid  <omajid@redhat.com>
13616
13617	* Makefile.am: Move ICEDTEA_REV, ICEDTEA_PKG to acinclude.m4. Use
13618	FULL_VERSION.
13619	(stamps/netx-dist.stamp): Depend on netx.manifest. Use this file as the
13620	jar file manifest.
13621	* acinclude.m4 (IT_SET_VERSION): New macro. Defines FULL_VERSION.
13622	* configure.ac: Add netx.manifest to AC_CONFIG_FILES. Invoke
13623	IT_SET_VERSION.
13624	* netx.manifest.in: New file.
13625	* netx/net/sourceforge/jnlp/runtime/Boot.java: Set name and version using
13626	information from the manifest file.
13627
136282011-01-27  Omair Majid  <omajid@redhat.com>
13629
13630	* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
13631	RPRoxyPacNotImplemented, RProxyFirefoxNotFound, and
13632	RProxyFirefoxOptionNotImplemented.
13633	* netx/net/sourceforge/jnlp/runtime/JNLPProxySelector.java: Make abstract.
13634	(getFromBrowser): Remove implementation; make abstract.
13635	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
13636	(initialize): Set BrowserAwareProxySelector as the proxy selector.
13637	* netx/net/sourceforge/jnlp/browser/BrowserAwareProxySelector.java: New
13638	file. This class extends JNLPProxySelector and searches the browser's
13639	configuration to load additional proxy settings from.
13640	* netx/net/sourceforge/jnlp/browser/FirefoxPreferencesFinder.java: New
13641	file. This class looks into the browser configration to find the
13642	preferences file for the default firefox profile.
13643	* netx/net/sourceforge/jnlp/browser/FirefoxPreferencesParser.java: New
13644	file. Parses the browser's preferences and makes it available through a
13645	simpler interface.
13646
136472011-01-27  Omair Majid  <omajid@redhat.com>
13648
13649	* AUTHORS: Update to include Jon A Maxwell.
13650	* extra/net/sourceforge/jnlp/about/resources/notes.html: Include everyone
13651	from AUTHORS.
13652
136532011-01-25  Omair Majid  <omajid@redhat.com>
13654
13655	* netx/net/sourceforge/jnlp/resources/default.jnlp: Remove.
13656
136572011-01-24  Omair Majid  <omajid@redhat.com>
13658
13659	* netx/net/sourceforge/jnlp/Launcher.java: Exit with error code
13660	* netx/net/sourceforge/jnlp/NetxPanel.java: Likewise.
13661
136622011-01-20  Andrew Su  <asu@redhat.com>
13663
13664	* netx/net/sourceforge/jnlp/AppletLog.java: Restrict log files to
13665	owner accessible only.
13666
136672011-01-20  Andrew Su  <asu@redhat.com>
13668
13669	Removing dead/commented/unused code.
13670	* plugin/icedteanp/java/sun/applet/GetWindowPluginCallRequest.java:
13671	Removed unused imports.
13672	* plugin/icedteanp/java/sun/applet/MethodOverloadResolver.java:
13673	(getMatchingMethod): Removed unused variable.
13674	(getMatchingConstructor): Removed unused variable.
13675	* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java:
13676	Removed unused imports.
13677	(Signature): Removed commented code.
13678	(handleMessage): Removed commented code.
13679	(getAccessControlContext): Remove commented code.
13680	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
13681	(getCachedImage): Removed commented code.
13682	(makeReader): Removed unused method.
13683	(parse): Removed unused variables. Removed dead code.
13684	* plugin/icedteanp/java/sun/applet/PluginCallRequest.java: Removed
13685	unused imports.
13686	* plugin/icedteanp/java/sun/applet/PluginDebug.java: Removed unused
13687	imports.
13688	* plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java: Removed
13689	unused imports.
13690	(getReference): Removed unused method.
13691	(isInInit): Removed unused method.
13692	(dumpWorkerStatus): Removed unused method.
13693	* plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java:
13694	Removed unused variable.
13695	(PluginMessageHandlerWorker): Removed unused variable.
13696	(plugin/icedteanp/java/sun/applet/PluginObjectStore.java): Removed
13697	unused imports.
13698	(reference): Removed commented code.
13699	(unreference): Removed commented code.
13700	* plugin/icedteanp/java/sun/applet/PluginProxyInfoRequest.java:
13701	Removed unused import.
13702	* plugin/icedteanp/java/sun/applet/PluginStreamHandler.java: Removed
13703	unused imports. Removed unused variable.
13704	(PluginStreamHandler): Removed unnecessary comments. Removed commented
13705	code.
13706	(startProcessing): Removed unused variables. Removed commented code.
13707	(write): Removed commented code.
13708
137092011-01-20  Deepak Bhole <dbhole@redhat.com>
13710
13711	PR619: Improper finalization by the plugin can crash the browser
13712	* plugin/icedteanp/java/netscape/javascript/JSObject.java (finalize):
13713	Proceed with finalization only if JSObject is valid.
13714
137152011-01-17  Andrew Su  <asu@redhat.com>
13716
13717	* netx/net/sourceforge/jnlp/NetxPanel.java:
13718	(showAppletException): Override, adds logging to file then proceed
13719	with showAppletException in sun.applet.AppletPanel.
13720	* netx/net/sourceforge/jnlp/AppletLog.java: New class.
13721	* netx/net/sourceforge/jnlp/Log.java: New class.
13722
137232011-01-14  Andrew Su  <asu@redhat.com>
13724
13725	* Makefile.am: Added net.sourceforge.jnlp.config and
13726	net.sourceforge.jnlp.runtime to NETX_PKGS.
13727
137282011-01-12  Omair Majid  <omajid@redhat.com>
13729
13730	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java
13731	(main): Set look and feel. Set config object to use with KeyStores.
13732	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
13733	(initialize): Set config object to use with KeyStores.
13734	* netx/net/sourceforge/jnlp/security/KeyStores.java: Add new member
13735	config.
13736	(setConfiguration): New method. Sets the value of config after security
13737	check.
13738	(getKeyStoreLocation): Use config object instead of querying JNLPRuntime.
13739
137402011-01-12  Omair Majid  <omajid@redhat.com>
13741
13742	* netx/net/sourceforge/jnlp/JNLPFile: Add missing generic type to info.
13743	(getInformation): Remove redundant cast.
13744
137452011-01-12  Omair Majid  <omajid@redhat.com>
13746
13747	* netx/javax/jnlp/UnavailableServiceException.java: Remove unused
13748	imports.
13749	* netx/net/sourceforge/jnlp/AppletDesc.java: Likewise.
13750	* netx/net/sourceforge/jnlp/ApplicationDesc.java: Likewise.
13751	* netx/net/sourceforge/jnlp/ComponentDesc.java: Likewise.
13752	* netx/net/sourceforge/jnlp/DefaultLaunchHandler.java: Likewise.
13753	* netx/net/sourceforge/jnlp/IconDesc.java: Likewise.
13754	* netx/net/sourceforge/jnlp/InformationDesc.java: Likewise.
13755	* netx/net/sourceforge/jnlp/InstallerDesc.java: Likewise.
13756	* netx/net/sourceforge/jnlp/JARDesc.java: Likewise.
13757	* netx/net/sourceforge/jnlp/JREDesc.java: Likewise.
13758	* netx/net/sourceforge/jnlp/Launcher.java: Likewise.
13759	* netx/net/sourceforge/jnlp/PackageDesc.java: Likewise.
13760	* netx/net/sourceforge/jnlp/ParseException.java: Likewise.
13761	* netx/net/sourceforge/jnlp/PluginBridge.java: Likewise.
13762	* netx/net/sourceforge/jnlp/PropertyDesc.java: Likewise.
13763	* netx/net/sourceforge/jnlp/ResourcesDesc.java: Likewise.
13764	* netx/net/sourceforge/jnlp/Version.java: Likewise.
13765	* netx/net/sourceforge/jnlp/cache/CacheEntry.java: Likewise.
13766	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: Likewise.
13767	* netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java:
13768	Likewise.
13769	* netx/net/sourceforge/jnlp/cache/DownloadIndicator.java: Likewise.
13770	* netx/net/sourceforge/jnlp/cache/UpdatePolicy.java: Likewise.
13771	* netx/net/sourceforge/jnlp/controlpanel
13772	/AdvancedProxySettingsDialog.java: Likewise.
13773	* netx/net/sourceforge/jnlp/controlpanel
13774	/AdvancedProxySettingsPane.java: Likewise.
13775	* netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java:
13776	Likewise.
13777	* netx/net/sourceforge/jnlp/controlpanel
13778	/TemporaryInternetFilesPanel.java: Likewise.
13779	* netx/net/sourceforge/jnlp/event/ApplicationEvent.java: Likewise.
13780	* netx/net/sourceforge/jnlp/event/DownloadEvent.java: Likewise.
13781	* netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java: Likewise.
13782	* netx/net/sourceforge/jnlp/runtime/AppletAudioClip.java: Likewise.
13783	* netx/net/sourceforge/jnlp/runtime/AppletInstance.java: Likewise.
13784	* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
13785	Likewise.
13786	* netx/net/sourceforge/jnlp/runtime/Boot13.java: Likewise.
13787	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Likewise.
13788	* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java:
13789	Likewise.
13790	* netx/net/sourceforge/jnlp/security/CertsInfoPane.java: Likewise.
13791	* netx/net/sourceforge/jnlp/security/SecurityUtil.java: Likewise.
13792	* netx/net/sourceforge/jnlp/services/XBasicService.java: Likewise.
13793	* netx/net/sourceforge/jnlp/services/XDownloadService.java: Likewise.
13794	* netx/net/sourceforge/jnlp/services/XExtensionInstallerService.java:
13795	Likewise.
13796	* netx/net/sourceforge/jnlp/services/XFileContents.java: Likewise.
13797	* netx/net/sourceforge/jnlp/services/XFileOpenService.java: Likewise.
13798	* netx/net/sourceforge/jnlp/services/XFileSaveService.java: Likewise.
13799	* netx/net/sourceforge/jnlp/services/XPersistenceService.java:
13800	Likewise.
13801	* netx/net/sourceforge/jnlp/util/PropertiesFile.java: Likewise.
13802	* netx/net/sourceforge/jnlp/util/Reflect.java: Likewise.
13803
138042011-01-04  Omair Majid  <omajid@redhat.com>
13805
13806	* netx/net/sourceforge/jnlp/security/KeyStores.java
13807	(getKeyStoreLocation): Fix typo. Return the user-level certificate
13808	store correctly.
13809
138102011-01-04  Omair Majid  <omajid@redhat.com>
13811
13812	* netx/net/sourceforge/jnlp/runtime/JNLPPolicy.java: Add
13813	systemJnlpPolicy and userJnlpPolicy.
13814	(JNLPPolicy): Initialize the new policies.
13815	(getPermissions): Consult the extra policies as well to determine the
13816	resulting permissions to be granted.
13817	(getPolicyFromConfig): New method. Create a new Policy instance to
13818	delegate to for system- and user-level policies.
13819
138202011-01-04  Omair Majid  <omajid@redhat.com>
13821
13822	* netx/net/sourceforge/jnlp/SecurityDesc.java: Add
13823	customTrustedPolicy.
13824	(SecurityDesc): Initialize customTrustedPolicy.
13825	(getCustomTrustedPolicy): New method. Get custom policy file from
13826	configuration and use it to initialize a custom configuration.
13827	(getPermissions): If trusted application and customTrustedPolicy is
13828	not null, delegate to otherwise return AllPermissions.
13829	* netx/net/sourceforge/jnlp/config/Defaults.java
13830	(getDefaults): Use constant for property.
13831	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java:
13832	Add new constant KEY_SECURITY_TRUSTED_POLICY.
13833	* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java
13834	(installEnvironment): Pass cs as a parameter to
13835	SecurityDesc.getPermissions.
13836	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
13837	(getPermissions): Likewise.
13838
138392011-01-04  Omair Majid  <omajid@redhat.com>
13840
13841	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java: Remove
13842	JNLPRuntime import. Remove configBrowserCommand.
13843	(createMainSettingsPanel): Remove call to loadConfiguration.
13844	(loadConfiguration): Remove method. Setting the browser command
13845	should be handled by the appropriate panel.
13846	(main): Remove call to JNLPRuntime.initialize and just create a new
13847	DeploymentConfiguration object. Clarify TODO comment.
13848
138492011-01-04  Omair Majid  <omajid@redhat.com>
13850
13851	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
13852	(installShutdownHooks): Only print when not null.
13853
138542011-01-04  Andrew Su  <asu@redhat.com>
13855
13856	* netx/net/sourceforge/jnlp/controlpanel/SecuritySettingsPanel.java:
13857	(addComponents): Hide unsupported options.
13858
138592010-12-23  Andrew Su  <asu@redhat.com>
13860
13861	* netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java:
13862	(showAdvancedProxySettingsDialog): Removed call to setSystemLookAndFeel().
13863	(setSystemLookAndFeel): Method removed.
13864
138652010-12-23  Andrew Su  <asu@redhat.com>
13866
13867	* netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java:
13868	(showAdvancedProxySettingsDialog): Removed creation of swing thread.
13869	* netx/net/sourceforge/jnlp/controlpanel/CacheViewer.java:
13870	(showCacheDialog): Removed throwing of exception.
13871	* netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java:
13872	(addComponents): Removed try catch block.
13873	* /netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java:
13874	(addComponents): Removed creation of swing thread and try catch block.
13875
138762010-12-22  Deepak Bhole <dbhole@redhat.com>
13877
13878	RH665104: OpenJDK Firefox Java plugin loses a cookie
13879	* plugin/icedteanp/java/sun/applet/PluginCookieInfoRequest.java
13880	(parseReturn): Skip one less space so that the first cookie is not
13881	skipped.
13882	* NEWS: Updated.
13883
138842010-12-21  Andrew Su  <asu@redhat.com>
13885
13886	* netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsPane.java,
13887	netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java:
13888	(addComponents): Replaced key listeners and mouse listeners for text
13889	fields with document adapter.
13890	* netx/net/sourceforge/jnlp/controlpanel/DocumentAdapter.java: New class.
13891	* netx/net/sourceforge/jnlp/controlpanel/MiddleClickListener.java:
13892	Removed.
13893
138942010-12-20  Andrew Su  <asu@redhat.com>
13895
13896	Added a cache viewer for the control panel.
13897	* netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java:
13898	(addComponents): Changed buttons to open cache viewer.
13899	* netx/net/sourceforge/jnlp/resources/Messages.properties: Added text
13900	used by the cache viewer.
13901	* netx/net/sourceforge/jnlp/cache/CacheDirectory.java,
13902	netx/net/sourceforge/jnlp/cache/DirectoryNode.java,
13903	netx/net/sourceforge/jnlp/controlpanel/CachePane.java,
13904	netx/net/sourceforge/jnlp/controlpanel/CacheViewer.java: New classes.
13905
139062010-12-20  Omair Majid  <omajid@redhat.com>
13907
13908	* Makefile.am
13909	($(NETX_DIR)/launcher/controlpanel/%.o): Set program name, and launch
13910	net.sourceforge.jnlp.controlpanel.CommandLine.
13911	* netx/net/sourceforge/jnlp/config/Defaults.java
13912	(getDefaults): Set descriptions to Unknown rather than the name.
13913	Set source to localized form of internal.
13914	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java
13915	(getProperty): Check for nulls.
13916	(setProperty): Add unknown as description and source for new
13917	properties.
13918	(checkAndFixConfiguration): Fix translation constants.
13919	(parsePropertiesFile): Use unknown as description.
13920	* netx/net/sourceforge/jnlp/controlpanel/CommandLine.java: New file
13921	(CommandLine): New method.
13922	(handleHelpCommand): Likewise.
13923	(printListHelp): Likewise.
13924	(handleListCommand): Likewise.
13925	(printGetHelp): Likewise.
13926	(handleGetCommand): Likewise.
13927	(printSetHelp): Likewise.
13928	(handleSetCommand): Likewise.
13929	(printResetHelp): Likewise.
13930	(handleResetCommand): Likewise.
13931	(printInfoHelp): Likewise.
13932	(handleInfoCommand): Likewise.
13933	(printCheckHelp): Likewise.
13934	(handleCheckCommand): Likewise.
13935	(handle): Likewise.
13936	(main): Likewise.
13937	* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
13938	Usage, Unknown, RConfigurationFatal, DCIncorrectValue,
13939	DCSourceInternal, DCUnknownSettingWithName, VVPossibleValues,
13940	CLNoInfo, CLValue, CLValueSource, CLDescription, CLUnknownCommand
13941	CLUnknownProperty, CLNoIssuesFound, CLIncorrectValue,
13942	CLListDescription, CLGetDescription, CLSetDescription,
13943	CLResetDescription, CLInfoDescription, CLCheckDescription and
13944	CLHelpDescription. Remove DCErrorInSetting and
13945	DCUnknownSettingWithVal.
13946
139472010-12-17  Omair Majid  <omajid@redhat.com>
13948
13949	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java
13950	(ControlPanel): Create and add the topPanel.
13951	(createTopPanel): New method. Creates a JPanel to display the
13952	description on top of the Control Panel.
13953	(createNotImplementedPanel): Use the same way to load resource
13954	as createTopPanel to avoid null pointer exceptions.
13955	* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
13956	CPMainDescriptionShort and CPMainDescriptionLong.
13957
139582010-12-17  Omair Majid  <omajid@redhat.com>
13959
13960	* netx/net/sourceforge/jnlp/security/SecurityWarning.java
13961	(shouldPromptUser): Use full privileges when checking configuration. This
13962	value is not security-sensitive and the method is private.
13963	* netx/net/sourceforge/jnlp/services/ServiceUtil.java
13964	(shouldPromptUser): Likewise.
13965
139662010-12-16 Omair Majid <omajid@redhat.com>
13967
13968	RH663680, CVE-2010-4351:
13969	* NEWS: List issue.
13970	* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java:
13971	Make sure SecurityException is thrown if necessary.
13972
139732010-12-15  Omair Majid  <omajid@redhat.com>
13974
13975	* Makefile.am
13976	(install-exec-local): Install plugin.jar as data. If $(prefix)/jre/bin
13977	exists, then install symlinks to real javaws and itweb-settings binaries
13978	under it.
13979	($(NETX_DIR)/launcher/%.o): Set system property java.icedtea-web.bin to
13980	point to the installed location of the javaws binary.
13981	* netx/net/sourceforge/jnlp/Launcher.java (launchExternal): Use the system
13982	property java.icedtea-web.bin to locate javaws binary.
13983
139842010-12-15  Andrew Su  <asu@redhat.com>
13985
13986	* /netx/net/sourceforge/jnlp/resources/Messages.properties: Changed
13987	messages for about and JRE.
13988
139892010-12-14  Andrew John Hughes  <ahughes@redhat.com>
13990
13991	* Makefile.am:
13992	(LAUNCHER_OBJECTS): Add jli_util.o, parse_manifest.o,
13993	version_comp.o, wildcard.o.
13994	(LAUNCEHR_FLAGS): Add -DEXPAND_CLASSPATH_WILDCARDS
13995	as used in build of libjli in OpenJDK.
13996	(LAUNCHER_LINK): Don't link to libjli.
13997	* launcher/jli_util.c,
13998	* launcher/parse_manifest.c,
13999	* launcher/version_comp.c,
14000	* launcher/wildcard.c:
14001	Add source files from OpenJDK6 to match header files
14002	already used.
14003
140042010-12-13  Omair Majid  <omajid@redhat.com>
14005
14006	* netx/net/sourceforge/jnlp/config/ValueValidator.java: New file.
14007	* netx/net/sourceforge/jnlp/config/BasicValueValidators.java: New
14008	file. Provides methods to get some common validators.
14009	* netx/net/sourceforge/jnlp/config/ConfiguratonValidator.java: New
14010	file. Provides methods to validate a configuration.
14011	* netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
14012	Moved to config subpackage instead and split off into Setting.java,
14013	DeploymentConfiguration.java and Defaults.java.
14014	* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java:
14015	Renamed version of original DeploymentConfiguration.
14016	(load): Delegate to load.
14017	(load(boolean)): Load configuration and optionally fix any issues
14018	found.
14019	(checkAndFixConfiguration): New method. Validate all settings and
14020	set them to default values if problems found.
14021	* netx/net/sourceforge/jnlp/config/Setting.java: New file. Based on
14022	ConfigValue which was originally a part of DeploymentConfiguration.
14023	* netx/net/sourceforge/jnlp/config/Defaults.java: New file.
14024	Contains the default configuration settings. Originally from
14025	DeploymentConfiguration.java's loadDefaultProperties.
14026	* netx/net/sourceforge/jnlp/resources/Messages.properties: Add new
14027	messages.
14028	* netx/net/sourceforge/jnlp/Launcher.java: Fix imports.
14029	* netx/net/sourceforge/jnlp/SecurityDesc.java: Likewise.
14030	* netx/net/sourceforge/jnlp/cache/CacheUtil.java: Likewise.
14031	* netx/net/sourceforge/jnlp/controlpanel
14032	/AdvancedProxySettingsDialog.java: Likewise
14033	* netx/net/sourceforge/jnlp/controlpanel
14034	/AdvancedProxySettingsPane.java: Likewise.
14035	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java: Likewise
14036	* netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java:
14037	Likewise.
14038	* netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java:
14039	Likewise.
14040	* netx/net/sourceforge/jnlp/controlpanel/MiddleClickListener.java:
14041	Likewise
14042	* netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java:
14043	Likewise.
14044	* netx/net/sourceforge/jnlp/controlpanel/SecuritySettingsPanel.java:
14045	Likewise.
14046	* netx/net/sourceforge/jnlp/controlpanel
14047	/TemporaryInternetFilesPanel.java:Likewise.
14048	* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
14049	Likewise.
14050	* netx/net/sourceforge/jnlp/runtime/JNLPProxySelector.java:
14051	Likewise.
14052	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Likewise.
14053	* netx/net/sourceforge/jnlp/security/KeyStores.java: Likewise.
14054	* netx/net/sourceforge/jnlp/security/SecurityWarning.java: Likewise.
14055	* netx/net/sourceforge/jnlp/services/ServiceUtil.java: Likewise.
14056	* netx/net/sourceforge/jnlp/services/SingleInstanceLock.java:
14057	Likewise.
14058	* netx/net/sourceforge/jnlp/services/XBasicService.java: Likewise
14059	* netx/net/sourceforge/jnlp/services/XPersistenceService.java:
14060	Likewise.
14061	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: Likewise.
14062	* plugin/icedteanp/java/sun/applet/JavaConsole.java: Likewise.
14063	* plugin/icedteanp/java/sun/applet/PluginMain.java: Likewise.
14064
140652010-12-13  Omair Majid  <omajid@redhat.com>
14066
14067	* netx/net/sourceforge/jnlp/Parser.java
14068	(getInformationDesc): Fix whitespace in title, vendor and description
14069	elements.
14070	(getRelatedContent): Fix whitespace in title and description elements.
14071	(getSpanText(Node)): Delegate to ...
14072	(getSpanText(Node,boolean)): New method.  Return the text in an element,
14073	optionally fixing whitespace.
14074
140752010-12-10  Omair Majid  <omajid@redhat.com>
14076
14077	* netx/net/sourceforge/jnlp/tools/JarSigner.java: Remove unused variables
14078	collator, VERSION, IN_KEYSTORE, IN_SCOPE, privateKey, store, keystore,
14079	nullStream, token, jarfile, alias, storepass, protectedPath, storetype,
14080	providerName, providers, providerArgs, keypass, sigfile, sigalg,
14081	digestalg, signedjar, tsaUrl, tsaAlias, verify, debug, signManifest and
14082	externalSF.
14083	(getPublisher): Remove unnecessary cast.
14084	(getRoot): Likewise.
14085
140862010-12-08  Deepak Bhole <dbhole@redhat.com>
14087
14088	PR597: Entities are parsed incorrectly in PARAM tag in applet plugin
14089	* plugin/icedteanp/IcedTeaNPPlugin.cc
14090	(encode_string): New function. Takes a string and replaces certain special
14091	characters with html escapes.
14092	(plugin_create_applet_tag): Use the new encode_string function to encode
14093	argn and argv right away, rather than encoding the whole tag.
14094	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
14095	(handleMessage): Move decoding out so that it is done after parsing.
14096	(decodeString): New function. Decodes the given string such that html
14097	escapes are replaced by the original special characters.
14098	(scanTag): Decode parameter name and value before adding it to attribute
14099	array.
14100	* NEWS: Updated.
14101
141022010-12-08  Omair Majid  <omajid@redhat.com>
14103
14104	* configure.ac: Add check for sun.misc.HexDumpEncoder
14105	* netx/net/sourceforge/jnlp/security/CertsInfoPane.java: Import
14106	sun.misc.HexDumpEncoder. Remove import of net.sourceforge.jnlp.tools.*
14107	* netx/net/sourceforge/jnlp/tools/CharacterEncoder.java: Remove file.
14108	* netx/net/sourceforge/jnlp/tools/HexDumpEncoder.java: Remove file.
14109
141102010-12-08  Omair Majid  <omajid@redhat.com>
14111
14112	* netx/net/sourceforge/jnlp/JNLPFile.java
14113	(getSupportedVersions): Remove method.
14114	* netx/net/sourceforge/jnlp/Parser.java: Remove supportedVersions.
14115	(Parser(JNLPFile,URL,Node,boolean,boolean)): Remove check for supported
14116	version.
14117	(getSupportedVersions): Remove method.
14118	* netx/net/sourceforge/jnlp/resources/Messages.properties:
14119	Remove PSpecUnsupported.
14120
141212010-12-08  Omair Majid  <omajid@redhat.com>
14122
14123	* netx/net/sourceforge/jnlp/tools/JarRunner.java: Remove unused class.
14124	* netx/net/sourceforge/jnlp/tools/JarSignerResources.java: Remove unused
14125	class.
14126
141272010-12-07  Andrew John Hughes  <ahughes@redhat.com>
14128
14129	* netx/net/sourceforge/jnlp/InformationDesc.java,
14130	(InformationDesc(JNLPFile,Locale)): Correct @param tag.
14131	* netx/net/sourceforge/jnlp/JARDesc.java:
14132	(JARDesc(URL,Version,String,boolean,boolean,boolean,boolean)):
14133	Correct typo and add missing @param tag for cacheable.
14134	* netx/net/sourceforge/jnlp/JREDesc.java:
14135	(JREDesc(Version,URL,String,String,String,List)): Correct typo
14136	in @param tag.
14137	* netx/net/sourceforge/jnlp/Launcher.java:
14138	(Launcher(boolean)): Correct broken @param tag.
14139	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
14140	(addDownloadListener(DownloadListener)): Remove broken @param tags.
14141	Add correct one.
14142	(removeDownloadListener(DownloadListener)): Add missing @param tag.
14143	* netx/net/sourceforge/jnlp/security/KeyStores.java:
14144	(getKeyStoreLocation(Level,Type)): Add content to @param and @return tags.
14145	(toTranslatableString(Level,Type)): Likewise.
14146	* netx/net/sourceforge/jnlp/security/PasswordAuthenticationDialog.java:
14147	(askUser(String,int,String,String)): Correct typo in @param tag.
14148	* netx/net/sourceforge/jnlp/security/SecurityDialogPanel.java:
14149	(createSetValueListener(SecurityWarningDialog,int)): Add content to @return tag.
14150	* netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java:
14151	(showCertInfoDialog(CertVerifier,SecurityWarningDialog)): Remove broken
14152	@param tag and add correct ones.
14153	(showSingleCertInfoDialog(X509Certificate,JDialog)): Add content to @param tags.
14154	* netx/net/sourceforge/jnlp/tools/CharacterEncoder.java:
14155	Remove broken @see tags from import from OpenJDK.
14156	* netx/net/sourceforge/jnlp/util/FileUtils.java:
14157	Fix bad whitespace.
14158	(sanitizeFileName(String)): Fix @param tag.
14159	* netx/net/sourceforge/nanoxml/XMLElement.java:
14160	Fix example in class documentation.
14161	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java,
14162	(waitForAppletInit(NetxPanel)): Fix @param tag.
14163
141642010-12-08  Omair Majid  <omajid@redhat.com>
14165
14166	* netx/net/sourceforge/jnlp/tools/KeyTool.java: Remove unused class.
14167
141682010-12-07  Andrew Su  <asu@redhat.com>
14169
14170	* MiddleClickListener.java: Added copyright header. Corrected typo in
14171	javadoc.
14172
141732010-12-07  Omair Majid  <omajid@redhat.com>
14174
14175	* Makefile.am
14176	(PLUGIN_VERSION): Change to IcedTea-Web
14177	($(PLUGIN_DIR)/%.o): Define PLUGIN_NAME and PACKAGE_URL.
14178	* configure.ac
14179	(AC_INTIT): Add url.
14180	* plugin/icedteanp/IcedTeaNPPlugin.cc
14181	(PLUGIN_NAME): Removed.
14182	(PLUGIN_FULL_NAME): New definition.
14183	(PLUGIN_DESC): Add link to IcedTea-Web wiki page.
14184	(NP_GetValue): Return PLUGIN_FULL_NAME instead of PLUGIN_NAME.
14185
141862010-12-06  Deepak Bhole <dbhole@redhat.com>
14187
14188	Fixed indentation and spacing for all .java files
14189	* .settings/org.eclipse.jdt.core.prefs: New file. Contains code style
14190	preference settings for Eclipse.
14191	* .settings/org.eclipse.jdt.ui.prefs: Same.
14192
141932010-12-03  Andrew John Hughes  <ahughes@redhat.com>
14194
14195	* netx/net/sourceforge/jnlp/cache/CacheUtil.java,
14196	(getCachedResource(URL,Version,UpdatePolicy)):
14197	Revert change to use toURI() for now.
14198	See http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-December/011270.html
14199	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java,
14200	(getCacheURL(URL)): Likewise.
14201	* netx/net/sourceforge/jnlp/runtime/Boot.java,
14202	(getFile()): Use toURI.toURL() to avoid broken escaping.
14203	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
14204	(initializeResources()): Likewise.
14205
142062010-12-01  Andrew John Hughes  <ahughes@redhat.com>
14207
14208	* netx/net/sourceforge/jnlp/cache/CacheUtil.java:
14209	(getCachedResource(URL,Version,UpdatePolicy)): Use
14210	toURI().toURL() to avoid broken escaping.
14211	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
14212	(getCacheURL(URL)): Likewise.
14213	* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
14214	(destroy()): Suppress deprecated warning from use of thread.stop().
14215	Only use when interrupt() has already been tried.
14216	* netx/net/sourceforge/jnlp/runtime/Boot.java:
14217	(getFile()): Use toURI.toURL() to avoid broken escaping.
14218	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
14219	(initializeResources()): Likewise.
14220	* netx/net/sourceforge/jnlp/security/PasswordAuthenticationDialog.java:
14221	(askUser(String,int,String,String)): Use getPassword() to retrieve
14222	a character array directly.  Fix overrunning line.
14223	* netx/net/sourceforge/jnlp/tools/JarSigner.java:
14224	Remove unused IdentityScope variable, scope.
14225	* netx/net/sourceforge/nanoxml/XMLElement.java:
14226	(scanWhitespace(StringBuffer)): Don't fallthrough.
14227	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc:
14228	Fix warnings where std::string is used in printf
14229	rather than char* by invoking c_str on these strings.
14230	* plugin/icedteanp/java/netscape/javascript/JSException.java:
14231	(JSException()): Mark with @Deprecated annotation.
14232	(JSException(String)): Likewise.
14233	(JSException(String,String,int,String,int)): Likewise.
14234	* plugin/icedteanp/java/netscape/javascript/JSObject.java:
14235	(JSObject(String)): Remove redundant cast.
14236	(getWindow(Applet)): Likewise.
14237	* plugin/icedteanp/java/sun/applet/AppletSecurityContextManager.java:
14238	(contexts): Initialise properly with generic typing.
14239	* plugin/icedteanp/java/sun/applet/MethodOverloadResolver.java:
14240	(getMatchingMethod(Object[]): Add missing generic type to Class
14241	instances.
14242	(getMatchingConstructor(Object[])): Likewise.
14243	(getCostAndCastedObject(Object,Class<?>)): Likewise.
14244	(getMatchingMethods(Class<?>,String,int)): Likewise.
14245	(getMatchingConstructors(Class<?>,int)): Likewise.
14246	(getNum(String,Class<?>)): Likewise.
14247	* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java:
14248	(parseCall(String,ClassLoader,Class<V>)): Use c.cast rather than (V).
14249	(handleMessage(int,String,AccessControlContext,String)): Add
14250	missing generic type to Class instances.  Remove redundant casts.
14251	(prepopulateField(int,String)): Add missing generic type to Class instance.
14252	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
14253	(createPanel(PluginStreamHandler,int,long,URL,Hashtable<String,String>)):
14254	Add missing generic types on Hashtable and PrivilegedAction.
14255	(initEventQueue(AppletPanel)): Add missing generic type to PrivilegedAction.
14256	(splitSeparator(String,String)): Use an ArrayList rather than Vector
14257	to avoid locking and use generic types.
14258	(requests): Initialise properly with generic typing.
14259	(applets): Likewise.
14260	(appletStateChanged(AppletEvent)): Use setSize and getPreferredSize.
14261	(handleMessage(int,String)): Remove redundant casts.
14262	(audioClips): Add generic types.
14263	(getAudioClip): Remove redundant cast.
14264	(imageRefs): Add generic types.
14265	(getCachedImageRef(URL)): Remove redundant cast.
14266	(appletPanels): Add generic types.
14267	(getApplets()): Likewise.
14268	(getStream(String)): Mark with @Override.
14269	(getStreamKeys()): Likewise.
14270	(systemParam): Add generic types.
14271	(printTag(PrintStream,Hashtable<String,String>)): Likewise.
14272	Remove redundant casts.
14273	(updateAtts()): Use getSize() and getInsets().  Use Integer.valueOf().
14274	(appletReload()): Add generic types to PrivilegedAction.
14275	(scanIdentifier(int[],Reader)): Use StringBuilder to avoid unnecessary
14276	locking.
14277	(skipComment(int[],Reader)): Likewise.
14278	(scanTag(int[],Reader)): Likewise. Add generic types.
14279	(parse(int,long,String,String,Reader,URL)): Use PrivilegedExceptionAction
14280	to avoid catching and rethrowing the exception manually.  Add generic types.
14281	(parse(int,long,String,String,Reader,URL,PrintStream,PluginAppletPanelFactory)):
14282	Add generic types.  Remove unnecessary casts.  Fix overlong lines.
14283	* plugin/icedteanp/java/sun/applet/PluginMain.java:
14284	(init()): Add generic types.  Remove unnecessary cast.
14285	* plugin/icedteanp/java/sun/applet/PluginObjectStore.java:
14286	(objects): Initialise properly with generic typing.
14287	(counts): Likewise.
14288	(identifiers): Likewise.
14289	* plugin/icedteanp/java/sun/applet/PluginProxySelector.java:
14290	(get(Object)): Suppress unchecked warning arising from cast to K.
14291
142922010-12-02  Omair Majid  <omajid@redhat.com>
14293
14294	* Makefile.am (EXTRA_DIST): Add itweb-settings.desktop.in.
14295	(all-local): Add itweb-settings.desktop.
14296	(clean-desktop-files): Remove itweb-settings.desktop.
14297	(itweb-settings.desktop): New target.
14298	* itweb-settings.desktop.in: New file.
14299
143002010-12-01  Andrew John Hughes  <ahughes@redhat.com>
14301
14302	* acinclude.m4:
14303	(IT_CHECK_FOR_APPLETVIEWERPANEL_HOLE):
14304	New check to ensure sun.applet.AppletViewerPanel
14305	is public (via the patch in IcedTea, applet_hole.patch).
14306	* configure.ac: Invoke the above macro.  Don't call
14307	IT_CHECK_FOR_CLASS for the same class (the above macro
14308	handles this too).
14309	* README: Mention this limitation.
14310
143112010-12-01  Andrew Su  <asu@redhat.com>
14312
14313	* NEWS: Added controlpanel for modifying deployments.properties
14314	* Makefile.am:
14315	(CONTROLPANEL_LAUNCHER_OBJECTS): Objects used to compile binary
14316	control panel.
14317	(all-local): Add $(NETX_DIR)/launcher/controlpanel/itw-settings.
14318	(install-exec-local): Install the control panel binary.
14319	(uninstall-local): Removes the compiled control panel binary.
14320	($(NETX_DIR)/launcher/controlpanel/%.o): Create the launcher objects.
14321	($(NETX_DIR)/launcher/controlpanel/itw-settings): Link the objects to
14322	make the launcher.
14323	* netx/net/sourceforge/jnlp/controlpanel/AboutPanel.java,
14324	* netx/net/sourceforge/jnlp/controlpanel/ComboItem.java,
14325	* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java,
14326	* netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java,
14327	* netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java,
14328	* netx/net/sourceforge/jnlp/controlpanel/JREPanel.java,
14329	* netx/net/sourceforge/jnlp/controlpanel/NamedBorderPanel.java,
14330	* netx/net/sourceforge/jnlp/controlpanel/MiddleClickListener.java,
14331	* netx/net/sourceforge/jnlp/controlpanel/SecuritySettingsPanel.java,
14332	* netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java,
14333	* netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java,
14334	* netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsPane.java,
14335	* netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java,:
14336	New classes. All methods are new as well.
14337	* netx/net/sourceforge/jnlp/resources/Messages.properties: Added
14338	messages used by control panel.
14339	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java:
14340	Changed to not display a close button if null parent frame.
14341
143422010-11-30  Andrew John Hughes  <ahughes@redhat.com>
14343
14344	* Makefile.am:
14345	(liveconnect): Add NETX_DIR first on the bootclasspath
14346	so the plugin can be built against 1.7 and 1.8
14347	branch releases of IcedTea6.
14348
143492010-11-26  Andrew John Hughes  <ahughes@redhat.com>
14350
14351	Make distcheck work.
14352	* Makefile.am:
14353	(EXTRA_DIST): Use relative paths for netx
14354	and the plugin.
14355	(clean-local): Remove empty stamps directory.
14356	(install-exec-local): Use install to install
14357	programs and data with the correct permissions.
14358	(install-data-local): Likewise.
14359	(uninstall-local): Remove documentation.
14360	(netx): Use ${INSTALL_DATA} to add resources so
14361	that read-only files aren't copied.
14362	(extra-files): Likewise.
14363	($(NETX_DIR)/launcher/javaws): Don't create empty launcher
14364	directory.
14365	(clean-docs): Remove empty docs directory.
14366	(clean-bootstrap-directory): Remove empty bootstrap
14367	directory.
14368
143692010-11-29  Deepak Bhole <dbhole@redhat.com>
14370
14371	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
14372	(createPanel): Call the new framePanel() method with the proper handle.
14373	(framePanel): New method, renamed from reFrame. Changed to now do one-time
14374	framing of panel into the plugin.
14375	(handleMessage): Don't re-frame the panel. Panel is now framed only once.
14376	(destroyApplet): Dispose the frame right away, and try to remove the panel
14377	if possible. If not, handleMessage() will do it when the panel is
14378	ready/removable.
14379
143802010-11-25  Andrew John Hughes  <ahughes@redhat.com>
14381
14382	* Makefile.am:
14383	(JDK_UPDATE_VERSION): Document.
14384	(NETX_PKGS): NetX packages for documentation.
14385	(PLUGIN_PKGS): Same for the plugin.
14386	(JAVADOC_OPTS): Common options passed to javadoc.
14387	(JAVADOC_MEM_OPTS): Memory options passed to JVM
14388	if possible (taken from the previous OpenJDK build).
14389	(all-local): Depend on docs.stamp.
14390	(clean-local): Add clean-docs.
14391	(.PHONY): Add clean-docs, clean-plugin-docs, clean-netx-docs.
14392	(install-exec-local): Install the documentation if enabled.
14393	(docs): Meta-dependency for netx-docs and plugin-docs.
14394	(clean-docs): Likewise but for clean targets.
14395	(netx-docs): Build documentation for the NetX API.
14396	(clean-netx-docs): Remove the NetX docs.
14397	(plugin-docs): Build documentation for the plugin API.
14398	(clean-plugin-docs): Likewise.
14399	(bootstrap-directory): Link to javadoc binary.
14400	* acinclude.m4:
14401	(IT_FIND_JAVADOC): Find a javadoc binary, first checking
14402	user input, then the JDK and the path for 'javadoc' and
14403	'gjdoc'.  Also sets JAVADOC_SUPPORTS_J_OPTIONS if it does.
14404	* configure.ac:
14405	Call IT_FIND_JAVADOC.
14406
144072010-11-25  Omair Majid  <omajid@redhat.com>
14408
14409	* Makefile.am (stamps/liveconnect.stamp): Set a bootclasspath to
14410	avoid using an older netx.jar during compilation.
14411
144122010-11-24  Omair Majid  <omajid@redhat.com>
14413
14414	* netx/net/sourceforge/jnlp/util/FileUtils.java
14415	(createRestrictedDirectory): New method. Creates a directory with reduced
14416	permissions.
14417	(createRestrictedFile(File,boolean)): New method. Creates a file with reduced
14418	permissions.
14419	(createRestrictedFile(File,boolean,boolean): New method. Creates a file or
14420	a directory with reduced permissions.
14421	* netx/net/sourceforge/jnlp/Launcher.java
14422	(markNetxRunning): Do not grant unnecessary file permissions.
14423	* netx/net/sourceforge/jnlp/runtime/Boot.java: Remove umask from
14424	help message.
14425	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
14426	(activateNative): Create file with proper permissions.
14427	(getNativeDir): Create directory with proper permissions.
14428	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
14429	(initializeStreams): Create files with proper permissions.
14430	* netx/net/sourceforge/jnlp/security/CertWarningPane.java
14431	(CheckBoxListener.actionPerformed): Likewise.
14432	* netx/net/sourceforge/jnlp/security/KeyStores.java
14433	(createKeyStoreFromFile): Likewise.
14434	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
14435	(ImportButtonListener.actionPerformed): Likewise.
14436	(RemoveButtonListener.actionPerformed): Likewise.
14437	* netx/net/sourceforge/jnlp/services/SingleInstanceLock.java
14438	(createWithPort): Likewise.
14439	(getLockFile): Likewise.
14440	* netx/net/sourceforge/jnlp/services/XExtendedService.java
14441	(openFile): Likewise.
14442	* netx/net/sourceforge/jnlp/services/XPersistenceService.java
14443	(create): Likewise.
14444	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java
14445	(installDesktopLauncher): Likewise.
14446	* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
14447	CantCreateFile, RCantCreateDir and RCantRename. Remove BNoBase and
14448	BOUmask.
14449
144502010-11-24  Deepak Bhole <dbhole@redhat.com>
14451
14452	Fix PR593: Increment of invalidated iterator in IcedTeaPluginUtils (patch
14453	from barbara.xxx1975@libero.it)
14454	* plugin/icedteanp/IcedTeaPluginUtils.cc
14455	(invalidateInstance): Act on the pointer directly, rather than via
14456	members.
14457	* NEWS: Updated.
14458
144592010-11-24  Deepak Bhole <dbhole@redhat.com>
14460
14461	Fix PR552: Support for FreeBSD's pthread implementation (patch from
14462	jkim@freebsd.org)
14463	* plugin/icedteanp/IcedTeaNPPlugin.cc
14464	(NP_Shutdown): Do pthread_join after cancel to	avoid destroying mutexes
14465	or condition variables in use.
14466	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
14467	(PluginRequestProcessor): Initialize mutexes dynamically.
14468	(queue_cleanup): New method. Destroy dynamically created mytexes.
14469	(queue_processor): Initialize wait_mutex and push cleanup on exit. Clean
14470	up after processing stops.
14471
144722010-11-24  Andrew John Hughes  <ahughes@redhat.com>
14473
14474	* NEWS: Bring in changes from IcedTea6 1.10
14475	NEWS (now redundant there) and apply same structure
14476	as in IcedTea6.
14477
144782010-11-24  Omair Majid  <omajid@redhat.com>
14479
14480	CVE-2010-3860 IcedTea System property information leak via public static
14481	* netx/net/sourceforge/jnlp/runtime/Boot.java: Remove basedir
14482	 option. Add NETX_ABOUT_FILE.
14483	 (run): Remove call to JNLPRuntime.setBaseDir.
14484	 (getAboutFile): Use the constant in this file, not JNLPRuntime.
14485	 (getBaseDir): Remove obsolete method.
14486	 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Remove
14487	 baseDir, USER, HOME_DIR, NETXRC_FILE, NETX_DIR, SECURITY_DIR,
14488	 CERTFICIATES_FILE, JAVA_HOME_DIR, NETX_ABOUT_FILE.
14489	 (initialize): Do not set baseDir.
14490	 (getBaseDir): Remove method.
14491	 (setBaseDir): Likewise.
14492	 (getDefaultBaseDir): Likewise.
14493	 (getProperties): Likewise.
14494	 * netx/net/sourceforge/jnlp/security/SecurityUtil.java
14495	 (getTrustedCertsFilename): Delegate to
14496	 KeyStores.getKeyStoreLocation.
14497	 * plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
14498	 (PluginAppletSecurityContext): Remove call to obsolete method.
14499
145002010-11-24  Omair Majid  <omajid@redhat.com>
14501
14502	Fix PR592.
14503	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java
14504	(getContentsAsReader): Sanitize information before adding to desktop file.
14505	(sanitize): New method. Ensure that there are no newlines in input.
14506
145072010-11-24  Omair Majid  <omajid@redhat.com>
14508
14509	* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
14510	CVCertificateType.
14511	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java: Use
14512	CVCertificateType instead of hardcoded string.
14513
145142010-11-24  Omair Majid  <omajid@redhat.com>
14515
14516	* netx/net/sourceforge/jnlp/SecurityDesc.java: Add grantAwtPermissions.
14517	(SecurityDesc): Set grantAwtPermissions.
14518	(getSandboxPermissions): Use grantAwtPermissions to determine whether to
14519	grant permissions.
14520
145212010-11-24  Matthias Klose  <doko@ubuntu.com>
14522
14523	* Makefile.am (javaws.desktop): Search javaws.desktop.in in $(srcdir).
14524
145252010-11-24  Matthias Klose  <doko@ubuntu.com>
14526
14527	* Makefile.am (LAUNCHER_LINK): Don't explicitely link with -lc,
14528	link with -pthread instead of -lpthread.
14529	(LAUNCHER_FLAGS): Add -pthread.
14530
145312010-11-24  Chris Coulson  <chris.coulson@canonical.com>
14532
14533	* Makefile.am (pluginappletviewer, javaws):
14534	Fix linking with --as-needed.
14535
145362010-11-23  Omair Majid  <omajid@redhat.com>
14537
14538	* netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
14539	Add KEY_PROXY_TYPE, KEY_PROXY_SAME, KEY_PROXY_AUTO_CONFIG_URL,
14540	KEY_PROXY_BYPASS_LIST, KEY_PROXY_BYPASS_LOCAL, KEY_PROXY_HTTP_HOST,
14541	KEY_PROXY_HTTP_PORT, KEY_PROXY_HTTPS_HOST, KEY_PROXY_HTTPS_PORT,
14542	KEY_PROXY_FTP_HOST, KEY_PROXY_FTP_PORT, KEY_PROXY_SOCKS4_HOST,
14543	KEY_PROXY_SOCKS4_PORT, and KEY_PROXY_OVERRIDE_HOSTS.
14544	(loadDefaultProperties): Use the new constants.
14545	* netx/net/sourceforge/jnlp/runtime/JNLPProxySelector.java: New
14546	class.
14547	(JNLPProxySelector): New method.
14548	(parseConfiguration): New method. Initializes this object by
14549	querying the configuration.
14550	(getHost): New method.
14551	(getPort): New method.
14552	(connectFailed): New method.
14553	(select): New method. Returns a list of appropriate proxies to use
14554	for a given uri.
14555	(inBypassList): New method. Return true if the host in the URI
14556	should be bypassed for proxy purposes.
14557	(isLocalHost): New method.
14558	(getFromConfiguration): New method. Finds a proxy based on
14559	configuration.
14560	(getFromPAC): New method.
14561	(getFromBrowser): New method.
14562	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
14563	(initialize): Install proxy selector and authenticator.
14564	* plugin/icedteanp/java/sun/applet/PluginMain.java
14565	(init): Do not install authenticator.
14566	(CustomAuthenticator): Moved to...
14567	* netx/net/sourceforge/jnlp/security/JNLPAuthenticator.java: Here.
14568	* plugin/icedteanp/java/sun/applet/PasswordAuthenticationDialog.java
14569	Moved to...
14570	* netx/net/sourceforge/jnlp/security
14571	/PasswordAuthenticationDialog.java: Here.
14572	* plugin/icedteanp/java/sun/applet/PluginProxySelector.java: Extend
14573	JNLPProxySelector.
14574	(select): Renamed to...
14575	(getFromBrowser): New method.
14576
145772010-11-19  Omair Majid  <omajid@redhat.com>
14578
14579	* Makefile.am (EXTRA_DIST): Replace javaws.desktop with
14580	javaws.desktop.in. (all-local): Add javaws.desktop. (clean-local):
14581	Add dependency on clean-desktop-files. (.PHONY): Add clean-desktop-
14582	files. (clean-desktop-files): New target. (javaws.desktop): New
14583	target. Use the absolute path to javaws binary in the Exec= line to
14584	create the javaws.desktop file.
14585	* javaws.desktop: Renamed to...
14586	* javaws.desktop.in: New file. Does not contain Encoding key. Value
14587	for Icon does not contain extension.
14588	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java
14589	(JAVA_ICON_NAME): Set to icon name without the extension.
14590
145912010-11-18  Omair Majid  <omajid@redhat.com>
14592
14593	* netx/net/sourceforge/jnlp/SecurityDesc.java: Remove window banner
14594	permissions from sandboxPermissions and j2eePermissions.
14595	(getSandBoxPermissions): Dynamically add window banner permissions
14596	if allowed by configuration.
14597	* netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
14598	Add KEY_SECURITY_PROMPT_USER,
14599	KEY_SECURITY_ALLOW_HIDE_WINDOW_WARNING,
14600	KEY_SECURITY_PROMPT_USER_FOR_JNLP, and
14601	KEY_SECURITY_INSTALL_AUTHENTICATOR.
14602	(loadDefaultProperties): Use the new constants.
14603	* netx/net/sourceforge/jnlp/security/SecurityWarning.java
14604	(showAccessWarningDialog): Check if the user should be prompted
14605	before prompting the user.
14606	(showNotAllSignedWarningDialog): Likewise.
14607	(showCertWarningDialog): Likewise.
14608	(showAppletWarning): Likewise.
14609	(shouldPromptUser): New method. Check if configuration allows
14610	showing user prompts.
14611	* netx/net/sourceforge/jnlp/services/ServiceUtil.java
14612	(checkAccess(AccessType,Object...)): Clarify javadocs.
14613	(checkAccess(ApplicationInstance,AccessType,Object...)): Clarify
14614	javadocs. Only prompt the user if showing JNLP prompts is ok.
14615	(shouldPromptUser): New method. Returns true if configuration allows
14616	for showing JNLP api prompts.
14617	* plugin/icedteanp/java/sun/applet/PluginMain.java
14618	(init): Only install custom authenticator if allowed by
14619	configuration.
14620
146212010-11-18  Omair Majid  <omajid@redhat.com>
14622
14623	* netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
14624	Add KEY_ENABLE_LOGGING.
14625	(loadDefaultProperties): Use KEY_ENABLE_LOGGING.
14626	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Add
14627	redirectStreams, STDERR_FILE and STDOUT_FILE.
14628	(initialize): Call initializeStreams.
14629	(initializeStreams): New method. Redirects or duplicates stdout and
14630	stderr to the logging files as required.
14631	(setRedirectStreams): New method. Sets whether stdout/stderr streams
14632	should be redirected.
14633	* plugin/icedteanp/java/sun/applet/PluginMain.java:
14634	(PluginMain): Move code for creating logging files into JNLPRuntime.
14635	Call JNLPRuntime.setRedirectStreams to redirect streams.
14636	(TeeOutputStream): Move to its own class.
14637	* netx/net/sourceforge/jnlp/util/TeeOutputStream.java: Moved from
14638	PluginMain into this new class.
14639
146402010-11-18  Omair Majid  <omajid@redhat.com>
14641
14642	* NEWS: Update with new interfaces
14643	* netx/javax/jnlp/DownloadService2.java: New interface.
14644	(ResourceSpec): New class.
14645	(ResourceSpec.ResourceSpec): New method.
14646	(ResourceSpec.getExpirationDate): New method.
14647	(ResourceSpec.getLastModified): New method.
14648	(ResourceSpec.getSize): New method.
14649	(ResourceSpec.getType): New method.
14650	(ResourceSpec.getUrl): New method.
14651	(ResourceSpec.getVersion): New method.
14652	(getCachedResources): New method.
14653	(getUpdateAvaiableReosurces): New method.
14654	* netx/javax/jnlp/IntegrationService.java: New interface.
14655	(hasAssociation): New method.
14656	(hasDesktopShortcut): New method.
14657	(hasMenuShortcut): New method.
14658	(removeAssociation): New method.
14659	(removeShortcuts): New method.
14660	(requestAssociation): New method.
14661	(requestShortcut): New method.
14662
146632010-11-16  Andrew Su  <asu@redhat.com>
14664
14665	* netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
14666	Corrected typo in one of the default values.
14667
146682010-11-11  Omair Majid  <omajid@redhat.com>
14669
14670	* netx/net/sourceforge/jnlp/runtime/Boot.java (main): Move trust
14671	manager initialization code into JNLPRuntime.initialize.
14672	* plugin/icedteanp/java/sun/applet/PluginMain.java
14673	(init): Likewise.
14674	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (initialize):
14675	Set the default SSL TrustManager here.
14676	* netx/net/sourceforge/jnlp/security/CertWarningPane.java
14677	(CheckBoxListener.actionPerformed): Add this certificate into
14678	user's trusted certificate store.
14679	* netx/net/sourceforge/jnlp/tools/KeyTool.java
14680	(addToKeyStore(File,KeyStore)): Move to CertificateUtils.
14681	(addToKeyStore(X509Certificate,KeyStore)): Likewise.
14682	(dumpCert): Likewise.
14683	* netx/net/sourceforge/jnlp/security/CertificateUtils.java: New
14684	class.
14685	(addToKeyStore(File,KeyStore)): Moved from KeyTool.
14686	(addToKeyStore(X509Certificate,KeyStore)): Likewise.
14687	(dumpCert): Likewise.
14688	(inKeyStores): New method.
14689	* netx/net/sourceforge/jnlp/security/HttpsCertVerifier.java
14690	(getRootInCacerts): Check all available CA store to check if
14691	root is in CA certificates.
14692	* netx/net/sourceforge/jnlp/security/KeyStores.java
14693	(getKeyStore(Level,Type,boolean)): Add security check.
14694	(getClientKeyStores): New method.
14695	* netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java
14696	(VariableX509TrustManager): Initialize multiple CA, certificate and
14697	client trust managers.
14698	(checkClientTrusted): Check all the client TrustManagers if
14699	certificate is trusted.
14700	(checkAllManagers): Check multiple CA certificates and trusted
14701	certificates to determine if the certificate chain can be trusted.
14702	(isExplicitlyTrusted): Check with multiple TrustManagers.
14703	(getAcceptedIssuers): Gather results from multiple TrustManagers.
14704	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
14705	(ImportButtonListener): Use CertificateUtils instead of KeyTool.
14706	* netx/net/sourceforge/jnlp/tools/JarSigner.java
14707	(checkTrustedCerts): Use multiple key stores to check if certificate
14708	is directly trusted and if the root is trusted.
14709
147102010-11-09  Omair Majid  <omajid@redhat.com>
14711
14712	* netx/net/sourceforge/jnlp/resources/Messages.properties: Add
14713	ButAllow, ButClose, ButCopy, ButMoreInformation, ButProceed,
14714	ButRun, AlwaysAllowAction, Continue, Field, From, Name, Publisher,
14715	Value, Version, SNoAssociatedCertificate, SAlwaysTrustPublisher,
14716	SHttpsUnverified, SNotAllSignedSummary, SNotAllSignedDetail,
14717	SNotAllSignedQuestion, SCertificateDetails, SIssuer, SSerial,
14718	SMD5Fingerprint, SSHA1Fingerprint, SSignature, SSignatureAlgorithm,
14719	SSubject, SValidity, CVCertificateViewer, CVDetails, CVIssuedTo,
14720	CVExport, CVImport, CVIssuedBy, IssuedTo, CVRemove,
14721	CVRemoveConfirmMessage,CVRemoveConfirmTitle, CVUser, CVSystem,
14722	KS, KSCerts, KSJsseCerts, KSCaCerts, KSJsseCaCerts, and
14723	KSClientCerts.
14724	* netx/net/sourceforge/jnlp/security/AccessWarningPane.java
14725	(addComponents): Use localized strings.
14726	* netx/net/sourceforge/jnlp/security/CertWarningPane.java
14727	(addComponents): Likewise.
14728	* netx/net/sourceforge/jnlp/security/CertsInfoPane.java
14729	(parseCert): Likewise.
14730	(addComponents): Likewise.
14731	* netx/net/sourceforge/jnlp/security/MoreInfoPane.java
14732	(addComponents): Likewise.
14733	* netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java
14734	(addComponents): Likewise.
14735	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java:
14736	Likewise.
14737	(addComponents): Likewise.
14738	(CertificateType.toString): Likewise.
14739	(RemoveButtonListener.actionPerformed): Likewise.
14740
147412010-11-05  Omair Majid  <omajid@redhat.com>
14742
14743	* netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
14744	Add KEY_BROWSER_PATH.
14745	(loadDefaultProperties): Use KEY_BROWSER_PATH.
14746	* netx/net/sourceforge/jnlp/services/XBasicService.java
14747	(initialize): Use the browser command from the configuration.
14748	Save updates to configuration as well.
14749
147502010-11-05  Omair Majid  <omajid@redhat.com>
14751
14752	* netx/net/sourceforge/jnlp/ShortcutDesc.java: Change prefixes from
14753	SHORTCUT_ to CREATE_.
14754	* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java
14755	(addMenuAndDesktopEntries): Call shouldCreateShortcut to find out
14756	if shortcut should be created. Remove call to checkAccess which
14757	does nothing as the entire stack contains trusted classes.
14758	(shouldCreateShortcut): New method. Use the configuration to find
14759	out if a shorcut should be created, and possibly prompt the user.
14760	* netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
14761	Add KEY_CREATE_DESKTOP_SHORTCUT.
14762	(loadDefaultProperties): Use KEY_CREATE_DESKTOP_SHORTCUT.
14763
147642010-11-08  Omair Majid  <omajid@redhat.com>
14765
14766	* Makefile.am (JDK_UPDATE_VERSION): Define variable.
14767
147682010-11-04  Omair Majid  <omajid@redhat.com>
14769
14770	* netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
14771	Add KEY_USER_TRUSTED_CA_CERTS, KEY_USER_TRUSTED_JSSE_CA_CERTS,
14772	KEY_USER_TRUSTED_CERTS, KEY_USER_TRUSTED_JSSE_CERTS,
14773	KEY_USER_TRUSTED_CLIENT_CERTS, KEY_SYSTEM_TRUSTED_CA_CERTS,
14774	KEY_SYSTEM_TRUSTED_JSSE_CA_CERTS, KEY_SYSTEM_TRUSTED_CERTS,
14775	KEY_SYSTEM_TRUSTED_JSSE_CERTS, KEY_SYSTEM_TRUSTED_CLIENT_CERTS
14776	(loadDefaultProperties): Use the defined constants.
14777	* netx/net/sourceforge/jnlp/security/KeyStores.java: New class.
14778	(getPassword): New method. Return the default password used for
14779	KeyStores.
14780	(getKeyStore(Level,Type)): New method. Returns the appropriate
14781	KeyStore.
14782	(getKeyStore(Level,Type,String)): Likewise.
14783	(getCertKeyStores): New method. Return all the trusted certificate
14784	KeyStores.
14785	(getCAKeyStores): New method. Return all the trusted CA certificate
14786	KeyStores.
14787	(getKeyStoreLocation): New method. Return the location of the
14788	appropriate KeyStore.
14789	(toTranslatableString): New method. Return a string that can be
14790	used to create a human-readable name for the KeyStore.
14791	(toDisplayableString): New method. Return a human-readable name
14792	for the KeyStore.
14793	(createKeyStoreFromFile): New method. Creates a new KeyStore object,
14794	initializing it from the given file if possible.
14795	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
14796	(CertificatePane): Create two JTables. Populate the tables when
14797	done creating the user interface.
14798	(initializeKeyStore): Use the correct keystore.
14799	(addComponents): Do not read KeyStore. Create more interface
14800	elements to show the new possible KeyStores. Mark some buttons to
14801	be disabled when needed.
14802	(repopulateTable): Renamed to...
14803	(repopulateTables): New method. Read KeyStore and use the contents
14804	to create the user and system tables.
14805	(CertificateType): New class.
14806	(CertificateTypeListener): New class. Listens to JComboBox change
14807	events.
14808	(TabChangeListener): New class. Listens to new tab selections.
14809	(ImportButtonListener): Import certificates to the appropriate
14810	KeyStore.
14811	(ExportButtonListener): Find the certificate from the right table.
14812	(RemoveButtonListener): Find the certificate from the right table
14813	and right the KeyStore.
14814	(DetailsButtonListener): Find the certificate from the right table.
14815	* netx/net/sourceforge/jnlp/security/viewer/CertificateViewer.java
14816	(showCertficaiteViewer): Initialize the JNLPRuntime so the
14817	configuration gets loaded.
14818	* netx/net/sourceforge/jnlp/tools/KeyTool.java
14819	(addToKeyStore(File,KeyStore)): New method. Adds certificate from
14820	the file to the KeyStore.
14821	(addToKeyStore(X509Certificate,KeyStore)): New method. Adds a
14822	certificate to a KeyStore.
14823
148242010-11-04  Deepak Bhole <dbhole@redhat.com>
14825
14826	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java (update):
14827	Override method and implement double-buffering.
14828
148292010-10-28  Andrew John Hughes  <ahughes@redhat.com>
14830
14831	* Makefile.am:
14832	(NETX_BOOTSTRAP_CLASSES): Removed.
14833	(PLUGIN_BOOTSTRAP_CLASSES): Likewise.
14834	(NETX_SUN_CLASSES): Likewise.
14835	(PLUGIN_SUN_CLASSES): Likewise.
14836	* acinclude.m4:
14837	(IT_CHECK_FOR_CLASS): Require detection
14838	of javac and java.  Put test class in
14839	sun.applet to get access to some internal
14840	classes.  Change test to use forName for
14841	the same reason.  I expect to be able to
14842	revert this when usage of sun.applet is fixed.
14843	(IT_FIND_JAVA): Ported from IcedTea6.  Change
14844	to prioritise 'java' over 'gij'.
14845	* configure.ac:
14846	Add IT_CHECK_FOR_CLASS checks for classes which
14847	are required but not found in JDKs other than
14848	Oracle-based ones.  Also check for java.* classes
14849	missing from current versions of gcj but which
14850	may appear there in future.
14851
148522010-11-03  Omair Majid  <omajid@redhat.com>
14853
14854	* netx/net/sourceforge/jnlp/Launcher.java
14855	(markNetxRunning): Get file name from configuration.
14856	(markNetxStopped): Likewise.
14857	* netx/net/sourceforge/jnlp/cache/CacheUtil.java
14858	(clearCache): Get cache directory from configuration.
14859	(okToClearCache): Get netx_running file from configuration.
14860	(getCacheFile): Get cache directory from configuration.
14861	(urlToPath): Change semantics to take in the full path of the
14862	directory instead of a directory under runtime.
14863	* netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
14864	Change DEPLOYMENT_DIR to ".icedtea". Add constants
14865	KEY_USER_CACHE_DIR, KEY_USER_PERSISTENCE_CACHE_DIR,
14866	KEY_SYSTEM_CACHE_DIR, KEY_USER_LOG_DIR, KEY_USER_TMP_DIR,
14867	KEY_USER_LOCKS_DIR, and KEY_USER_NETX_RUNNING_FILE.
14868	(load): Use DEPLOYMENT_DIR instead of hardcoded string.
14869	(loadDefaultProperties): Add LOCKS_DIR. Replace strings with
14870	constants. Add new default values for persistence cache directory,
14871	single instance locks directory and the netx_running file.
14872	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Remove
14873	unneeded TMP_DIR, LOCKS_DIR and NETX_RUNNING_FILE
14874	* netx/net/sourceforge/jnlp/services/SingleInstanceLock.java
14875	(getLockFile): Get locks directory from configuration.
14876	* netx/net/sourceforge/jnlp/services/XPersistenceService.java
14877	(toCacheFile): Get persistence cache directory from configuration.
14878	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java
14879	(getContentsAsReader): Get cache directory from configuration.
14880	(installDesktopLauncher): Get temporary directory from
14881	configuration. Make parent directories if required.
14882	* plugin/icedteanp/java/sun/applet/JavaConsole.java
14883	(initialize): Get log directory from configuration and create the
14884	error and output files under it.
14885	* plugin/icedteanp/java/sun/applet/PluginMain.java:
14886	PLUGIN_STDERR_FILE and PLUGIN_STDOUT_FILE are now just filesnames.
14887	(PluginMain): Use configuration for finding the log directory.
14888	Initialize JNLPRuntime before creating the stderr and stdout logs.
14889
148902010-11-01  Omair Majid  <omajid@redhat.com>
14891
14892	* Makefile.am (clean-IcedTeaPlugin): Only delete launcher directory if it
14893	exists.
14894
148952010-11-01  Deepak Bhole <dbhole@redhat.com>
14896
14897	PR542: Plugin fails with NPE on
14898	http://www.openprocessing.org/visuals/iframe.php?visualID=2615
14899	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
14900	(initializeResources): If cacheFile is null (JAR couldn't be downloaded),
14901	try to continue, rather than allowing the exception to cause an abort.
14902	* NEWS: Updated.
14903
149042010-11-01  Deepak Bhole <dbhole@redhat.com>
14905
14906	* plugin/docs: Added new docs folder that contains plugin documentation.
14907	* plugin/docs/MessageBusArchitecture.png: Diagram of the JS <-> Java
14908	message handling architectrure.
14909	* plugin/docs/OverallArchitecture.png: Diagram of the overall plugin
14910	architecture.
14911	* plugin/docs/java-js-wf.png: Sequence diagram showing an example
14912	LiveConnect call from an applet to JavaScript/Browser.
14913	* plugin/docs/js-java-wf.png: Sequence diagram showing an example
14914	LiveConnect call from JavaScript/Browser to an applet.
14915	* plugin/docs/npplugin_liveconnect_design.pdf: Slides with notes on the
14916	above diagrams.
14917
149182010-10-29  Omair Majid  <omajid@redhat.com>
14919
14920	* netx/net/sourceforge/jnlp/JNLPFile.java: Add component.
14921	(getLaunchInfo): Modify javadoc to indicate that it does not return
14922	the ComponentDesc.
14923	(getComponent): Return component instead of launchType.
14924	(isComponent): Check if component is not null.
14925	(parse): Find and set component descriptor.
14926	* netx/net/sourceforge/jnlp/Parser.java
14927	(getLauncher): Remove all checks for component-desc. Allow having
14928	none of application-desc, applet-desc and installer-desc.
14929	(getComponent): Check for more than one component-desc element.
14930	Read and parse the component-desc.
14931
149322010-10-28  Omair Majid  <omajid@redhat.com>
14933
14934	* netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java
14935	(showMoreInfoDialog): Make dialog modal.
14936	(showCertInfoDialog): Likewise.
14937	(showSingleCertInfoDialog): Likewise.
14938	(initDialog): Use setModality instead of setModal.
14939
149402010-10-27  Deepak Bhole <dbhole@redhat.com>
14941
14942	* plugin/icedteanp/IcedTeaNPPlugin.cc (plugin_create_applet_tag): Escape
14943	the entire applet tag, not just the params.
14944
149452010-10-27  Omair Majid  <omajid@redhat.com>
14946
14947	* netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java
14948	(load): Do a security check at start. A security exception later on may
14949	accidentally reveal a filename or a system property.
14950	(save): Likewise.
14951
149522010-10-26  Omair Majid  <omajid@redhat.com>
14953
14954	* netx/net/sourceforge/jnlp/Launcher.java
14955	(doPerApplicationAppContextHacks): New method. Create a new ParserDelegate
14956	to intialize the per AppContext dtd used by Swing HTML controls.
14957	(TgThread.run): Call doPerApplicationAppContextHacks.
14958	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
14959	(initialize): Call doMainAppContextHacks.
14960	(doMainAppContextHacks): New method. Create a new ParserDelegate to
14961	initialize the per AppContext dtd used by Swing HTML controls.
14962
149632010-10-26  Omair Majid  <omajid@redhat.com>
14964
14965	* netx/net/sourceforge/jnlp/Launcher.java
14966	(launchApplication): Mark main method as accessible before
14967	invoking it.
14968
149692010-10-26  Omair Majid  <omajid@redhat.com>
14970
14971	* netx/net/sourceforge/jnlp/Parser.java: Add 1.1, 1.2, 1.3 and
14972	1.4 to supportedVersions.
14973
149742010-10-26  Omair Majid  <omajid@redhat.com>
14975
14976	* netx/net/sourceforge/jnlp/runtime/Translator.java
14977	(R(String)): New method.
14978
149792010-10-26  Deepak Bhole <dbhole@redhat.com>
14980
14981	* netx/net/sourceforge/jnlp/PluginBridge.java: Trim whitespace from jar
14982	names in the constructor.
14983
149842010-10-26  Deepak Bhole <dbhole@redhat.com>
14985
14986	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
14987	Replace all status.put calls with calls to updateStatus().
14988	(createPanel): Create a frame with a 0 handle. Use the new
14989	waitForAppletInit function to wait until applet is ready.
14990	(reFrame): Re-order code so that the panel is never parentless.
14991	(handleMessage): Re-wrote message processing to handle destroy calls
14992	correctly, checking for them more often to prevent a frame from popping up
14993	if the tab/page is closed before loading finishes. Decode special
14994	characters in the message.
14995	(updateStatus): New function. Updates the status for the given instance if
14996	applicable.
14997	(destroyApplet): New function. Destroys a given applet and frees related
14998	resources.
14999	(waitForAppletInit): New function. Blocks until applet is initialized.
15000	(parse): Remove part that decoded the params. Decoding is now done earlier
15001	in handleMessage().
15002	* plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java:
15003	(getPriorityStrIfPriority): Mark destroy messages as priority.
15004	(bringPriorityMessagesToFront): Scans the queue for priority messages and
15005	brings them to the front.
15006	(run): If the queue is not empty and there are no workers left, run
15007	bringPriorityMessagesToFront() and retry.
15008
150092010-10-26  Andrew Su  <asu@redhat.com>
15010
15011	* Makefile.am: Split rm -rf into rm -f and rmdir for launcher
15012	directory.
15013
150142010-10-25  Omair Majid  <omajid@redhat.com>
15015
15016	* netx/net/sourceforge/jnlp/ShortcutDesc.java:
15017	Add SHORTCUT_NEVER, SHORTCUT_ALWAYS, SHORTCUT_ASK_USER,
15018	SHORTCUT_ASK_USER_IF_HINTED, SHORTCUT_ALWAYS_IF_HINTED,
15019	SHORTCUT_DEFAULT.
15020	* netx/net/sourceforge/jnlp/resources/Messages.properties:
15021	Add RConfigurationError.
15022	* netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
15023	New file.
15024	(ConfigValue): New class. Holds a configuration value.
15025	(DeploymentConfiguration): New method.
15026	(load): New method.
15027	(getProperty): Likewise.
15028	(getAllPropertyNames): Likewise.
15029	(setProperty): Likewise.
15030	(loadDefaultProperties): Likewise.
15031	(findSystemConfigFile): Likewise.
15032	(loadSystemConfiguration): Likewise.
15033	(loadProperties): Likewise.
15034	(save): Likewise.
15035	(parsePropertiesFile): Likewise.
15036	(mergeMaps): Likewise.
15037	(dumpConfiguration): Likewise.
15038	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java:
15039	(initialize): Load configuration.
15040	(getConfiguration): Return the configuration.
15041
150422010-10-25  Omair Majid  <omajid@redhat.com>
15043
15044	* net/sourceforge/jnlp/ExtensionDesc.java: Import Translator.R and use
15045	that.
15046	* net/sourceforge/jnlp/JNLPFile.java: Import Translator.R.
15047	(R): Remove.
15048	* net/sourceforge/jnlp/JREDesc.java: Import Translator.R.
15049	(checkHeapSize): Use R instead of JNLPRuntime.getMessage.
15050	* net/sourceforge/jnlp/Launcher.java: Import Translator.R.
15051	(R): Remove.
15052	* net/sourceforge/jnlp/Parser.java: Import Translator.R
15053	(R(String)): Remove.
15054	(R(String,Object)): Remove.
15055	(R(String,Object,Object)): Remove.
15056	(R(String,Object,Object,Object)): Remove.
15057	* net/sourceforge/jnlp/cache/CacheEntry.java: Import Translator.R
15058	(CacheEntry): Use R instead of JNLPRuntime.getMessage.
15059	* net/sourceforge/jnlp/cache/CacheUtil.java: Import Translator.R
15060	(R(String)): Remove.
15061	(R(String,Object)): Remove.
15062	* net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java: Import
15063	Translator.R and use that instead of JNLPRuntime.getMessage.
15064	* net/sourceforge/jnlp/runtime/Boot.java: Import Translator.R.
15065	(R(String)): Remove.
15066	(R(String, Object)): Remove.
15067	(run): Use R instead of JNLPRuntime.getMessage.
15068	* net/sourceforge/jnlp/runtime/JNLPClassLoader.java: Import Translator.R.
15069	(R): Remove.
15070	* net/sourceforge/jnlp/runtime/JNLPSecurityManager.java: Import
15071	Translator.R.  Use it instead of JNLPRuntime.getMeesage.
15072	(R): Remove.
15073	* net/sourceforge/jnlp/security/AccessWarningPane.java: Import
15074	Translator.R.
15075	* net/sourceforge/jnlp/security/CertWarningPane.java: Likewise.
15076	* net/sourceforge/jnlp/security/HttpsCertVerifier.java: Import
15077	Translator.R.
15078	(R(String)): Remove.
15079	(R(String,String,String)): Remove.
15080	* net/sourceforge/jnlp/security/MoreInfoPane.java: Import Translator.R.
15081	* net/sourceforge/jnlp/security/SecurityDialogPanel.java
15082	(R(String)): Remove.
15083	(R(String,Object)): Remove.
15084	* net/sourceforge/jnlp/services/ServiceUtil.java
15085	(R): Remove.
15086	* net/sourceforge/jnlp/services/SingleInstanceLock.java: Import
15087	Translator.R
15088	(R(String)): Remove.
15089	(R(String,Object)): Remove.
15090	* net/sourceforge/jnlp/tools/JarSigner.java: Import Translator.R.
15091	(R): Remove.
15092	* net/sourceforge/jnlp/runtime/Translator.java: New file
15093	(R(String,Object...)): New method.
15094
150952010-10-25  Andrew Su <asu@redhat.com>
15096
15097	* Makefile.am:
15098	(clean-IcedTeaPlugin): Remove launcher folder first.
15099	(clean-plugin): Removed called to remove launcher folder
15100
151012010-10-22  Omair Majid  <omajid@redhat.com>
15102
15103	* netx/net/sourceforge/jnlp/NetxPanel.java
15104	(runLoader): Do not initialize JNLPRuntime here.
15105	(createAppletThreads): Initialize JNLPRuntim here.
15106	* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
15107	Switch from SecurityWarningDialog.AccessType to
15108	SecurityWarning.AccessType.
15109	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
15110	(getInstance(JNLPFile,UpdatePolicy)): Switch to SecurityWarning.
15111	(initializeResources): Likewise.
15112	(checkTrustWithUser): Likewise.
15113	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java:
15114	Add securityDialogMesasgeHandler.
15115	(initialize): Set System look and feel. Start security thread.
15116	(startSecurityThread): New method. Starts a thread to show security
15117	dialogs.
15118	(getSecurityDialogHandler): Returns the securityDialogMessageHandler.
15119	* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java:
15120	Switch from SecurityWarningDialog.AccessType to
15121	SecurityWarning.AccessType.
15122	(checkAwtEventQueueAccess): New method. Skeleton code for allowing
15123	EventQueue acccess to applets.
15124	* netx/net/sourceforge/jnlp/security/AccessWarningPane.java:
15125	Switch from SecurityWarningDialog.AccessType to
15126	SecurityWarning.AccessType.
15127	* netx/net/sourceforge/jnlp/security/CertWarningPane.java:
15128	Likewise.
15129	* netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java:
15130	Move DialogType and AccessType to SecurityWarning.
15131	(SecurityWarningDialog(DialogType,AccessType,JNLPFile,CertVerifier,
15132	X509Certificate,Object[])): New method. The catch-all construction.
15133	(SecurityWarningDialog(DialogType,AccessType,JNLPFile): Delegate to
15134	the new constructor.
15135	(SecurityWarningDialog(DialogType,AccessType,JNLPFile,CertVerifier)):
15136	Likewise.
15137	(SecurityWarningDialog(DialogType,AccessType,CertVerifier)): Likewise.
15138	(SecurityWarningDialog(DialogType,AccessType,JNLPFile,Object[])):
15139	Likewise.
15140	(SecurityWarningDialog(DialogType,X509Certificate)): Likewise.
15141	(showAccessWarningDialog(AccessType,JNLPFile)): Move to SecurityWarning
15142	class.
15143	(showAccessWarningDialog(AccessType,JNLPFile,Object[])): Likewise.
15144	(showNotAllSignedWarningDialog(JNLPFile)): Likewise.
15145	(showCertWarningDialog(AccessType,JNLPFile,CertVerifier)): Likewise.
15146	(showAppletWarning): Likewise.
15147	(initDialog): Make dialog non modal and remove window closing listener.
15148	(getValue): Make public.
15149	(dispose): New method. Notify listeners.
15150	(notifySelectionMade): New method. Notify listeners that user has made
15151	a decision.
15152	(addActionListener): New method. Add a listener to be notified when
15153	user makes a decision about this security warning.
15154	* netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java:
15155	Switch from SecurityWarningDialog.AccessType to
15156	SecurityWarning.AccessType.
15157	* netx/net/sourceforge/jnlp/services/ServiceUtil.java: Likewise.
15158	* netx/net/sourceforge/jnlp/services/XClipboardService.java: Likewise.
15159	* netx/net/sourceforge/jnlp/services/XExtendedService.java: Likewise.
15160	* netx/net/sourceforge/jnlp/services/XFileOpenService.java: Likewise.
15161	* netx/net/sourceforge/jnlp/services/XFileSaveService.java: Likewise.
15162	* netx/net/sourceforge/jnlp/security/SecurityDialogMessage.java:
15163	New class.
15164	* netx/net/sourceforge/jnlp/security/SecurityDialogMessageHandler.java:
15165	New class.
15166	(run): New method. Runs the security message loop.
15167	(handleMessage): New method. Handles a SecurityDialogMessage to show a
15168	security warning.
15169	(postMessage): New method. Posts a message to sthe security message
15170	queue.
15171	* netx/net/sourceforge/jnlp/security/SecurityWarning.java: New class.
15172	Move AccessType and DialogType from SecurityWarningDialog to here.
15173	(showAccessWarningDialog): Moved from SecurityWarningDialog to here.
15174	(showAccessWarningDialog): Moved from SecurityWarningDialog to here.
15175	Modified to post messages to the security queue instead of showing a
15176	SecurityWarningDialog directly.
15177	(showNotAllSignedWarningDialog): Likewise.
15178	(showCertWarningDialog): Likewise.
15179	(showAppletWarning): Likewise.
15180	(getUserReponse): New method. Posts a message to the security thread and
15181	blocks until it gets a response from the user.
15182
151832010-10-20  Andrew John Hughes  <ahughes@redhat.com>
15184
15185	* netx/javax/jnlp/ServiceManager.java:
15186	(lookupTable): Add generic types.
15187	* netx/net/sourceforge/jnlp/AppletDesc.java:
15188	(parameters): Likewise.
15189	(AppletDesc(String,String,URL,int,int,Map)): Likewise.
15190	(getParameters()): Likewise.
15191	* netx/net/sourceforge/jnlp/ApplicationDesc.java:
15192	(getArguments()): Remove redundant cast.
15193	(addArgument(String)): Add generic typing.
15194	* netx/net/sourceforge/jnlp/ExtensionDesc.java:
15195	(extToPart): Add generic types.
15196	(eagerExtParts): Likewise.
15197	* netx/net/sourceforge/jnlp/InformationDesc.java:
15198	(info): Likewise.
15199	(getIcons(Object)): Add generic typing.
15200	(getAssociations()): Likewise.
15201	(getRelatedContents()): Likewise.
15202	(getItem(Object)): Likewise.
15203	(getItems(Object)): Likewise.
15204	(addItem(String,Object)): Likewise.
15205	* netx/net/sourceforge/jnlp/JNLPFile.java:
15206	(resources): Likewise.
15207	(InformationDesc.getItems(Object)): Likewise.
15208	(getResources(Class)): Likewise.
15209	* netx/net/sourceforge/jnlp/LaunchException.java:
15210	(getCauses()): Likewise.
15211	* netx/net/sourceforge/jnlp/Launcher.java:
15212	(launchApplication(JNLPFile)): Likewise.
15213	* netx/net/sourceforge/jnlp/NetxPanel.java:
15214	(NetxPanel(URL,Hashtable)): Likewise.
15215	(NetxPanel(URL,Hashtable,boolean)): Likewise.
15216	* netx/net/sourceforge/jnlp/Node.java:
15217	(getChildNodes()): Likewise.
15218	* netx/net/sourceforge/jnlp/Parser.java:
15219	(getResources(Node,boolean)): Likewise.
15220	(getInfo(Node)): Likewise.
15221	(getInformationDesc(Node)): Likewise.
15222	(getApplet(Node)): Likewise.
15223	(getApplication(Node)): Likewise.
15224	(splitString(String)): Likewise.
15225	(getLocales(Node)): Likewise.
15226	(getChildNodes(Node,String)): Likewise.
15227	* netx/net/sourceforge/jnlp/PluginBridge.java:
15228	Fix variable naming and add generic types.
15229	(cacheJars): Changed from cache_jars.
15230	(cacheExJars): Changed from cache_ex-jars.
15231	(atts): Add generic typing.
15232	(PluginBridge(URL,URL,String,String,int,int,Hashtable)): Likewise.
15233	(getInformation(Locale)): Likewise.
15234	(getResources(Locale,String,String)): Likewise.
15235	(getJARs()): Avoid excessive copying; filtering already performed
15236	by getResources in JNLPFile.
15237	* netx/net/sourceforge/jnlp/ResourcesDesc.java:
15238	(resources): Add generic typing.
15239	(getJREs()): Likewise.
15240	(getJARs()): Likewise.
15241	(getJARs(String)): Likewise.
15242	(getExtensions()): Likewise.
15243	(getPackages()): Likewise.
15244	(getPackages(String)): Likewise.
15245	(getProperties()): Likewise.
15246	(getPropertiesMap()): Likewise.
15247	(getResources(Class)): Make generic.
15248	* netx/net/sourceforge/jnlp/Version.java:
15249	(matches(Version)): Add generic types.
15250	(matchesAny(Version)): Likewise.
15251	(matchesSingle(String)): Likewise.
15252	(matches(String,String)): Likewise.
15253	(equal(List,List)): Likewise.
15254	(greater(List,List)): Likewise.
15255	(compare(String,String)): Use Integer.valueOf.
15256	(normalize(List,int)): Add generic types, using
15257	a List of lists rather than an array of lists.
15258	(getVersionStrings()): Add generic types.
15259	(getParts()): Likewise.
15260	* netx/net/sourceforge/jnlp/cache/CacheUtil.java:
15261	(waitForResources(ApplicationInstance,ResourceTracker,
15262	URL,String)): Likewise.
15263	* netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java:
15264	(getListener(ApplicatonInstance,String,URL)): Use setVisible instead
15265	of show().
15266	(disposeListener(DownloadServiceListener)): Use setVisible instead
15267	of hide().
15268	(DownloadPanel.urls): Add generic typing.
15269	(DownloadPanel.panels): Likewise.
15270	(DownloadPanel.update(URL,String,long,long,int)): Fix formatting.
15271	Add generic types.
15272	* netx/net/sourceforge/jnlp/cache/Resource.java:
15273	(resources): Add generic typing.
15274	(trackers): Likewise.
15275	(getResource(URL,Version,UpdatePolicy)): Use generic types.
15276	(getTracker()): Likewise.
15277	(addTracker(ResourceTracker)): Likewise.
15278	(fireDownloadEvent()): Likewise.
15279	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
15280	(prefetchTrackers): Add generic typing.
15281	(queue): Likewise.
15282	(active): Likewise.
15283	(resources): Likewise.
15284	(listeners): Likewise.
15285	(fireDownloadEvent(Resource)): Remove unneeded cast.
15286	(getPrefetch()): Use generic typing.
15287	(selectByFlag(List,int,int)): Likewise.
15288	(getResource(URL)): Likewise.
15289	* netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java:
15290	(weakClips): Add generic types.
15291	(destroy()): Use generic typing.
15292	(getApplets()): Likewise.
15293	(getStreamKeys()): Likewise.
15294	* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
15295	(weakWindows): Add generic types.
15296	(installEnvironment()): Likewise.
15297	(destroy()): Remove redundant cast.
15298	* netx/net/sourceforge/jnlp/runtime/Boot.java:
15299	Extend PrivilegedAction<Void>.
15300	(run()): Add generic typing.
15301	(getOptions(String)): Likewise.
15302	* netx/net/sourceforge/jnlp/runtime/Boot13.java:
15303	(main(String[]): Likewise.
15304	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
15305	Fix formatting.
15306	(urlToLoader): Add generic types.
15307	(resourcePermissions): Likewise.
15308	(available): Likewise.
15309	(jarEntries): Likewise.
15310	(getInstance(JNLPFile,UpdatePolicy)): Remove redundant cast.
15311	(getInstance(URL,String,Version,UpdatePolicy)): Likewise.
15312	(initializeExtensions()): Add generic types.
15313	(initializePermissions()): Likewise.
15314	(initializeResources()): Likewise.
15315	(getPermissions(CodeSource)): Likewise.
15316	(fillInPartJars(List)): Likewise.
15317	(activateJars(List)): Likewise.
15318	(loadClass(String)): Likewise.  Suppress warnings due to
15319	sun.misc.JarIndex usage.
15320	(findResources(String)): Mark as overriding.  Add generic
15321	types.
15322	(getExtensionName()): Add @Deprecated annotation.
15323	(getExtensionHREF()): Likewise.
15324	* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java:
15325	(weakWindows): Add generic typing.
15326	(weakApplications): Likewise.
15327	(getApplication(Window)): Remove redundant casts.  Add w,
15328	which is window cast to Window.
15329	* netx/net/sourceforge/jnlp/services/ServiceUtil.java:
15330	(invoke(Object,Method,Object[])): Use generic types.
15331	* netx/net/sourceforge/jnlp/services/XPersistenceService.java:
15332	(getNames(URL)): Likewise.
15333	* netx/net/sourceforge/jnlp/tools/JarSigner.java:
15334	(verifyJars(List,ResourceTracker)): Remove redundant cast.
15335	* netx/net/sourceforge/jnlp/util/WeakList.java:
15336	Redesign as a generic type.
15337	(refs): Add generic types.
15338	(deref(WeakReference)): Likewise.
15339	(get(int)): Likewise.
15340	(set(int,Object)): Likewise.
15341	(add(int,E)): Likewise.
15342	(remove()): Likewise.
15343	(hardList()): Likewise.
15344	* netx/net/sourceforge/nanoxml/XMLElement.java:
15345	(attributes): Add generic typing.
15346	(children): Likewise.
15347	(entities): Likewise.
15348	(XMLElement()): Use generic types.
15349	(XMLElement(Hashtable): Likewise.
15350	(resolveEntity(StringBuffer)): Remove redundant cast.
15351
153522010-10-20  Omair Majid  <omajid@redhat.com>
15353
15354	* AUTHORS: Add Francis Kung, Andrew Su, Joshua Sumali, Mark Wielaard and
15355	Man Lung Wong. Add link to forked Netx project.
15356
153572010-10-20  Matthias Klose  <doko@ubuntu.com>
15358
15359	* AUTHORS: Add myself.
15360
153612010-10-20  Andrew Su  <asu@redhat.com>
15362
15363	* PluginBridge.java:
15364	(PluginBridge): Added parsing for jnlp_href, and reading the jnlp file
15365	for applet parameters.
15366
153672010-10-20  Matthias Klose  <doko@ubuntu.com>
15368
15369	* Makefile.am (stamps/extra-class-files.stamp): Fix -sourcepath.
15370
153712010-10-20  Omair Majid  <omajid@redhat.com>
15372
15373	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
15374	(initializeResources): Do not perform url encoding on the file url. Stay
15375	consistent with the unencoded urls used in getPermissions.
15376
153772010-10-20  Omair Majid  <omajid@redhat.com>
15378
15379	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
15380	(JNLPClassLoader): Call installShutdownHooks.
15381	(installShutdownHooks): New method. Installs a shutdown hook to
15382	recursively delete the contents of nativeDir.
15383	(activateNative): Only create a nativeDir if there are native
15384	libraries.
15385
153862010-10-19  Deepak Bhole  <dbhole@redhat.com>
15387
15388	* Makefile.am:
15389	($(NETX_DIR)/launcher/javaws): Use $(NETX_DIR).
15390
153912010-10-19  Deepak Bhole  <dbhole@redhat.com>
15392
15393	* Makefile.am:
15394	(NETX_DIR): New variable representing the NetX build dir.
15395	(NETX_LAUNCHER_OBJECTS): Prefix with $(NETX_DIR).
15396	(LAUNCHER_LINK): Fixed escaping of ORIGIN to the rpath argument.
15397	(all-local): Fix javaws launcher path.
15398	(install-exec-local): Likewise, and use $(NETX_DIR) for NetX classes.jar.
15399	(clean-plugin): Remove launcher.
15400	(liveconnect): Use NETX_DIR in classpath.
15401	(netx): Use NETX_DIR throughout.
15402	(netx-dist): Likewise.
15403	(clean-netx): Likewise.
15404	($(NETX_DIR)/launcher/%.o)): Likewise.
15405	* launcher/jni_md.h: Imported from OpenJDK.
15406
154072010-10-20  Matthias Klose  <doko@ubuntu.com>
15408
15409	* Makefile.am: Fix build with builddir != srcdir.
15410
154112010-10-19  Andrew John Hughes  <ahughes@redhat.com>
15412
15413	* Makefile.am:
15414	(PLUGIN_LAUNCHER_OBJECTS): Do prefixing once.
15415	(NETX_LAUNCHER_OBJECTS): Likewise for NetX.
15416	(pluginappletviewer): Use PLUGIN_LAUNCHER_OBJECTS.
15417	(javaws): Use NETX_LAUNCHER_OBJECTS.
15418	* configure.ac: Re-enable foreign (I want to use
15419	GNU make!)
15420	* README: Use gmake not make.
15421
154222010-10-19  Andrew John Hughes  <ahughes@redhat.com>
15423
15424	* .hgignore,
15425	* Makefile.am,
15426	* acinclude.m4,
15427	* autogen.sh,
15428	* configure.ac,
15429	* extra/net/sourceforge/jnlp/about/HTMLPanel.java,
15430	* extra/net/sourceforge/jnlp/about/Main.java,
15431	* extra/net/sourceforge/jnlp/about/resources/about.html,
15432	* extra/net/sourceforge/jnlp/about/resources/applications.html,
15433	* extra/net/sourceforge/jnlp/about/resources/notes.html,
15434	* javac.in,
15435	* javaws.desktop: Imported from IcedTea6.
15436	* launcher/java.c,
15437	* launcher/java.h,
15438	* launcher/java_md.c,
15439	* launcher/java_md.h,
15440	* launcher/jli_util.h,
15441	* launcher/jni.h,
15442	* launcher/jvm.h,
15443	* launcher/jvm_md.h,
15444	* launcher/manifest_info.h,
15445	* launcher/splashscreen.h,
15446	* launcher/splashscreen_stubs.c,
15447	* launcher/version_comp.h,
15448	* launcher/wildcard.h: Imported from OpenJDK.
15449	* netx/javaws.1,
15450	* netx/javax/jnlp/BasicService.java,
15451	* netx/javax/jnlp/ClipboardService.java,
15452	* netx/javax/jnlp/DownloadService.java,
15453	* netx/javax/jnlp/DownloadServiceListener.java,
15454	* netx/javax/jnlp/ExtendedService.java,
15455	* netx/javax/jnlp/ExtensionInstallerService.java,
15456	* netx/javax/jnlp/FileContents.java,
15457	* netx/javax/jnlp/FileOpenService.java,
15458	* netx/javax/jnlp/FileSaveService.java,
15459	* netx/javax/jnlp/JNLPRandomAccessFile.java,
15460	* netx/javax/jnlp/PersistenceService.java,
15461	* netx/javax/jnlp/PrintService.java,
15462	* netx/javax/jnlp/ServiceManager.java,
15463	* netx/javax/jnlp/ServiceManagerStub.java,
15464	* netx/javax/jnlp/SingleInstanceListener.java,
15465	* netx/javax/jnlp/SingleInstanceService.java,
15466	* netx/javax/jnlp/UnavailableServiceException.java,
15467	* netx/net/sourceforge/jnlp/AppletDesc.java,
15468	* netx/net/sourceforge/jnlp/ApplicationDesc.java,
15469	* netx/net/sourceforge/jnlp/AssociationDesc.java,
15470	* netx/net/sourceforge/jnlp/ComponentDesc.java,
15471	* netx/net/sourceforge/jnlp/DefaultLaunchHandler.java,
15472	* netx/net/sourceforge/jnlp/ExtensionDesc.java,
15473	* netx/net/sourceforge/jnlp/IconDesc.java,
15474	* netx/net/sourceforge/jnlp/InformationDesc.java,
15475	* netx/net/sourceforge/jnlp/InstallerDesc.java,
15476	* netx/net/sourceforge/jnlp/JARDesc.java,
15477	* netx/net/sourceforge/jnlp/JNLPFile.java,
15478	* netx/net/sourceforge/jnlp/JNLPSplashScreen.java,
15479	* netx/net/sourceforge/jnlp/JREDesc.java,
15480	* netx/net/sourceforge/jnlp/LaunchException.java,
15481	* netx/net/sourceforge/jnlp/LaunchHandler.java,
15482	* netx/net/sourceforge/jnlp/Launcher.java,
15483	* netx/net/sourceforge/jnlp/MenuDesc.java,
15484	* netx/net/sourceforge/jnlp/NetxPanel.java,
15485	* netx/net/sourceforge/jnlp/Node.java,
15486	* netx/net/sourceforge/jnlp/PackageDesc.java,
15487	* netx/net/sourceforge/jnlp/ParseException.java,
15488	* netx/net/sourceforge/jnlp/Parser.java,
15489	* netx/net/sourceforge/jnlp/PluginBridge.java,
15490	* netx/net/sourceforge/jnlp/PropertyDesc.java,
15491	* netx/net/sourceforge/jnlp/RelatedContentDesc.java,
15492	* netx/net/sourceforge/jnlp/ResourcesDesc.java,
15493	* netx/net/sourceforge/jnlp/SecurityDesc.java,
15494	* netx/net/sourceforge/jnlp/ShortcutDesc.java,
15495	* netx/net/sourceforge/jnlp/StreamEater.java,
15496	* netx/net/sourceforge/jnlp/UpdateDesc.java,
15497	* netx/net/sourceforge/jnlp/Version.java,
15498	* netx/net/sourceforge/jnlp/cache/CacheEntry.java,
15499	* netx/net/sourceforge/jnlp/cache/CacheUtil.java,
15500	* netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java,
15501	* netx/net/sourceforge/jnlp/cache/DownloadIndicator.java,
15502	* netx/net/sourceforge/jnlp/cache/Resource.java,
15503	* netx/net/sourceforge/jnlp/cache/ResourceTracker.java,
15504	* netx/net/sourceforge/jnlp/cache/UpdatePolicy.java,
15505	* netx/net/sourceforge/jnlp/cache/package.html,
15506	* netx/net/sourceforge/jnlp/event/ApplicationEvent.java,
15507	* netx/net/sourceforge/jnlp/event/ApplicationListener.java,
15508	* netx/net/sourceforge/jnlp/event/DownloadEvent.java,
15509	* netx/net/sourceforge/jnlp/event/DownloadListener.java,
15510	* netx/net/sourceforge/jnlp/event/package.html,
15511	* netx/net/sourceforge/jnlp/package.html,
15512	* netx/net/sourceforge/jnlp/resources/Manifest.mf,
15513	* netx/net/sourceforge/jnlp/resources/Messages.properties,
15514	* netx/net/sourceforge/jnlp/resources/about.jnlp,
15515	* netx/net/sourceforge/jnlp/resources/default.jnlp,
15516	* netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java,
15517	* netx/net/sourceforge/jnlp/runtime/AppletAudioClip.java,
15518	* netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java,
15519	* netx/net/sourceforge/jnlp/runtime/AppletInstance.java,
15520	* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java,
15521	* netx/net/sourceforge/jnlp/runtime/Boot.java,
15522	* netx/net/sourceforge/jnlp/runtime/Boot13.java,
15523	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java,
15524	* netx/net/sourceforge/jnlp/runtime/JNLPPolicy.java,
15525	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java,
15526	* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java,
15527	* netx/net/sourceforge/jnlp/runtime/package.html,
15528	* netx/net/sourceforge/jnlp/security/AccessWarningPane.java,
15529	* netx/net/sourceforge/jnlp/security/AppletWarningPane.java,
15530	* netx/net/sourceforge/jnlp/security/CertVerifier.java,
15531	* netx/net/sourceforge/jnlp/security/CertWarningPane.java,
15532	* netx/net/sourceforge/jnlp/security/CertsInfoPane.java,
15533	* netx/net/sourceforge/jnlp/security/HttpsCertVerifier.java,
15534	* netx/net/sourceforge/jnlp/security/MoreInfoPane.java,
15535	* netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java,
15536	* netx/net/sourceforge/jnlp/security/SecurityDialogPanel.java,
15537	* netx/net/sourceforge/jnlp/security/SecurityUtil.java,
15538	* netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java,
15539	* netx/net/sourceforge/jnlp/security/SingleCertInfoPane.java,
15540	* netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java,
15541	* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java,
15542	* netx/net/sourceforge/jnlp/security/viewer/CertificateViewer.java,
15543	* netx/net/sourceforge/jnlp/services/ExtendedSingleInstanceService.java,
15544	* netx/net/sourceforge/jnlp/services/InstanceExistsException.java,
15545	* netx/net/sourceforge/jnlp/services/ServiceUtil.java,
15546	* netx/net/sourceforge/jnlp/services/SingleInstanceLock.java,
15547	* netx/net/sourceforge/jnlp/services/XBasicService.java,
15548	* netx/net/sourceforge/jnlp/services/XClipboardService.java,
15549	* netx/net/sourceforge/jnlp/services/XDownloadService.java,
15550	* netx/net/sourceforge/jnlp/services/XExtendedService.java,
15551	* netx/net/sourceforge/jnlp/services/XExtensionInstallerService.java,
15552	* netx/net/sourceforge/jnlp/services/XFileContents.java,
15553	* netx/net/sourceforge/jnlp/services/XFileOpenService.java,
15554	* netx/net/sourceforge/jnlp/services/XFileSaveService.java,
15555	* netx/net/sourceforge/jnlp/services/XJNLPRandomAccessFile.java,
15556	* netx/net/sourceforge/jnlp/services/XPersistenceService.java,
15557	* netx/net/sourceforge/jnlp/services/XPrintService.java,
15558	* netx/net/sourceforge/jnlp/services/XServiceManagerStub.java,
15559	* netx/net/sourceforge/jnlp/services/XSingleInstanceService.java,
15560	* netx/net/sourceforge/jnlp/services/package.html,
15561	* netx/net/sourceforge/jnlp/tools/CharacterEncoder.java,
15562	* netx/net/sourceforge/jnlp/tools/HexDumpEncoder.java,
15563	* netx/net/sourceforge/jnlp/tools/JarRunner.java,
15564	* netx/net/sourceforge/jnlp/tools/JarSigner.java,
15565	* netx/net/sourceforge/jnlp/tools/JarSignerResources.java,
15566	* netx/net/sourceforge/jnlp/tools/KeyStoreUtil.java,
15567	* netx/net/sourceforge/jnlp/tools/KeyTool.java,
15568	* netx/net/sourceforge/jnlp/util/FileUtils.java,
15569	* netx/net/sourceforge/jnlp/util/PropertiesFile.java,
15570	* netx/net/sourceforge/jnlp/util/Reflect.java,
15571	* netx/net/sourceforge/jnlp/util/WeakList.java,
15572	* netx/net/sourceforge/jnlp/util/XDesktopEntry.java,
15573	* netx/net/sourceforge/nanoxml/XMLElement.java,
15574	* netx/net/sourceforge/nanoxml/XMLParseException.java,
15575	* plugin/icedteanp/IcedTeaJavaRequestProcessor.cc,
15576	* plugin/icedteanp/IcedTeaJavaRequestProcessor.h,
15577	* plugin/icedteanp/IcedTeaNPPlugin.cc,
15578	* plugin/icedteanp/IcedTeaNPPlugin.h,
15579	* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc,
15580	* plugin/icedteanp/IcedTeaPluginRequestProcessor.h,
15581	* plugin/icedteanp/IcedTeaPluginUtils.cc,
15582	* plugin/icedteanp/IcedTeaPluginUtils.h,
15583	* plugin/icedteanp/IcedTeaRunnable.cc,
15584	* plugin/icedteanp/IcedTeaRunnable.h,
15585	* plugin/icedteanp/IcedTeaScriptablePluginObject.cc,
15586	* plugin/icedteanp/IcedTeaScriptablePluginObject.h,
15587	* plugin/icedteanp/java/netscape/javascript/JSException.java,
15588	* plugin/icedteanp/java/netscape/javascript/JSObject.java,
15589	* plugin/icedteanp/java/netscape/javascript/JSObjectCreatePermission.java,
15590	* plugin/icedteanp/java/netscape/javascript/JSProxy.java,
15591	* plugin/icedteanp/java/netscape/javascript/JSRunnable.java,
15592	* plugin/icedteanp/java/netscape/javascript/JSUtil.java,
15593	* plugin/icedteanp/java/netscape/security/ForbiddenTargetException.java,
15594	* plugin/icedteanp/java/sun/applet/AppletSecurityContextManager.java,
15595	* plugin/icedteanp/java/sun/applet/GetMemberPluginCallRequest.java,
15596	* plugin/icedteanp/java/sun/applet/GetWindowPluginCallRequest.java,
15597	* plugin/icedteanp/java/sun/applet/JavaConsole.java,
15598	* plugin/icedteanp/java/sun/applet/MethodOverloadResolver.java,
15599	* plugin/icedteanp/java/sun/applet/PasswordAuthenticationDialog.java,
15600	* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java,
15601	* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java,
15602	* plugin/icedteanp/java/sun/applet/PluginCallRequest.java,
15603	* plugin/icedteanp/java/sun/applet/PluginCallRequestFactory.java,
15604	* plugin/icedteanp/java/sun/applet/PluginClassLoader.java,
15605	* plugin/icedteanp/java/sun/applet/PluginCookieInfoRequest.java,
15606	* plugin/icedteanp/java/sun/applet/PluginCookieManager.java,
15607	* plugin/icedteanp/java/sun/applet/PluginDebug.java,
15608	* plugin/icedteanp/java/sun/applet/PluginException.java,
15609	* plugin/icedteanp/java/sun/applet/PluginMain.java,
15610	* plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java,
15611	* plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java,
15612	* plugin/icedteanp/java/sun/applet/PluginObjectStore.java,
15613	* plugin/icedteanp/java/sun/applet/PluginProxyInfoRequest.java,
15614	* plugin/icedteanp/java/sun/applet/PluginProxySelector.java,
15615	* plugin/icedteanp/java/sun/applet/PluginStreamHandler.java,
15616	* plugin/icedteanp/java/sun/applet/RequestQueue.java,
15617	* plugin/icedteanp/java/sun/applet/TestEnv.java,
15618	* plugin/icedteanp/java/sun/applet/VoidPluginCallRequest.java,
15619	* plugin/tests/LiveConnect/DummyObject.java,
15620	* plugin/tests/LiveConnect/OverloadTestHelper1.java,
15621	* plugin/tests/LiveConnect/OverloadTestHelper2.java,
15622	* plugin/tests/LiveConnect/OverloadTestHelper3.java,
15623	* plugin/tests/LiveConnect/PluginTest.java,
15624	* plugin/tests/LiveConnect/build,
15625	* plugin/tests/LiveConnect/common.js,
15626	* plugin/tests/LiveConnect/index.html,
15627	* plugin/tests/LiveConnect/jjs_eval_test.js,
15628	* plugin/tests/LiveConnect/jjs_func_parameters_tests.js,
15629	* plugin/tests/LiveConnect/jjs_func_rettype_tests.js,
15630	* plugin/tests/LiveConnect/jjs_get_tests.js,
15631	* plugin/tests/LiveConnect/jjs_set_tests.js,
15632	* plugin/tests/LiveConnect/jsj_func_overload_tests.js,
15633	* plugin/tests/LiveConnect/jsj_func_parameters_tests.js,
15634	* plugin/tests/LiveConnect/jsj_func_rettype_tests.js,
15635	* plugin/tests/LiveConnect/jsj_get_tests.js,
15636	* plugin/tests/LiveConnect/jsj_set_tests.js,
15637	* plugin/tests/LiveConnect/jsj_type_casting_tests.js,
15638	* plugin/tests/LiveConnect/jsj_type_conversion_tests.js:
15639	Initial import from IcedTea6.
15640	* AUTHORS,
15641	* COPYING
15642	* INSTALL,
15643	* NEWS,
15644	* README: New documentation.
15645