source: trunk/icedtea-web/ChangeLog@ 390

Last change on this file since 390 was 348, checked in by dmik, 13 years ago

vendor: Add icedtea-web v1.1.2 to current.

File size: 143.4 KB
Line 
12011-08-31 Deepak Bhole <dbhole@redhat.com>
2
3 * NEWS: Prepare for 1.1.2
4 * configure.ac: Same
5
62011-08-29 Deepak Bhole <dbhole@redhat.com>
7
8 RH734081: Javaws cannot use proxy settings from Firefox
9 Based on patch from Lukas Zachar <lzachar at redhat dot com>
10 * netx/net/sourceforge/jnlp/browser/FirefoxPreferencesFinder.java
11 (find): Only process Profile sections. Do not throw an exception if a
12 Default= line is not found since it is not guaranteed to exist.
13
142011-08-24 Deepak Bhole <dbhole@redhat.com>
15
16 RH718693: MindTerm SSH Applet doesn't work
17 * plugin/icedteanp/java/netscape/security/PrivilegeManager.java: New
18 file. Stub class, not needed with IcedTea-Web.
19
202011-08-23 Deepak Bhole <dbhole@redhat.com>
21
22 PR769: IcedTea-Web plugin does not work with some ssl sites with OpenJDK7
23 * netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java
24 (checkServerTrusted): Account for a null hostname that the
25 overloaded implementation may pass.
26
272011-08-23 Omair Majid <omajid@redhat.com>
28
29 * Makefile.am: Remove JRE. Replace uses with SYSTEM_JRE_DIR instead. Also
30 replace uses of SYSTEM_JDK_DIR/jre with SYSTEM_JRE_DIR.
31 * acinclude.m4
32 (IT_CHECK_FOR_JRE): New macro.
33 (IT_FIND_JAVA): Require IT_CHECK_FOR_JRE. Use java binary from within the
34 JRE.
35
362011-08-03 Deepak Bhole <dbhole@redhat.com>
37
38 PR768: Signed applets/Web Start apps don't work with OpenJDK7 and up
39 * netx/net/sourceforge/jnlp/tools/JarSigner.java (verifyJar): Put entry in
40 cert hashtable only if the entry is expected to be signed.
41
422011-07-21 Deepak Bhole <dbhole@redhat.com>
43
44 PR749: sun.applet.PluginStreamHandler#handleMessage(String) really slow
45 Patch from: Ricardo Martín Camarero (Ricky) <rickyepoderi at yahoo dot es>
46 * plugin/icedteanp/java/sun/applet/PluginStreamHandler.java
47 (readPair): New function.
48 (handleMessage): Use readPair to incrementally tokenize message, rather
49 than using String.split().
50
512011-07-20 Deepak Bhole <dbhole@redhat.com>
52
53 * configure.ac: Prepare for 1.1.2
54 * NEWS: Same
55
562011-07-15 Deepak Bhole <dbhole@redhat.com>
57
58 * configure.ac: Prepare to release 1.1.1
59 * NEWS: Same
60
612011-07-14 Omair Majid <omajid@redhat.com>
62
63 RH718170, CVE-2011-2514: Java Web Start security warning dialog
64 manipulation
65 * netx/net/sourceforge/jnlp/services/XExtendedService.java
66 (openFile): Create XContents based on a copy of the File object to prevent
67 overloaded File classes from mangling the name.
68 (XFileContents): Create a separate copy of File object for local use.
69
702011-07-14 Omair Majid <omajid@redhat.com>
71
72 RH718164, CVE-2011-2513: Home directory path disclosure to untrusted
73 applications
74 * netx/net/sourceforge/jnlp/runtime/CachedJarFileCallback.java: New file.
75 * netx/net/sourceforge/jnlp/util/UrlUtils.java: New file.
76 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
77 jarLocationSecurityMap now contains originating urls, not cache urls.
78 (initializeResources): Add remote url to map instead of local url.
79 (activateJars): Add remote url to the classloader's urls. Add mapping for
80 remote to local url. Put remote url in jarLocationSecurityMap.
81 (loadClass): Add remote url to the classloader's urls. Add mapping for
82 remote to local url.
83 (getCodeSourceSecurity): Update javadoc to note that the url must be
84 remote.
85 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
86 (initialize): Set the callback for URLJarFile.
87
882011-06-14 Andrew Su <asu@redhat.com>
89
90 * netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java:
91 (ControlPanel): Removed line that prevents resizing.
92 (createMainSettingsPanel): Detect the minimum size of panels instead
93 of fixed size.
94 * netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java:
95 (addComponents): Changed to update size when tool is being resized.
96 * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
97 addComponents): Changed to a layout that will resize itself.
98
992011-06-08 Deepak Bhole <dbhole@redhat.com>
100
101 * configure.ac: Prepare for 1.1.1
102 * NEWS: Same
103
1042011-06-08 Deepak Bhole <dbhole@redhat.com>
105
106 * configure.ac: Update for release.
107 * NEWS: Update for release.
108
1092011-06-08 Deepak Bhole <dbhole@redhat.com>
110
111 * NEWS: Remove security update notes from NEWS as they are not "New"
112
1132011-06-08 Deepak Bhole <dbhole@redhat.com>
114
115 PR721: IcedTeaPlugin.so cannot run g_main_context_iteration on a different
116 thread unless a different GMainContext *context is used
117 * plugin/icedteanp/IcedTeaJavaRequestProcessor.cc
118 (postAndWaitForResponse): Added logic for tracking when the processor is
119 running from a plugin main thread, and logic to process main thread
120 specific messages queued thereafter until function exit.
121 * plugin/icedteanp/IcedTeaNPPlugin.cc:
122 (itnp_plugin_thread_id): New variable. Tracks plugin main thread ID.
123 (pluginAsyncCallMutex): New variable. Mutex to lock async call queue.
124 (NP_Initialize): Initialize the itnp_plugin_thread_id variable and make
125 ithe make pluginAsyncCallMutex recursive.
126 (NP_Shutdown): Destroy pluginAsyncCallMutex.
127 * plugin/icedteanp/IcedTeaNPPlugin.h:
128 (CHROMIUM_WORKAROUND): Remove macro.
129 (itnp_plugin_thread_id): New variable. Tracks plugin main thread ID.
130 (pluginAsyncCallMutex): New variable. Mutex to lock async call queue.
131 * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
132 (eval): Remove chromium workaround.
133 (call): Same.
134 (sendString): Same.
135 (setMember): Same.
136 (sendMember): Same.
137 (loadURL): Same.
138 * plugin/icedteanp/IcedTeaPluginRequestProcessor.h: Moved
139 async_call_thread_data to IcedTeaPluginUtils.h.
140 * plugin/icedteanp/IcedTeaPluginUtils.cc
141 (pendingPluginThreadRequests): New variable. Queue to track events waiting
142 for async execution on plug-in thread.
143 (callAndWaitForResult): New function. Calls a method on plug-in thread and
144 waits for the execution to complete.
145 (postPluginThreadAsyncCall): New function. Posts a method call to the
146 async execution queue and calls NPN_PluginThreadAsynCall.
147 (processAsyncCallQueue): New function. Called from the plug-in thread,
148 this function empties the event queue of functions waiting for plug-in
149 thread execution.
150 * plugin/icedteanp/IcedTeaPluginUtils.h
151 (plugin_thread_call): New struct to hold async call data.
152 (async_call_thread_data): Struct moved from IcedTeaPluginRequestProcessor.
153 (processAsyncCallQueue): New function.
154 (postPluginThreadAsyncCall): Same.
155 (callAndWaitForResult): Same.
156 * plugin/icedteanp/IcedTeaScriptablePluginObject.cc
157 (get_scriptable_java_object): Use
158 IcedTeaPluginUtilities::callAndWaitForResult to post async callback for
159 _createAndRetainJavaObject.
160
1612011-05-30 Andrew Su <asu@redhat.com>
162
163 * netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
164 (downloadResource): Check whether file to be downloaded is current.
165
1662011-05-30 Andrew Su <asu@redhat.com>
167
168 * netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java:
169 (properties): Removed property.
170 (addComponents): Removed checkbox.
171 * netx/net/sourceforge/jnlp/resources/Messages.properties:
172 Removed translation string for DPLifeCycleExceptions.
173
1742011-05-27 Deepak Bhole <dbhole@redhat.com>
175
176 PR723: AccessControlException while downloading resource
177 * netx/net/sourceforge/jnlp/cache/ResourceTracker.java
178 (Downloader): Make class private.
179 (Downloader::run): Call processResource via doPrivileged since
180 resources may get added at run time from application code via
181 JNLPClassLoader::addNewJar().
182
1832011-05-27 Deepak Bhole <dbhole@redhat.com>
184
185 PR735: Firefox 4 sometimes freezes if the applet calls showDocument()
186 * plugin/icedteanp/IcedTeaNPPlugin.cc (consume_message): Defer handling to
187 url load request to the queue processor.
188 * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
189 (PluginRequestProcessor::newMessageOnBus): Handle new LoadURL command.
190 (PluginRequestProcessor::loadURL): New method. Loads the specified url in
191 the given target.
192 (queue_processor): Process the LoadURL command.
193 (_loadURL): New async callback function to handle LoadURL commands.
194 * plugin/icedteanp/IcedTeaPluginRequestProcessor.h: Add _loadURL and
195 loadURL method declerations.
196 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java (showDocument):
197 Send the url load command in the standard "instance X reference Y
198 <command> <args>" format.
199
2002011-05-27 Deepak Bhole <dbhole@redhat.com>
201
202 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
203 (appletClose): Call dispose from the swing thread. Also, don't try to stop
204 the threadgroup.
205
2062011-05-27 Deepak Bhole <dbhole@redhat.com>
207
208 * Backed out 0256de6a4bf6
209
2102011-05-27 Omair Majid <omajid@redhat.com>
211
212 * NEWS: Update.
213 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
214 (getClassPathsFromManifest): Check for possible nulls and empty strings.
215
2162011-05-26 Andrew Su <asu@redhat.com>
217
218 * NEWS: Update.
219 * netx/net/sourceforge/jnlp/cache/CacheUtil.java:
220 (cleanCache): Split conditional for delete.
221
2222011-05-20 Andrew Su <asu@redhat.com>
223
224 * NEWS: Update.
225
2262011-05-20 Andrew Su <asu@redhat.com>
227
228 * netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java:
229 (CacheLRUWrapper): New constructor to create file.
230 (lock): Removed creation of file here.
231
2322011-05-10 Andrew Su <asu@redhat.com>
233
234 * netx/net/sourceforge/jnlp/controlpanel/CachePane.java:
235 (addComponents):Created a new comparator for sorting by file size and
236 date.
237
2382011-05-02 Deepak Bhole <dbhole@redhat.com>
239
240 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
241 (appletClose): Do not try to stop threads, now that the loader is shared
242 and the thread group for applets on a page is identical. Call dispose from
243 invokeAndWait.
244 (appletSystemExit): Exit the VM when called.
245
2462011-04-28 Omair Majid <omajid@redhat.com>
247
248 * Makefile.am (javaws, itweb_settings): New variables.
249 (edit_launcher_script, all-local, install-exe-local)
250 (uninstall-local, clean-launchers, javaws.desktop)
251 (itweb-settings.desktop): Replace all uses of javaws and
252 itweb-settings with the new variables.
253 (launcher.build/javaws): Replace with ...
254 (launcher.build/$(javaws)): New target.
255 (launcher.build/itweb-settings): Replace with...
256 (launcher.build/$(itweb-settings)): New target.
257
2582011-04-21 Deepak Bhole <dbhole@redhat.com>
259
260 * plugin/icedteanp/IcedTeaNPPlugin.cc (consume_message): Use
261 NPN_GetURLNotify (non-blocking) instead of NPN_GetURL (blocking) so that
262 the plugin is free to process additional requests.
263 * ChangeLog: Fixed spacing issues in previous entry.
264
2652011-04-20 Andrew Su <asu@redhat.com>
266
267 * netx/net/sourceforge/jnlp/controlpanel/CachePane.java:
268 (createButtonPanel): Changed to update the recently_used file to
269 reflect the deletion. Added method updateRecentlyUsed to anonymous
270 ActionListener class which will do the actual updating.
271
2722011-04-20 Omair Majid <omajid@redhat.com>
273
274 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: Add new private
275 variable classpathsInManifest.
276 (activateJars): When adding jar index, also add Class-Path entries from the
277 Manifest file in the jar.
278 (loadClass): Search for jars specified in classpaths before looking for
279 entries in jar index.
280 (addNewJar): New method refactored from loadClass.
281
2822011-04-20 Omair Majid <omajid@redhat.com>
283
284 * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
285 (getApplication(Class[],int)): Renamed to ...
286 (getApplication(Thread,Class[],int)): New method. Check the thread's
287 context ClassLoader as well as parents of the classloader.
288 (getJnlpClassLoader): New method.
289 (getApplication, checkExit): Update to work with new method signatures.
290
2912011-04-20 Omair Majid <omajid@redhat.com>
292
293 * plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
294 (PluginAppletSecurityContext): Set the launch handler to the stdout/stderr
295 based one.
296
2972011-04-20 Andrew Su <asu@redhat.com>
298
299 * netx/net/sourceforge/jnlp/controlpanel/CachePane.java:
300 (generateData): Skip through the identifier for cached item.
301
3022011-04-20 Andrew Su <asu@redhat.com>
303
304 * netx/net/sourceforge/jnlp/controlpanel/CachePane.java:
305 (createButtonPanel): Added check to delete button for whether plugin
306 or javaws is not running before proceeding with delete.
307
3082011-04-20 Andrew Su <asu@redhat.com>
309
310 * netx/net/sourceforge/jnlp/cache/CacheUtil.java:
311 (cleanCache): Added check for removing files that are over set max
312 limit.
313 (removeUntrackedDirectories): Removed method. Replaced by
314 removeSetOfDirectories.
315 (removeSetOfDirectories): New method. Removes a given set of
316 directories.
317
3182011-04-20 Andrew Su <asu@redhat.com>
319
320 * netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java:
321 (addComponents): Uncommented lines of code to reintroduce components
322 to handle setting cache size limit.
323
3242011-04-20 Andrew Su <asu@redhat.com>
325
326 * netx/net/sourceforge/jnlp/cache/CacheUtil.java:
327 (getCacheFile): Store lru after modifying.
328
3292011-04-18 Andrew Su <asu@redhat.com>
330
331 * netx/net/sourceforge/jnlp/cache/CacheEntry.java:
332 (markForDelete): New method. Adds an entry to info file specifying
333 that this file should be delete.
334 (lock): New method. Locks the info file.
335 (unlock): New method. Unlocks the info file.
336 * netx/net/sourceforge/jnlp/cache/CacheUtil.java:
337 (cacheDir, lruHandler, propertiesLockPool): New private static fields.
338 (clearCache): Changed to use static field.
339 (getCacheFile): Changed to call getCacheFileIfExist and
340 makeNewCacheFile where appropriate.
341 (getCacheFileIfExist): New method. Get the file of requested item.
342 (makeNewCacheFile): New method. Create a new location to store cache
343 file.
344 (pathToURLPath): New method. Convert the file path to the url path.
345 (cleanCache): New method. Search for redundant entries and remove
346 them.
347 (removeUntrackedDirectories): New method. Remove all untracked
348 directories.
349 (lockFile): New method. Locks the given property file.
350 (unlockFile): New method. Unlocks the property file if we locked
351 before.
352 * netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java: New class.
353 Provides wrappers for handling cache's LRU.
354 * netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
355 (downloadResource): Ensure that we only allow downloading the
356 specified file once.
357 (initializeResource): Added creation of new location to store an
358 updated or new file.
359 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
360 (JNLPClassLoader): Reordered the calls since we should check
361 permission after we have the files ready.
362 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java:
363 (markNetxRunning): Added call to CacheUtil.cleanCache() when adding
364 shutdown hooks.
365 * netx/net/sourceforge/jnlp/util/FileUtils.java:
366 (getFileLock): New method.
367 * netx/net/sourceforge/jnlp/util/XDesktopEntry.java:
368 (getContentsAsReader): Changed call from using urlToPath to
369 getCacheFile, since the directories are no longer in that location.
370
3712011-04-18 Denis Lila <dlila@redhat.com>
372
373 * netx/net/sourceforge/jnlp/Launcher.java:
374 Remove unused import.
375 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
376 Add annotation to suppress warning.
377 (loadClass): Make synchronized.
378
3792010-04-14 Andrew John Hughes <ahughes@redhat.com>
380
381 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java,
382 (PluginAppletPanelFactory.createPanel(PluginStreamHandler,
383 int,long,int,int,URL,Hashtable)): Remove duplication of wait
384 for panel.isAlive().
385 (PluginAppletViewer.panelLock): New lock used to track panel
386 creation.
387 (PluginAppletViewer.panelLive): Condition queue for panel creation.
388 (PluginAppletViewer.appletsLock): New lock used to track additions
389 to the applets map.
390 (PluginAppletViewer.appletAdded): Condition queue for applet addition.
391 (PluginAppletViewer.statusLock): New lock for status changes.
392 (PluginAppletViewer.initComplete): Condition queue for initialisation
393 completion.
394 (PluginAppletViewer.framePanel(int,long,NetxPanel)):
395 Replace synchronized block with use of appletsLock and notification
396 on appletAdded condition queue.
397 (AppletEventListener.appletStateChanged(AppletEvent)): Signal the
398 panelLive condition queue that the panel is live.
399 (PluginAppletViewer.handleMessage(int,int,String)): Wait on appletAdded
400 condition queue for applet to be added to the applets map.
401 (PluginAppletViewer.updateStatus(Int,PAV_INIT_STATUS)): Signal when a
402 status change occurs using the initComplete condition queue.
403 (PluginAppletViewer.waitForAppletInit(NetxPanel)): Wait on the panelLive
404 condition queue until the panel is created.
405 (PluginAppletViewer.handleMessage(int,String)): Wait on the initComplete
406 condition queue until initialisation is complete. Wait on the panelLive
407 signal until panel is created.
408 (waitTillTimeout(ReentrantLock,Condition,long)): Convert to use
409 ReentrantLock and Condition. Add assertion to check the lock is held.
410 Avoid conversion between milliseconds and nanoseconds.
411
4122011-04-18 Deepak Bhole <dbhole@redhat.com>
413
414 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
415 (PluginAppletPanelFactory::createPanel): Make the NetxPanel variable
416 final. Resize frame to work around problem whereby AppletViewerPanel
417 doesn't always set the right size initially.
418
4192011-04-18 Deepak Bhole <dbhole@redhat.com>
420
421 RH691259: Midori sends a SIGSEGV with the IcedTea NP Plugin
422 * plugin/icedteanp/IcedTeaNPPlugin.cc (NP_Initialize): Rather than
423 returning immediately if already initialized, return after function tables
424 are reset.
425
4262010-04-11 Andrew John Hughes <ahughes@redhat.com>
427
428 * configure.ac:
429 Check Gentoo install location for JUnit 4.
430
4312011-04-13 Deepak Bhole <dbhole@redhat.com>
432
433 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java (createPanel):
434 use Object.wait() to wait, rather than pariodic sleep.
435 (APPLET_TIMEOUT): Updated to be in nanoseconds.
436 (framePanel): Synchronize put and notify threads waiting on the applets
437 map instance.
438 (appletStateChanged): Notify all threads waiting on the panel that just
439 changed state.
440 (handleMessage): Use the new waitTillTimeout function to wait, rather than
441 periodically waking up. Improved timeout error string sent back.
442 (updateStatus): Synchronize put and notify all threads waiting on status
443 map.
444 (waitForAppletInit): Use the new waitTillTimeout function to wait, rather
445 than periodically waking up.
446 (waitTillTimeout): New function. For a given non-null object, waits until
447 the specified timeout, or, if an interrupt was thrown during wait, returns
448 immediately.
449
4502011-04-14 Denis Lila <dlila@redhat.com>
451
452 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
453 Remove unused imports, added various SuppressWarnings annotations.
454 (createPanel): Return NetxPanel from doPriviledged. Remove dead code.
455 (PluginParseRequest): Remove - unused.
456 (defaultSaveFile, label, statusMsgStream, requests, handle): Remove unused.
457 (panel): Make NetxPanel.
458 (identifier, appletPanels): Privatize.
459 (appletPanels): Change type to NetxPanel.
460 (applets, status): Use ConcurrentHashMaps.
461 (framePanel, PluginAppletViewer): Remove unused PrintStream argument.
462 (forceredraw): Remove - unused.
463 (getApplets): Use generics.
464 (appletClose): Fix style to match our convention.
465 (destroyApplet): Use pav instead of calling get many times.
466 (splitSeparator): Remove. Replace uses by String.split().
467
4682011-04-13 Andrew Su <asu@redhat.com>
469
470 * netx/net/sourceforge/jnlp/cache/CacheDirectory.java:
471 Added final modifier to class declaration.
472 (CacheDirectory): New private constructor.
473
4742011-04-12 Denis Lila <dlila@redhat.com>
475
476 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
477 (applets, status): Make concurrent.
478 (PluginAppletViewer): Synchronize appletPanels addElement.
479 (destroyApplet): Remove applets.containsKey because it and the
480 get that followed it were not atomic.
481 (appletPanels): Privatize.
482 (getApplet, getApplets): Synchronize iteration.
483
4842011-04-08 Omair Majid <omajid@redhat.com>
485
486 * README: Update to add notes on rhino and junit.
487
4882011-04-07 Deepak Bhole <dbhole@redhat.com>
489
490 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
491 (constructor): Make window close event call destroy applet which can be
492 safely called multiple times, unlike appletClose.
493
4942011-04-06 Andrew Su <asu@redhat.com>
495
496 * netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsPane.java:
497 (addComponents): Changed all port fields to use document which
498 prevents input of non-valid port numbers.
499 * netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java:
500 (addComponents): likewise.
501 (getPortNumberDocument): New method.
502 * netx/net/sourceforge/jnlp/resources/Messages.properties:
503 Added CPInvalidPort and CPInvalidPortTitle.
504
5052011-04-05 Denis Lila <dlila@redhat.com>
506
507 * plugin/icedteanp/java/netscape/javascript/JSObject.java:
508 Replaced every instance of PluginDebug.debug(a + b + c...)
509 with PluginDebug.debug(a, b, c...).
510
5112011-04-05 Denis Lila <dlila@redhat.com>
512
513 * netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
514 Remove unused imports, add import.
515 (downloadOptions): Make ConcurrentHashMap.
516
5172011-04-05 Denis Lila <dlila@redhat.com>
518
519 * plugin/icedteanp/IcedTeaNPPlugin.cc
520 (plugin_start_appletviewer): Replace hardcoded indices
521 with a variable; roll up free calls in a loop; fix whitespace;
522 set classpath to ICEDTEA_WEB_JRE/lib/rt.jar.
523 * launcher/javaws.in:
524 Set class path to JRE/lib/rt.jar.
525 * Makefile.am:
526 Replace @JRE@ with $(JRE) in edit_launcher_script.
527
5282011-04-01 Denis Lila <dlila@redhat.com>
529
530 * plugin/icedteanp/java/sun/applet/PluginDebug.java:
531 (debug): Use StringBuilder to build the string.
532
5332011-03-31 Omair Majid <omajid@redhat.com>
534
535 * netx/net/sourceforge/jnlp/Launcher.java: Add parserSettings and extra.
536 (setParserSettings): New method.
537 (setInformationToMerge): New method.
538 (launch(JNLPFile,Container)): Call mergeExtraInformation.
539 (launch(URL,boolean)): New method.
540 (mergeExtraInformation): New method.
541 (addProperties, addParameters, addArguments): Moved here from Boot.java
542 (fromUrl): New method.
543 * netx/net/sourceforge/jnlp/ParserSettings.java: New file.
544 * netx/net/sourceforge/jnlp/resources/Messages.properties: Remove BArgNA,
545 BParamNA.
546 * netx/net/sourceforge/jnlp/runtime/Boot.java
547 (run): Do not parse JNLP file. Pass ParserSettings and other command line
548 additions to launcher.
549 (getFile): Rename to...
550 (getFileLocation): New method.
551 (addProperties, addParameters, addArguments): Move to Launcher.java.
552
5532011-03-31 Denis Lila <dlila@redhat.com>
554
555 * plugin/icedteanp/java/netscape/javascript/JSObject.java:
556 Fix comments, remove unused imports.
557 (equals): Remove. It was breaking the reflexivity in the
558 equals contract.
559
5602011-03-31 Denis Lila <dlila@redhat.com>
561
562 * plugin/icedteanp/java/sun/applet/PluginObjectStore.java:
563 Add citation of Effective Java, 2nd edition.
564
5652011-03-31 Denis Lila <dlila@redhat.com>
566
567 * plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
568 (store): Make private and remove fixme to make private.
569 * plugin/icedteanp/java/sun/applet/PluginObjectStore.java
570 (PluginObjectStore): Make it a singleton using enum.
571 (objects, counts, identifiers, lock, wrapped, nextUniqueIdentifier,
572 checkNeg): Made instance methods/members.
573 (getInstance): New static method.
574
5752011-03-31 Denis Lila <dlila@redhat.com>
576
577 * plugin/icedteanp/java/sun/applet/AppletSecurityContextManager.java
578 * plugin/icedteanp/java/sun/applet/GetMemberPluginCallRequest.java
579 * plugin/icedteanp/java/sun/applet/GetWindowPluginCallRequest.java
580 * plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
581 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
582 * plugin/icedteanp/java/sun/applet/PluginCookieInfoRequest.java
583 * plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java
584 * plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java
585 * plugin/icedteanp/java/sun/applet/PluginObjectStore.java
586 * plugin/icedteanp/java/sun/applet/PluginProxyInfoRequest.java
587 * plugin/icedteanp/java/sun/applet/PluginProxySelector.java
588 * plugin/icedteanp/java/sun/applet/PluginStreamHandler.java
589 * plugin/icedteanp/java/sun/applet/RequestQueue.java
590 * plugin/icedteanp/java/sun/applet/VoidPluginCallRequest.java:
591 Change all instances of PluginDebug.debug(arg1 + arg2 + ...)
592 to PluginDebug.debug(arg1, arg2, ...).
593 * plugin/icedteanp/java/sun/applet/PluginDebug.java:
594 Change debug from "void debug(String)" to "void debug(Object...)".
595
5962011-03-31 Denis Lila <dlila@redhat.com>
597
598 * plugin/icedteanp/java/sun/applet/PluginObjectStore.java
599 (wrapped, lock): New static variables.
600 (getNextID, checkNeg): New functions.
601 (reference): Using getNextID and synchronized.
602 (dump): Improve iteration and synchronized.
603 (unreference, getObject, getIdentifier, contains(Object),
604 contains(int)): Synchronized.
605
6062011-03-31 Omair Majid <omajid@redhat.com>
607
608 Add unit tests for the parser
609 * Makefile.am: Add TESTS_DIR,TESTS_SRCDIR, NETX_UNIT_TEST_DIR,
610 and NETX_UNIT_TEST_SRCDIR, JUNIT_RUNNER_DIR, JUNIT_RUNNER_SRCDIR, and
611 JUNIT_RUNNER_JAR. Conditionally define RHINO_TESTS and UNIT_TESTS.
612 (clean-local): Use RHINO_TESTS and UNIT_TESTS.
613 (clean-tests): Depend on clean-netx-tests. Delete directory.
614 (junit-runner-source-files.txt, $(JUNIT_RUNNER_JAR)),
615 (next-unit-tests-sources-files.txt stamps/netx-unit-tests-compile.stamp),
616 (run-netx-unit-tests, clean-netx-tests, clean-junit-runner)
617 (clean-netx-unit-tests): New targets.
618 * configure.ac: Add new optional dependency on junit.
619 * tests/junit-runner/CommandLine.java,
620 * tests/junit-runner/LessVerboseTextListener.java,
621 * tests/junit-runner/README,
622 * tests/netx/unit/net/sourceforge/jnlp/ParserBasicTests.java,
623 * tests/netx/unit/net/sourceforge/jnlp/ParserCornerCaseTests.java,
624 * tests/netx/unit/net/sourceforge/jnlp/ParserMalformedXmlTests.java,
625 * tests/netx/unit/net/sourceforge/jnlp/basic.jnlp: New files.
626
6272011-03-30 Omair Majid <omajid@redhat.com>
628
629 * Makefile.am: Fix comment explaining reasons for setting
630 JDK_UPDATE_VERSION.
631
6322011-03-30 Omair Majid <omajid@redhat.com>
633
634 * netx/net/sourceforge/jnlp/resources/Messages.properties: Fix typo in
635 RCantRename.
636
6372011-03-30 Omair Majid <omajid@redhat.com>
638
639 * Makefile.am: Document reason for using bootclasspath.
640
6412011-03-30 Omair Majid <omajid@redhat.com>
642
643 * netx/javaws.1: Fix FILES section to point to
644 ~/.icedtea/deployment.properties.
645
6462011-03-30 Omair Majid <omajid@redhat.com>
647
648 * netx/net/sourceforge/jnlp/LaunchHandler.java
649 (launchInitialized, launchStarting): New methods.
650 * netx/net/sourceforge/jnlp/DefaultLaunchHandler.java
651 (launchInitialized, launchStarting): New methods. No-op
652 implementation.
653 (printMessage): Make it static.
654 * netx/net/sourceforge/jnlp/GuiLaunchHandler.java: New file.
655 (launchCompleted, launchError, launchStarting, launchInitialized),
656 (launchWarning, validationError): New methods.
657 * netx/net/sourceforge/jnlp/Launcher.java (launchApplication):
658 Invoke handler.launchInitialized and handler.launchStarting instead
659 of showing a splash screen directly.
660 * netx/net/sourceforge/jnlp/resources/Messages.properties: Add
661 ButShowDetails, ButHideDetails and Error.
662 * netx/net/sourceforge/jnlp/runtime/Boot.java (run): Do not exit on
663 error.
664 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
665 (initialize): Set handler to GuiLaunchHandler if not running in
666 headless mode.
667 * netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java: New
668 file.
669 (exceptionToString, show): New methods.
670
6712011-03-29 Denis Lila <dlila@redhat.com>
672
673 * netx/net/sourceforge/jnlp/JNLPFile.java
674 (getInformation): Remove redundant if.
675
6762010-03-29 Andrew John Hughes <ahughes@redhat.com>
677
678 * plugin/docs/npplugin_liveconnect_design.html:
679 Replace binary PDF documentation with editable HTML.
680 * plugin/docs/npplugin_liveconnect_design.pdf: Removed.
681
6822011-03-28 Omair Majid <omajid@redhat.com>
683
684 * launcher/javaws.in: Split out -J arguments and pass it to the JVM.
685
6862011-03-28 Deepak Bhole <dbhole@redhat.com>
687
688 * netx/net/sourceforge/jnlp/PluginBridge.java
689 (PluginBridge): Construct unique key based on a combination of
690 codebase, cache_archive, java_archive, and archive. This automatically
691 ensures are loaders are shared only when appropriate.
692
6932011-03-25 Denis Lila <dlila@redhat.com>
694
695 * netx/net/sourceforge/jnlp/PluginBridge.java
696 (codeBaseLookup): new member and getter for it.
697 (PluginBridge): set codeBaseLookup.
698 * netx/net/sourceforge/jnlp/Launcher.java:
699 (createApplet, createAppletObject): call enableCodeBase() if and
700 only if the enableCodeBase argument is true.
701
7022011-03-24 Omair Majid <omajid@redhat.com>
703
704 * Makefile.am (EXTRA_DIST): Add $(top_srcdir)/tests.
705
7062011-03-24 Omair Majid <omajid@redhat.com>
707
708 * netx/net/sourceforge/jnlp/resources/Messages.properties: Add
709 RBrowserLocationPromptTitle, RBrowserLocationPromptMessage and
710 RBrowserLocationPromptMessageWithReason.
711 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
712 (isWindows): New method. Moved from XBasicService.
713 (isUnix): New method.
714 * netx/net/sourceforge/jnlp/services/XBasicService
715 (initialize): Call initializeBrowserCommand.
716 (initializeBrowserCommand): New method.
717 (posixCommandExists): New method.
718 (isWindows): Moved to JNLPRuntime.
719
7202011-03-23 Denis Lila <dlila@redhat.com>
721
722 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
723 (findResource, findResources): New functions. Return nothing
724 if name.startsWith("META-INF"). Otherwise delegate to superclass.
725
7262011-03-21 Matthias Klose <doko@ubuntu.com>
727
728 * launcher/itweb-settings.in: Use /bin/sh as interpreter.
729 * launcher/javaws.in: Likewise.
730
7312011-03-14 Andrew Su <asu@redhat.com>
732
733 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java:
734 (markNetxRunning): Handle case for when shared locks are not allowed
735 on the system.
736
7372011-03-14 Andrew Su <asu@redhat.com>
738
739 * netx/net/sourceforge/jnlp/Launcher.java:
740 (fileLock): Removed private static field.
741 (launch): Mark NetX as running before launching apps.
742 (launchApplication): Removed call to markNetxRunning() and removed
743 shutdown hook for calling markNetxStopped().
744 (markNetxRunning): Removed method.
745 (markNetxStopped): Removed method.
746 * netx/net/sourceforge/jnlp/cache/CacheUtil.java:
747 (okToClearCache): Removed closing of channel.
748 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java:
749 (fileLock): New private static field.
750 (markNetxRunning): New method to indicate NetX is running.
751 (markNetxStopped): New method to indicate NetX has stopped.
752
7532011-03-16 Jiri Vanek <jvanek@redhat.com>
754
755 * extras/net/sourceforge/jnlp/about/Main.java: removed hyperlinkUpdate
756 and HyperlinkListener, as it can not work without all-permissions.
757 Also all createAndShowGUI was shorten for call from
758 net.sourceforge.jnlp package. Html resources were redirected to javaws
759 * netx/net/sourceforge/jnlp/resources/about.jnlp: removed
760 <all-permissions>
761
7622011-03-16 Jiri Vanek <jvanek@redhat.com>
763
764 * netx/net/sourceforge/jnlp/runtime/Boot.java: getAboutFile changed to
765 return path to local about.jnlp instead to inner-from-jar
766 * extras/net/sourceforge/jnlp/: refactored to
767 extras/net/sourceforge/javaws/, as /net/sourceforge/jnlp/ package
768 must be run with all-permissions.
769 * netx/net/sourceforge/jnlp/resources/about.jnlp: codebase changed
770 to "."
771
772
7732011-03-15 Denis Lila <dlila@redhat.com>
774
775 * netx/net/sourceforge/jnlp/Launcher.java
776 (markNetxRunning): Throw exception if directories can't be created.
777 * netx/net/sourceforge/jnlp/cache/CacheDirectory.java
778 (cleanParent): Print error message if file can't be deleted.
779 * netx/net/sourceforge/jnlp/cache/CacheUtil.java
780 (getCacheFile): Throw exception if directories can't be created.
781 * netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java
782 (save): Throw exception if directories can't be created.
783 * netx/net/sourceforge/jnlp/controlpanel/CachePane.java
784 (createButtonPanel): Print error message if file can't be deleted.
785 * netx/net/sourceforge/jnlp/resources/Messages.properties
786 Added messages.
787 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
788 (initializeStreams): Throw exception if directories can't be created.
789 * netx/net/sourceforge/jnlp/services/XPersistenceService.java
790 (create, get): Throw exception if directories can't be created.
791 (delete): Print error message if file can't be deleted.
792 * netx/net/sourceforge/jnlp/util/FileUtils.java
793 (createRestrictedFile): Throw exception if file permissions can't be
794 changed.
795 (createParentDir, deleteWithErrMesg): new functions.
796
7972011-03-15 Omair Majid <omajid@redhat.com>
798
799 * Makefile.am (LAUNCHER_BOOTCLASSPATH, PLUGIN_BOOTCLASSPATH)
800 (javaws.desktop, itweb-settings.desktop): Remove DESTDIR.
801
8022011-03-10 Mark Wielaard <mark@klomp.org>
803
804 * tests/netx/pac/pac-funcs-test.js (testIsResolvable):
805 Change single host name icedtea to NotIcedTeaHost
806 to make sure it really isn't resolvable.
807
8082011-03-10 Omair Majid <omajid@redhat.com>
809
810 Replace native launchers with shell scripts
811 * NEWS: Update.
812 * Makefile.am
813 (LAUNCHER_BOOTCLASSPATH): Remove leading -J.
814 (LAUNCHER_SRCDIR),
815 (LAUNCHER_OBJECTS),
816 (NETX_LAUNCHER_OBJECTS),
817 (CONTROLPANEL_LAUNCHER_OBJECTS),
818 (LAUNCHER_FLAGS),
819 (LAUNCHER_LINK): Remove.
820 (edit_launcher_script): New function.
821 (all-local): Depend on new launcher targets.
822 (clean-local): Depend on clean-launchers.
823 (.PHONY): Add clean-launchers.
824 (install-exec-local): Use new launcher paths.
825 (clean-launchers): New target.
826 ($(NETX_DIR)/launcher/%.o),
827 ($(NETX_DIR)/launcher/controlpanel/%.o),
828 ($(NETX_DIR)/launcher/javaws),
829 ($(NETX_DIR)/launcher/controlpanel/itweb-settings): Remove.
830 (launcher.build/javaws): New launcher.
831 (launcher.build/itweb-settings): Likewise.
832 * launcher/itweb-settings.in,
833 * launcher/javaws.in: New file.
834 * netx/net/sourceforge/jnlp/Launcher.java (launchExternal),
835 * netx/net/sourceforge/jnlp/controlpanel/CommandLine.java (CommandLine):
836 Use new system properties to find paths and program names.
837
8382011-03-10 Omair Majid <omajid@redhat.com>
839
840 * acinclude.m4 (IT_FIND_RHINO_JAR): Remove.
841
8422011-03-10 Omair Majid <omajid@redhat.com>
843
844 * tests/netx/pac/pac-funcs-test.js
845 (main): Make test summary output more jtreg-like.
846 (runTests): Change test output format to be more jtreg-like.
847
8482011-03-09 Denis Lila <dlila@redhat.com>
849
850 * netx/net/sourceforge/jnlp/Parser.java
851 (getJAR): Remove unused variable.
852 * netx/net/sourceforge/jnlp/cache/Resource.java
853 (connection): Remove unused member.
854 * netx/net/sourceforge/jnlp/cache/ResourceTracker.java
855 (lock): Initialize to Object() instead of Integer(0). Also,
856 make final.
857 * netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java
858 (SettingsPanel): Make static class.
859 * netx/net/sourceforge/jnlp/event/ApplicationEvent.java
860 (application): Make member transient.
861 * netx/net/sourceforge/jnlp/event/DownloadEvent.java
862 (tracker, resource): Make members transient.
863 * netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java
864 (appletInstance): Remove unused member.
865 (parameters): Add parameters to its type (a map).
866 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
867 Remove unused import.
868 (getNativeDir): Improve random int computation.
869 (CodeBaseClassLoader): Make it a static class.
870 * netx/net/sourceforge/jnlp/JNLPFile.java
871 (JNLPFile): Improve random positive int computation.
872 * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
873 (activeApplication): Remove unused member.
874 (checkExit): Remove dead code resulting from activeApplication
875 always being null.
876 * netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java
877 Remove unused import.
878 (addComponents): Remove unused variable.
879 * netx/net/sourceforge/jnlp/security/SecurityDialogPanel.java
880 (SetValueHandler): Make it a static class.
881 * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
882 (CertificateType): Make it a static class.
883 * netx/net/sourceforge/jnlp/services/ServiceUtil.java
884 (checkAccess): Replace new Boolean with Boolean.valueOf.
885 * netx/net/sourceforge/jnlp/tools/JarSigner.java
886 (storeHash): Remove unused member.
887 * netx/net/sourceforge/jnlp/util/XDesktopEntry.java
888 (getContentsAsReader): Remove unused variable pathToJavaws.
889
8902011-03-09 Andrew Su <asu@redhat.com>
891
892 * netx/net/sourceforge/jnlp/controlpanel/SecuritySettingsPanel.java:
893 (addComponents): Fix typo.
894
8952011-03-08 Omair Majid <omajid@redhat.com>
896
897 * acinclude.m4 (IT_FIND_OPTIONAL_JAR): New macro.
898 * configure.ac: Do not call IT_FIND_RHINO. Use IT_FIND_OPTIONAL_JAR
899 instead.
900
9012011-03-08 Denis Lila <dlila@redhat.com>
902
903 * netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java
904 (getProxies): Add result to cache, not cachedResult.
905
9062011-03-08 Denis Lila <dlila@redhat.com>
907
908 * netx/net/sourceforge/jnlp/browser/FirefoxPreferencesFinder.java
909 (find): Close input stream.
910 * netx/net/sourceforge/jnlp/browser/FirefoxPreferencesParser.java
911 (parse): Close input stream.
912 * netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java
913 (getPacContents, getHelperFunctionContents): Close input stream.
914 * netx/net/sourceforge/jnlp/security/CertWarningPane.java
915 (CheckBoxListener.actionPerformed): Close output stream.
916 * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
917 (ImportButtonListener.actionPerformed): Close output stream.
918
9192011-03-08 Andrew Su <asu@redhat.com>
920
921 * netx/net/sourceforge/jnlp/util/PropertiesFile.java:
922 (load): Closed streams after opening them.
923 (store): Likewise.
924
9252011-03-08 Denis Lila <dlila@redhat.com>
926
927 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
928 (getRequestIdentifier): Fix race condition by synchronizing
929 on mutex.
930 (requestIdentityCounter): Now a long.
931
9322011-03-07 Omair Majid <omajid@redhat.com>
933
934 * acinclude.m4 (IT_FIND_RHINO_JAR): Set RHINO_AVAILABLE to true or false
935 appropriately.
936 * build.properties.in: New file.
937 * jrunscript.in: New file.
938 * configure.ac: Add build.properties and jrunscript to AC_CONFIG_FILES.
939 * Makefile.am
940 (.PHONY): Remove clean-jrunscript.
941 (build.properties): Remove target.
942 (stamps/netx.stamp): Remove dependency on build.properties.
943 (clean-netx): Do not delete build.properties.
944 (jrunscript): Remove target.
945 (check-pac-functions): Remove dependency on jrunscript.
946 (clean-tests): Remove dependency on clean-jrunscript.
947 (clean-jrunscript): Remove target.
948
9492011-03-07 Omair Majid <omajid@redhat.com>
950
951 * NEWS: Update.
952 * acinclude.m4 (IT_OBTAIN_HG_REVISIONS): Use hg id instead of hg tip.
953
9542011-03-07 Omair Majid <omajid@redhat.com>
955
956 * plugin/icedteanp/IcedTeaNPPlugin.cc: Add plugin_debug_suspend.
957 (plugin_start_appletviewer): If plugin_debug_suspend is true, start jvm in
958 suspend mode.
959
9602011-03-07 Omair Majid <omajid@redhat.com>
961
962 * NEWS: Update.
963 * Makefile.am
964 (RHINO_RUNTIME): Define to point to rhino jars, or empty.
965 (RUNTIME, LAUNCHER_BOOTCLASSPATH, PLUGIN_BOOTCLASSPATH): Include
966 RHINO_RUNTIME.
967 (PHONY): Add check-pac-functions, clean-jrunscript and clean-tests.
968 (check-local): New target. Depends on check-pac-functions.
969 (check-pac-functions): New target.
970 (jrunscript): New target.
971 (clean-tests): New target.
972 (clean-jrunscript): New target.
973 (netx-source-files.txt): Remove rhino related files if not building with
974 rhino.
975 (build.properties): New target.
976 (stamps/netx.stamp): Depend on build.properties and copy new files to
977 build location.
978 (clean-netx): Remove build.properties.
979 (stamps/bootstrap-directory.stamp): Add java to bootstrap programs.
980 * acinclude.m4 (IT_FIND_RHINO_JAR): New macro.
981 * configure.ac: Invoke IT_FIND_RHINO_JAR.
982 * netx/net/sourceforge/jnlp/browser/BrowserAwareProxySelector.java: Add
983 browserProxyAutoConfig.
984 (initFromBrowserConfig): Initialize browserProxyAutoConfig if needed.
985 (getFromBrowserPAC): Use browserProxyAutoConfig to find proxies.
986 * netx/net/sourceforge/jnlp/resources/Messages.properties: Replace
987 RPRoxyPacNotImplemented with RPRoxyPacNotSupported.
988 * netx/net/sourceforge/jnlp/runtime/JNLPProxySelector.java: Add
989 pacEvaluator.
990 (parseConfiguration): Initialize pacEvaluator if needed.
991 (getFromPAC): Use pacEvaulator to find proxies.
992 (getProxiesFromPacResult): New method. Converts a proxy string to a list
993 or proxies.
994 * netx/net/sourceforge/jnlp/runtime/PacEvaluator.java: New file. Defines a
995 Java interface for a PAC evaluator.
996 * netx/net/sourceforge/jnlp/runtime/FakePacEvaluator.java: New file. Dummy
997 implementation of a PAC evaluator.
998 * netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java: New file.
999 A rhino-based PAC evaluator.
1000 * netx/net/sourceforge/jnlp/runtime/PacEvaluatorFactory.java: New file. A
1001 factory for creating the right PAC evaulator.
1002 * netx/net/sourceforge/jnlp/runtime/pac-funcs.js: New file. Defines helper
1003 functions needed while evaluating PAC files.
1004 * tests/netx/pac/pac-funcs-test.js: New file. Tests the PAC helper
1005 functions.
1006
10072011-03-07 Denis Lila <dlila@redhat.com>
1008
1009 * plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java:
1010 (prepopulateMethod) removed unused object o.
1011 * plugin/icedteanp/java/sun/applet/PluginCallRequest.java:
1012 Made all the members private.
1013 * plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java:
1014 Removed unused imports.
1015 (MAX_PARALLEL_INITS, MAX_WORKERS, PRIORITY_WORKERS, readQueue,
1016 workers, streamHandler, consumerThread,
1017 registerPriorityWait(String), unRegisterPriorityWait(String)):
1018 made private.
1019 (initWorkers, as, processedIds, unRegisterPriorityWait(Long),
1020 addToInitWorkers): removed - unused.
1021 (getPriorityStrIfPriority): made static; replaced while with for-each.
1022 (notifyWorkerIsFree): removed synchronized section - useless.
1023 (ConsumerThread.run): removed call to addToInitWorkers.
1024 * plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java:
1025 Removed explicit member initializations to the default values; fixed typo.
1026 (PluginMessageHandlerWorker): Removed SecurityManager argument - unused.
1027 * plugin/icedteanp/java/sun/applet/PluginStreamHandler.java:
1028 Removed unused imports.
1029 (consumer, shuttingDown): made private.
1030 (pav, writeQueue, getMessage, messageAvailable): removed - unused.
1031 (PluginStreamHandler): removed pav initialization.
1032 * plugin/icedteanp/java/sun/applet/AppletSecurityContextManager.java:
1033 Removed FIXME comment.
1034
10352011-03-07 Denis Lila <dlila@redhat.com>
1036
1037 * netx/net/sourceforge/jnlp/JNLPFile.java:
1038 (getResourcesDescs): added comment.
1039 (getDownloadOptionsForJar): removed commented out code.
1040 * netx/net/sourceforge/jnlp/PluginBridge.java
1041 (getResourcesDescs): added comment.
1042 * netx/net/sourceforge/jnlp/cache/ResourceTracker.java
1043 (downloadResource): added comment.
1044
10452011-03-04 Denis Lila <dlila@redhat.com>
1046
1047 * netx/net/sourceforge/jnlp/JNLPFile.java:
1048 (getDownloadOptionsForJar): Moved here from JNLPClassLoader.java.
1049 * netx/net/sourceforge/jnlp/PluginBridge.java
1050 (usePack, useVersion): added.
1051 (PluginBridge): initializing usePack and useVersion.
1052 (getDownloadOptionsForJar): return the download options.
1053 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
1054 (getDownloadOptionsForJar): logic moved to JNLPFile.java and its
1055 subclasses. Now just calling file.getDownloadOptionsForJar.
1056 * NEWS: Updated with fix of PR658.
1057
10582011-03-04 Denis Lila <dlila@redhat.com>
1059
1060 * netx/net/sourceforge/jnlp/cache/ResourceTracker.java
1061 (downloadResource): changed the order in which pack200+gz compression
1062 and gzip compression are checked.
1063 * netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java
1064 (getUrl): if usePack is true, append ".pack.gz" to the file name,
1065 instead of replacing ".jar" with ".pack.gz".
1066
10672011-03-04 Deepak Bhole <dbhole@redhat.com>
1068
1069 * NEWS: Updated.
1070 * netx/net/sourceforge/jnlp/PluginBridge.java (PluginBridge): Use
1071 documentbase as a uniquekey so that the classloader may be shared by
1072 applets from the same page.
1073 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: Added new
1074 CodeBaseClassLoader class to load codebase (from path instead of a file)
1075 classes.
1076 (getInstance): Try to match file locations only for Web Start apps. For
1077 plugin, merge the new loader into current one.
1078 (enableCodeBase): Use the new addToCodeBaseLoader method.
1079 (findLoadedClassAll): Search the codebase loader if the class was not
1080 found in the file loaders.
1081 (findClass): Likewise.
1082 (getResource): Likewise.
1083 (findResources): Likewise.
1084 (merge): Merge codebase loaders.
1085 (addToCodeBaseLoader): New method. Adds a given url to the codebase loader
1086 if it is a path.
1087 (CodeBaseClassLoader): New inner class. Extends URLClassLoader to expose
1088 its protected methods like addURL.
1089 * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
1090 (getApplication): Accomodate the fact that the classloader for a class may
1091 be a CodeBaseClassLoader.
1092 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java (run):
1093 Likewise.
1094
10952011-03-03 Deepak Bhole <dbhole@redhat.com>
1096
1097 * plugin/icedteanp/IcedTeaNPPlugin.cc
1098 (plugin_send_initialization_message): New method. Sends initialization
1099 information to the Java side.
1100 (ITNP_SetWindow): Call the new plugin_send_initialization_message
1101 function.
1102 (get_scriptable_object): Same.
1103
11042011-03-03 Deepak Bhole <dbhole@redhat.com>
1105
1106 * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
1107 (eval): Proceed with _eval only if instance is valid.
1108 (call): Proceed with _call only if instance is valid. Moved declaration
1109 of result_variant_jniid, result_variant args_array and thread_data to
1110 the top.
1111 (sendString): Proceed with _getString only if instance is valid. Remove
1112 thread count incrementer.
1113 (setMember): Proceed with _setMember only if instance is valid. Remove
1114 thread count incrementer.
1115 (sendMember): Proceed with _getMember only if instance is valid.
1116
11172011-03-03 Deepak Bhole <dbhole@redhat.com>
1118
1119 * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
1120 (PluginRequestProcessor): Remove initialization of tc_mutex
1121 (~PluginRequestProcessor): Remove destruction of tc_mutex
1122 (sendString): Removed thread count incrementer code.
1123 (setMember): Same.
1124 (sendMember): Same.
1125 * plugin/icedteanp/IcedTeaPluginRequestProcessor.h: Removed tc_mutex and
1126 thread_count variables.
1127
11282011-03-02 Omair Majid <omajid@redhat.com>
1129
1130 Fix PR612.
1131 * NEWS: Update with fix.
1132 * netx/net/sourceforge/jnlp/SecurityDesc.java: Add PropertyPermissions for
1133 browser and browser.* to sandboxPermissions.
1134
11352011-03-02 Omair Majid <omajid@redhat.com>
1136
1137 * netx/net/sourceforge/jnlp/controlpanel/CommandLine.java
1138 (handleSetCommand): Fix warning message.
1139 * netx/net/sourceforge/jnlp/resources/Messages.properties: Add
1140 CLWarningUnknownProperty.
1141
11422011-03-01 Omair Majid <omajid@redhat.com>
1143
1144 * netx/net/sourceforge/jnlp/runtime/JNLPPolicy.java (isSystemJar): Check
1145 for nulls.
1146
11472011-03-01 Andrew Su <asu@redhat.com>
1148
1149 * netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java
1150 (createMainSettingsPanel): Commented out unimplemented feature.
1151 * netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java
1152 (addComponents): Commented out unimplemented feature.
1153
11542011-02-28 Omair Majid <omajid@redhat.com>
1155
1156 * netx/net/sourceforge/jnlp/controlpanel/CommandLine.java
1157 (printResetHelp): Indicate that "all" is a valid argument.
1158 (handleResetCommand): Deal with "all" instead of a property name by
1159 reseting all properties.
1160
11612011-02-28 Denis Lila <dlila@redhat.com>
1162
1163 * plugin/icedteanp/java/sun/applet/PluginMain.java
1164 (redirectStreams, streamHandler, securityContext) make them local.
1165 (theVersion): make it private.
1166 (PluginMain): make it private. Empty the body.
1167 (main): Do all the work that used to be in PluginMain.
1168 (connect): make it static, and now it returns a PluginStreamHandler
1169 instead of setting a static variable.
1170 (messageAvailable, getMessage): Remove.
1171
11722011-02-28 Omair Majid <omajid@redhat.com>
1173
1174 * netx/net/sourceforge/jnlp/resources/Messages.properties: Add Password,
1175 Username and SAuthenticationPrompt.
1176 * netx/net/sourceforge/jnlp/security/JNLPAuthenticator.java
1177 (getPasswordAuthentication): Show password prompt using the secure thread.
1178 * netx/net/sourceforge/jnlp/security/PasswordAuthenticationPane.java
1179 (PasswordAuthenticationPane): Initialize variables.
1180 (initialize): For consistency, rename to..
1181 (addComponents): New method. Set the appropriate return value when user
1182 takes an action.
1183 (askUser): Remove.
1184 (main): Remove.
1185 * netx/net/sourceforge/jnlp/security/SecurityDialog.java
1186 (initDialog): Add extra case for AUTHENTICATION dialog type.
1187 (installPanel): Likewise.
1188 * netx/net/sourceforge/jnlp/security/SecurityDialogs.java
1189 (DialogType): Add AUTHENTICATION.
1190 (showAuthenicationPrompt): New method. Shows a password authentication
1191 prompt.
1192
11932011-02-28 Omair Majid <omajid@redhat.com>
1194
1195 Rename files
1196 * netx/net/sourceforge/jnlp/security/PasswordAuthenticationDialog.java:
1197 Rename to ...
1198 * netx/net/sourceforge/jnlp/security/PasswordAuthenticationPane.java: New
1199 file.
1200 * netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java: Rename
1201 to...
1202 * netx/net/sourceforge/jnlp/security/SecurityDialog.java: New file.
1203 * netx/net/sourceforge/jnlp/security/SecurityWarning.java: Rename to...
1204 * netx/net/sourceforge/jnlp/security/SecurityDialogs.java: New file.
1205 * netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java,
1206 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java,
1207 * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java,
1208 * netx/net/sourceforge/jnlp/security/AccessWarningPane.java,
1209 * netx/net/sourceforge/jnlp/security/AppletWarningPane.java,
1210 * netx/net/sourceforge/jnlp/security/CertWarningPane.java,
1211 * netx/net/sourceforge/jnlp/security/CertsInfoPane.java,
1212 * netx/net/sourceforge/jnlp/security/JNLPAuthenticator.java,
1213 * netx/net/sourceforge/jnlp/security/MoreInfoPane.java,
1214 * netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java,
1215 * netx/net/sourceforge/jnlp/security/SecurityDialogMessage.java,
1216 * netx/net/sourceforge/jnlp/security/SecurityDialogMessageHandler.java,
1217 * netx/net/sourceforge/jnlp/security/SecurityDialogPanel.java,
1218 * netx/net/sourceforge/jnlp/security/SingleCertInfoPane.java,
1219 * netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java,
1220 * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java,
1221 * netx/net/sourceforge/jnlp/services/ServiceUtil.java,
1222 * netx/net/sourceforge/jnlp/services/XClipboardService.java,
1223 * netx/net/sourceforge/jnlp/services/XExtendedService.java,
1224 * netx/net/sourceforge/jnlp/services/XFileOpenService.java,
1225 * netx/net/sourceforge/jnlp/services/XFileSaveService.java: Update class
1226 names to the new classes.
1227
12282011-02-25 Omair Majid <omajid@redhat.com>
1229
1230 * Makefile.am (stamps/netx-dist.stamp): Do not add extra files to
1231 classes.jar.
1232
12332011-02-25 Omair Majid <omajid@redhat.com>
1234
1235 * netx/net/sourceforge/jnlp/resources/Manifest.mf: Remove unused file.
1236
12372011-02-23 Omair Majid <omajid@redhat.com>
1238
1239 * Makefile.am: Add missing slash to JRE.
1240
12412011-02-23 Omair Majid <omajid@redhat.com>
1242
1243 RH677772: NoSuchAlgorithmException using SSL/TLS in javaws
1244 * NEWS: Update with bugfix.
1245 * netx/net/sourceforge/jnlp/runtime/JNLPPolicy.java: Add new field
1246 jreExtDir.
1247 (JNLPPolicy): Initialize jreExtDir.
1248 (getPermissions): Grant AllPermissions if the CodeSourse is a system jar.
1249 (isSystemJar): New method.
1250 * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
1251 (checkPermission): Remove special casing of
1252 SecurityPermission("putProviderProperty.SunJCE") and
1253 SecurityPermission("accessClassInPackage.sun.security.internal.spec").
1254 (inTrustedCallChain): Remove.
1255
12562011-02-22 Omair Majid <omajid@redhat.com>
1257 Mark Greenwood <mark@dcs.shef.ac.uk>
1258
1259 Fix PR638
1260 * NEWS: Update with fix.
1261 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (loadClass): Throw
1262 ClassNotFoundException instead of returning null.
1263 * AUTHORS: Update.
1264
12652011-02-22 Omair Majid <omajid@redhat.com>
1266
1267 * Makefile.am (uninstall-local): Fix typo in PACKAGE_NAME.
1268
12692011-02-22 Omair Majid <omajid@redhat.com>
1270
1271 * netx/net/sourceforge/jnlp/resources/Messages.properties: Add
1272 RNoAboutJnlp.
1273 * netx/net/sourceforge/jnlp/runtime/Boot.java: Remove NETX_ABOUT_FILE.
1274 (getAboutFile): Look for about.jnlp using the classloader.
1275 (getFile): Use localized error message string.
1276
12772011-02-22 Omair Majid <omajid@redhat.com>
1278 DJ Lucas <dj@lucasit.com>
1279
1280 * Makefile.am
1281 (install-data-local): Use $(mandir) for man page dir.
1282 (uninstall-local): Use $(mandir) for man page dir.
1283 * AUTHORS: Update.
1284
12852011-02-22 Omair Majid <omajid@redhat.com>
1286
1287 Install icedtea-web into a FHS-compliant location
1288 * Makefile.am: Add new vars JRE, LAUNCHER_BOOTCLASSPATH and
1289 PLUGIN_BOOTCLASSPATH.
1290 (install-exec-local): Install files to FHS-compliant location; do not
1291 create links.
1292 (install-data-local): Likewise.
1293 (uninstall-local): Update file paths to delete.
1294 ($(PLUGIN_DIR)/%.o): Pass PLUGIN_BOOTCLASSPATH and ICEDTEA_WEB_JRE.
1295 ($(NETX_DIR)/launcher/%.o): Pass LAUNCHER_BOOTCLASSPATH and
1296 ICEDTEA_WEB_JRE.
1297 ($(NETX_DIR)/launcher/controlpanel/%.o): Likewise.
1298 * launcher/java_md.c
1299 (GetIcedTeaWebJREPath): New method.
1300 (CreateExecutionEnvironment): Call GetIcedTeaWebJREPath.
1301 * plugin/icedteanp/IcedTeaNPPlugin.cc
1302 (plugin_start_appletviewer): Add PLUGIN_BOOTCLASSPATH to the command.
1303 (NP_Initialize): Use ICEDTEA_WEB_JRE to initialize filename.
1304
13052011-02-18 Omair Majid <omajid@redhat.com>
1306
1307 Remove pluginappletviewer binary
1308 * Makefile.am
1309 (ICEDTEAPLUGIN_TARGET): Remove dependency on pluginappletviewer.
1310 (PLUGIN_LAUNCHER_OBJECTS): Remove.
1311 (install-exec-local): Do not install pluginappletviewer.
1312 (uninstall-local): Do not remove pluginappletviewer.
1313 ($(PLUGIN_DIR)/launcher/%.o): Remove.
1314 ($(PLUGIN_DIR)/launcher/pluginappletviewer): Remove.
1315 (clean-IcedTeaPlugin): Dont clean plugin launcher files.
1316
13172011-02-15 Omair Majid <omajid@redhat.com>
1318
1319 * netx/net/sourceforge/jnlp/util/TimedHashMap.java: Do not extend HashMap
1320 to provide a more type-safe and consistent interface. Use System.nanoTime
1321 for a more monotonic clock.
1322
13232011-02-15 Omair Majid <omajid@redhat.com>
1324
1325 * plugin/icedteanp/java/sun/applet/PluginProxySelector.java
1326 (TimedHashMap): Moved to...
1327 * netx/net/sourceforge/jnlp/util/TimedHashMap.java: New file.
1328
13292011-02-11 Omair Majid <omajid@redhat.com>
1330
1331 RH677332, CVE-2011-0706: IcedTea multiple signers privilege escalation
1332 * NEWS: Updated.
1333 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
1334 (initializeResources): Assign appropriate security descriptor based on
1335 code signing.
1336
13372011-02-11 Deepak Bhole <dbhole@redhat.com>
1338
1339 Fix S6983554, CVE-2010-4450: Launcher incorrect processing of empty
1340 library path entries
1341 * NEWS: Updated.
1342 * launcher/java_md.c: Ignore empty LD_LIBRARY_PATH.
1343
13442011-02-11 Omair Majid <omajid@redhat.com>
1345
1346 * netx/net/sourceforge/jnlp/PluginBridge.java
1347 (getResourcesDescs): New method implemented to override behaviour in
1348 JNLPFile class.
1349
13502011-02-11 Omair Majid <omajid@redhat.com>
1351
1352 * netx/net/sourceforge/jnlp/JNLPFile.java
1353 (getResourceDescs): Renamed to...
1354 (getResourcesDescs): New method.
1355 (getResourceDescs): Renamed to...
1356 (getResourcesDescs): New method.
1357 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
1358 (getDownloadOptionsForJar): Call renamed method.
1359
13602011-02-10 Omair Majid <omajid@redhat.com>
1361
1362 Fix RH669942; Add support for packEnabled and versionEnabled.
1363 * NEWS: Update with bugfix.
1364 * netx/net/sourceforge/jnlp/DownloadOptions.java: New file.
1365 * netx/net/sourceforge/jnlp/JNLPFile.java
1366 (openURL): Use null for DownloadOptions.
1367 (getResourceDescs): New method.
1368 (getResourceDescs(Locale,String,String)): New method.
1369 * netx/net/sourceforge/jnlp/Launcher.java
1370 (launchApplication): Add image to downloader with null DownloadOptions.
1371 * netx/net/sourceforge/jnlp/cache/CacheUtil.java
1372 (getCachedResource): Add resource with null DownloadOptions.
1373 * netx/net/sourceforge/jnlp/cache/Resource.java: Add new field
1374 downloadLocation.
1375 (Resource): Initialize downloadLocation.
1376 (getDownloadLocation): New method.
1377 (setDownloadLocation): New method.
1378 * netx/net/sourceforge/jnlp/cache/ResourceTracker.java: Add new field
1379 downloadOptions.
1380 (addResource(URL,Version,UpdatePolicy)): Renamed to...
1381 (addResource(URL,Version,DownloadOptions,UpdatePolicy)): New method.
1382 (downloadResource): Add support for explicit downloading of packed jars as
1383 well as content-encoded packed jars.
1384 (initializeResource): Invokde findBestUrl to find the best url. Set that
1385 as the download location for the resource.
1386 (getVersionedResourceURL): Remove.
1387 (findBestUrl): New method. Use ResourceUrlCreator to get a list of all
1388 possible urls that can be used to download this resource. Try them one by
1389 one until one works and return that.
1390 * netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java: New file.
1391 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
1392 (initializeResources): Add resource with appropriate download options.
1393 (activateJars): Likewise.
1394 (loadClass): Likewise.
1395 (getDownloadOptionsForJar): New method.
1396
13972011-02-10 Deepak Bhole <dbhole@redhat.com>
1398
1399 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (initialize):
1400 Restrict access to net.sourceforge.jnlp.* classes by untrusted
1401 classes.
1402
14032011-02-09 Omair Majid <omajid@redhat.com>
1404
1405 * netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java
1406 (addComponents): Fix the listener attached to the port field to update the
1407 right config option.
1408
14092011-02-08 Omair Majid <omajid@redhat.com>
1410
1411 * netx/net/sourceforge/jnlp/browser/BrowserAwareProxySelector.java
1412 (initFromBrowserConfig): Do not try to create a URL from null.
1413 (getFromBrowser): Only print informational messages in debug mode.
1414
14152011-02-01 Omair Majid <omajid@redhat.com>
1416
1417 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
1418 (activateJars): Add the nested jar to ResourceTracker. Use
1419 JarSigner.verifyJars instead of JarSigner.verifyJar.
1420 * netx/net/sourceforge/jnlp/tools/JarSigner.java
1421 (verifyJar): Make private to indicate nothing should be using this
1422 directly.
1423
14242011-01-24 Deepak Bhole <dbhole@redhat.com>
1425
1426 RH672262, CVE-2011-0025: IcedTea jarfile signature verification bypass
1427 * rt/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
1428 (initializeResources): Prompt user only if there is a single certificate
1429 that signs all jars in the jnlp file, otherwise treat as unsigned.
1430 * rt/net/sourceforge/jnlp/security/CertVerifier.java: Rename getCerts to
1431 getCertPath and make it return a CertPath.
1432 * rt/net/sourceforge/jnlp/security/CertsInfoPane.java: Rename certs
1433 variable to certPath and change its type to CertPath.
1434 (buildTree): Use new certPath variable.
1435 (populateTable): Same.
1436 * rt/net/sourceforge/jnlp/security/HttpsCertVerifier.java: Rename getCerts
1437 to getCertPath and make it return a CertPath.
1438 * rt/net/sourceforge/jnlp/tools/JarSigner.java: Change type for certs
1439 variable to be a hashmap that stores certs and the number of entries they
1440 have signed.
1441 (totalSignableEntries): New variable to track how many signable entries
1442 have been encountered.
1443 (getCerts): Updated method to return certs from new hashmap.
1444 (isFullySignedByASingleCert): New method. Returns if there is a single
1445 cert that signs all the entries in the jars specified in the jnlp file.
1446 (verifyJars): Move verifiedJars and unverifiedJars out of the for loop so
1447 that the data is not lost when the next jar is processed. After verifying
1448 each jar, see if there is a single signer, and prompt the user if there is
1449 such an untrusted signer.
1450 (verifyJar): Increment totalSignableEntries for each signable entry
1451 encountered and the count for each cert when it signs an entry. Move
1452 checkTrustedCerts() out of the function into verifyJars().
1453
14542011-01-28 Omair Majid <omajid@redhat.com>
1455
1456 * Makefile.am: Move ICEDTEA_REV, ICEDTEA_PKG to acinclude.m4. Use
1457 FULL_VERSION.
1458 (stamps/netx-dist.stamp): Depend on netx.manifest. Use this file as the
1459 jar file manifest.
1460 * acinclude.m4 (IT_SET_VERSION): New macro. Defines FULL_VERSION.
1461 * configure.ac: Add netx.manifest to AC_CONFIG_FILES. Invoke
1462 IT_SET_VERSION.
1463 * netx.manifest.in: New file.
1464 * netx/net/sourceforge/jnlp/runtime/Boot.java: Set name and version using
1465 information from the manifest file.
1466
14672011-01-27 Omair Majid <omajid@redhat.com>
1468
1469 * netx/net/sourceforge/jnlp/resources/Messages.properties: Add
1470 RPRoxyPacNotImplemented, RProxyFirefoxNotFound, and
1471 RProxyFirefoxOptionNotImplemented.
1472 * netx/net/sourceforge/jnlp/runtime/JNLPProxySelector.java: Make abstract.
1473 (getFromBrowser): Remove implementation; make abstract.
1474 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
1475 (initialize): Set BrowserAwareProxySelector as the proxy selector.
1476 * netx/net/sourceforge/jnlp/browser/BrowserAwareProxySelector.java: New
1477 file. This class extends JNLPProxySelector and searches the browser's
1478 configuration to load additional proxy settings from.
1479 * netx/net/sourceforge/jnlp/browser/FirefoxPreferencesFinder.java: New
1480 file. This class looks into the browser configration to find the
1481 preferences file for the default firefox profile.
1482 * netx/net/sourceforge/jnlp/browser/FirefoxPreferencesParser.java: New
1483 file. Parses the browser's preferences and makes it available through a
1484 simpler interface.
1485
14862011-01-27 Omair Majid <omajid@redhat.com>
1487
1488 * AUTHORS: Update to include Jon A Maxwell.
1489 * extra/net/sourceforge/jnlp/about/resources/notes.html: Include everyone
1490 from AUTHORS.
1491
14922011-01-25 Omair Majid <omajid@redhat.com>
1493
1494 * netx/net/sourceforge/jnlp/resources/default.jnlp: Remove.
1495
14962011-01-24 Omair Majid <omajid@redhat.com>
1497
1498 * netx/net/sourceforge/jnlp/Launcher.java: Exit with error code
1499 * netx/net/sourceforge/jnlp/NetxPanel.java: Likewise.
1500
15012011-01-20 Andrew Su <asu@redhat.com>
1502
1503 * netx/net/sourceforge/jnlp/AppletLog.java: Restrict log files to
1504 owner accessible only.
1505
15062011-01-20 Andrew Su <asu@redhat.com>
1507
1508 Removing dead/commented/unused code.
1509 * plugin/icedteanp/java/sun/applet/GetWindowPluginCallRequest.java:
1510 Removed unused imports.
1511 * plugin/icedteanp/java/sun/applet/MethodOverloadResolver.java:
1512 (getMatchingMethod): Removed unused variable.
1513 (getMatchingConstructor): Removed unused variable.
1514 * plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java:
1515 Removed unused imports.
1516 (Signature): Removed commented code.
1517 (handleMessage): Removed commented code.
1518 (getAccessControlContext): Remove commented code.
1519 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
1520 (getCachedImage): Removed commented code.
1521 (makeReader): Removed unused method.
1522 (parse): Removed unused variables. Removed dead code.
1523 * plugin/icedteanp/java/sun/applet/PluginCallRequest.java: Removed
1524 unused imports.
1525 * plugin/icedteanp/java/sun/applet/PluginDebug.java: Removed unused
1526 imports.
1527 * plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java: Removed
1528 unused imports.
1529 (getReference): Removed unused method.
1530 (isInInit): Removed unused method.
1531 (dumpWorkerStatus): Removed unused method.
1532 * plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java:
1533 Removed unused variable.
1534 (PluginMessageHandlerWorker): Removed unused variable.
1535 (plugin/icedteanp/java/sun/applet/PluginObjectStore.java): Removed
1536 unused imports.
1537 (reference): Removed commented code.
1538 (unreference): Removed commented code.
1539 * plugin/icedteanp/java/sun/applet/PluginProxyInfoRequest.java:
1540 Removed unused import.
1541 * plugin/icedteanp/java/sun/applet/PluginStreamHandler.java: Removed
1542 unused imports. Removed unused variable.
1543 (PluginStreamHandler): Removed unnecessary comments. Removed commented
1544 code.
1545 (startProcessing): Removed unused variables. Removed commented code.
1546 (write): Removed commented code.
1547
15482011-01-20 Deepak Bhole <dbhole@redhat.com>
1549
1550 PR619: Improper finalization by the plugin can crash the browser
1551 * plugin/icedteanp/java/netscape/javascript/JSObject.java (finalize):
1552 Proceed with finalization only if JSObject is valid.
1553
15542011-01-17 Andrew Su <asu@redhat.com>
1555
1556 * netx/net/sourceforge/jnlp/NetxPanel.java:
1557 (showAppletException): Override, adds logging to file then proceed
1558 with showAppletException in sun.applet.AppletPanel.
1559 * netx/net/sourceforge/jnlp/AppletLog.java: New class.
1560 * netx/net/sourceforge/jnlp/Log.java: New class.
1561
15622011-01-14 Andrew Su <asu@redhat.com>
1563
1564 * Makefile.am: Added net.sourceforge.jnlp.config and
1565 net.sourceforge.jnlp.runtime to NETX_PKGS.
1566
15672011-01-12 Omair Majid <omajid@redhat.com>
1568
1569 * netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java
1570 (main): Set look and feel. Set config object to use with KeyStores.
1571 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
1572 (initialize): Set config object to use with KeyStores.
1573 * netx/net/sourceforge/jnlp/security/KeyStores.java: Add new member
1574 config.
1575 (setConfiguration): New method. Sets the value of config after security
1576 check.
1577 (getKeyStoreLocation): Use config object instead of querying JNLPRuntime.
1578
15792011-01-12 Omair Majid <omajid@redhat.com>
1580
1581 * netx/net/sourceforge/jnlp/JNLPFile: Add missing generic type to info.
1582 (getInformation): Remove redundant cast.
1583
15842011-01-12 Omair Majid <omajid@redhat.com>
1585
1586 * netx/javax/jnlp/UnavailableServiceException.java: Remove unused
1587 imports.
1588 * netx/net/sourceforge/jnlp/AppletDesc.java: Likewise.
1589 * netx/net/sourceforge/jnlp/ApplicationDesc.java: Likewise.
1590 * netx/net/sourceforge/jnlp/ComponentDesc.java: Likewise.
1591 * netx/net/sourceforge/jnlp/DefaultLaunchHandler.java: Likewise.
1592 * netx/net/sourceforge/jnlp/IconDesc.java: Likewise.
1593 * netx/net/sourceforge/jnlp/InformationDesc.java: Likewise.
1594 * netx/net/sourceforge/jnlp/InstallerDesc.java: Likewise.
1595 * netx/net/sourceforge/jnlp/JARDesc.java: Likewise.
1596 * netx/net/sourceforge/jnlp/JREDesc.java: Likewise.
1597 * netx/net/sourceforge/jnlp/Launcher.java: Likewise.
1598 * netx/net/sourceforge/jnlp/PackageDesc.java: Likewise.
1599 * netx/net/sourceforge/jnlp/ParseException.java: Likewise.
1600 * netx/net/sourceforge/jnlp/PluginBridge.java: Likewise.
1601 * netx/net/sourceforge/jnlp/PropertyDesc.java: Likewise.
1602 * netx/net/sourceforge/jnlp/ResourcesDesc.java: Likewise.
1603 * netx/net/sourceforge/jnlp/Version.java: Likewise.
1604 * netx/net/sourceforge/jnlp/cache/CacheEntry.java: Likewise.
1605 * netx/net/sourceforge/jnlp/cache/CacheUtil.java: Likewise.
1606 * netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java:
1607 Likewise.
1608 * netx/net/sourceforge/jnlp/cache/DownloadIndicator.java: Likewise.
1609 * netx/net/sourceforge/jnlp/cache/UpdatePolicy.java: Likewise.
1610 * netx/net/sourceforge/jnlp/controlpanel
1611 /AdvancedProxySettingsDialog.java: Likewise.
1612 * netx/net/sourceforge/jnlp/controlpanel
1613 /AdvancedProxySettingsPane.java: Likewise.
1614 * netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java:
1615 Likewise.
1616 * netx/net/sourceforge/jnlp/controlpanel
1617 /TemporaryInternetFilesPanel.java: Likewise.
1618 * netx/net/sourceforge/jnlp/event/ApplicationEvent.java: Likewise.
1619 * netx/net/sourceforge/jnlp/event/DownloadEvent.java: Likewise.
1620 * netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java: Likewise.
1621 * netx/net/sourceforge/jnlp/runtime/AppletAudioClip.java: Likewise.
1622 * netx/net/sourceforge/jnlp/runtime/AppletInstance.java: Likewise.
1623 * netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
1624 Likewise.
1625 * netx/net/sourceforge/jnlp/runtime/Boot13.java: Likewise.
1626 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Likewise.
1627 * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java:
1628 Likewise.
1629 * netx/net/sourceforge/jnlp/security/CertsInfoPane.java: Likewise.
1630 * netx/net/sourceforge/jnlp/security/SecurityUtil.java: Likewise.
1631 * netx/net/sourceforge/jnlp/services/XBasicService.java: Likewise.
1632 * netx/net/sourceforge/jnlp/services/XDownloadService.java: Likewise.
1633 * netx/net/sourceforge/jnlp/services/XExtensionInstallerService.java:
1634 Likewise.
1635 * netx/net/sourceforge/jnlp/services/XFileContents.java: Likewise.
1636 * netx/net/sourceforge/jnlp/services/XFileOpenService.java: Likewise.
1637 * netx/net/sourceforge/jnlp/services/XFileSaveService.java: Likewise.
1638 * netx/net/sourceforge/jnlp/services/XPersistenceService.java:
1639 Likewise.
1640 * netx/net/sourceforge/jnlp/util/PropertiesFile.java: Likewise.
1641 * netx/net/sourceforge/jnlp/util/Reflect.java: Likewise.
1642
16432011-01-04 Omair Majid <omajid@redhat.com>
1644
1645 * netx/net/sourceforge/jnlp/security/KeyStores.java
1646 (getKeyStoreLocation): Fix typo. Return the user-level certificate
1647 store correctly.
1648
16492011-01-04 Omair Majid <omajid@redhat.com>
1650
1651 * netx/net/sourceforge/jnlp/runtime/JNLPPolicy.java: Add
1652 systemJnlpPolicy and userJnlpPolicy.
1653 (JNLPPolicy): Initialize the new policies.
1654 (getPermissions): Consult the extra policies as well to determine the
1655 resulting permissions to be granted.
1656 (getPolicyFromConfig): New method. Create a new Policy instance to
1657 delegate to for system- and user-level policies.
1658
16592011-01-04 Omair Majid <omajid@redhat.com>
1660
1661 * netx/net/sourceforge/jnlp/SecurityDesc.java: Add
1662 customTrustedPolicy.
1663 (SecurityDesc): Initialize customTrustedPolicy.
1664 (getCustomTrustedPolicy): New method. Get custom policy file from
1665 configuration and use it to initialize a custom configuration.
1666 (getPermissions): If trusted application and customTrustedPolicy is
1667 not null, delegate to otherwise return AllPermissions.
1668 * netx/net/sourceforge/jnlp/config/Defaults.java
1669 (getDefaults): Use constant for property.
1670 * netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java:
1671 Add new constant KEY_SECURITY_TRUSTED_POLICY.
1672 * netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java
1673 (installEnvironment): Pass cs as a parameter to
1674 SecurityDesc.getPermissions.
1675 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
1676 (getPermissions): Likewise.
1677
16782011-01-04 Omair Majid <omajid@redhat.com>
1679
1680 * netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java: Remove
1681 JNLPRuntime import. Remove configBrowserCommand.
1682 (createMainSettingsPanel): Remove call to loadConfiguration.
1683 (loadConfiguration): Remove method. Setting the browser command
1684 should be handled by the appropriate panel.
1685 (main): Remove call to JNLPRuntime.initialize and just create a new
1686 DeploymentConfiguration object. Clarify TODO comment.
1687
16882011-01-04 Omair Majid <omajid@redhat.com>
1689
1690 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
1691 (installShutdownHooks): Only print when not null.
1692
16932011-01-04 Andrew Su <asu@redhat.com>
1694
1695 * netx/net/sourceforge/jnlp/controlpanel/SecuritySettingsPanel.java:
1696 (addComponents): Hide unsupported options.
1697
16982010-12-23 Andrew Su <asu@redhat.com>
1699
1700 * netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java:
1701 (showAdvancedProxySettingsDialog): Removed call to setSystemLookAndFeel().
1702 (setSystemLookAndFeel): Method removed.
1703
17042010-12-23 Andrew Su <asu@redhat.com>
1705
1706 * netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java:
1707 (showAdvancedProxySettingsDialog): Removed creation of swing thread.
1708 * netx/net/sourceforge/jnlp/controlpanel/CacheViewer.java:
1709 (showCacheDialog): Removed throwing of exception.
1710 * netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java:
1711 (addComponents): Removed try catch block.
1712 * /netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java:
1713 (addComponents): Removed creation of swing thread and try catch block.
1714
17152010-12-22 Deepak Bhole <dbhole@redhat.com>
1716
1717 RH665104: OpenJDK Firefox Java plugin loses a cookie
1718 * plugin/icedteanp/java/sun/applet/PluginCookieInfoRequest.java
1719 (parseReturn): Skip one less space so that the first cookie is not
1720 skipped.
1721 * NEWS: Updated.
1722
17232010-12-21 Andrew Su <asu@redhat.com>
1724
1725 * netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsPane.java,
1726 netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java:
1727 (addComponents): Replaced key listeners and mouse listeners for text
1728 fields with document adapter.
1729 * netx/net/sourceforge/jnlp/controlpanel/DocumentAdapter.java: New class.
1730 * netx/net/sourceforge/jnlp/controlpanel/MiddleClickListener.java:
1731 Removed.
1732
17332010-12-20 Andrew Su <asu@redhat.com>
1734
1735 Added a cache viewer for the control panel.
1736 * netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java:
1737 (addComponents): Changed buttons to open cache viewer.
1738 * netx/net/sourceforge/jnlp/resources/Messages.properties: Added text
1739 used by the cache viewer.
1740 * netx/net/sourceforge/jnlp/cache/CacheDirectory.java,
1741 netx/net/sourceforge/jnlp/cache/DirectoryNode.java,
1742 netx/net/sourceforge/jnlp/controlpanel/CachePane.java,
1743 netx/net/sourceforge/jnlp/controlpanel/CacheViewer.java: New classes.
1744
17452010-12-20 Omair Majid <omajid@redhat.com>
1746
1747 * Makefile.am
1748 ($(NETX_DIR)/launcher/controlpanel/%.o): Set program name, and launch
1749 net.sourceforge.jnlp.controlpanel.CommandLine.
1750 * netx/net/sourceforge/jnlp/config/Defaults.java
1751 (getDefaults): Set descriptions to Unknown rather than the name.
1752 Set source to localized form of internal.
1753 * netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java
1754 (getProperty): Check for nulls.
1755 (setProperty): Add unknown as description and source for new
1756 properties.
1757 (checkAndFixConfiguration): Fix translation constants.
1758 (parsePropertiesFile): Use unknown as description.
1759 * netx/net/sourceforge/jnlp/controlpanel/CommandLine.java: New file
1760 (CommandLine): New method.
1761 (handleHelpCommand): Likewise.
1762 (printListHelp): Likewise.
1763 (handleListCommand): Likewise.
1764 (printGetHelp): Likewise.
1765 (handleGetCommand): Likewise.
1766 (printSetHelp): Likewise.
1767 (handleSetCommand): Likewise.
1768 (printResetHelp): Likewise.
1769 (handleResetCommand): Likewise.
1770 (printInfoHelp): Likewise.
1771 (handleInfoCommand): Likewise.
1772 (printCheckHelp): Likewise.
1773 (handleCheckCommand): Likewise.
1774 (handle): Likewise.
1775 (main): Likewise.
1776 * netx/net/sourceforge/jnlp/resources/Messages.properties: Add
1777 Usage, Unknown, RConfigurationFatal, DCIncorrectValue,
1778 DCSourceInternal, DCUnknownSettingWithName, VVPossibleValues,
1779 CLNoInfo, CLValue, CLValueSource, CLDescription, CLUnknownCommand
1780 CLUnknownProperty, CLNoIssuesFound, CLIncorrectValue,
1781 CLListDescription, CLGetDescription, CLSetDescription,
1782 CLResetDescription, CLInfoDescription, CLCheckDescription and
1783 CLHelpDescription. Remove DCErrorInSetting and
1784 DCUnknownSettingWithVal.
1785
17862010-12-17 Omair Majid <omajid@redhat.com>
1787
1788 * netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java
1789 (ControlPanel): Create and add the topPanel.
1790 (createTopPanel): New method. Creates a JPanel to display the
1791 description on top of the Control Panel.
1792 (createNotImplementedPanel): Use the same way to load resource
1793 as createTopPanel to avoid null pointer exceptions.
1794 * netx/net/sourceforge/jnlp/resources/Messages.properties: Add
1795 CPMainDescriptionShort and CPMainDescriptionLong.
1796
17972010-12-17 Omair Majid <omajid@redhat.com>
1798
1799 * netx/net/sourceforge/jnlp/security/SecurityWarning.java
1800 (shouldPromptUser): Use full privileges when checking configuration. This
1801 value is not security-sensitive and the method is private.
1802 * netx/net/sourceforge/jnlp/services/ServiceUtil.java
1803 (shouldPromptUser): Likewise.
1804
18052010-12-16 Omair Majid <omajid@redhat.com>
1806
1807 RH663680, CVE-2010-4351:
1808 * NEWS: List issue.
1809 * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java:
1810 Make sure SecurityException is thrown if necessary.
1811
18122010-12-15 Omair Majid <omajid@redhat.com>
1813
1814 * Makefile.am
1815 (install-exec-local): Install plugin.jar as data. If $(prefix)/jre/bin
1816 exists, then install symlinks to real javaws and itweb-settings binaries
1817 under it.
1818 ($(NETX_DIR)/launcher/%.o): Set system property java.icedtea-web.bin to
1819 point to the installed location of the javaws binary.
1820 * netx/net/sourceforge/jnlp/Launcher.java (launchExternal): Use the system
1821 property java.icedtea-web.bin to locate javaws binary.
1822
18232010-12-15 Andrew Su <asu@redhat.com>
1824
1825 * /netx/net/sourceforge/jnlp/resources/Messages.properties: Changed
1826 messages for about and JRE.
1827
18282010-12-14 Andrew John Hughes <ahughes@redhat.com>
1829
1830 * Makefile.am:
1831 (LAUNCHER_OBJECTS): Add jli_util.o, parse_manifest.o,
1832 version_comp.o, wildcard.o.
1833 (LAUNCEHR_FLAGS): Add -DEXPAND_CLASSPATH_WILDCARDS
1834 as used in build of libjli in OpenJDK.
1835 (LAUNCHER_LINK): Don't link to libjli.
1836 * launcher/jli_util.c,
1837 * launcher/parse_manifest.c,
1838 * launcher/version_comp.c,
1839 * launcher/wildcard.c:
1840 Add source files from OpenJDK6 to match header files
1841 already used.
1842
18432010-12-13 Omair Majid <omajid@redhat.com>
1844
1845 * netx/net/sourceforge/jnlp/config/ValueValidator.java: New file.
1846 * netx/net/sourceforge/jnlp/config/BasicValueValidators.java: New
1847 file. Provides methods to get some common validators.
1848 * netx/net/sourceforge/jnlp/config/ConfiguratonValidator.java: New
1849 file. Provides methods to validate a configuration.
1850 * netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
1851 Moved to config subpackage instead and split off into Setting.java,
1852 DeploymentConfiguration.java and Defaults.java.
1853 * netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java:
1854 Renamed version of original DeploymentConfiguration.
1855 (load): Delegate to load.
1856 (load(boolean)): Load configuration and optionally fix any issues
1857 found.
1858 (checkAndFixConfiguration): New method. Validate all settings and
1859 set them to default values if problems found.
1860 * netx/net/sourceforge/jnlp/config/Setting.java: New file. Based on
1861 ConfigValue which was originally a part of DeploymentConfiguration.
1862 * netx/net/sourceforge/jnlp/config/Defaults.java: New file.
1863 Contains the default configuration settings. Originally from
1864 DeploymentConfiguration.java's loadDefaultProperties.
1865 * netx/net/sourceforge/jnlp/resources/Messages.properties: Add new
1866 messages.
1867 * netx/net/sourceforge/jnlp/Launcher.java: Fix imports.
1868 * netx/net/sourceforge/jnlp/SecurityDesc.java: Likewise.
1869 * netx/net/sourceforge/jnlp/cache/CacheUtil.java: Likewise.
1870 * netx/net/sourceforge/jnlp/controlpanel
1871 /AdvancedProxySettingsDialog.java: Likewise
1872 * netx/net/sourceforge/jnlp/controlpanel
1873 /AdvancedProxySettingsPane.java: Likewise.
1874 * netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java: Likewise
1875 * netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java:
1876 Likewise.
1877 * netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java:
1878 Likewise.
1879 * netx/net/sourceforge/jnlp/controlpanel/MiddleClickListener.java:
1880 Likewise
1881 * netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java:
1882 Likewise.
1883 * netx/net/sourceforge/jnlp/controlpanel/SecuritySettingsPanel.java:
1884 Likewise.
1885 * netx/net/sourceforge/jnlp/controlpanel
1886 /TemporaryInternetFilesPanel.java:Likewise.
1887 * netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
1888 Likewise.
1889 * netx/net/sourceforge/jnlp/runtime/JNLPProxySelector.java:
1890 Likewise.
1891 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Likewise.
1892 * netx/net/sourceforge/jnlp/security/KeyStores.java: Likewise.
1893 * netx/net/sourceforge/jnlp/security/SecurityWarning.java: Likewise.
1894 * netx/net/sourceforge/jnlp/services/ServiceUtil.java: Likewise.
1895 * netx/net/sourceforge/jnlp/services/SingleInstanceLock.java:
1896 Likewise.
1897 * netx/net/sourceforge/jnlp/services/XBasicService.java: Likewise
1898 * netx/net/sourceforge/jnlp/services/XPersistenceService.java:
1899 Likewise.
1900 * netx/net/sourceforge/jnlp/util/XDesktopEntry.java: Likewise.
1901 * plugin/icedteanp/java/sun/applet/JavaConsole.java: Likewise.
1902 * plugin/icedteanp/java/sun/applet/PluginMain.java: Likewise.
1903
19042010-12-13 Omair Majid <omajid@redhat.com>
1905
1906 * netx/net/sourceforge/jnlp/Parser.java
1907 (getInformationDesc): Fix whitespace in title, vendor and description
1908 elements.
1909 (getRelatedContent): Fix whitespace in title and description elements.
1910 (getSpanText(Node)): Delegate to ...
1911 (getSpanText(Node,boolean)): New method. Return the text in an element,
1912 optionally fixing whitespace.
1913
19142010-12-10 Omair Majid <omajid@redhat.com>
1915
1916 * netx/net/sourceforge/jnlp/tools/JarSigner.java: Remove unused variables
1917 collator, VERSION, IN_KEYSTORE, IN_SCOPE, privateKey, store, keystore,
1918 nullStream, token, jarfile, alias, storepass, protectedPath, storetype,
1919 providerName, providers, providerArgs, keypass, sigfile, sigalg,
1920 digestalg, signedjar, tsaUrl, tsaAlias, verify, debug, signManifest and
1921 externalSF.
1922 (getPublisher): Remove unnecessary cast.
1923 (getRoot): Likewise.
1924
19252010-12-08 Deepak Bhole <dbhole@redhat.com>
1926
1927 PR597: Entities are parsed incorrectly in PARAM tag in applet plugin
1928 * plugin/icedteanp/IcedTeaNPPlugin.cc
1929 (encode_string): New function. Takes a string and replaces certain special
1930 characters with html escapes.
1931 (plugin_create_applet_tag): Use the new encode_string function to encode
1932 argn and argv right away, rather than encoding the whole tag.
1933 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
1934 (handleMessage): Move decoding out so that it is done after parsing.
1935 (decodeString): New function. Decodes the given string such that html
1936 escapes are replaced by the original special characters.
1937 (scanTag): Decode parameter name and value before adding it to attribute
1938 array.
1939 * NEWS: Updated.
1940
19412010-12-08 Omair Majid <omajid@redhat.com>
1942
1943 * configure.ac: Add check for sun.misc.HexDumpEncoder
1944 * netx/net/sourceforge/jnlp/security/CertsInfoPane.java: Import
1945 sun.misc.HexDumpEncoder. Remove import of net.sourceforge.jnlp.tools.*
1946 * netx/net/sourceforge/jnlp/tools/CharacterEncoder.java: Remove file.
1947 * netx/net/sourceforge/jnlp/tools/HexDumpEncoder.java: Remove file.
1948
19492010-12-08 Omair Majid <omajid@redhat.com>
1950
1951 * netx/net/sourceforge/jnlp/JNLPFile.java
1952 (getSupportedVersions): Remove method.
1953 * netx/net/sourceforge/jnlp/Parser.java: Remove supportedVersions.
1954 (Parser(JNLPFile,URL,Node,boolean,boolean)): Remove check for supported
1955 version.
1956 (getSupportedVersions): Remove method.
1957 * netx/net/sourceforge/jnlp/resources/Messages.properties:
1958 Remove PSpecUnsupported.
1959
19602010-12-08 Omair Majid <omajid@redhat.com>
1961
1962 * netx/net/sourceforge/jnlp/tools/JarRunner.java: Remove unused class.
1963 * netx/net/sourceforge/jnlp/tools/JarSignerResources.java: Remove unused
1964 class.
1965
19662010-12-07 Andrew John Hughes <ahughes@redhat.com>
1967
1968 * netx/net/sourceforge/jnlp/InformationDesc.java,
1969 (InformationDesc(JNLPFile,Locale)): Correct @param tag.
1970 * netx/net/sourceforge/jnlp/JARDesc.java:
1971 (JARDesc(URL,Version,String,boolean,boolean,boolean,boolean)):
1972 Correct typo and add missing @param tag for cacheable.
1973 * netx/net/sourceforge/jnlp/JREDesc.java:
1974 (JREDesc(Version,URL,String,String,String,List)): Correct typo
1975 in @param tag.
1976 * netx/net/sourceforge/jnlp/Launcher.java:
1977 (Launcher(boolean)): Correct broken @param tag.
1978 * netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
1979 (addDownloadListener(DownloadListener)): Remove broken @param tags.
1980 Add correct one.
1981 (removeDownloadListener(DownloadListener)): Add missing @param tag.
1982 * netx/net/sourceforge/jnlp/security/KeyStores.java:
1983 (getKeyStoreLocation(Level,Type)): Add content to @param and @return tags.
1984 (toTranslatableString(Level,Type)): Likewise.
1985 * netx/net/sourceforge/jnlp/security/PasswordAuthenticationDialog.java:
1986 (askUser(String,int,String,String)): Correct typo in @param tag.
1987 * netx/net/sourceforge/jnlp/security/SecurityDialogPanel.java:
1988 (createSetValueListener(SecurityWarningDialog,int)): Add content to @return tag.
1989 * netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java:
1990 (showCertInfoDialog(CertVerifier,SecurityWarningDialog)): Remove broken
1991 @param tag and add correct ones.
1992 (showSingleCertInfoDialog(X509Certificate,JDialog)): Add content to @param tags.
1993 * netx/net/sourceforge/jnlp/tools/CharacterEncoder.java:
1994 Remove broken @see tags from import from OpenJDK.
1995 * netx/net/sourceforge/jnlp/util/FileUtils.java:
1996 Fix bad whitespace.
1997 (sanitizeFileName(String)): Fix @param tag.
1998 * netx/net/sourceforge/nanoxml/XMLElement.java:
1999 Fix example in class documentation.
2000 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java,
2001 (waitForAppletInit(NetxPanel)): Fix @param tag.
2002
20032010-12-08 Omair Majid <omajid@redhat.com>
2004
2005 * netx/net/sourceforge/jnlp/tools/KeyTool.java: Remove unused class.
2006
20072010-12-07 Andrew Su <asu@redhat.com>
2008
2009 * MiddleClickListener.java: Added copyright header. Corrected typo in
2010 javadoc.
2011
20122010-12-07 Omair Majid <omajid@redhat.com>
2013
2014 * Makefile.am
2015 (PLUGIN_VERSION): Change to IcedTea-Web
2016 ($(PLUGIN_DIR)/%.o): Define PLUGIN_NAME and PACKAGE_URL.
2017 * configure.ac
2018 (AC_INTIT): Add url.
2019 * plugin/icedteanp/IcedTeaNPPlugin.cc
2020 (PLUGIN_NAME): Removed.
2021 (PLUGIN_FULL_NAME): New definition.
2022 (PLUGIN_DESC): Add link to IcedTea-Web wiki page.
2023 (NP_GetValue): Return PLUGIN_FULL_NAME instead of PLUGIN_NAME.
2024
20252010-12-06 Deepak Bhole <dbhole@redhat.com>
2026
2027 Fixed indentation and spacing for all .java files
2028 * .settings/org.eclipse.jdt.core.prefs: New file. Contains code style
2029 preference settings for Eclipse.
2030 * .settings/org.eclipse.jdt.ui.prefs: Same.
2031
20322010-12-03 Andrew John Hughes <ahughes@redhat.com>
2033
2034 * netx/net/sourceforge/jnlp/cache/CacheUtil.java,
2035 (getCachedResource(URL,Version,UpdatePolicy)):
2036 Revert change to use toURI() for now.
2037 See http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2010-December/011270.html
2038 * netx/net/sourceforge/jnlp/cache/ResourceTracker.java,
2039 (getCacheURL(URL)): Likewise.
2040 * netx/net/sourceforge/jnlp/runtime/Boot.java,
2041 (getFile()): Use toURI.toURL() to avoid broken escaping.
2042 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
2043 (initializeResources()): Likewise.
2044
20452010-12-01 Andrew John Hughes <ahughes@redhat.com>
2046
2047 * netx/net/sourceforge/jnlp/cache/CacheUtil.java:
2048 (getCachedResource(URL,Version,UpdatePolicy)): Use
2049 toURI().toURL() to avoid broken escaping.
2050 * netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
2051 (getCacheURL(URL)): Likewise.
2052 * netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
2053 (destroy()): Suppress deprecated warning from use of thread.stop().
2054 Only use when interrupt() has already been tried.
2055 * netx/net/sourceforge/jnlp/runtime/Boot.java:
2056 (getFile()): Use toURI.toURL() to avoid broken escaping.
2057 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
2058 (initializeResources()): Likewise.
2059 * netx/net/sourceforge/jnlp/security/PasswordAuthenticationDialog.java:
2060 (askUser(String,int,String,String)): Use getPassword() to retrieve
2061 a character array directly. Fix overrunning line.
2062 * netx/net/sourceforge/jnlp/tools/JarSigner.java:
2063 Remove unused IdentityScope variable, scope.
2064 * netx/net/sourceforge/nanoxml/XMLElement.java:
2065 (scanWhitespace(StringBuffer)): Don't fallthrough.
2066 * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc:
2067 Fix warnings where std::string is used in printf
2068 rather than char* by invoking c_str on these strings.
2069 * plugin/icedteanp/java/netscape/javascript/JSException.java:
2070 (JSException()): Mark with @Deprecated annotation.
2071 (JSException(String)): Likewise.
2072 (JSException(String,String,int,String,int)): Likewise.
2073 * plugin/icedteanp/java/netscape/javascript/JSObject.java:
2074 (JSObject(String)): Remove redundant cast.
2075 (getWindow(Applet)): Likewise.
2076 * plugin/icedteanp/java/sun/applet/AppletSecurityContextManager.java:
2077 (contexts): Initialise properly with generic typing.
2078 * plugin/icedteanp/java/sun/applet/MethodOverloadResolver.java:
2079 (getMatchingMethod(Object[]): Add missing generic type to Class
2080 instances.
2081 (getMatchingConstructor(Object[])): Likewise.
2082 (getCostAndCastedObject(Object,Class<?>)): Likewise.
2083 (getMatchingMethods(Class<?>,String,int)): Likewise.
2084 (getMatchingConstructors(Class<?>,int)): Likewise.
2085 (getNum(String,Class<?>)): Likewise.
2086 * plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java:
2087 (parseCall(String,ClassLoader,Class<V>)): Use c.cast rather than (V).
2088 (handleMessage(int,String,AccessControlContext,String)): Add
2089 missing generic type to Class instances. Remove redundant casts.
2090 (prepopulateField(int,String)): Add missing generic type to Class instance.
2091 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
2092 (createPanel(PluginStreamHandler,int,long,URL,Hashtable<String,String>)):
2093 Add missing generic types on Hashtable and PrivilegedAction.
2094 (initEventQueue(AppletPanel)): Add missing generic type to PrivilegedAction.
2095 (splitSeparator(String,String)): Use an ArrayList rather than Vector
2096 to avoid locking and use generic types.
2097 (requests): Initialise properly with generic typing.
2098 (applets): Likewise.
2099 (appletStateChanged(AppletEvent)): Use setSize and getPreferredSize.
2100 (handleMessage(int,String)): Remove redundant casts.
2101 (audioClips): Add generic types.
2102 (getAudioClip): Remove redundant cast.
2103 (imageRefs): Add generic types.
2104 (getCachedImageRef(URL)): Remove redundant cast.
2105 (appletPanels): Add generic types.
2106 (getApplets()): Likewise.
2107 (getStream(String)): Mark with @Override.
2108 (getStreamKeys()): Likewise.
2109 (systemParam): Add generic types.
2110 (printTag(PrintStream,Hashtable<String,String>)): Likewise.
2111 Remove redundant casts.
2112 (updateAtts()): Use getSize() and getInsets(). Use Integer.valueOf().
2113 (appletReload()): Add generic types to PrivilegedAction.
2114 (scanIdentifier(int[],Reader)): Use StringBuilder to avoid unnecessary
2115 locking.
2116 (skipComment(int[],Reader)): Likewise.
2117 (scanTag(int[],Reader)): Likewise. Add generic types.
2118 (parse(int,long,String,String,Reader,URL)): Use PrivilegedExceptionAction
2119 to avoid catching and rethrowing the exception manually. Add generic types.
2120 (parse(int,long,String,String,Reader,URL,PrintStream,PluginAppletPanelFactory)):
2121 Add generic types. Remove unnecessary casts. Fix overlong lines.
2122 * plugin/icedteanp/java/sun/applet/PluginMain.java:
2123 (init()): Add generic types. Remove unnecessary cast.
2124 * plugin/icedteanp/java/sun/applet/PluginObjectStore.java:
2125 (objects): Initialise properly with generic typing.
2126 (counts): Likewise.
2127 (identifiers): Likewise.
2128 * plugin/icedteanp/java/sun/applet/PluginProxySelector.java:
2129 (get(Object)): Suppress unchecked warning arising from cast to K.
2130
21312010-12-02 Omair Majid <omajid@redhat.com>
2132
2133 * Makefile.am (EXTRA_DIST): Add itweb-settings.desktop.in.
2134 (all-local): Add itweb-settings.desktop.
2135 (clean-desktop-files): Remove itweb-settings.desktop.
2136 (itweb-settings.desktop): New target.
2137 * itweb-settings.desktop.in: New file.
2138
21392010-12-01 Andrew John Hughes <ahughes@redhat.com>
2140
2141 * acinclude.m4:
2142 (IT_CHECK_FOR_APPLETVIEWERPANEL_HOLE):
2143 New check to ensure sun.applet.AppletViewerPanel
2144 is public (via the patch in IcedTea, applet_hole.patch).
2145 * configure.ac: Invoke the above macro. Don't call
2146 IT_CHECK_FOR_CLASS for the same class (the above macro
2147 handles this too).
2148 * README: Mention this limitation.
2149
21502010-12-01 Andrew Su <asu@redhat.com>
2151
2152 * NEWS: Added controlpanel for modifying deployments.properties
2153 * Makefile.am:
2154 (CONTROLPANEL_LAUNCHER_OBJECTS): Objects used to compile binary
2155 control panel.
2156 (all-local): Add $(NETX_DIR)/launcher/controlpanel/itw-settings.
2157 (install-exec-local): Install the control panel binary.
2158 (uninstall-local): Removes the compiled control panel binary.
2159 ($(NETX_DIR)/launcher/controlpanel/%.o): Create the launcher objects.
2160 ($(NETX_DIR)/launcher/controlpanel/itw-settings): Link the objects to
2161 make the launcher.
2162 * netx/net/sourceforge/jnlp/controlpanel/AboutPanel.java,
2163 * netx/net/sourceforge/jnlp/controlpanel/ComboItem.java,
2164 * netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java,
2165 * netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java,
2166 * netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java,
2167 * netx/net/sourceforge/jnlp/controlpanel/JREPanel.java,
2168 * netx/net/sourceforge/jnlp/controlpanel/NamedBorderPanel.java,
2169 * netx/net/sourceforge/jnlp/controlpanel/MiddleClickListener.java,
2170 * netx/net/sourceforge/jnlp/controlpanel/SecuritySettingsPanel.java,
2171 * netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java,
2172 * netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java,
2173 * netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsPane.java,
2174 * netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java,:
2175 New classes. All methods are new as well.
2176 * netx/net/sourceforge/jnlp/resources/Messages.properties: Added
2177 messages used by control panel.
2178 * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java:
2179 Changed to not display a close button if null parent frame.
2180
21812010-11-30 Andrew John Hughes <ahughes@redhat.com>
2182
2183 * Makefile.am:
2184 (liveconnect): Add NETX_DIR first on the bootclasspath
2185 so the plugin can be built against 1.7 and 1.8
2186 branch releases of IcedTea6.
2187
21882010-11-26 Andrew John Hughes <ahughes@redhat.com>
2189
2190 Make distcheck work.
2191 * Makefile.am:
2192 (EXTRA_DIST): Use relative paths for netx
2193 and the plugin.
2194 (clean-local): Remove empty stamps directory.
2195 (install-exec-local): Use install to install
2196 programs and data with the correct permissions.
2197 (install-data-local): Likewise.
2198 (uninstall-local): Remove documentation.
2199 (netx): Use ${INSTALL_DATA} to add resources so
2200 that read-only files aren't copied.
2201 (extra-files): Likewise.
2202 ($(NETX_DIR)/launcher/javaws): Don't create empty launcher
2203 directory.
2204 (clean-docs): Remove empty docs directory.
2205 (clean-bootstrap-directory): Remove empty bootstrap
2206 directory.
2207
22082010-11-29 Deepak Bhole <dbhole@redhat.com>
2209
2210 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
2211 (createPanel): Call the new framePanel() method with the proper handle.
2212 (framePanel): New method, renamed from reFrame. Changed to now do one-time
2213 framing of panel into the plugin.
2214 (handleMessage): Don't re-frame the panel. Panel is now framed only once.
2215 (destroyApplet): Dispose the frame right away, and try to remove the panel
2216 if possible. If not, handleMessage() will do it when the panel is
2217 ready/removable.
2218
22192010-11-25 Andrew John Hughes <ahughes@redhat.com>
2220
2221 * Makefile.am:
2222 (JDK_UPDATE_VERSION): Document.
2223 (NETX_PKGS): NetX packages for documentation.
2224 (PLUGIN_PKGS): Same for the plugin.
2225 (JAVADOC_OPTS): Common options passed to javadoc.
2226 (JAVADOC_MEM_OPTS): Memory options passed to JVM
2227 if possible (taken from the previous OpenJDK build).
2228 (all-local): Depend on docs.stamp.
2229 (clean-local): Add clean-docs.
2230 (.PHONY): Add clean-docs, clean-plugin-docs, clean-netx-docs.
2231 (install-exec-local): Install the documentation if enabled.
2232 (docs): Meta-dependency for netx-docs and plugin-docs.
2233 (clean-docs): Likewise but for clean targets.
2234 (netx-docs): Build documentation for the NetX API.
2235 (clean-netx-docs): Remove the NetX docs.
2236 (plugin-docs): Build documentation for the plugin API.
2237 (clean-plugin-docs): Likewise.
2238 (bootstrap-directory): Link to javadoc binary.
2239 * acinclude.m4:
2240 (IT_FIND_JAVADOC): Find a javadoc binary, first checking
2241 user input, then the JDK and the path for 'javadoc' and
2242 'gjdoc'. Also sets JAVADOC_SUPPORTS_J_OPTIONS if it does.
2243 * configure.ac:
2244 Call IT_FIND_JAVADOC.
2245
22462010-11-25 Omair Majid <omajid@redhat.com>
2247
2248 * Makefile.am (stamps/liveconnect.stamp): Set a bootclasspath to
2249 avoid using an older netx.jar during compilation.
2250
22512010-11-24 Omair Majid <omajid@redhat.com>
2252
2253 * netx/net/sourceforge/jnlp/util/FileUtils.java
2254 (createRestrictedDirectory): New method. Creates a directory with reduced
2255 permissions.
2256 (createRestrictedFile(File,boolean)): New method. Creates a file with reduced
2257 permissions.
2258 (createRestrictedFile(File,boolean,boolean): New method. Creates a file or
2259 a directory with reduced permissions.
2260 * netx/net/sourceforge/jnlp/Launcher.java
2261 (markNetxRunning): Do not grant unnecessary file permissions.
2262 * netx/net/sourceforge/jnlp/runtime/Boot.java: Remove umask from
2263 help message.
2264 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
2265 (activateNative): Create file with proper permissions.
2266 (getNativeDir): Create directory with proper permissions.
2267 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
2268 (initializeStreams): Create files with proper permissions.
2269 * netx/net/sourceforge/jnlp/security/CertWarningPane.java
2270 (CheckBoxListener.actionPerformed): Likewise.
2271 * netx/net/sourceforge/jnlp/security/KeyStores.java
2272 (createKeyStoreFromFile): Likewise.
2273 * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
2274 (ImportButtonListener.actionPerformed): Likewise.
2275 (RemoveButtonListener.actionPerformed): Likewise.
2276 * netx/net/sourceforge/jnlp/services/SingleInstanceLock.java
2277 (createWithPort): Likewise.
2278 (getLockFile): Likewise.
2279 * netx/net/sourceforge/jnlp/services/XExtendedService.java
2280 (openFile): Likewise.
2281 * netx/net/sourceforge/jnlp/services/XPersistenceService.java
2282 (create): Likewise.
2283 * netx/net/sourceforge/jnlp/util/XDesktopEntry.java
2284 (installDesktopLauncher): Likewise.
2285 * netx/net/sourceforge/jnlp/resources/Messages.properties: Add
2286 CantCreateFile, RCantCreateDir and RCantRename. Remove BNoBase and
2287 BOUmask.
2288
22892010-11-24 Deepak Bhole <dbhole@redhat.com>
2290
2291 Fix PR593: Increment of invalidated iterator in IcedTeaPluginUtils (patch
2292 from barbara.xxx1975@libero.it)
2293 * plugin/icedteanp/IcedTeaPluginUtils.cc
2294 (invalidateInstance): Act on the pointer directly, rather than via
2295 members.
2296 * NEWS: Updated.
2297
22982010-11-24 Deepak Bhole <dbhole@redhat.com>
2299
2300 Fix PR552: Support for FreeBSD's pthread implementation (patch from
2301 jkim@freebsd.org)
2302 * plugin/icedteanp/IcedTeaNPPlugin.cc
2303 (NP_Shutdown): Do pthread_join after cancel to avoid destroying mutexes
2304 or condition variables in use.
2305 * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
2306 (PluginRequestProcessor): Initialize mutexes dynamically.
2307 (queue_cleanup): New method. Destroy dynamically created mytexes.
2308 (queue_processor): Initialize wait_mutex and push cleanup on exit. Clean
2309 up after processing stops.
2310
23112010-11-24 Andrew John Hughes <ahughes@redhat.com>
2312
2313 * NEWS: Bring in changes from IcedTea6 1.10
2314 NEWS (now redundant there) and apply same structure
2315 as in IcedTea6.
2316
23172010-11-24 Omair Majid <omajid@redhat.com>
2318
2319 CVE-2010-3860 IcedTea System property information leak via public static
2320 * netx/net/sourceforge/jnlp/runtime/Boot.java: Remove basedir
2321 option. Add NETX_ABOUT_FILE.
2322 (run): Remove call to JNLPRuntime.setBaseDir.
2323 (getAboutFile): Use the constant in this file, not JNLPRuntime.
2324 (getBaseDir): Remove obsolete method.
2325 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Remove
2326 baseDir, USER, HOME_DIR, NETXRC_FILE, NETX_DIR, SECURITY_DIR,
2327 CERTFICIATES_FILE, JAVA_HOME_DIR, NETX_ABOUT_FILE.
2328 (initialize): Do not set baseDir.
2329 (getBaseDir): Remove method.
2330 (setBaseDir): Likewise.
2331 (getDefaultBaseDir): Likewise.
2332 (getProperties): Likewise.
2333 * netx/net/sourceforge/jnlp/security/SecurityUtil.java
2334 (getTrustedCertsFilename): Delegate to
2335 KeyStores.getKeyStoreLocation.
2336 * plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java
2337 (PluginAppletSecurityContext): Remove call to obsolete method.
2338
23392010-11-24 Omair Majid <omajid@redhat.com>
2340
2341 Fix PR592.
2342 * netx/net/sourceforge/jnlp/util/XDesktopEntry.java
2343 (getContentsAsReader): Sanitize information before adding to desktop file.
2344 (sanitize): New method. Ensure that there are no newlines in input.
2345
23462010-11-24 Omair Majid <omajid@redhat.com>
2347
2348 * netx/net/sourceforge/jnlp/resources/Messages.properties: Add
2349 CVCertificateType.
2350 * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java: Use
2351 CVCertificateType instead of hardcoded string.
2352
23532010-11-24 Omair Majid <omajid@redhat.com>
2354
2355 * netx/net/sourceforge/jnlp/SecurityDesc.java: Add grantAwtPermissions.
2356 (SecurityDesc): Set grantAwtPermissions.
2357 (getSandboxPermissions): Use grantAwtPermissions to determine whether to
2358 grant permissions.
2359
23602010-11-24 Matthias Klose <doko@ubuntu.com>
2361
2362 * Makefile.am (javaws.desktop): Search javaws.desktop.in in $(srcdir).
2363
23642010-11-24 Matthias Klose <doko@ubuntu.com>
2365
2366 * Makefile.am (LAUNCHER_LINK): Don't explicitely link with -lc,
2367 link with -pthread instead of -lpthread.
2368 (LAUNCHER_FLAGS): Add -pthread.
2369
23702010-11-24 Chris Coulson <chris.coulson@canonical.com>
2371
2372 * Makefile.am (pluginappletviewer, javaws):
2373 Fix linking with --as-needed.
2374
23752010-11-23 Omair Majid <omajid@redhat.com>
2376
2377 * netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
2378 Add KEY_PROXY_TYPE, KEY_PROXY_SAME, KEY_PROXY_AUTO_CONFIG_URL,
2379 KEY_PROXY_BYPASS_LIST, KEY_PROXY_BYPASS_LOCAL, KEY_PROXY_HTTP_HOST,
2380 KEY_PROXY_HTTP_PORT, KEY_PROXY_HTTPS_HOST, KEY_PROXY_HTTPS_PORT,
2381 KEY_PROXY_FTP_HOST, KEY_PROXY_FTP_PORT, KEY_PROXY_SOCKS4_HOST,
2382 KEY_PROXY_SOCKS4_PORT, and KEY_PROXY_OVERRIDE_HOSTS.
2383 (loadDefaultProperties): Use the new constants.
2384 * netx/net/sourceforge/jnlp/runtime/JNLPProxySelector.java: New
2385 class.
2386 (JNLPProxySelector): New method.
2387 (parseConfiguration): New method. Initializes this object by
2388 querying the configuration.
2389 (getHost): New method.
2390 (getPort): New method.
2391 (connectFailed): New method.
2392 (select): New method. Returns a list of appropriate proxies to use
2393 for a given uri.
2394 (inBypassList): New method. Return true if the host in the URI
2395 should be bypassed for proxy purposes.
2396 (isLocalHost): New method.
2397 (getFromConfiguration): New method. Finds a proxy based on
2398 configuration.
2399 (getFromPAC): New method.
2400 (getFromBrowser): New method.
2401 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
2402 (initialize): Install proxy selector and authenticator.
2403 * plugin/icedteanp/java/sun/applet/PluginMain.java
2404 (init): Do not install authenticator.
2405 (CustomAuthenticator): Moved to...
2406 * netx/net/sourceforge/jnlp/security/JNLPAuthenticator.java: Here.
2407 * plugin/icedteanp/java/sun/applet/PasswordAuthenticationDialog.java
2408 Moved to...
2409 * netx/net/sourceforge/jnlp/security
2410 /PasswordAuthenticationDialog.java: Here.
2411 * plugin/icedteanp/java/sun/applet/PluginProxySelector.java: Extend
2412 JNLPProxySelector.
2413 (select): Renamed to...
2414 (getFromBrowser): New method.
2415
24162010-11-19 Omair Majid <omajid@redhat.com>
2417
2418 * Makefile.am (EXTRA_DIST): Replace javaws.desktop with
2419 javaws.desktop.in. (all-local): Add javaws.desktop. (clean-local):
2420 Add dependency on clean-desktop-files. (.PHONY): Add clean-desktop-
2421 files. (clean-desktop-files): New target. (javaws.desktop): New
2422 target. Use the absolute path to javaws binary in the Exec= line to
2423 create the javaws.desktop file.
2424 * javaws.desktop: Renamed to...
2425 * javaws.desktop.in: New file. Does not contain Encoding key. Value
2426 for Icon does not contain extension.
2427 * netx/net/sourceforge/jnlp/util/XDesktopEntry.java
2428 (JAVA_ICON_NAME): Set to icon name without the extension.
2429
24302010-11-18 Omair Majid <omajid@redhat.com>
2431
2432 * netx/net/sourceforge/jnlp/SecurityDesc.java: Remove window banner
2433 permissions from sandboxPermissions and j2eePermissions.
2434 (getSandBoxPermissions): Dynamically add window banner permissions
2435 if allowed by configuration.
2436 * netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
2437 Add KEY_SECURITY_PROMPT_USER,
2438 KEY_SECURITY_ALLOW_HIDE_WINDOW_WARNING,
2439 KEY_SECURITY_PROMPT_USER_FOR_JNLP, and
2440 KEY_SECURITY_INSTALL_AUTHENTICATOR.
2441 (loadDefaultProperties): Use the new constants.
2442 * netx/net/sourceforge/jnlp/security/SecurityWarning.java
2443 (showAccessWarningDialog): Check if the user should be prompted
2444 before prompting the user.
2445 (showNotAllSignedWarningDialog): Likewise.
2446 (showCertWarningDialog): Likewise.
2447 (showAppletWarning): Likewise.
2448 (shouldPromptUser): New method. Check if configuration allows
2449 showing user prompts.
2450 * netx/net/sourceforge/jnlp/services/ServiceUtil.java
2451 (checkAccess(AccessType,Object...)): Clarify javadocs.
2452 (checkAccess(ApplicationInstance,AccessType,Object...)): Clarify
2453 javadocs. Only prompt the user if showing JNLP prompts is ok.
2454 (shouldPromptUser): New method. Returns true if configuration allows
2455 for showing JNLP api prompts.
2456 * plugin/icedteanp/java/sun/applet/PluginMain.java
2457 (init): Only install custom authenticator if allowed by
2458 configuration.
2459
24602010-11-18 Omair Majid <omajid@redhat.com>
2461
2462 * netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
2463 Add KEY_ENABLE_LOGGING.
2464 (loadDefaultProperties): Use KEY_ENABLE_LOGGING.
2465 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Add
2466 redirectStreams, STDERR_FILE and STDOUT_FILE.
2467 (initialize): Call initializeStreams.
2468 (initializeStreams): New method. Redirects or duplicates stdout and
2469 stderr to the logging files as required.
2470 (setRedirectStreams): New method. Sets whether stdout/stderr streams
2471 should be redirected.
2472 * plugin/icedteanp/java/sun/applet/PluginMain.java:
2473 (PluginMain): Move code for creating logging files into JNLPRuntime.
2474 Call JNLPRuntime.setRedirectStreams to redirect streams.
2475 (TeeOutputStream): Move to its own class.
2476 * netx/net/sourceforge/jnlp/util/TeeOutputStream.java: Moved from
2477 PluginMain into this new class.
2478
24792010-11-18 Omair Majid <omajid@redhat.com>
2480
2481 * NEWS: Update with new interfaces
2482 * netx/javax/jnlp/DownloadService2.java: New interface.
2483 (ResourceSpec): New class.
2484 (ResourceSpec.ResourceSpec): New method.
2485 (ResourceSpec.getExpirationDate): New method.
2486 (ResourceSpec.getLastModified): New method.
2487 (ResourceSpec.getSize): New method.
2488 (ResourceSpec.getType): New method.
2489 (ResourceSpec.getUrl): New method.
2490 (ResourceSpec.getVersion): New method.
2491 (getCachedResources): New method.
2492 (getUpdateAvaiableReosurces): New method.
2493 * netx/javax/jnlp/IntegrationService.java: New interface.
2494 (hasAssociation): New method.
2495 (hasDesktopShortcut): New method.
2496 (hasMenuShortcut): New method.
2497 (removeAssociation): New method.
2498 (removeShortcuts): New method.
2499 (requestAssociation): New method.
2500 (requestShortcut): New method.
2501
25022010-11-16 Andrew Su <asu@redhat.com>
2503
2504 * netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
2505 Corrected typo in one of the default values.
2506
25072010-11-11 Omair Majid <omajid@redhat.com>
2508
2509 * netx/net/sourceforge/jnlp/runtime/Boot.java (main): Move trust
2510 manager initialization code into JNLPRuntime.initialize.
2511 * plugin/icedteanp/java/sun/applet/PluginMain.java
2512 (init): Likewise.
2513 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (initialize):
2514 Set the default SSL TrustManager here.
2515 * netx/net/sourceforge/jnlp/security/CertWarningPane.java
2516 (CheckBoxListener.actionPerformed): Add this certificate into
2517 user's trusted certificate store.
2518 * netx/net/sourceforge/jnlp/tools/KeyTool.java
2519 (addToKeyStore(File,KeyStore)): Move to CertificateUtils.
2520 (addToKeyStore(X509Certificate,KeyStore)): Likewise.
2521 (dumpCert): Likewise.
2522 * netx/net/sourceforge/jnlp/security/CertificateUtils.java: New
2523 class.
2524 (addToKeyStore(File,KeyStore)): Moved from KeyTool.
2525 (addToKeyStore(X509Certificate,KeyStore)): Likewise.
2526 (dumpCert): Likewise.
2527 (inKeyStores): New method.
2528 * netx/net/sourceforge/jnlp/security/HttpsCertVerifier.java
2529 (getRootInCacerts): Check all available CA store to check if
2530 root is in CA certificates.
2531 * netx/net/sourceforge/jnlp/security/KeyStores.java
2532 (getKeyStore(Level,Type,boolean)): Add security check.
2533 (getClientKeyStores): New method.
2534 * netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java
2535 (VariableX509TrustManager): Initialize multiple CA, certificate and
2536 client trust managers.
2537 (checkClientTrusted): Check all the client TrustManagers if
2538 certificate is trusted.
2539 (checkAllManagers): Check multiple CA certificates and trusted
2540 certificates to determine if the certificate chain can be trusted.
2541 (isExplicitlyTrusted): Check with multiple TrustManagers.
2542 (getAcceptedIssuers): Gather results from multiple TrustManagers.
2543 * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
2544 (ImportButtonListener): Use CertificateUtils instead of KeyTool.
2545 * netx/net/sourceforge/jnlp/tools/JarSigner.java
2546 (checkTrustedCerts): Use multiple key stores to check if certificate
2547 is directly trusted and if the root is trusted.
2548
25492010-11-09 Omair Majid <omajid@redhat.com>
2550
2551 * netx/net/sourceforge/jnlp/resources/Messages.properties: Add
2552 ButAllow, ButClose, ButCopy, ButMoreInformation, ButProceed,
2553 ButRun, AlwaysAllowAction, Continue, Field, From, Name, Publisher,
2554 Value, Version, SNoAssociatedCertificate, SAlwaysTrustPublisher,
2555 SHttpsUnverified, SNotAllSignedSummary, SNotAllSignedDetail,
2556 SNotAllSignedQuestion, SCertificateDetails, SIssuer, SSerial,
2557 SMD5Fingerprint, SSHA1Fingerprint, SSignature, SSignatureAlgorithm,
2558 SSubject, SValidity, CVCertificateViewer, CVDetails, CVIssuedTo,
2559 CVExport, CVImport, CVIssuedBy, IssuedTo, CVRemove,
2560 CVRemoveConfirmMessage,CVRemoveConfirmTitle, CVUser, CVSystem,
2561 KS, KSCerts, KSJsseCerts, KSCaCerts, KSJsseCaCerts, and
2562 KSClientCerts.
2563 * netx/net/sourceforge/jnlp/security/AccessWarningPane.java
2564 (addComponents): Use localized strings.
2565 * netx/net/sourceforge/jnlp/security/CertWarningPane.java
2566 (addComponents): Likewise.
2567 * netx/net/sourceforge/jnlp/security/CertsInfoPane.java
2568 (parseCert): Likewise.
2569 (addComponents): Likewise.
2570 * netx/net/sourceforge/jnlp/security/MoreInfoPane.java
2571 (addComponents): Likewise.
2572 * netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java
2573 (addComponents): Likewise.
2574 * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java:
2575 Likewise.
2576 (addComponents): Likewise.
2577 (CertificateType.toString): Likewise.
2578 (RemoveButtonListener.actionPerformed): Likewise.
2579
25802010-11-05 Omair Majid <omajid@redhat.com>
2581
2582 * netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
2583 Add KEY_BROWSER_PATH.
2584 (loadDefaultProperties): Use KEY_BROWSER_PATH.
2585 * netx/net/sourceforge/jnlp/services/XBasicService.java
2586 (initialize): Use the browser command from the configuration.
2587 Save updates to configuration as well.
2588
25892010-11-05 Omair Majid <omajid@redhat.com>
2590
2591 * netx/net/sourceforge/jnlp/ShortcutDesc.java: Change prefixes from
2592 SHORTCUT_ to CREATE_.
2593 * netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java
2594 (addMenuAndDesktopEntries): Call shouldCreateShortcut to find out
2595 if shortcut should be created. Remove call to checkAccess which
2596 does nothing as the entire stack contains trusted classes.
2597 (shouldCreateShortcut): New method. Use the configuration to find
2598 out if a shorcut should be created, and possibly prompt the user.
2599 * netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
2600 Add KEY_CREATE_DESKTOP_SHORTCUT.
2601 (loadDefaultProperties): Use KEY_CREATE_DESKTOP_SHORTCUT.
2602
26032010-11-08 Omair Majid <omajid@redhat.com>
2604
2605 * Makefile.am (JDK_UPDATE_VERSION): Define variable.
2606
26072010-11-04 Omair Majid <omajid@redhat.com>
2608
2609 * netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
2610 Add KEY_USER_TRUSTED_CA_CERTS, KEY_USER_TRUSTED_JSSE_CA_CERTS,
2611 KEY_USER_TRUSTED_CERTS, KEY_USER_TRUSTED_JSSE_CERTS,
2612 KEY_USER_TRUSTED_CLIENT_CERTS, KEY_SYSTEM_TRUSTED_CA_CERTS,
2613 KEY_SYSTEM_TRUSTED_JSSE_CA_CERTS, KEY_SYSTEM_TRUSTED_CERTS,
2614 KEY_SYSTEM_TRUSTED_JSSE_CERTS, KEY_SYSTEM_TRUSTED_CLIENT_CERTS
2615 (loadDefaultProperties): Use the defined constants.
2616 * netx/net/sourceforge/jnlp/security/KeyStores.java: New class.
2617 (getPassword): New method. Return the default password used for
2618 KeyStores.
2619 (getKeyStore(Level,Type)): New method. Returns the appropriate
2620 KeyStore.
2621 (getKeyStore(Level,Type,String)): Likewise.
2622 (getCertKeyStores): New method. Return all the trusted certificate
2623 KeyStores.
2624 (getCAKeyStores): New method. Return all the trusted CA certificate
2625 KeyStores.
2626 (getKeyStoreLocation): New method. Return the location of the
2627 appropriate KeyStore.
2628 (toTranslatableString): New method. Return a string that can be
2629 used to create a human-readable name for the KeyStore.
2630 (toDisplayableString): New method. Return a human-readable name
2631 for the KeyStore.
2632 (createKeyStoreFromFile): New method. Creates a new KeyStore object,
2633 initializing it from the given file if possible.
2634 * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java
2635 (CertificatePane): Create two JTables. Populate the tables when
2636 done creating the user interface.
2637 (initializeKeyStore): Use the correct keystore.
2638 (addComponents): Do not read KeyStore. Create more interface
2639 elements to show the new possible KeyStores. Mark some buttons to
2640 be disabled when needed.
2641 (repopulateTable): Renamed to...
2642 (repopulateTables): New method. Read KeyStore and use the contents
2643 to create the user and system tables.
2644 (CertificateType): New class.
2645 (CertificateTypeListener): New class. Listens to JComboBox change
2646 events.
2647 (TabChangeListener): New class. Listens to new tab selections.
2648 (ImportButtonListener): Import certificates to the appropriate
2649 KeyStore.
2650 (ExportButtonListener): Find the certificate from the right table.
2651 (RemoveButtonListener): Find the certificate from the right table
2652 and right the KeyStore.
2653 (DetailsButtonListener): Find the certificate from the right table.
2654 * netx/net/sourceforge/jnlp/security/viewer/CertificateViewer.java
2655 (showCertficaiteViewer): Initialize the JNLPRuntime so the
2656 configuration gets loaded.
2657 * netx/net/sourceforge/jnlp/tools/KeyTool.java
2658 (addToKeyStore(File,KeyStore)): New method. Adds certificate from
2659 the file to the KeyStore.
2660 (addToKeyStore(X509Certificate,KeyStore)): New method. Adds a
2661 certificate to a KeyStore.
2662
26632010-11-04 Deepak Bhole <dbhole@redhat.com>
2664
2665 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java (update):
2666 Override method and implement double-buffering.
2667
26682010-10-28 Andrew John Hughes <ahughes@redhat.com>
2669
2670 * Makefile.am:
2671 (NETX_BOOTSTRAP_CLASSES): Removed.
2672 (PLUGIN_BOOTSTRAP_CLASSES): Likewise.
2673 (NETX_SUN_CLASSES): Likewise.
2674 (PLUGIN_SUN_CLASSES): Likewise.
2675 * acinclude.m4:
2676 (IT_CHECK_FOR_CLASS): Require detection
2677 of javac and java. Put test class in
2678 sun.applet to get access to some internal
2679 classes. Change test to use forName for
2680 the same reason. I expect to be able to
2681 revert this when usage of sun.applet is fixed.
2682 (IT_FIND_JAVA): Ported from IcedTea6. Change
2683 to prioritise 'java' over 'gij'.
2684 * configure.ac:
2685 Add IT_CHECK_FOR_CLASS checks for classes which
2686 are required but not found in JDKs other than
2687 Oracle-based ones. Also check for java.* classes
2688 missing from current versions of gcj but which
2689 may appear there in future.
2690
26912010-11-03 Omair Majid <omajid@redhat.com>
2692
2693 * netx/net/sourceforge/jnlp/Launcher.java
2694 (markNetxRunning): Get file name from configuration.
2695 (markNetxStopped): Likewise.
2696 * netx/net/sourceforge/jnlp/cache/CacheUtil.java
2697 (clearCache): Get cache directory from configuration.
2698 (okToClearCache): Get netx_running file from configuration.
2699 (getCacheFile): Get cache directory from configuration.
2700 (urlToPath): Change semantics to take in the full path of the
2701 directory instead of a directory under runtime.
2702 * netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
2703 Change DEPLOYMENT_DIR to ".icedtea". Add constants
2704 KEY_USER_CACHE_DIR, KEY_USER_PERSISTENCE_CACHE_DIR,
2705 KEY_SYSTEM_CACHE_DIR, KEY_USER_LOG_DIR, KEY_USER_TMP_DIR,
2706 KEY_USER_LOCKS_DIR, and KEY_USER_NETX_RUNNING_FILE.
2707 (load): Use DEPLOYMENT_DIR instead of hardcoded string.
2708 (loadDefaultProperties): Add LOCKS_DIR. Replace strings with
2709 constants. Add new default values for persistence cache directory,
2710 single instance locks directory and the netx_running file.
2711 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Remove
2712 unneeded TMP_DIR, LOCKS_DIR and NETX_RUNNING_FILE
2713 * netx/net/sourceforge/jnlp/services/SingleInstanceLock.java
2714 (getLockFile): Get locks directory from configuration.
2715 * netx/net/sourceforge/jnlp/services/XPersistenceService.java
2716 (toCacheFile): Get persistence cache directory from configuration.
2717 * netx/net/sourceforge/jnlp/util/XDesktopEntry.java
2718 (getContentsAsReader): Get cache directory from configuration.
2719 (installDesktopLauncher): Get temporary directory from
2720 configuration. Make parent directories if required.
2721 * plugin/icedteanp/java/sun/applet/JavaConsole.java
2722 (initialize): Get log directory from configuration and create the
2723 error and output files under it.
2724 * plugin/icedteanp/java/sun/applet/PluginMain.java:
2725 PLUGIN_STDERR_FILE and PLUGIN_STDOUT_FILE are now just filesnames.
2726 (PluginMain): Use configuration for finding the log directory.
2727 Initialize JNLPRuntime before creating the stderr and stdout logs.
2728
27292010-11-01 Omair Majid <omajid@redhat.com>
2730
2731 * Makefile.am (clean-IcedTeaPlugin): Only delete launcher directory if it
2732 exists.
2733
27342010-11-01 Deepak Bhole <dbhole@redhat.com>
2735
2736 PR542: Plugin fails with NPE on
2737 http://www.openprocessing.org/visuals/iframe.php?visualID=2615
2738 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
2739 (initializeResources): If cacheFile is null (JAR couldn't be downloaded),
2740 try to continue, rather than allowing the exception to cause an abort.
2741 * NEWS: Updated.
2742
27432010-11-01 Deepak Bhole <dbhole@redhat.com>
2744
2745 * plugin/docs: Added new docs folder that contains plugin documentation.
2746 * plugin/docs/MessageBusArchitecture.png: Diagram of the JS <-> Java
2747 message handling architectrure.
2748 * plugin/docs/OverallArchitecture.png: Diagram of the overall plugin
2749 architecture.
2750 * plugin/docs/java-js-wf.png: Sequence diagram showing an example
2751 LiveConnect call from an applet to JavaScript/Browser.
2752 * plugin/docs/js-java-wf.png: Sequence diagram showing an example
2753 LiveConnect call from JavaScript/Browser to an applet.
2754 * plugin/docs/npplugin_liveconnect_design.pdf: Slides with notes on the
2755 above diagrams.
2756
27572010-10-29 Omair Majid <omajid@redhat.com>
2758
2759 * netx/net/sourceforge/jnlp/JNLPFile.java: Add component.
2760 (getLaunchInfo): Modify javadoc to indicate that it does not return
2761 the ComponentDesc.
2762 (getComponent): Return component instead of launchType.
2763 (isComponent): Check if component is not null.
2764 (parse): Find and set component descriptor.
2765 * netx/net/sourceforge/jnlp/Parser.java
2766 (getLauncher): Remove all checks for component-desc. Allow having
2767 none of application-desc, applet-desc and installer-desc.
2768 (getComponent): Check for more than one component-desc element.
2769 Read and parse the component-desc.
2770
27712010-10-28 Omair Majid <omajid@redhat.com>
2772
2773 * netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java
2774 (showMoreInfoDialog): Make dialog modal.
2775 (showCertInfoDialog): Likewise.
2776 (showSingleCertInfoDialog): Likewise.
2777 (initDialog): Use setModality instead of setModal.
2778
27792010-10-27 Deepak Bhole <dbhole@redhat.com>
2780
2781 * plugin/icedteanp/IcedTeaNPPlugin.cc (plugin_create_applet_tag): Escape
2782 the entire applet tag, not just the params.
2783
27842010-10-27 Omair Majid <omajid@redhat.com>
2785
2786 * netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java
2787 (load): Do a security check at start. A security exception later on may
2788 accidentally reveal a filename or a system property.
2789 (save): Likewise.
2790
27912010-10-26 Omair Majid <omajid@redhat.com>
2792
2793 * netx/net/sourceforge/jnlp/Launcher.java
2794 (doPerApplicationAppContextHacks): New method. Create a new ParserDelegate
2795 to intialize the per AppContext dtd used by Swing HTML controls.
2796 (TgThread.run): Call doPerApplicationAppContextHacks.
2797 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
2798 (initialize): Call doMainAppContextHacks.
2799 (doMainAppContextHacks): New method. Create a new ParserDelegate to
2800 initialize the per AppContext dtd used by Swing HTML controls.
2801
28022010-10-26 Omair Majid <omajid@redhat.com>
2803
2804 * netx/net/sourceforge/jnlp/Launcher.java
2805 (launchApplication): Mark main method as accessible before
2806 invoking it.
2807
28082010-10-26 Omair Majid <omajid@redhat.com>
2809
2810 * netx/net/sourceforge/jnlp/Parser.java: Add 1.1, 1.2, 1.3 and
2811 1.4 to supportedVersions.
2812
28132010-10-26 Omair Majid <omajid@redhat.com>
2814
2815 * netx/net/sourceforge/jnlp/runtime/Translator.java
2816 (R(String)): New method.
2817
28182010-10-26 Deepak Bhole <dbhole@redhat.com>
2819
2820 * netx/net/sourceforge/jnlp/PluginBridge.java: Trim whitespace from jar
2821 names in the constructor.
2822
28232010-10-26 Deepak Bhole <dbhole@redhat.com>
2824
2825 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
2826 Replace all status.put calls with calls to updateStatus().
2827 (createPanel): Create a frame with a 0 handle. Use the new
2828 waitForAppletInit function to wait until applet is ready.
2829 (reFrame): Re-order code so that the panel is never parentless.
2830 (handleMessage): Re-wrote message processing to handle destroy calls
2831 correctly, checking for them more often to prevent a frame from popping up
2832 if the tab/page is closed before loading finishes. Decode special
2833 characters in the message.
2834 (updateStatus): New function. Updates the status for the given instance if
2835 applicable.
2836 (destroyApplet): New function. Destroys a given applet and frees related
2837 resources.
2838 (waitForAppletInit): New function. Blocks until applet is initialized.
2839 (parse): Remove part that decoded the params. Decoding is now done earlier
2840 in handleMessage().
2841 * plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java:
2842 (getPriorityStrIfPriority): Mark destroy messages as priority.
2843 (bringPriorityMessagesToFront): Scans the queue for priority messages and
2844 brings them to the front.
2845 (run): If the queue is not empty and there are no workers left, run
2846 bringPriorityMessagesToFront() and retry.
2847
28482010-10-26 Andrew Su <asu@redhat.com>
2849
2850 * Makefile.am: Split rm -rf into rm -f and rmdir for launcher
2851 directory.
2852
28532010-10-25 Omair Majid <omajid@redhat.com>
2854
2855 * netx/net/sourceforge/jnlp/ShortcutDesc.java:
2856 Add SHORTCUT_NEVER, SHORTCUT_ALWAYS, SHORTCUT_ASK_USER,
2857 SHORTCUT_ASK_USER_IF_HINTED, SHORTCUT_ALWAYS_IF_HINTED,
2858 SHORTCUT_DEFAULT.
2859 * netx/net/sourceforge/jnlp/resources/Messages.properties:
2860 Add RConfigurationError.
2861 * netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
2862 New file.
2863 (ConfigValue): New class. Holds a configuration value.
2864 (DeploymentConfiguration): New method.
2865 (load): New method.
2866 (getProperty): Likewise.
2867 (getAllPropertyNames): Likewise.
2868 (setProperty): Likewise.
2869 (loadDefaultProperties): Likewise.
2870 (findSystemConfigFile): Likewise.
2871 (loadSystemConfiguration): Likewise.
2872 (loadProperties): Likewise.
2873 (save): Likewise.
2874 (parsePropertiesFile): Likewise.
2875 (mergeMaps): Likewise.
2876 (dumpConfiguration): Likewise.
2877 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java:
2878 (initialize): Load configuration.
2879 (getConfiguration): Return the configuration.
2880
28812010-10-25 Omair Majid <omajid@redhat.com>
2882
2883 * net/sourceforge/jnlp/ExtensionDesc.java: Import Translator.R and use
2884 that.
2885 * net/sourceforge/jnlp/JNLPFile.java: Import Translator.R.
2886 (R): Remove.
2887 * net/sourceforge/jnlp/JREDesc.java: Import Translator.R.
2888 (checkHeapSize): Use R instead of JNLPRuntime.getMessage.
2889 * net/sourceforge/jnlp/Launcher.java: Import Translator.R.
2890 (R): Remove.
2891 * net/sourceforge/jnlp/Parser.java: Import Translator.R
2892 (R(String)): Remove.
2893 (R(String,Object)): Remove.
2894 (R(String,Object,Object)): Remove.
2895 (R(String,Object,Object,Object)): Remove.
2896 * net/sourceforge/jnlp/cache/CacheEntry.java: Import Translator.R
2897 (CacheEntry): Use R instead of JNLPRuntime.getMessage.
2898 * net/sourceforge/jnlp/cache/CacheUtil.java: Import Translator.R
2899 (R(String)): Remove.
2900 (R(String,Object)): Remove.
2901 * net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java: Import
2902 Translator.R and use that instead of JNLPRuntime.getMessage.
2903 * net/sourceforge/jnlp/runtime/Boot.java: Import Translator.R.
2904 (R(String)): Remove.
2905 (R(String, Object)): Remove.
2906 (run): Use R instead of JNLPRuntime.getMessage.
2907 * net/sourceforge/jnlp/runtime/JNLPClassLoader.java: Import Translator.R.
2908 (R): Remove.
2909 * net/sourceforge/jnlp/runtime/JNLPSecurityManager.java: Import
2910 Translator.R. Use it instead of JNLPRuntime.getMeesage.
2911 (R): Remove.
2912 * net/sourceforge/jnlp/security/AccessWarningPane.java: Import
2913 Translator.R.
2914 * net/sourceforge/jnlp/security/CertWarningPane.java: Likewise.
2915 * net/sourceforge/jnlp/security/HttpsCertVerifier.java: Import
2916 Translator.R.
2917 (R(String)): Remove.
2918 (R(String,String,String)): Remove.
2919 * net/sourceforge/jnlp/security/MoreInfoPane.java: Import Translator.R.
2920 * net/sourceforge/jnlp/security/SecurityDialogPanel.java
2921 (R(String)): Remove.
2922 (R(String,Object)): Remove.
2923 * net/sourceforge/jnlp/services/ServiceUtil.java
2924 (R): Remove.
2925 * net/sourceforge/jnlp/services/SingleInstanceLock.java: Import
2926 Translator.R
2927 (R(String)): Remove.
2928 (R(String,Object)): Remove.
2929 * net/sourceforge/jnlp/tools/JarSigner.java: Import Translator.R.
2930 (R): Remove.
2931 * net/sourceforge/jnlp/runtime/Translator.java: New file
2932 (R(String,Object...)): New method.
2933
29342010-10-25 Andrew Su <asu@redhat.com>
2935
2936 * Makefile.am:
2937 (clean-IcedTeaPlugin): Remove launcher folder first.
2938 (clean-plugin): Removed called to remove launcher folder
2939
29402010-10-22 Omair Majid <omajid@redhat.com>
2941
2942 * netx/net/sourceforge/jnlp/NetxPanel.java
2943 (runLoader): Do not initialize JNLPRuntime here.
2944 (createAppletThreads): Initialize JNLPRuntim here.
2945 * netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
2946 Switch from SecurityWarningDialog.AccessType to
2947 SecurityWarning.AccessType.
2948 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
2949 (getInstance(JNLPFile,UpdatePolicy)): Switch to SecurityWarning.
2950 (initializeResources): Likewise.
2951 (checkTrustWithUser): Likewise.
2952 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java:
2953 Add securityDialogMesasgeHandler.
2954 (initialize): Set System look and feel. Start security thread.
2955 (startSecurityThread): New method. Starts a thread to show security
2956 dialogs.
2957 (getSecurityDialogHandler): Returns the securityDialogMessageHandler.
2958 * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java:
2959 Switch from SecurityWarningDialog.AccessType to
2960 SecurityWarning.AccessType.
2961 (checkAwtEventQueueAccess): New method. Skeleton code for allowing
2962 EventQueue acccess to applets.
2963 * netx/net/sourceforge/jnlp/security/AccessWarningPane.java:
2964 Switch from SecurityWarningDialog.AccessType to
2965 SecurityWarning.AccessType.
2966 * netx/net/sourceforge/jnlp/security/CertWarningPane.java:
2967 Likewise.
2968 * netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java:
2969 Move DialogType and AccessType to SecurityWarning.
2970 (SecurityWarningDialog(DialogType,AccessType,JNLPFile,CertVerifier,
2971 X509Certificate,Object[])): New method. The catch-all construction.
2972 (SecurityWarningDialog(DialogType,AccessType,JNLPFile): Delegate to
2973 the new constructor.
2974 (SecurityWarningDialog(DialogType,AccessType,JNLPFile,CertVerifier)):
2975 Likewise.
2976 (SecurityWarningDialog(DialogType,AccessType,CertVerifier)): Likewise.
2977 (SecurityWarningDialog(DialogType,AccessType,JNLPFile,Object[])):
2978 Likewise.
2979 (SecurityWarningDialog(DialogType,X509Certificate)): Likewise.
2980 (showAccessWarningDialog(AccessType,JNLPFile)): Move to SecurityWarning
2981 class.
2982 (showAccessWarningDialog(AccessType,JNLPFile,Object[])): Likewise.
2983 (showNotAllSignedWarningDialog(JNLPFile)): Likewise.
2984 (showCertWarningDialog(AccessType,JNLPFile,CertVerifier)): Likewise.
2985 (showAppletWarning): Likewise.
2986 (initDialog): Make dialog non modal and remove window closing listener.
2987 (getValue): Make public.
2988 (dispose): New method. Notify listeners.
2989 (notifySelectionMade): New method. Notify listeners that user has made
2990 a decision.
2991 (addActionListener): New method. Add a listener to be notified when
2992 user makes a decision about this security warning.
2993 * netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java:
2994 Switch from SecurityWarningDialog.AccessType to
2995 SecurityWarning.AccessType.
2996 * netx/net/sourceforge/jnlp/services/ServiceUtil.java: Likewise.
2997 * netx/net/sourceforge/jnlp/services/XClipboardService.java: Likewise.
2998 * netx/net/sourceforge/jnlp/services/XExtendedService.java: Likewise.
2999 * netx/net/sourceforge/jnlp/services/XFileOpenService.java: Likewise.
3000 * netx/net/sourceforge/jnlp/services/XFileSaveService.java: Likewise.
3001 * netx/net/sourceforge/jnlp/security/SecurityDialogMessage.java:
3002 New class.
3003 * netx/net/sourceforge/jnlp/security/SecurityDialogMessageHandler.java:
3004 New class.
3005 (run): New method. Runs the security message loop.
3006 (handleMessage): New method. Handles a SecurityDialogMessage to show a
3007 security warning.
3008 (postMessage): New method. Posts a message to sthe security message
3009 queue.
3010 * netx/net/sourceforge/jnlp/security/SecurityWarning.java: New class.
3011 Move AccessType and DialogType from SecurityWarningDialog to here.
3012 (showAccessWarningDialog): Moved from SecurityWarningDialog to here.
3013 (showAccessWarningDialog): Moved from SecurityWarningDialog to here.
3014 Modified to post messages to the security queue instead of showing a
3015 SecurityWarningDialog directly.
3016 (showNotAllSignedWarningDialog): Likewise.
3017 (showCertWarningDialog): Likewise.
3018 (showAppletWarning): Likewise.
3019 (getUserReponse): New method. Posts a message to the security thread and
3020 blocks until it gets a response from the user.
3021
30222010-10-20 Andrew John Hughes <ahughes@redhat.com>
3023
3024 * netx/javax/jnlp/ServiceManager.java:
3025 (lookupTable): Add generic types.
3026 * netx/net/sourceforge/jnlp/AppletDesc.java:
3027 (parameters): Likewise.
3028 (AppletDesc(String,String,URL,int,int,Map)): Likewise.
3029 (getParameters()): Likewise.
3030 * netx/net/sourceforge/jnlp/ApplicationDesc.java:
3031 (getArguments()): Remove redundant cast.
3032 (addArgument(String)): Add generic typing.
3033 * netx/net/sourceforge/jnlp/ExtensionDesc.java:
3034 (extToPart): Add generic types.
3035 (eagerExtParts): Likewise.
3036 * netx/net/sourceforge/jnlp/InformationDesc.java:
3037 (info): Likewise.
3038 (getIcons(Object)): Add generic typing.
3039 (getAssociations()): Likewise.
3040 (getRelatedContents()): Likewise.
3041 (getItem(Object)): Likewise.
3042 (getItems(Object)): Likewise.
3043 (addItem(String,Object)): Likewise.
3044 * netx/net/sourceforge/jnlp/JNLPFile.java:
3045 (resources): Likewise.
3046 (InformationDesc.getItems(Object)): Likewise.
3047 (getResources(Class)): Likewise.
3048 * netx/net/sourceforge/jnlp/LaunchException.java:
3049 (getCauses()): Likewise.
3050 * netx/net/sourceforge/jnlp/Launcher.java:
3051 (launchApplication(JNLPFile)): Likewise.
3052 * netx/net/sourceforge/jnlp/NetxPanel.java:
3053 (NetxPanel(URL,Hashtable)): Likewise.
3054 (NetxPanel(URL,Hashtable,boolean)): Likewise.
3055 * netx/net/sourceforge/jnlp/Node.java:
3056 (getChildNodes()): Likewise.
3057 * netx/net/sourceforge/jnlp/Parser.java:
3058 (getResources(Node,boolean)): Likewise.
3059 (getInfo(Node)): Likewise.
3060 (getInformationDesc(Node)): Likewise.
3061 (getApplet(Node)): Likewise.
3062 (getApplication(Node)): Likewise.
3063 (splitString(String)): Likewise.
3064 (getLocales(Node)): Likewise.
3065 (getChildNodes(Node,String)): Likewise.
3066 * netx/net/sourceforge/jnlp/PluginBridge.java:
3067 Fix variable naming and add generic types.
3068 (cacheJars): Changed from cache_jars.
3069 (cacheExJars): Changed from cache_ex-jars.
3070 (atts): Add generic typing.
3071 (PluginBridge(URL,URL,String,String,int,int,Hashtable)): Likewise.
3072 (getInformation(Locale)): Likewise.
3073 (getResources(Locale,String,String)): Likewise.
3074 (getJARs()): Avoid excessive copying; filtering already performed
3075 by getResources in JNLPFile.
3076 * netx/net/sourceforge/jnlp/ResourcesDesc.java:
3077 (resources): Add generic typing.
3078 (getJREs()): Likewise.
3079 (getJARs()): Likewise.
3080 (getJARs(String)): Likewise.
3081 (getExtensions()): Likewise.
3082 (getPackages()): Likewise.
3083 (getPackages(String)): Likewise.
3084 (getProperties()): Likewise.
3085 (getPropertiesMap()): Likewise.
3086 (getResources(Class)): Make generic.
3087 * netx/net/sourceforge/jnlp/Version.java:
3088 (matches(Version)): Add generic types.
3089 (matchesAny(Version)): Likewise.
3090 (matchesSingle(String)): Likewise.
3091 (matches(String,String)): Likewise.
3092 (equal(List,List)): Likewise.
3093 (greater(List,List)): Likewise.
3094 (compare(String,String)): Use Integer.valueOf.
3095 (normalize(List,int)): Add generic types, using
3096 a List of lists rather than an array of lists.
3097 (getVersionStrings()): Add generic types.
3098 (getParts()): Likewise.
3099 * netx/net/sourceforge/jnlp/cache/CacheUtil.java:
3100 (waitForResources(ApplicationInstance,ResourceTracker,
3101 URL,String)): Likewise.
3102 * netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java:
3103 (getListener(ApplicatonInstance,String,URL)): Use setVisible instead
3104 of show().
3105 (disposeListener(DownloadServiceListener)): Use setVisible instead
3106 of hide().
3107 (DownloadPanel.urls): Add generic typing.
3108 (DownloadPanel.panels): Likewise.
3109 (DownloadPanel.update(URL,String,long,long,int)): Fix formatting.
3110 Add generic types.
3111 * netx/net/sourceforge/jnlp/cache/Resource.java:
3112 (resources): Add generic typing.
3113 (trackers): Likewise.
3114 (getResource(URL,Version,UpdatePolicy)): Use generic types.
3115 (getTracker()): Likewise.
3116 (addTracker(ResourceTracker)): Likewise.
3117 (fireDownloadEvent()): Likewise.
3118 * netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
3119 (prefetchTrackers): Add generic typing.
3120 (queue): Likewise.
3121 (active): Likewise.
3122 (resources): Likewise.
3123 (listeners): Likewise.
3124 (fireDownloadEvent(Resource)): Remove unneeded cast.
3125 (getPrefetch()): Use generic typing.
3126 (selectByFlag(List,int,int)): Likewise.
3127 (getResource(URL)): Likewise.
3128 * netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java:
3129 (weakClips): Add generic types.
3130 (destroy()): Use generic typing.
3131 (getApplets()): Likewise.
3132 (getStreamKeys()): Likewise.
3133 * netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
3134 (weakWindows): Add generic types.
3135 (installEnvironment()): Likewise.
3136 (destroy()): Remove redundant cast.
3137 * netx/net/sourceforge/jnlp/runtime/Boot.java:
3138 Extend PrivilegedAction<Void>.
3139 (run()): Add generic typing.
3140 (getOptions(String)): Likewise.
3141 * netx/net/sourceforge/jnlp/runtime/Boot13.java:
3142 (main(String[]): Likewise.
3143 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
3144 Fix formatting.
3145 (urlToLoader): Add generic types.
3146 (resourcePermissions): Likewise.
3147 (available): Likewise.
3148 (jarEntries): Likewise.
3149 (getInstance(JNLPFile,UpdatePolicy)): Remove redundant cast.
3150 (getInstance(URL,String,Version,UpdatePolicy)): Likewise.
3151 (initializeExtensions()): Add generic types.
3152 (initializePermissions()): Likewise.
3153 (initializeResources()): Likewise.
3154 (getPermissions(CodeSource)): Likewise.
3155 (fillInPartJars(List)): Likewise.
3156 (activateJars(List)): Likewise.
3157 (loadClass(String)): Likewise. Suppress warnings due to
3158 sun.misc.JarIndex usage.
3159 (findResources(String)): Mark as overriding. Add generic
3160 types.
3161 (getExtensionName()): Add @Deprecated annotation.
3162 (getExtensionHREF()): Likewise.
3163 * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java:
3164 (weakWindows): Add generic typing.
3165 (weakApplications): Likewise.
3166 (getApplication(Window)): Remove redundant casts. Add w,
3167 which is window cast to Window.
3168 * netx/net/sourceforge/jnlp/services/ServiceUtil.java:
3169 (invoke(Object,Method,Object[])): Use generic types.
3170 * netx/net/sourceforge/jnlp/services/XPersistenceService.java:
3171 (getNames(URL)): Likewise.
3172 * netx/net/sourceforge/jnlp/tools/JarSigner.java:
3173 (verifyJars(List,ResourceTracker)): Remove redundant cast.
3174 * netx/net/sourceforge/jnlp/util/WeakList.java:
3175 Redesign as a generic type.
3176 (refs): Add generic types.
3177 (deref(WeakReference)): Likewise.
3178 (get(int)): Likewise.
3179 (set(int,Object)): Likewise.
3180 (add(int,E)): Likewise.
3181 (remove()): Likewise.
3182 (hardList()): Likewise.
3183 * netx/net/sourceforge/nanoxml/XMLElement.java:
3184 (attributes): Add generic typing.
3185 (children): Likewise.
3186 (entities): Likewise.
3187 (XMLElement()): Use generic types.
3188 (XMLElement(Hashtable): Likewise.
3189 (resolveEntity(StringBuffer)): Remove redundant cast.
3190
31912010-10-20 Omair Majid <omajid@redhat.com>
3192
3193 * AUTHORS: Add Francis Kung, Andrew Su, Joshua Sumali, Mark Wielaard and
3194 Man Lung Wong. Add link to forked Netx project.
3195
31962010-10-20 Matthias Klose <doko@ubuntu.com>
3197
3198 * AUTHORS: Add myself.
3199
32002010-10-20 Andrew Su <asu@redhat.com>
3201
3202 * PluginBridge.java:
3203 (PluginBridge): Added parsing for jnlp_href, and reading the jnlp file
3204 for applet parameters.
3205
32062010-10-20 Matthias Klose <doko@ubuntu.com>
3207
3208 * Makefile.am (stamps/extra-class-files.stamp): Fix -sourcepath.
3209
32102010-10-20 Omair Majid <omajid@redhat.com>
3211
3212 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
3213 (initializeResources): Do not perform url encoding on the file url. Stay
3214 consistent with the unencoded urls used in getPermissions.
3215
32162010-10-20 Omair Majid <omajid@redhat.com>
3217
3218 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
3219 (JNLPClassLoader): Call installShutdownHooks.
3220 (installShutdownHooks): New method. Installs a shutdown hook to
3221 recursively delete the contents of nativeDir.
3222 (activateNative): Only create a nativeDir if there are native
3223 libraries.
3224
32252010-10-19 Deepak Bhole <dbhole@redhat.com>
3226
3227 * Makefile.am:
3228 ($(NETX_DIR)/launcher/javaws): Use $(NETX_DIR).
3229
32302010-10-19 Deepak Bhole <dbhole@redhat.com>
3231
3232 * Makefile.am:
3233 (NETX_DIR): New variable representing the NetX build dir.
3234 (NETX_LAUNCHER_OBJECTS): Prefix with $(NETX_DIR).
3235 (LAUNCHER_LINK): Fixed escaping of ORIGIN to the rpath argument.
3236 (all-local): Fix javaws launcher path.
3237 (install-exec-local): Likewise, and use $(NETX_DIR) for NetX classes.jar.
3238 (clean-plugin): Remove launcher.
3239 (liveconnect): Use NETX_DIR in classpath.
3240 (netx): Use NETX_DIR throughout.
3241 (netx-dist): Likewise.
3242 (clean-netx): Likewise.
3243 ($(NETX_DIR)/launcher/%.o)): Likewise.
3244 * launcher/jni_md.h: Imported from OpenJDK.
3245
32462010-10-20 Matthias Klose <doko@ubuntu.com>
3247
3248 * Makefile.am: Fix build with builddir != srcdir.
3249
32502010-10-19 Andrew John Hughes <ahughes@redhat.com>
3251
3252 * Makefile.am:
3253 (PLUGIN_LAUNCHER_OBJECTS): Do prefixing once.
3254 (NETX_LAUNCHER_OBJECTS): Likewise for NetX.
3255 (pluginappletviewer): Use PLUGIN_LAUNCHER_OBJECTS.
3256 (javaws): Use NETX_LAUNCHER_OBJECTS.
3257 * configure.ac: Re-enable foreign (I want to use
3258 GNU make!)
3259 * README: Use gmake not make.
3260
32612010-10-19 Andrew John Hughes <ahughes@redhat.com>
3262
3263 * .hgignore,
3264 * Makefile.am,
3265 * acinclude.m4,
3266 * autogen.sh,
3267 * configure.ac,
3268 * extra/net/sourceforge/jnlp/about/HTMLPanel.java,
3269 * extra/net/sourceforge/jnlp/about/Main.java,
3270 * extra/net/sourceforge/jnlp/about/resources/about.html,
3271 * extra/net/sourceforge/jnlp/about/resources/applications.html,
3272 * extra/net/sourceforge/jnlp/about/resources/notes.html,
3273 * javac.in,
3274 * javaws.desktop: Imported from IcedTea6.
3275 * launcher/java.c,
3276 * launcher/java.h,
3277 * launcher/java_md.c,
3278 * launcher/java_md.h,
3279 * launcher/jli_util.h,
3280 * launcher/jni.h,
3281 * launcher/jvm.h,
3282 * launcher/jvm_md.h,
3283 * launcher/manifest_info.h,
3284 * launcher/splashscreen.h,
3285 * launcher/splashscreen_stubs.c,
3286 * launcher/version_comp.h,
3287 * launcher/wildcard.h: Imported from OpenJDK.
3288 * netx/javaws.1,
3289 * netx/javax/jnlp/BasicService.java,
3290 * netx/javax/jnlp/ClipboardService.java,
3291 * netx/javax/jnlp/DownloadService.java,
3292 * netx/javax/jnlp/DownloadServiceListener.java,
3293 * netx/javax/jnlp/ExtendedService.java,
3294 * netx/javax/jnlp/ExtensionInstallerService.java,
3295 * netx/javax/jnlp/FileContents.java,
3296 * netx/javax/jnlp/FileOpenService.java,
3297 * netx/javax/jnlp/FileSaveService.java,
3298 * netx/javax/jnlp/JNLPRandomAccessFile.java,
3299 * netx/javax/jnlp/PersistenceService.java,
3300 * netx/javax/jnlp/PrintService.java,
3301 * netx/javax/jnlp/ServiceManager.java,
3302 * netx/javax/jnlp/ServiceManagerStub.java,
3303 * netx/javax/jnlp/SingleInstanceListener.java,
3304 * netx/javax/jnlp/SingleInstanceService.java,
3305 * netx/javax/jnlp/UnavailableServiceException.java,
3306 * netx/net/sourceforge/jnlp/AppletDesc.java,
3307 * netx/net/sourceforge/jnlp/ApplicationDesc.java,
3308 * netx/net/sourceforge/jnlp/AssociationDesc.java,
3309 * netx/net/sourceforge/jnlp/ComponentDesc.java,
3310 * netx/net/sourceforge/jnlp/DefaultLaunchHandler.java,
3311 * netx/net/sourceforge/jnlp/ExtensionDesc.java,
3312 * netx/net/sourceforge/jnlp/IconDesc.java,
3313 * netx/net/sourceforge/jnlp/InformationDesc.java,
3314 * netx/net/sourceforge/jnlp/InstallerDesc.java,
3315 * netx/net/sourceforge/jnlp/JARDesc.java,
3316 * netx/net/sourceforge/jnlp/JNLPFile.java,
3317 * netx/net/sourceforge/jnlp/JNLPSplashScreen.java,
3318 * netx/net/sourceforge/jnlp/JREDesc.java,
3319 * netx/net/sourceforge/jnlp/LaunchException.java,
3320 * netx/net/sourceforge/jnlp/LaunchHandler.java,
3321 * netx/net/sourceforge/jnlp/Launcher.java,
3322 * netx/net/sourceforge/jnlp/MenuDesc.java,
3323 * netx/net/sourceforge/jnlp/NetxPanel.java,
3324 * netx/net/sourceforge/jnlp/Node.java,
3325 * netx/net/sourceforge/jnlp/PackageDesc.java,
3326 * netx/net/sourceforge/jnlp/ParseException.java,
3327 * netx/net/sourceforge/jnlp/Parser.java,
3328 * netx/net/sourceforge/jnlp/PluginBridge.java,
3329 * netx/net/sourceforge/jnlp/PropertyDesc.java,
3330 * netx/net/sourceforge/jnlp/RelatedContentDesc.java,
3331 * netx/net/sourceforge/jnlp/ResourcesDesc.java,
3332 * netx/net/sourceforge/jnlp/SecurityDesc.java,
3333 * netx/net/sourceforge/jnlp/ShortcutDesc.java,
3334 * netx/net/sourceforge/jnlp/StreamEater.java,
3335 * netx/net/sourceforge/jnlp/UpdateDesc.java,
3336 * netx/net/sourceforge/jnlp/Version.java,
3337 * netx/net/sourceforge/jnlp/cache/CacheEntry.java,
3338 * netx/net/sourceforge/jnlp/cache/CacheUtil.java,
3339 * netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java,
3340 * netx/net/sourceforge/jnlp/cache/DownloadIndicator.java,
3341 * netx/net/sourceforge/jnlp/cache/Resource.java,
3342 * netx/net/sourceforge/jnlp/cache/ResourceTracker.java,
3343 * netx/net/sourceforge/jnlp/cache/UpdatePolicy.java,
3344 * netx/net/sourceforge/jnlp/cache/package.html,
3345 * netx/net/sourceforge/jnlp/event/ApplicationEvent.java,
3346 * netx/net/sourceforge/jnlp/event/ApplicationListener.java,
3347 * netx/net/sourceforge/jnlp/event/DownloadEvent.java,
3348 * netx/net/sourceforge/jnlp/event/DownloadListener.java,
3349 * netx/net/sourceforge/jnlp/event/package.html,
3350 * netx/net/sourceforge/jnlp/package.html,
3351 * netx/net/sourceforge/jnlp/resources/Manifest.mf,
3352 * netx/net/sourceforge/jnlp/resources/Messages.properties,
3353 * netx/net/sourceforge/jnlp/resources/about.jnlp,
3354 * netx/net/sourceforge/jnlp/resources/default.jnlp,
3355 * netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java,
3356 * netx/net/sourceforge/jnlp/runtime/AppletAudioClip.java,
3357 * netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java,
3358 * netx/net/sourceforge/jnlp/runtime/AppletInstance.java,
3359 * netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java,
3360 * netx/net/sourceforge/jnlp/runtime/Boot.java,
3361 * netx/net/sourceforge/jnlp/runtime/Boot13.java,
3362 * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java,
3363 * netx/net/sourceforge/jnlp/runtime/JNLPPolicy.java,
3364 * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java,
3365 * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java,
3366 * netx/net/sourceforge/jnlp/runtime/package.html,
3367 * netx/net/sourceforge/jnlp/security/AccessWarningPane.java,
3368 * netx/net/sourceforge/jnlp/security/AppletWarningPane.java,
3369 * netx/net/sourceforge/jnlp/security/CertVerifier.java,
3370 * netx/net/sourceforge/jnlp/security/CertWarningPane.java,
3371 * netx/net/sourceforge/jnlp/security/CertsInfoPane.java,
3372 * netx/net/sourceforge/jnlp/security/HttpsCertVerifier.java,
3373 * netx/net/sourceforge/jnlp/security/MoreInfoPane.java,
3374 * netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java,
3375 * netx/net/sourceforge/jnlp/security/SecurityDialogPanel.java,
3376 * netx/net/sourceforge/jnlp/security/SecurityUtil.java,
3377 * netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java,
3378 * netx/net/sourceforge/jnlp/security/SingleCertInfoPane.java,
3379 * netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java,
3380 * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java,
3381 * netx/net/sourceforge/jnlp/security/viewer/CertificateViewer.java,
3382 * netx/net/sourceforge/jnlp/services/ExtendedSingleInstanceService.java,
3383 * netx/net/sourceforge/jnlp/services/InstanceExistsException.java,
3384 * netx/net/sourceforge/jnlp/services/ServiceUtil.java,
3385 * netx/net/sourceforge/jnlp/services/SingleInstanceLock.java,
3386 * netx/net/sourceforge/jnlp/services/XBasicService.java,
3387 * netx/net/sourceforge/jnlp/services/XClipboardService.java,
3388 * netx/net/sourceforge/jnlp/services/XDownloadService.java,
3389 * netx/net/sourceforge/jnlp/services/XExtendedService.java,
3390 * netx/net/sourceforge/jnlp/services/XExtensionInstallerService.java,
3391 * netx/net/sourceforge/jnlp/services/XFileContents.java,
3392 * netx/net/sourceforge/jnlp/services/XFileOpenService.java,
3393 * netx/net/sourceforge/jnlp/services/XFileSaveService.java,
3394 * netx/net/sourceforge/jnlp/services/XJNLPRandomAccessFile.java,
3395 * netx/net/sourceforge/jnlp/services/XPersistenceService.java,
3396 * netx/net/sourceforge/jnlp/services/XPrintService.java,
3397 * netx/net/sourceforge/jnlp/services/XServiceManagerStub.java,
3398 * netx/net/sourceforge/jnlp/services/XSingleInstanceService.java,
3399 * netx/net/sourceforge/jnlp/services/package.html,
3400 * netx/net/sourceforge/jnlp/tools/CharacterEncoder.java,
3401 * netx/net/sourceforge/jnlp/tools/HexDumpEncoder.java,
3402 * netx/net/sourceforge/jnlp/tools/JarRunner.java,
3403 * netx/net/sourceforge/jnlp/tools/JarSigner.java,
3404 * netx/net/sourceforge/jnlp/tools/JarSignerResources.java,
3405 * netx/net/sourceforge/jnlp/tools/KeyStoreUtil.java,
3406 * netx/net/sourceforge/jnlp/tools/KeyTool.java,
3407 * netx/net/sourceforge/jnlp/util/FileUtils.java,
3408 * netx/net/sourceforge/jnlp/util/PropertiesFile.java,
3409 * netx/net/sourceforge/jnlp/util/Reflect.java,
3410 * netx/net/sourceforge/jnlp/util/WeakList.java,
3411 * netx/net/sourceforge/jnlp/util/XDesktopEntry.java,
3412 * netx/net/sourceforge/nanoxml/XMLElement.java,
3413 * netx/net/sourceforge/nanoxml/XMLParseException.java,
3414 * plugin/icedteanp/IcedTeaJavaRequestProcessor.cc,
3415 * plugin/icedteanp/IcedTeaJavaRequestProcessor.h,
3416 * plugin/icedteanp/IcedTeaNPPlugin.cc,
3417 * plugin/icedteanp/IcedTeaNPPlugin.h,
3418 * plugin/icedteanp/IcedTeaPluginRequestProcessor.cc,
3419 * plugin/icedteanp/IcedTeaPluginRequestProcessor.h,
3420 * plugin/icedteanp/IcedTeaPluginUtils.cc,
3421 * plugin/icedteanp/IcedTeaPluginUtils.h,
3422 * plugin/icedteanp/IcedTeaRunnable.cc,
3423 * plugin/icedteanp/IcedTeaRunnable.h,
3424 * plugin/icedteanp/IcedTeaScriptablePluginObject.cc,
3425 * plugin/icedteanp/IcedTeaScriptablePluginObject.h,
3426 * plugin/icedteanp/java/netscape/javascript/JSException.java,
3427 * plugin/icedteanp/java/netscape/javascript/JSObject.java,
3428 * plugin/icedteanp/java/netscape/javascript/JSObjectCreatePermission.java,
3429 * plugin/icedteanp/java/netscape/javascript/JSProxy.java,
3430 * plugin/icedteanp/java/netscape/javascript/JSRunnable.java,
3431 * plugin/icedteanp/java/netscape/javascript/JSUtil.java,
3432 * plugin/icedteanp/java/netscape/security/ForbiddenTargetException.java,
3433 * plugin/icedteanp/java/sun/applet/AppletSecurityContextManager.java,
3434 * plugin/icedteanp/java/sun/applet/GetMemberPluginCallRequest.java,
3435 * plugin/icedteanp/java/sun/applet/GetWindowPluginCallRequest.java,
3436 * plugin/icedteanp/java/sun/applet/JavaConsole.java,
3437 * plugin/icedteanp/java/sun/applet/MethodOverloadResolver.java,
3438 * plugin/icedteanp/java/sun/applet/PasswordAuthenticationDialog.java,
3439 * plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java,
3440 * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java,
3441 * plugin/icedteanp/java/sun/applet/PluginCallRequest.java,
3442 * plugin/icedteanp/java/sun/applet/PluginCallRequestFactory.java,
3443 * plugin/icedteanp/java/sun/applet/PluginClassLoader.java,
3444 * plugin/icedteanp/java/sun/applet/PluginCookieInfoRequest.java,
3445 * plugin/icedteanp/java/sun/applet/PluginCookieManager.java,
3446 * plugin/icedteanp/java/sun/applet/PluginDebug.java,
3447 * plugin/icedteanp/java/sun/applet/PluginException.java,
3448 * plugin/icedteanp/java/sun/applet/PluginMain.java,
3449 * plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java,
3450 * plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java,
3451 * plugin/icedteanp/java/sun/applet/PluginObjectStore.java,
3452 * plugin/icedteanp/java/sun/applet/PluginProxyInfoRequest.java,
3453 * plugin/icedteanp/java/sun/applet/PluginProxySelector.java,
3454 * plugin/icedteanp/java/sun/applet/PluginStreamHandler.java,
3455 * plugin/icedteanp/java/sun/applet/RequestQueue.java,
3456 * plugin/icedteanp/java/sun/applet/TestEnv.java,
3457 * plugin/icedteanp/java/sun/applet/VoidPluginCallRequest.java,
3458 * plugin/tests/LiveConnect/DummyObject.java,
3459 * plugin/tests/LiveConnect/OverloadTestHelper1.java,
3460 * plugin/tests/LiveConnect/OverloadTestHelper2.java,
3461 * plugin/tests/LiveConnect/OverloadTestHelper3.java,
3462 * plugin/tests/LiveConnect/PluginTest.java,
3463 * plugin/tests/LiveConnect/build,
3464 * plugin/tests/LiveConnect/common.js,
3465 * plugin/tests/LiveConnect/index.html,
3466 * plugin/tests/LiveConnect/jjs_eval_test.js,
3467 * plugin/tests/LiveConnect/jjs_func_parameters_tests.js,
3468 * plugin/tests/LiveConnect/jjs_func_rettype_tests.js,
3469 * plugin/tests/LiveConnect/jjs_get_tests.js,
3470 * plugin/tests/LiveConnect/jjs_set_tests.js,
3471 * plugin/tests/LiveConnect/jsj_func_overload_tests.js,
3472 * plugin/tests/LiveConnect/jsj_func_parameters_tests.js,
3473 * plugin/tests/LiveConnect/jsj_func_rettype_tests.js,
3474 * plugin/tests/LiveConnect/jsj_get_tests.js,
3475 * plugin/tests/LiveConnect/jsj_set_tests.js,
3476 * plugin/tests/LiveConnect/jsj_type_casting_tests.js,
3477 * plugin/tests/LiveConnect/jsj_type_conversion_tests.js:
3478 Initial import from IcedTea6.
3479 * AUTHORS,
3480 * COPYING
3481 * INSTALL,
3482 * NEWS,
3483 * README: New documentation.
Note: See TracBrowser for help on using the repository browser.