1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
|
2010-10-28 Andrew John Hughes <ahughes@redhat.com>
* Makefile.am:
(NETX_BOOTSTRAP_CLASSES): Removed.
(PLUGIN_BOOTSTRAP_CLASSES): Likewise.
(NETX_SUN_CLASSES): Likewise.
(PLUGIN_SUN_CLASSES): Likewise.
* acinclude.m4:
(IT_CHECK_FOR_CLASS): Require detection
of javac and java. Put test class in
sun.applet to get access to some internal
classes. Change test to use forName for
the same reason. I expect to be able to
revert this when usage of sun.applet is fixed.
(IT_FIND_JAVA): Ported from IcedTea6. Change
to prioritise 'java' over 'gij'.
* configure.ac:
Add IT_CHECK_FOR_CLASS checks for classes which
are required but not found in JDKs other than
Oracle-based ones. Also check for java.* classes
missing from current versions of gcj but which
may appear there in future.
2010-11-03 Omair Majid <omajid@redhat.com>
* netx/net/sourceforge/jnlp/Launcher.java
(markNetxRunning): Get file name from configuration.
(markNetxStopped): Likewise.
* netx/net/sourceforge/jnlp/cache/CacheUtil.java
(clearCache): Get cache directory from configuration.
(okToClearCache): Get netx_running file from configuration.
(getCacheFile): Get cache directory from configuration.
(urlToPath): Change semantics to take in the full path of the
directory instead of a directory under runtime.
* netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
Change DEPLOYMENT_DIR to ".icedtea". Add constants
KEY_USER_CACHE_DIR, KEY_USER_PERSISTENCE_CACHE_DIR,
KEY_SYSTEM_CACHE_DIR, KEY_USER_LOG_DIR, KEY_USER_TMP_DIR,
KEY_USER_LOCKS_DIR, and KEY_USER_NETX_RUNNING_FILE.
(load): Use DEPLOYMENT_DIR instead of hardcoded string.
(loadDefaultProperties): Add LOCKS_DIR. Replace strings with
constants. Add new default values for persistence cache directory,
single instance locks directory and the netx_running file.
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Remove
unneeded TMP_DIR, LOCKS_DIR and NETX_RUNNING_FILE
* netx/net/sourceforge/jnlp/services/SingleInstanceLock.java
(getLockFile): Get locks directory from configuration.
* netx/net/sourceforge/jnlp/services/XPersistenceService.java
(toCacheFile): Get persistence cache directory from configuration.
* netx/net/sourceforge/jnlp/util/XDesktopEntry.java
(getContentsAsReader): Get cache directory from configuration.
(installDesktopLauncher): Get temporary directory from
configuration. Make parent directories if required.
* plugin/icedteanp/java/sun/applet/JavaConsole.java
(initialize): Get log directory from configuration and create the
error and output files under it.
* plugin/icedteanp/java/sun/applet/PluginMain.java:
PLUGIN_STDERR_FILE and PLUGIN_STDOUT_FILE are now just filesnames.
(PluginMain): Use configuration for finding the log directory.
Initialize JNLPRuntime before creating the stderr and stdout logs.
2010-11-01 Omair Majid <omajid@redhat.com>
* Makefile.am (clean-IcedTeaPlugin): Only delete launcher directory if it
exists.
2010-11-01 Deepak Bhole <dbhole@redhat.com>
PR542: Plugin fails with NPE on
http://www.openprocessing.org/visuals/iframe.php?visualID=2615
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
(initializeResources): If cacheFile is null (JAR couldn't be downloaded),
try to continue, rather than allowing the exception to cause an abort.
* NEWS: Updated.
2010-11-01 Deepak Bhole <dbhole@redhat.com>
* plugin/docs: Added new docs folder that contains plugin documentation.
* plugin/docs/MessageBusArchitecture.png: Diagram of the JS <-> Java
message handling architectrure.
* plugin/docs/OverallArchitecture.png: Diagram of the overall plugin
architecture.
* plugin/docs/java-js-wf.png: Sequence diagram showing an example
LiveConnect call from an applet to JavaScript/Browser.
* plugin/docs/js-java-wf.png: Sequence diagram showing an example
LiveConnect call from JavaScript/Browser to an applet.
* plugin/docs/npplugin_liveconnect_design.pdf: Slides with notes on the
above diagrams.
2010-10-29 Omair Majid <omajid@redhat.com>
* netx/net/sourceforge/jnlp/JNLPFile.java: Add component.
(getLaunchInfo): Modify javadoc to indicate that it does not return
the ComponentDesc.
(getComponent): Return component instead of launchType.
(isComponent): Check if component is not null.
(parse): Find and set component descriptor.
* netx/net/sourceforge/jnlp/Parser.java
(getLauncher): Remove all checks for component-desc. Allow having
none of application-desc, applet-desc and installer-desc.
(getComponent): Check for more than one component-desc element.
Read and parse the component-desc.
2010-10-28 Omair Majid <omajid@redhat.com>
* netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java
(showMoreInfoDialog): Make dialog modal.
(showCertInfoDialog): Likewise.
(showSingleCertInfoDialog): Likewise.
(initDialog): Use setModality instead of setModal.
2010-10-27 Deepak Bhole <dbhole@redhat.com>
* plugin/icedteanp/IcedTeaNPPlugin.cc (plugin_create_applet_tag): Escape
the entire applet tag, not just the params.
2010-10-27 Omair Majid <omajid@redhat.com>
* netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java
(load): Do a security check at start. A security exception later on may
accidentally reveal a filename or a system property.
(save): Likewise.
2010-10-26 Omair Majid <omajid@redhat.com>
* netx/net/sourceforge/jnlp/Launcher.java
(doPerApplicationAppContextHacks): New method. Create a new ParserDelegate
to intialize the per AppContext dtd used by Swing HTML controls.
(TgThread.run): Call doPerApplicationAppContextHacks.
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
(initialize): Call doMainAppContextHacks.
(doMainAppContextHacks): New method. Create a new ParserDelegate to
initialize the per AppContext dtd used by Swing HTML controls.
2010-10-26 Omair Majid <omajid@redhat.com>
* netx/net/sourceforge/jnlp/Launcher.java
(launchApplication): Mark main method as accessible before
invoking it.
2010-10-26 Omair Majid <omajid@redhat.com>
* netx/net/sourceforge/jnlp/Parser.java: Add 1.1, 1.2, 1.3 and
1.4 to supportedVersions.
2010-10-26 Omair Majid <omajid@redhat.com>
* netx/net/sourceforge/jnlp/runtime/Translator.java
(R(String)): New method.
2010-10-26 Deepak Bhole <dbhole@redhat.com>
* netx/net/sourceforge/jnlp/PluginBridge.java: Trim whitespace from jar
names in the constructor.
2010-10-26 Deepak Bhole <dbhole@redhat.com>
* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
Replace all status.put calls with calls to updateStatus().
(createPanel): Create a frame with a 0 handle. Use the new
waitForAppletInit function to wait until applet is ready.
(reFrame): Re-order code so that the panel is never parentless.
(handleMessage): Re-wrote message processing to handle destroy calls
correctly, checking for them more often to prevent a frame from popping up
if the tab/page is closed before loading finishes. Decode special
characters in the message.
(updateStatus): New function. Updates the status for the given instance if
applicable.
(destroyApplet): New function. Destroys a given applet and frees related
resources.
(waitForAppletInit): New function. Blocks until applet is initialized.
(parse): Remove part that decoded the params. Decoding is now done earlier
in handleMessage().
* plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java:
(getPriorityStrIfPriority): Mark destroy messages as priority.
(bringPriorityMessagesToFront): Scans the queue for priority messages and
brings them to the front.
(run): If the queue is not empty and there are no workers left, run
bringPriorityMessagesToFront() and retry.
2010-10-26 Andrew Su <asu@redhat.com>
* Makefile.am: Split rm -rf into rm -f and rmdir for launcher
directory.
2010-10-25 Omair Majid <omajid@redhat.com>
* netx/net/sourceforge/jnlp/ShortcutDesc.java:
Add SHORTCUT_NEVER, SHORTCUT_ALWAYS, SHORTCUT_ASK_USER,
SHORTCUT_ASK_USER_IF_HINTED, SHORTCUT_ALWAYS_IF_HINTED,
SHORTCUT_DEFAULT.
* netx/net/sourceforge/jnlp/resources/Messages.properties:
Add RConfigurationError.
* netx/net/sourceforge/jnlp/runtime/DeploymentConfiguration.java:
New file.
(ConfigValue): New class. Holds a configuration value.
(DeploymentConfiguration): New method.
(load): New method.
(getProperty): Likewise.
(getAllPropertyNames): Likewise.
(setProperty): Likewise.
(loadDefaultProperties): Likewise.
(findSystemConfigFile): Likewise.
(loadSystemConfiguration): Likewise.
(loadProperties): Likewise.
(save): Likewise.
(parsePropertiesFile): Likewise.
(mergeMaps): Likewise.
(dumpConfiguration): Likewise.
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java:
(initialize): Load configuration.
(getConfiguration): Return the configuration.
2010-10-25 Omair Majid <omajid@redhat.com>
* net/sourceforge/jnlp/ExtensionDesc.java: Import Translator.R and use
that.
* net/sourceforge/jnlp/JNLPFile.java: Import Translator.R.
(R): Remove.
* net/sourceforge/jnlp/JREDesc.java: Import Translator.R.
(checkHeapSize): Use R instead of JNLPRuntime.getMessage.
* net/sourceforge/jnlp/Launcher.java: Import Translator.R.
(R): Remove.
* net/sourceforge/jnlp/Parser.java: Import Translator.R
(R(String)): Remove.
(R(String,Object)): Remove.
(R(String,Object,Object)): Remove.
(R(String,Object,Object,Object)): Remove.
* net/sourceforge/jnlp/cache/CacheEntry.java: Import Translator.R
(CacheEntry): Use R instead of JNLPRuntime.getMessage.
* net/sourceforge/jnlp/cache/CacheUtil.java: Import Translator.R
(R(String)): Remove.
(R(String,Object)): Remove.
* net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java: Import
Translator.R and use that instead of JNLPRuntime.getMessage.
* net/sourceforge/jnlp/runtime/Boot.java: Import Translator.R.
(R(String)): Remove.
(R(String, Object)): Remove.
(run): Use R instead of JNLPRuntime.getMessage.
* net/sourceforge/jnlp/runtime/JNLPClassLoader.java: Import Translator.R.
(R): Remove.
* net/sourceforge/jnlp/runtime/JNLPSecurityManager.java: Import
Translator.R. Use it instead of JNLPRuntime.getMeesage.
(R): Remove.
* net/sourceforge/jnlp/security/AccessWarningPane.java: Import
Translator.R.
* net/sourceforge/jnlp/security/CertWarningPane.java: Likewise.
* net/sourceforge/jnlp/security/HttpsCertVerifier.java: Import
Translator.R.
(R(String)): Remove.
(R(String,String,String)): Remove.
* net/sourceforge/jnlp/security/MoreInfoPane.java: Import Translator.R.
* net/sourceforge/jnlp/security/SecurityDialogPanel.java
(R(String)): Remove.
(R(String,Object)): Remove.
* net/sourceforge/jnlp/services/ServiceUtil.java
(R): Remove.
* net/sourceforge/jnlp/services/SingleInstanceLock.java: Import
Translator.R
(R(String)): Remove.
(R(String,Object)): Remove.
* net/sourceforge/jnlp/tools/JarSigner.java: Import Translator.R.
(R): Remove.
* net/sourceforge/jnlp/runtime/Translator.java: New file
(R(String,Object...)): New method.
2010-10-25 Andrew Su <asu@redhat.com>
* Makefile.am:
(clean-IcedTeaPlugin): Remove launcher folder first.
(clean-plugin): Removed called to remove launcher folder
2010-10-22 Omair Majid <omajid@redhat.com>
* netx/net/sourceforge/jnlp/NetxPanel.java
(runLoader): Do not initialize JNLPRuntime here.
(createAppletThreads): Initialize JNLPRuntim here.
* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
Switch from SecurityWarningDialog.AccessType to
SecurityWarning.AccessType.
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
(getInstance(JNLPFile,UpdatePolicy)): Switch to SecurityWarning.
(initializeResources): Likewise.
(checkTrustWithUser): Likewise.
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java:
Add securityDialogMesasgeHandler.
(initialize): Set System look and feel. Start security thread.
(startSecurityThread): New method. Starts a thread to show security
dialogs.
(getSecurityDialogHandler): Returns the securityDialogMessageHandler.
* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java:
Switch from SecurityWarningDialog.AccessType to
SecurityWarning.AccessType.
(checkAwtEventQueueAccess): New method. Skeleton code for allowing
EventQueue acccess to applets.
* netx/net/sourceforge/jnlp/security/AccessWarningPane.java:
Switch from SecurityWarningDialog.AccessType to
SecurityWarning.AccessType.
* netx/net/sourceforge/jnlp/security/CertWarningPane.java:
Likewise.
* netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java:
Move DialogType and AccessType to SecurityWarning.
(SecurityWarningDialog(DialogType,AccessType,JNLPFile,CertVerifier,
X509Certificate,Object[])): New method. The catch-all construction.
(SecurityWarningDialog(DialogType,AccessType,JNLPFile): Delegate to
the new constructor.
(SecurityWarningDialog(DialogType,AccessType,JNLPFile,CertVerifier)):
Likewise.
(SecurityWarningDialog(DialogType,AccessType,CertVerifier)): Likewise.
(SecurityWarningDialog(DialogType,AccessType,JNLPFile,Object[])):
Likewise.
(SecurityWarningDialog(DialogType,X509Certificate)): Likewise.
(showAccessWarningDialog(AccessType,JNLPFile)): Move to SecurityWarning
class.
(showAccessWarningDialog(AccessType,JNLPFile,Object[])): Likewise.
(showNotAllSignedWarningDialog(JNLPFile)): Likewise.
(showCertWarningDialog(AccessType,JNLPFile,CertVerifier)): Likewise.
(showAppletWarning): Likewise.
(initDialog): Make dialog non modal and remove window closing listener.
(getValue): Make public.
(dispose): New method. Notify listeners.
(notifySelectionMade): New method. Notify listeners that user has made
a decision.
(addActionListener): New method. Add a listener to be notified when
user makes a decision about this security warning.
* netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java:
Switch from SecurityWarningDialog.AccessType to
SecurityWarning.AccessType.
* netx/net/sourceforge/jnlp/services/ServiceUtil.java: Likewise.
* netx/net/sourceforge/jnlp/services/XClipboardService.java: Likewise.
* netx/net/sourceforge/jnlp/services/XExtendedService.java: Likewise.
* netx/net/sourceforge/jnlp/services/XFileOpenService.java: Likewise.
* netx/net/sourceforge/jnlp/services/XFileSaveService.java: Likewise.
* netx/net/sourceforge/jnlp/security/SecurityDialogMessage.java:
New class.
* netx/net/sourceforge/jnlp/security/SecurityDialogMessageHandler.java:
New class.
(run): New method. Runs the security message loop.
(handleMessage): New method. Handles a SecurityDialogMessage to show a
security warning.
(postMessage): New method. Posts a message to sthe security message
queue.
* netx/net/sourceforge/jnlp/security/SecurityWarning.java: New class.
Move AccessType and DialogType from SecurityWarningDialog to here.
(showAccessWarningDialog): Moved from SecurityWarningDialog to here.
(showAccessWarningDialog): Moved from SecurityWarningDialog to here.
Modified to post messages to the security queue instead of showing a
SecurityWarningDialog directly.
(showNotAllSignedWarningDialog): Likewise.
(showCertWarningDialog): Likewise.
(showAppletWarning): Likewise.
(getUserReponse): New method. Posts a message to the security thread and
blocks until it gets a response from the user.
2010-10-20 Andrew John Hughes <ahughes@redhat.com>
* netx/javax/jnlp/ServiceManager.java:
(lookupTable): Add generic types.
* netx/net/sourceforge/jnlp/AppletDesc.java:
(parameters): Likewise.
(AppletDesc(String,String,URL,int,int,Map)): Likewise.
(getParameters()): Likewise.
* netx/net/sourceforge/jnlp/ApplicationDesc.java:
(getArguments()): Remove redundant cast.
(addArgument(String)): Add generic typing.
* netx/net/sourceforge/jnlp/ExtensionDesc.java:
(extToPart): Add generic types.
(eagerExtParts): Likewise.
* netx/net/sourceforge/jnlp/InformationDesc.java:
(info): Likewise.
(getIcons(Object)): Add generic typing.
(getAssociations()): Likewise.
(getRelatedContents()): Likewise.
(getItem(Object)): Likewise.
(getItems(Object)): Likewise.
(addItem(String,Object)): Likewise.
* netx/net/sourceforge/jnlp/JNLPFile.java:
(resources): Likewise.
(InformationDesc.getItems(Object)): Likewise.
(getResources(Class)): Likewise.
* netx/net/sourceforge/jnlp/LaunchException.java:
(getCauses()): Likewise.
* netx/net/sourceforge/jnlp/Launcher.java:
(launchApplication(JNLPFile)): Likewise.
* netx/net/sourceforge/jnlp/NetxPanel.java:
(NetxPanel(URL,Hashtable)): Likewise.
(NetxPanel(URL,Hashtable,boolean)): Likewise.
* netx/net/sourceforge/jnlp/Node.java:
(getChildNodes()): Likewise.
* netx/net/sourceforge/jnlp/Parser.java:
(getResources(Node,boolean)): Likewise.
(getInfo(Node)): Likewise.
(getInformationDesc(Node)): Likewise.
(getApplet(Node)): Likewise.
(getApplication(Node)): Likewise.
(splitString(String)): Likewise.
(getLocales(Node)): Likewise.
(getChildNodes(Node,String)): Likewise.
* netx/net/sourceforge/jnlp/PluginBridge.java:
Fix variable naming and add generic types.
(cacheJars): Changed from cache_jars.
(cacheExJars): Changed from cache_ex-jars.
(atts): Add generic typing.
(PluginBridge(URL,URL,String,String,int,int,Hashtable)): Likewise.
(getInformation(Locale)): Likewise.
(getResources(Locale,String,String)): Likewise.
(getJARs()): Avoid excessive copying; filtering already performed
by getResources in JNLPFile.
* netx/net/sourceforge/jnlp/ResourcesDesc.java:
(resources): Add generic typing.
(getJREs()): Likewise.
(getJARs()): Likewise.
(getJARs(String)): Likewise.
(getExtensions()): Likewise.
(getPackages()): Likewise.
(getPackages(String)): Likewise.
(getProperties()): Likewise.
(getPropertiesMap()): Likewise.
(getResources(Class)): Make generic.
* netx/net/sourceforge/jnlp/Version.java:
(matches(Version)): Add generic types.
(matchesAny(Version)): Likewise.
(matchesSingle(String)): Likewise.
(matches(String,String)): Likewise.
(equal(List,List)): Likewise.
(greater(List,List)): Likewise.
(compare(String,String)): Use Integer.valueOf.
(normalize(List,int)): Add generic types, using
a List of lists rather than an array of lists.
(getVersionStrings()): Add generic types.
(getParts()): Likewise.
* netx/net/sourceforge/jnlp/cache/CacheUtil.java:
(waitForResources(ApplicationInstance,ResourceTracker,
URL,String)): Likewise.
* netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java:
(getListener(ApplicatonInstance,String,URL)): Use setVisible instead
of show().
(disposeListener(DownloadServiceListener)): Use setVisible instead
of hide().
(DownloadPanel.urls): Add generic typing.
(DownloadPanel.panels): Likewise.
(DownloadPanel.update(URL,String,long,long,int)): Fix formatting.
Add generic types.
* netx/net/sourceforge/jnlp/cache/Resource.java:
(resources): Add generic typing.
(trackers): Likewise.
(getResource(URL,Version,UpdatePolicy)): Use generic types.
(getTracker()): Likewise.
(addTracker(ResourceTracker)): Likewise.
(fireDownloadEvent()): Likewise.
* netx/net/sourceforge/jnlp/cache/ResourceTracker.java:
(prefetchTrackers): Add generic typing.
(queue): Likewise.
(active): Likewise.
(resources): Likewise.
(listeners): Likewise.
(fireDownloadEvent(Resource)): Remove unneeded cast.
(getPrefetch()): Use generic typing.
(selectByFlag(List,int,int)): Likewise.
(getResource(URL)): Likewise.
* netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java:
(weakClips): Add generic types.
(destroy()): Use generic typing.
(getApplets()): Likewise.
(getStreamKeys()): Likewise.
* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
(weakWindows): Add generic types.
(installEnvironment()): Likewise.
(destroy()): Remove redundant cast.
* netx/net/sourceforge/jnlp/runtime/Boot.java:
Extend PrivilegedAction<Void>.
(run()): Add generic typing.
(getOptions(String)): Likewise.
* netx/net/sourceforge/jnlp/runtime/Boot13.java:
(main(String[]): Likewise.
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
Fix formatting.
(urlToLoader): Add generic types.
(resourcePermissions): Likewise.
(available): Likewise.
(jarEntries): Likewise.
(getInstance(JNLPFile,UpdatePolicy)): Remove redundant cast.
(getInstance(URL,String,Version,UpdatePolicy)): Likewise.
(initializeExtensions()): Add generic types.
(initializePermissions()): Likewise.
(initializeResources()): Likewise.
(getPermissions(CodeSource)): Likewise.
(fillInPartJars(List)): Likewise.
(activateJars(List)): Likewise.
(loadClass(String)): Likewise. Suppress warnings due to
sun.misc.JarIndex usage.
(findResources(String)): Mark as overriding. Add generic
types.
(getExtensionName()): Add @Deprecated annotation.
(getExtensionHREF()): Likewise.
* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java:
(weakWindows): Add generic typing.
(weakApplications): Likewise.
(getApplication(Window)): Remove redundant casts. Add w,
which is window cast to Window.
* netx/net/sourceforge/jnlp/services/ServiceUtil.java:
(invoke(Object,Method,Object[])): Use generic types.
* netx/net/sourceforge/jnlp/services/XPersistenceService.java:
(getNames(URL)): Likewise.
* netx/net/sourceforge/jnlp/tools/JarSigner.java:
(verifyJars(List,ResourceTracker)): Remove redundant cast.
* netx/net/sourceforge/jnlp/util/WeakList.java:
Redesign as a generic type.
(refs): Add generic types.
(deref(WeakReference)): Likewise.
(get(int)): Likewise.
(set(int,Object)): Likewise.
(add(int,E)): Likewise.
(remove()): Likewise.
(hardList()): Likewise.
* netx/net/sourceforge/nanoxml/XMLElement.java:
(attributes): Add generic typing.
(children): Likewise.
(entities): Likewise.
(XMLElement()): Use generic types.
(XMLElement(Hashtable): Likewise.
(resolveEntity(StringBuffer)): Remove redundant cast.
2010-10-20 Omair Majid <omajid@redhat.com>
* AUTHORS: Add Francis Kung, Andrew Su, Joshua Sumali, Mark Wielaard and
Man Lung Wong. Add link to forked Netx project.
2010-10-20 Matthias Klose <doko@ubuntu.com>
* AUTHORS: Add myself.
2010-10-20 Andrew Su <asu@redhat.com>
* PluginBridge.java:
(PluginBridge): Added parsing for jnlp_href, and reading the jnlp file
for applet parameters.
2010-10-20 Matthias Klose <doko@ubuntu.com>
* Makefile.am (stamps/extra-class-files.stamp): Fix -sourcepath.
2010-10-20 Omair Majid <omajid@redhat.com>
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
(initializeResources): Do not perform url encoding on the file url. Stay
consistent with the unencoded urls used in getPermissions.
2010-10-20 Omair Majid <omajid@redhat.com>
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
(JNLPClassLoader): Call installShutdownHooks.
(installShutdownHooks): New method. Installs a shutdown hook to
recursively delete the contents of nativeDir.
(activateNative): Only create a nativeDir if there are native
libraries.
2010-10-19 Deepak Bhole <dbhole@redhat.com>
* Makefile.am:
($(NETX_DIR)/launcher/javaws): Use $(NETX_DIR).
2010-10-19 Deepak Bhole <dbhole@redhat.com>
* Makefile.am:
(NETX_DIR): New variable representing the NetX build dir.
(NETX_LAUNCHER_OBJECTS): Prefix with $(NETX_DIR).
(LAUNCHER_LINK): Fixed escaping of ORIGIN to the rpath argument.
(all-local): Fix javaws launcher path.
(install-exec-local): Likewise, and use $(NETX_DIR) for NetX classes.jar.
(clean-plugin): Remove launcher.
(liveconnect): Use NETX_DIR in classpath.
(netx): Use NETX_DIR throughout.
(netx-dist): Likewise.
(clean-netx): Likewise.
($(NETX_DIR)/launcher/%.o)): Likewise.
* launcher/jni_md.h: Imported from OpenJDK.
2010-10-20 Matthias Klose <doko@ubuntu.com>
* Makefile.am: Fix build with builddir != srcdir.
2010-10-19 Andrew John Hughes <ahughes@redhat.com>
* Makefile.am:
(PLUGIN_LAUNCHER_OBJECTS): Do prefixing once.
(NETX_LAUNCHER_OBJECTS): Likewise for NetX.
(pluginappletviewer): Use PLUGIN_LAUNCHER_OBJECTS.
(javaws): Use NETX_LAUNCHER_OBJECTS.
* configure.ac: Re-enable foreign (I want to use
GNU make!)
* README: Use gmake not make.
2010-10-19 Andrew John Hughes <ahughes@redhat.com>
* .hgignore,
* Makefile.am,
* acinclude.m4,
* autogen.sh,
* configure.ac,
* extra/net/sourceforge/jnlp/about/HTMLPanel.java,
* extra/net/sourceforge/jnlp/about/Main.java,
* extra/net/sourceforge/jnlp/about/resources/about.html,
* extra/net/sourceforge/jnlp/about/resources/applications.html,
* extra/net/sourceforge/jnlp/about/resources/notes.html,
* javac.in,
* javaws.desktop: Imported from IcedTea6.
* launcher/java.c,
* launcher/java.h,
* launcher/java_md.c,
* launcher/java_md.h,
* launcher/jli_util.h,
* launcher/jni.h,
* launcher/jvm.h,
* launcher/jvm_md.h,
* launcher/manifest_info.h,
* launcher/splashscreen.h,
* launcher/splashscreen_stubs.c,
* launcher/version_comp.h,
* launcher/wildcard.h: Imported from OpenJDK.
* netx/javaws.1,
* netx/javax/jnlp/BasicService.java,
* netx/javax/jnlp/ClipboardService.java,
* netx/javax/jnlp/DownloadService.java,
* netx/javax/jnlp/DownloadServiceListener.java,
* netx/javax/jnlp/ExtendedService.java,
* netx/javax/jnlp/ExtensionInstallerService.java,
* netx/javax/jnlp/FileContents.java,
* netx/javax/jnlp/FileOpenService.java,
* netx/javax/jnlp/FileSaveService.java,
* netx/javax/jnlp/JNLPRandomAccessFile.java,
* netx/javax/jnlp/PersistenceService.java,
* netx/javax/jnlp/PrintService.java,
* netx/javax/jnlp/ServiceManager.java,
* netx/javax/jnlp/ServiceManagerStub.java,
* netx/javax/jnlp/SingleInstanceListener.java,
* netx/javax/jnlp/SingleInstanceService.java,
* netx/javax/jnlp/UnavailableServiceException.java,
* netx/net/sourceforge/jnlp/AppletDesc.java,
* netx/net/sourceforge/jnlp/ApplicationDesc.java,
* netx/net/sourceforge/jnlp/AssociationDesc.java,
* netx/net/sourceforge/jnlp/ComponentDesc.java,
* netx/net/sourceforge/jnlp/DefaultLaunchHandler.java,
* netx/net/sourceforge/jnlp/ExtensionDesc.java,
* netx/net/sourceforge/jnlp/IconDesc.java,
* netx/net/sourceforge/jnlp/InformationDesc.java,
* netx/net/sourceforge/jnlp/InstallerDesc.java,
* netx/net/sourceforge/jnlp/JARDesc.java,
* netx/net/sourceforge/jnlp/JNLPFile.java,
* netx/net/sourceforge/jnlp/JNLPSplashScreen.java,
* netx/net/sourceforge/jnlp/JREDesc.java,
* netx/net/sourceforge/jnlp/LaunchException.java,
* netx/net/sourceforge/jnlp/LaunchHandler.java,
* netx/net/sourceforge/jnlp/Launcher.java,
* netx/net/sourceforge/jnlp/MenuDesc.java,
* netx/net/sourceforge/jnlp/NetxPanel.java,
* netx/net/sourceforge/jnlp/Node.java,
* netx/net/sourceforge/jnlp/PackageDesc.java,
* netx/net/sourceforge/jnlp/ParseException.java,
* netx/net/sourceforge/jnlp/Parser.java,
* netx/net/sourceforge/jnlp/PluginBridge.java,
* netx/net/sourceforge/jnlp/PropertyDesc.java,
* netx/net/sourceforge/jnlp/RelatedContentDesc.java,
* netx/net/sourceforge/jnlp/ResourcesDesc.java,
* netx/net/sourceforge/jnlp/SecurityDesc.java,
* netx/net/sourceforge/jnlp/ShortcutDesc.java,
* netx/net/sourceforge/jnlp/StreamEater.java,
* netx/net/sourceforge/jnlp/UpdateDesc.java,
* netx/net/sourceforge/jnlp/Version.java,
* netx/net/sourceforge/jnlp/cache/CacheEntry.java,
* netx/net/sourceforge/jnlp/cache/CacheUtil.java,
* netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java,
* netx/net/sourceforge/jnlp/cache/DownloadIndicator.java,
* netx/net/sourceforge/jnlp/cache/Resource.java,
* netx/net/sourceforge/jnlp/cache/ResourceTracker.java,
* netx/net/sourceforge/jnlp/cache/UpdatePolicy.java,
* netx/net/sourceforge/jnlp/cache/package.html,
* netx/net/sourceforge/jnlp/event/ApplicationEvent.java,
* netx/net/sourceforge/jnlp/event/ApplicationListener.java,
* netx/net/sourceforge/jnlp/event/DownloadEvent.java,
* netx/net/sourceforge/jnlp/event/DownloadListener.java,
* netx/net/sourceforge/jnlp/event/package.html,
* netx/net/sourceforge/jnlp/package.html,
* netx/net/sourceforge/jnlp/resources/Manifest.mf,
* netx/net/sourceforge/jnlp/resources/Messages.properties,
* netx/net/sourceforge/jnlp/resources/about.jnlp,
* netx/net/sourceforge/jnlp/resources/default.jnlp,
* netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java,
* netx/net/sourceforge/jnlp/runtime/AppletAudioClip.java,
* netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java,
* netx/net/sourceforge/jnlp/runtime/AppletInstance.java,
* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java,
* netx/net/sourceforge/jnlp/runtime/Boot.java,
* netx/net/sourceforge/jnlp/runtime/Boot13.java,
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java,
* netx/net/sourceforge/jnlp/runtime/JNLPPolicy.java,
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java,
* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java,
* netx/net/sourceforge/jnlp/runtime/package.html,
* netx/net/sourceforge/jnlp/security/AccessWarningPane.java,
* netx/net/sourceforge/jnlp/security/AppletWarningPane.java,
* netx/net/sourceforge/jnlp/security/CertVerifier.java,
* netx/net/sourceforge/jnlp/security/CertWarningPane.java,
* netx/net/sourceforge/jnlp/security/CertsInfoPane.java,
* netx/net/sourceforge/jnlp/security/HttpsCertVerifier.java,
* netx/net/sourceforge/jnlp/security/MoreInfoPane.java,
* netx/net/sourceforge/jnlp/security/NotAllSignedWarningPane.java,
* netx/net/sourceforge/jnlp/security/SecurityDialogPanel.java,
* netx/net/sourceforge/jnlp/security/SecurityUtil.java,
* netx/net/sourceforge/jnlp/security/SecurityWarningDialog.java,
* netx/net/sourceforge/jnlp/security/SingleCertInfoPane.java,
* netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java,
* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java,
* netx/net/sourceforge/jnlp/security/viewer/CertificateViewer.java,
* netx/net/sourceforge/jnlp/services/ExtendedSingleInstanceService.java,
* netx/net/sourceforge/jnlp/services/InstanceExistsException.java,
* netx/net/sourceforge/jnlp/services/ServiceUtil.java,
* netx/net/sourceforge/jnlp/services/SingleInstanceLock.java,
* netx/net/sourceforge/jnlp/services/XBasicService.java,
* netx/net/sourceforge/jnlp/services/XClipboardService.java,
* netx/net/sourceforge/jnlp/services/XDownloadService.java,
* netx/net/sourceforge/jnlp/services/XExtendedService.java,
* netx/net/sourceforge/jnlp/services/XExtensionInstallerService.java,
* netx/net/sourceforge/jnlp/services/XFileContents.java,
* netx/net/sourceforge/jnlp/services/XFileOpenService.java,
* netx/net/sourceforge/jnlp/services/XFileSaveService.java,
* netx/net/sourceforge/jnlp/services/XJNLPRandomAccessFile.java,
* netx/net/sourceforge/jnlp/services/XPersistenceService.java,
* netx/net/sourceforge/jnlp/services/XPrintService.java,
* netx/net/sourceforge/jnlp/services/XServiceManagerStub.java,
* netx/net/sourceforge/jnlp/services/XSingleInstanceService.java,
* netx/net/sourceforge/jnlp/services/package.html,
* netx/net/sourceforge/jnlp/tools/CharacterEncoder.java,
* netx/net/sourceforge/jnlp/tools/HexDumpEncoder.java,
* netx/net/sourceforge/jnlp/tools/JarRunner.java,
* netx/net/sourceforge/jnlp/tools/JarSigner.java,
* netx/net/sourceforge/jnlp/tools/JarSignerResources.java,
* netx/net/sourceforge/jnlp/tools/KeyStoreUtil.java,
* netx/net/sourceforge/jnlp/tools/KeyTool.java,
* netx/net/sourceforge/jnlp/util/FileUtils.java,
* netx/net/sourceforge/jnlp/util/PropertiesFile.java,
* netx/net/sourceforge/jnlp/util/Reflect.java,
* netx/net/sourceforge/jnlp/util/WeakList.java,
* netx/net/sourceforge/jnlp/util/XDesktopEntry.java,
* netx/net/sourceforge/nanoxml/XMLElement.java,
* netx/net/sourceforge/nanoxml/XMLParseException.java,
* plugin/icedteanp/IcedTeaJavaRequestProcessor.cc,
* plugin/icedteanp/IcedTeaJavaRequestProcessor.h,
* plugin/icedteanp/IcedTeaNPPlugin.cc,
* plugin/icedteanp/IcedTeaNPPlugin.h,
* plugin/icedteanp/IcedTeaPluginRequestProcessor.cc,
* plugin/icedteanp/IcedTeaPluginRequestProcessor.h,
* plugin/icedteanp/IcedTeaPluginUtils.cc,
* plugin/icedteanp/IcedTeaPluginUtils.h,
* plugin/icedteanp/IcedTeaRunnable.cc,
* plugin/icedteanp/IcedTeaRunnable.h,
* plugin/icedteanp/IcedTeaScriptablePluginObject.cc,
* plugin/icedteanp/IcedTeaScriptablePluginObject.h,
* plugin/icedteanp/java/netscape/javascript/JSException.java,
* plugin/icedteanp/java/netscape/javascript/JSObject.java,
* plugin/icedteanp/java/netscape/javascript/JSObjectCreatePermission.java,
* plugin/icedteanp/java/netscape/javascript/JSProxy.java,
* plugin/icedteanp/java/netscape/javascript/JSRunnable.java,
* plugin/icedteanp/java/netscape/javascript/JSUtil.java,
* plugin/icedteanp/java/netscape/security/ForbiddenTargetException.java,
* plugin/icedteanp/java/sun/applet/AppletSecurityContextManager.java,
* plugin/icedteanp/java/sun/applet/GetMemberPluginCallRequest.java,
* plugin/icedteanp/java/sun/applet/GetWindowPluginCallRequest.java,
* plugin/icedteanp/java/sun/applet/JavaConsole.java,
* plugin/icedteanp/java/sun/applet/MethodOverloadResolver.java,
* plugin/icedteanp/java/sun/applet/PasswordAuthenticationDialog.java,
* plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java,
* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java,
* plugin/icedteanp/java/sun/applet/PluginCallRequest.java,
* plugin/icedteanp/java/sun/applet/PluginCallRequestFactory.java,
* plugin/icedteanp/java/sun/applet/PluginClassLoader.java,
* plugin/icedteanp/java/sun/applet/PluginCookieInfoRequest.java,
* plugin/icedteanp/java/sun/applet/PluginCookieManager.java,
* plugin/icedteanp/java/sun/applet/PluginDebug.java,
* plugin/icedteanp/java/sun/applet/PluginException.java,
* plugin/icedteanp/java/sun/applet/PluginMain.java,
* plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java,
* plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java,
* plugin/icedteanp/java/sun/applet/PluginObjectStore.java,
* plugin/icedteanp/java/sun/applet/PluginProxyInfoRequest.java,
* plugin/icedteanp/java/sun/applet/PluginProxySelector.java,
* plugin/icedteanp/java/sun/applet/PluginStreamHandler.java,
* plugin/icedteanp/java/sun/applet/RequestQueue.java,
* plugin/icedteanp/java/sun/applet/TestEnv.java,
* plugin/icedteanp/java/sun/applet/VoidPluginCallRequest.java,
* plugin/tests/LiveConnect/DummyObject.java,
* plugin/tests/LiveConnect/OverloadTestHelper1.java,
* plugin/tests/LiveConnect/OverloadTestHelper2.java,
* plugin/tests/LiveConnect/OverloadTestHelper3.java,
* plugin/tests/LiveConnect/PluginTest.java,
* plugin/tests/LiveConnect/build,
* plugin/tests/LiveConnect/common.js,
* plugin/tests/LiveConnect/index.html,
* plugin/tests/LiveConnect/jjs_eval_test.js,
* plugin/tests/LiveConnect/jjs_func_parameters_tests.js,
* plugin/tests/LiveConnect/jjs_func_rettype_tests.js,
* plugin/tests/LiveConnect/jjs_get_tests.js,
* plugin/tests/LiveConnect/jjs_set_tests.js,
* plugin/tests/LiveConnect/jsj_func_overload_tests.js,
* plugin/tests/LiveConnect/jsj_func_parameters_tests.js,
* plugin/tests/LiveConnect/jsj_func_rettype_tests.js,
* plugin/tests/LiveConnect/jsj_get_tests.js,
* plugin/tests/LiveConnect/jsj_set_tests.js,
* plugin/tests/LiveConnect/jsj_type_casting_tests.js,
* plugin/tests/LiveConnect/jsj_type_conversion_tests.js:
Initial import from IcedTea6.
* AUTHORS,
* COPYING
* INSTALL,
* NEWS,
* README: New documentation.
|