-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
15644 lines (13307 loc) · 751 KB
/
ChangeLog
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
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2016-02-02 Jiri Vanek <jvanek@redhat.com>
Pre-release tuning
* Makefile.am: (netx-html-gen.stamp) set number of changests to 33 (since 1.6.1)
* NEWS: date of 1.6.2 set
* configure.ac: (AC_INIT) set to use 1.6.2
2016-02-02 Jiri Vanek <jvanek@redhat.com>
maven artifacts version substituted to contains only major version
* .Makefile: ($(abs_top_builddir)/metadata) version stripped by everything
behind second number
2016-01-28 Matthias Klose <doko@ubuntu.com>
Jiri Vanek <jvanek@redhat.com>
* Makefile: (stamps/generate-docs.stamp) added quotes around HTML_DOCS_INDEX
2016-01-26 Jiri Vanek <jvanek@redhat.com>
Messages for Invalid JDK dialog improved a bit.
* netx/net/sourceforge/jnlp/resources/Messages.properties:
* netx/net/sourceforge/jnlp/resources/Messages_cs.properties:
* netx/net/sourceforge/jnlp/resources/Messages_de.properties:
* netx/net/sourceforge/jnlp/resources/Messages_pl.properties:
2016-01-26 Jiri Vanek <jvanek@redhat.com>
Revisited some jnlp_href tests.
* tests/reproducers/signed/ClasspathManifestTest/testcases/ClasspathManifestTest.java:
explained why localtests on "." are passing (removed KnownToFail) and added
(correctly failing) tests in various dirs
* tests/reproducers/signed/CodeBaseManifestEntrySignedMatching/testcases/CodeBaseManifestEntrySignedMatching.java:
used diamond
* tests/reproducers/signed/CodeBaseManifestEntrySignedMatching/testcases/CodeBaseManifestEntrySignedNotMatching.java:
same
* tests/reproducers/signed/CodeBaseManifestEntrySignedMatching/testcases/CodeBaseManifestEntryUnsignedMatching.java:
same
* tests/reproducers/signed/CodeBaseManifestEntrySignedMatching/testcases/CodeBaseManifestEntryUnsignedNotMatching.java:
same
* tests/reproducers/simple/SingleInstanceServiceTest/testcases/SingleInstanceTest.java:
fixed midori incompatible tests
2016-01-25 Jiri Vanek <jvanek@redhat.com>
Fixed various cosmetic NPEs when codebase is null (+tests)
* NEWS: mentioned PR2489
* netx/net/sourceforge/jnlp/JNLPFile.java: added method getNotNullProbalbeCodeBase
workaround cases when codebase is null (for various output reasons)
* netx/net/sourceforge/jnlp/PluginBridge.java: using getNotNullProbalbeCodeBase
when fixing codebase during generation of jnlp stub.
* netx/net/sourceforge/jnlp/SecurityDesc.java: same for generating uri for policies
record
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (manageExternalJars)
same for ref string comparsion
* netx/net/sourceforge/jnlp/security/SecurityDialog.java: same for visible form of
codebase
* netx/net/sourceforge/jnlp/security/SecurityDialogs.java: same
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
same
* netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissionsButton.java:
same
* netx/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/PartiallySignedAppTrustWarningPanel.java:
same
* netx/net/sourceforge/jnlp/util/UrlUtils.java: (normalizeUrlAndStripParams) and
(removeFileName) when input is null, return null.
* tests/junit-runner/JunitLikeXmlOutputListener.java: now supports hg commits
* tests/reproducers/signed/CodebasesAttsSigned/srcs/CodebasesAttsSigned.java:
test printing "hardocded" id and paramet to know jar and calling jnlp/html source
* tests/reproducers/signed/CodebasesAttsSigned/resources/CodebasesAttsSigned.html.in:
resouirce capable of substitue id param, codebase, jar and htmlHref
* tests/reproducers/signed/CodebasesAttsSigned/resources/CodebasesAttsSignedApp.jnlp.in:
same
* tests/reproducers/signed/CodebasesAttsSigned/resources/CodebasesAttsSignedApplet.jnlp.in:
same
* tests/reproducers/signed/CodebasesAttsSigned/resources/CodebasesAttsSignedJnlpHref.html.in:
same
* tests/reproducers/signed/CodebasesAttsSigned/testcases/CodebasesAttsSignedDialogsTest1.java:
Test testing various dialogues of signed app. Including tests for corrupted signature
* tests/reproducers/simple/CodebasesAtts/srcs/CodebasesAtts.java: same as CodebasesAttsSigned
but not signed
* tests/reproducers/simple/CodebasesAtts/resources/CodebasesAtts.html.in:
same as signed ones
* tests/reproducers/simple/CodebasesAtts/resources/CodebasesAttsApp.jnlp.in:
same
* tests/reproducers/simple/CodebasesAtts/resources/CodebasesAttsApplet.jnlp.in:
same
* tests/reproducers/simple/CodebasesAtts/resources/CodebasesAttsJnlpHref.html.in:
same
* tests/reproducers/simple/CodebasesAtts/testcases/CodebasesAttsDialogsTest1.java:
same
* tests/reproducers/simple/CodebasesAtts/testcases/CodebasesAttsNoDialogsTest1.java:
* tests/reproducers/simple/CodebasesAtts/testcases/CodebasesAttsNoDialogsTest2.java:
* tests/reproducers/simple/CodebasesAtts/testcases/CodebasesAttsNoDialogsTest3.java:
Again tests for various substituted values
* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java:
added stubs to create independent instance upon tmp folder and execute browser
upon url.
* tests/test-extensions/net/sourceforge/jnlp/browsertesting/browsers/firefox/FirefoxProfilesOperator.java:
(copyFile) moved to autocloseable
* tests/test-extensions/net/sourceforge/jnlp/closinglisteners/AutoErrorClosingListener.java:
fixed to not to close on rhino exception
* tests/test-extensions/net/sourceforge/jnlp/closinglisteners/StringBasedClosingListener.java:
condition made protected
2016-01-19 Jiri Vanek <jvanek@redhat.com>
When tagsoup is missing, parsing errors are more informative
* acinclude.m4: when building without tagsoup, more verbose warning is printed
* netx/net/sourceforge/jnlp/GuiLaunchHandler.java: (launchError) is now noting
that BasicExceptionDialog will be shown.
* netx/net/sourceforge/jnlp/MalformedXMLParser.java: Now react on NoClassDefFoundError
by returning original stream.
* netx/net/sourceforge/jnlp/ParseException.java: Stores information about
parsers loading, and add this info to ParseException message.
* netx/net/sourceforge/jnlp/Parser.java: (getRootNode) logic retrieving parser
class extracted to separate method getParserInstance
* netx/net/sourceforge/jnlp/resources/Messages.properties: added family of TAGSOUP
for messages about its state
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: (exit) now waits for
BasicExceptionDialog.
* netx/net/sourceforge/jnlp/runtime/html/AppletExtractor.java: (cleanStreamIfPossible)
now uses Parser.getParserInstance ratehr then its own.
* netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java: Is now capable of
publishing number of shown instances.
2016-01-14 Jiri Vanek <jvanek@redhat.com>
Fridrich Strba <fridrich.strba@suse.com>
Adapted to change in package of HexDumpEncoder (1.8 sun.misc.HexDumpEncoder,
1.9 sun.security.util.HexDumpEncoder)
* acinclude.m4: added new macro IT_CHECK_FOR_HEXDUMPENCODER, which tries both
locations of HexDumpEncoder
* configure.ac: now uses IT_CHECK_FOR_HEXDUMPENCODER instead of
IT_CHECK_FOR_CLASS(SUN_MISC_HEXDUMPENCODER, [sun.misc.HexDumpEncoder])
* netx/net/sourceforge/jnlp/security/dialogs/CertsInfoPane.java: added imports
to both import sun.misc.*; and import sun.security.util.*;
2016-01-14 Jiri Vanek <jvanek@redhat.com>
Added GenericName to desktop files
* itweb-settings.desktop.in:
* javaws.desktop.in:
* policyeditor.desktop.in:
2016-01-14 Jiri Vanek <jvanek@redhat.com>
Included maven artifacts and appstream metadata
* .Makefile: (clean-local) and (.PHONY) now depends on clean-metadata.
($(abs_top_builddir)/metadata) new target, copy metadata-in to metadata and
replace name, vendor and version check-meatdata, new stand alone target, checks
correctness of poms and xmls in metadata folder. (stamps/netx-dist.stamp) now
depends on $(abs_top_builddir)/metadata. clean-metadata, new target, removes
built metadata folder
* metadata.in/icedtea-web-javaws.appdata.xml: appstream metadata for javaws
* metadata.in/icedtea-web.metainfo.xml: appstream metadata for plugin
* metadata.in/icedtea-web-plugin.pom: pom for plugin.jar
* metadata.in/icedtea-web.pom: pom for netx jar
2016-01-14 Jiri Vanek <jvanek@redhat.com>
Vendor desktop entry replaced by X-Vendor
* ChangeLog: fixed date
* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: if vendor is present in jnlp
instead of Vendor X-Vendor entry is generated to desktop file
2016-01-14 Jiri Vanek <jvanek@redhat.com>
Added reprodcuer for NoClassDeffFoundError behavior
* tests/reproducers/custom/NoClassDeff/srcs/NoClassDeff.java: small app including
inner class, which is missing in deployed jar. Then calling this class on demand
* tests/reproducers/custom/NoClassDeff/srcs/.Makefile: responsible for removing
the compiled inner class before jarring
* tests/reproducers/custom/NoClassDeff/testcases/NoClassDeffTest.java:
testing behavior when ClassNotFound/NoClassDefFound is thrown in various stages
* tests/reproducers/custom/NoClassDeff/resources/NoClassDeff.html.in:
* tests/reproducers/custom/NoClassDeff/resources/NoClassDeffApp.jnlp.in:
* tests/reproducers/custom/NoClassDeff/resources/NoClassDeffApplet.jnlp.in:
* tests/reproducers/custom/NoClassDeff/resources/NoClassDeffJnlpHref.html.in:
templates to launch app with instruction when to call LostClass and how to deal with it
2016-01-07 David Cantrell <david.l.cantrell@gmail.com>
Jiri Vanek <jvanek@redhat.com>
Andrew John Hughes <ahughes@redhat.com>
Remove bash-specifics from top level Makefile.a
* Makefile.am: (generate-docs.stamp) double == in test function replaced by single =
(stamps/netx-html-gen.stamp) call to plain bash replaced by ${SHELL}
* NEWS: mentioned PR2669
2016-01-07 Tiago Stürmer Daitx <tdaitx@gmail.com>
Jiri Vanek <jvanek@redhat.com>
Resolves an issue where, if IcedTea's call to NPN_GetValueForURL fails,
IcedTea-Web attempts to send uninitialized memory garbage across a pipe, which
(usually) results in an error. At this point, IcedTea gives up, but does not
inform Firefox that it has done so, and unless dom.ipc.plugins.asyncInit is
true, this causes Firefox's UI to lock up in addition to the Java component failing to load.
* plugin/icedteanp/IcedTeaNPPlugin.cc: (onsume_plugin_message) initialize len
and proxy_info. (get_proxy_info) returns correct message if
browser_functions.getvalueforurl returns error
* NEWS: mentioned PR2714
2016-01-07 Jiri Vanek <jvanek@redhat.com>
Codebase resolution of jnlp-href is now aligned with oracle plugin
* netx/net/sourceforge/jnlp/PluginBridge.java: When jnlp href is used, codebase
is forced to become codebase of jnlp
* netx/net/sourceforge/jnlp/SecurityDesc.java: When file.getCodeBase() is null
then instead of NPE, codebase of file.fileLocation is used
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
stripFile and ensureSlashTail moved to UrlUtils
* netx/net/sourceforge/jnlp/util/UrlUtils.java: stripFile and ensureSlashTail
moved from UnsignedAppletTrustConfirmation
* tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java: removed empty lines
* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmationTest.java:
adapted to moved methods
* tests/netx/unit/net/sourceforge/jnlp/util/UrlUtilsTest.java: added more tests
to removeFileName and enabled accidentlay disabled getHostAndPortTest and
getPortTest
* tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java:
ensured manifest attributes are off for this test
* tests/netx/unit/net/sourceforge/jnlp/ParserMalformedXml.java: fixed bom tests
to use proper classloader
2016-01-07 Jiri Vanek <jvanek@redhat.com>
BOM character now dont cause error
* netx/net/sourceforge/nanoxml/XMLElement.java: duplicated whitespace recognition
code moved to isRegularWhiteSpace. First call to scanWhitespace repalced by
call to scanLeadingWhitespace. New field BOM introduced. (scanWhitespace)
made private, and uses isRegularWhiteSpace. (scanLeadingWhitespace) new method,
same as scanWhitespacebut also skipps BOM and marks it.
* tests/netx/unit/net/sourceforge/jnlp/ParserMalformedXml.java: Added tests to
issue
* tests/netx/unit/net/sourceforge/jnlp/templates/EFBBBF.jnlp: new file. jnlp
file starting with bom.
* NEWS: mentioned PR2690
2016-01-06 James Le Cuirot <chewi@gentoo.org>
Fixed typo in javadoc generation
* Makefile.am: (stamps/netx-docs.stamp) ( _OPTS)->(JAVADOC_OPTS)
2016-01-06 Jiri Vanek <jvanek@redhat.com>
Fixed PR2591 - IcedTea-Web request resources twice for meta informations and
causes ClientAbortException on tomcat in conjunction with JnlpDownloadServlet
* NEWS: mentioned PR2591
* netx/net/sourceforge/jnlp/cache/ResourceDownloader.java: CodeWithRedirect renamed
to UrlRequestResult and now cached also lastModified and length if available.
(initializeFromURL) now expects UrlRequestResult instead of URL, (findBestUrl)
now returns in same manner
(SimpleTest1CountRequests) now passes
* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceDownloaderTest.java: adapted
to ResourceDownloader.
2016-01-06 Jiri Vanek <jvanek@redhat.com>
Added redirection tests
* tests/test-extensions/net/sourceforge/jnlp/ServerLauncher.java: Enhanced so
it can redirect requests to another instance. Enhanced to be able to count requests
* tests/test-extensions/net/sourceforge/jnlp/TinyHttpdImpl.java: same
* tests/reproducers/simple/simpletest1/testcases/SimpleTest1Test.java: small
refactoring to reuse checking methods
* tests/reproducers/simple/simpletest1/testcases/SimpleTest1CountRequests.java:
Added FAILING tests for 2591 - counting ITW requests to test server
* tests/reproducers/simple/simpletest1/testcases/SimpleTestDefaultRedirects.java:
added set of tests to test behavior under various redirect codes
2016-01-05 Jiri Vanek <jvanek@redhat.com>
* NEWS: mentioned PR2779
* html-gen.sh: now don't generate mercurial changesets' links if .hg is missing
2015-12-23 Jiri Vanek <jvanek@redhat.com>
Small properties parser in C (plugin) now unescapes \= \\ \: \t \n and \r correctly
* plugin/icedteanp/IcedTeaParseProperties.cc: (get_property_value) now unescape
known escape sequences by calling IcedTeaPluginUtilities::unescape
* plugin/icedteanp/IcedTeaPluginUtils.cc: implemented (unescape) which unescape
known properties escape sequences
* plugin/icedteanp/IcedTeaPluginUtils.h: declared (unescape)
* tests/cpp-unit-tests/IcedTeaParsePropertiesTest.cc: ((get_property_value))
added testcase which verifies unnescape of escaped sequences from get_property_value
* tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc: added family of (unescape) tests
* /tests/reproducers/signed/CheckPluginParams: reproducer to verify if params
from -D in deployment.plugin.jvm.arguments get correctly unescaped during its
way up to users program.
2015-11-26 Jiri Vanek <jvanek@redhat.com>
Main-class attribute get trimmed by default
* netx/net/sourceforge/jnlp/Parser.java: declared MAINCLASS to keep main-class
constant, declared anyWhiteSpace regex to determine whitespaces. All possible fields
made final, hardcoded main-class replaced bu constant. New method getOptionalMainClass
wrapper around getMainClass but consuming exception. getMainClass, new method
reading MAINCLASS from node and handling it. cleanMainClassAttribute, new method
trim value and do checks to die or warn if necessary.
* tests/netx/unit/net/sourceforge/jnlp/ParserTest.java: added tests for top level
behavior on various spaced main-classes. Now extends NoStdOutErrTest
* NEWS: mentioned main-class handling change
2015-11-12 Jiri Vanek <jvanek@redhat.com>
Added parser to read ico images
* netx/net/sourceforge/jnlp/controlpanel/desktopintegrationeditor/JListUtils.java:
When reading images, also ico is attempted to parse.
* netx/net/sourceforge/jnlp/tools/ico/impl/IcoException.java: new class,
exception for special cases in ico parsing
* netx/net/sourceforge/jnlp/tools/ico/impl/IcoHeader.java: new class, parser
and holder of parsed information of header of ico file
* netx/net/sourceforge/jnlp/tools/ico/impl/IcoHeaderEntry.java: new class,
parser and holder of parsed information of headers of individual images stored
in header of ico file
* netx/net/sourceforge/jnlp/tools/ico/impl/ImageInputStreamIco.java: parser
of icon files from ImageInputStream
2015-11-12 Jiri Vanek <jvanek@redhat.com>
Added desktop integration dialog
* netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java: added linux-only
button to sow FreeDesktopIntegrationEditorFrame
* netx/net/sourceforge/jnlp/controlpanel/desktopintegrationeditor/Blinker.java:
new class, blink colors on selected component
* netx/net/sourceforge/jnlp/controlpanel/desktopintegrationeditor/FreeDesktopIntegrationEditorFrame.java:
new class, window to allow managing generated icons, jnlpfiles and shortcuts
* netx/net/sourceforge/jnlp/controlpanel/desktopintegrationeditor/JListUtils.java:
new class, provides models, extensions, renderers and listeners for FreeDesktopIntegrationEditorFrame
* netx/net/sourceforge/jnlp/controlpanel/desktopintegrationeditor/Panels.java:
new class, provides various encapsulated parts of FreeDesktopIntegrationEditorFrame
* netx/net/sourceforge/jnlp/controlpanel/desktopintegrationeditor/PreviewSelectionJTextPane.java:
new class, impelmetation of preview for FreeDesktopIntegrationEditorFrame
* netx/net/sourceforge/jnlp/resources/Messages.properties: added Control
Panel - desktop integration manager DIM family
* netx/net/sourceforge/jnlp/security/dialogs/SecurityDialogPanel.java: htmlWrap
made public
* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: findFreedesktopOrgDesktopPathCatch
made public
* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPaneModel.java: replacing of chars by html
entities extracted to new method escapeHtmlForJTextPane
* tests/netx/unit/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningPanelTest.java:
htmlwrap moved to use SecurityDialogPanel's implementation
2015-11-12 Jiri Vanek <jvanek@redhat.com>
fixed build and runtime with jdk9
* netx/net/sourceforge/jnlp/NetxPanel.java: (init) setting doInit to true
replaced by call to setDoInitIfExists
* netx/sun/applet/AppletViewerPanelAccess.java: added new function of
(setDoInitIfExists) which sets doInit if exists
2015-10-27 Jiri Vanek <jvanek@redhat.com>
itweb-settings, debugging panel made aware about legacy log and client apps log
* netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java: added checboxes for
KEY_ENABLE_APPLICATION_LOGGING_TOFILE and KEY_ENABLE_LEGACY_LOGBASEDFILELOG
Cusotm config directory place was a bit repacked to be more compact and more useful.
* netx/net/sourceforge/jnlp/resources/Messages.properties: added labels
and tooltips for new checkboxes
2015-10-27 Jiri Vanek <jvanek@redhat.com>
Added and by default disabled logging to files for client applications.
* netx/net/sourceforge/jnlp/config/Defaults.java: KEY_ENABLE_APPLICATION_LOGGING_TOFILE
added and set by default to false
* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: declared
KEY_ENABLE_APPLICATION_LOGGING_TOFILE
* netx/net/sourceforge/jnlp/util/logging/FileLog.java: next to createFileLog
can now does also createAppFileLog
* netx/net/sourceforge/jnlp/util/logging/LogConfig.java: made aware of
KEY_ENABLE_APPLICATION_LOGGING_TOFILE
* netx/net/sourceforge/jnlp/util/logging/OutputController.java: if logging
to file is enabled and logging to file for client applications is enabled
then output of client app is sent also to special file. Added new singleton of
AppFileLogHolder to keep instance of file log for client app. proceedHeader
extracted as separate method to be reused.
2015-10-15 Jiri Vanek <jvanek@redhat.com>
Added to enable and write logs directly to file without java.util.logging
* netx/net/sourceforge/jnlp/config/Defaults.java: (defaults) added new key
KEY_ENABLE_LEGACY_LOGBASEDFILELOG, by default true
* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: defined
KEY_ENABLE_LEGACY_LOGBASEDFILELOG for deployment.log.file.legacylog
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: (exit) catch new exception
* netx/net/sourceforge/jnlp/util/logging/FileLog.java: removed all logic.
Now serve onl as factory provider of FileLog implementation
* netx/net/sourceforge/jnlp/util/logging/LogConfig.java: fixed indentation, made
aware about LOGBASEDFILELOG
* netx/net/sourceforge/jnlp/util/logging/OutputController.java: adapted to
autocloseable SingleStreamLogger
* netx/net/sourceforge/jnlp/util/logging/SingleStreamLogger.java: this interface
now extends AutoCloseable
* netx/net/sourceforge/jnlp/util/logging/filelogs/LogBasedFileLog.java: copy
of original FileLog. Writing to file is done via java.util.loggiing engine
* netx/net/sourceforge/jnlp/util/logging/filelogs/WriterBasedFileLog.java:
writing to file is done by simple buffered writer
* tests/netx/unit/net/sourceforge/jnlp/util/logging/FileLogTest.java: now tests
LogBasedFileLog
* tests/netx/unit/net/sourceforge/jnlp/util/logging/OutputControllerTest.java:
now tests WriterBasedFileLog instead of FileLog
* tests/netx/unit/net/sourceforge/jnlp/util/logging/WriterBasedFileLogTest.java:
Similar set of tests as are in FileLogTest but for WriterBasedFileLog
2015-10-15 Jiri Vanek <jvanek@redhat.com>
Broken file logging now dont crash itw
* NEWS: mentioned
* netx/net/sourceforge/jnlp/util/logging/FileLog.java: Instance now acquired
from factory method (createFileLog) which defaults new SingleStreamLoggerImpl
if normal initialization fails.
* netx/net/sourceforge/jnlp/util/logging/OutputController.java: (getFileLog)
uses new factory method rather then constructor.
* netx/net/sourceforge/jnlp/util/logging/SingleStreamLogger.java: enforces
now also close method
* netx/net/sourceforge/jnlp/util/logging/PrintStreamLogger.java: impl close
* netx/net/sourceforge/jnlp/util/logging/UnixSystemLog.java: impl close
* netx/net/sourceforge/jnlp/util/logging/WinSystemLog.java: impl close
* netx/net/sourceforge/jnlp/util/logging/headers/PluginMessage.java: removed
unused import
2015-10-07 Jiri Vanek <jvanek@redhat.com>
All connection restrictions now consider also port
* NEWS: mentioned restriction about ports
* netx/net/sourceforge/jnlp/SecurityDesc.java: downloadHost redeclared to URL
and made final. All set/gets adapted
* netx/net/sourceforge/jnlp/Parser.java: (base) passes url to SecurityDesc
* netx/net/sourceforge/jnlp/PluginBridge.java: (PluginBridge) same
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: same
* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: (getApplet)
(getApplets) same
* netx/net/sourceforge/jnlp/util/UrlUtils.java: added methods sanitizePort and
getPort, which always returns port. If no port goes in, default port is going
out. Added getHostAndPort which returns host also with port.
* tests/netx/unit/net/sourceforge/jnlp/SecurityDescTest.java: adapted to new api
* tests/netx/unit/net/sourceforge/jnlp/util/UrlUtilsTest.java: tested new methods
2015-10-02 Jiri Vanek <jvanek@redhat.com>
Fixed possible segfault during files on and debug on
* plugin/icedteanp/IcedTeaNPPlugin.cc: added file_logs_initiated initiated as
false. plugin_file_log initiated to NULL.
* plugin/icedteanp/IcedTeaNPPlugin.h: made aware about extern file_logs_initiated
* plugin/icedteanp/IcedTeaPluginUtils.h: (initialize_debug) set file_logs_initiated
to true after initFileLog finishes. (PLUGIN_DEBUG) and (PLUGIN_ERROR) logs to
file only when enabled and initiated.
2015-09-22 Jiri Vanek <jvanek@redhat.com>
fixed two doclint errors
* netx/net/sourceforge/jnlp/security/package-info.java: diagram put inside code annotation
* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditorPermissions.java:
(getTitle) added javadoc to prevent auto-generated return with (doclint) invalid character
2015-09-11 Jiri Vanek <jvanek@redhat.com>
Post-release changes
* NEWS: added 1.6.2 section
* configure.ac: (AC_INIT) bumped to 1.6.2pre
2015-09-10 Jiri Vanek <jvanek@redhat.com>
Pre-release tuning
* Makefile.am: (netx-html-gen.stamp) set number of changests to 40 (since 1.6.0)
* NEWS: date of 1.6.1 set
* configure.ac: (AC_INIT) set to use 1.6.1
2015-09-10 Jiri Vanek <jvanek@redhat.com>
* tests/netx/unit/net/sourceforge/jnlp/security/dialogs/apptrustwarningpanel/AppTrustWarningPanelTest.java:
Backuped, reset and restored .appletTrustSettings so its content can not affect test
2015-09-10 Jiri Vanek <jvanek@redhat.com>
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
(stripFileImp) fixed typo on variable of normlaized to normalized
2015-09-09 Jacob Wisor <gitne@icedtea.classpath.org>
* .hgignore: Fix regex patterns of files ignored by Mercurial
2015-09-09 Jacob Wisor <gitne@icedtea.classpath.org>
* ChangeLog: Fix spelling and formatting
2015-09-03 Jiri Vanek <jvanek@redhat.com>
Jacob Wisor <gitne@gmx.de>
Stefan Ring <stefan@complang.tuwien.ac.at>
Gathered and applied shards of DE translation
* netx/net/sourceforge/jnlp/resources/Messages_de.properties: added throng of keys
* AUTHORS: added Stefan Ring, stefan@complang.tuwien.ac.at
2015-09-03 Jiri Vanek <jvanek@redhat.com>
* NEWS: mentioned fixes for RH1233697, RH1233667 and reuse of MissingALACAdialog
for unsigned applications
2015-09-03 Jiri Vanek <jvanek@redhat.com>
Fixed ArrayIndexOutOfBound in version corner case issue
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java:
length of array is checked,
* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/VersionRestrictionTest.java:
added tests for this case
* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImplTest.java:
(updateAppletActionTest1) adapted to version string
2015-09-03 Jiri Vanek <jvanek@redhat.com>
Added identifier to .appletTrustSettings to specify version of file
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java:
added handling of version - readVersion, versionPreffix, backup, currentVersion.
(readLine) when first line is read, it is checked for version and acted. If
loaded version is missing or older then current 2, then file is not loaded.
otherwise normal loading. (writeContent) now inserts header with version.
(actOnVersionLoad) new method, handling consequences of recognized x current version
(backupOldFile) new method, backing up old file as .appletTrustSettings.version-backup
* netx/net/sourceforge/jnlp/util/UrlUtils.java: consumed exception during
normalization is logged only to console/verbose
* tests/netx/unit/net/sourceforge/jnlp/security/SecurityDialogsTest.java:
added considering of version
* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/LegacyUnsignedAppletActionStorageImplTest.java:
same
* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImplTest.java:
same
* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/impl/VersionRestrictionTest.java:
new test file testing version recognition and processing
2015-09-02 Jiri Vanek <jvanek@redhat.com>
All UrlRegEx-es got unified and correct quoting
* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletActionTableModel.java:
(addRow) now uses factory methods of quoteAndStar form UrlRegEx
* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java:
same, but of exact. Removed redundant space in APPEXTSECguiPanelTableInvalid key
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionEntry.java:
same of exact.
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
same
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageExtendedImpl.java:
same
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java:
same
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UrlRegEx.java:
constructor made private, field final. Creation allowed over factory methods of
quote. quoteAndStar, exact. Added and iprved mehtods for visualisation
* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/UrlRegExTest.java:
new test file with tests to new methods in UrlRegex
2015-09-02 Jiri Vanek <jvanek@redhat.com>
Newline characters are banned from saving to .appletTrustSettings
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/InvalidLineException.java:
New file. Exception to be specially handled if error appear in saved line.
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletActionEntry.java:
(serializeToReadableAndParseableString) if new-line appear in line,
InvalidLineException is thrown
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/impl/UnsignedAppletActionStorageImpl.java:
(writeContent) InvalidLineException is expected and logged.
* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmationTest.java:
adapted and quite a lot of tests added.
* tests/reproducers/simple/UnicodeLineBreak/resources/UnicodeLineBreak.java:
* tests/reproducers/simple/UnicodeLineBreak/srcs/UnicodeLineBreak.java:
* tests/reproducers/simple/UnicodeLineBreak/testcases/UnicodeLineBreakTests.java:
half automated reproducer of this behavior
* netx/net/sourceforge/jnlp/runtime/HtmlBoot.java: based on existence of -xml,
now can turn off tagsoup
* netx/net/sourceforge/jnlp/runtime/html/AppletExtractor.java: is passing
parsersettings to HtmlBoot
2015-09-01 Jiri Vanek <jvanek@redhat.com>
Saving of status of dialogs for "whole codebase" now includes also document base
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
(updateAppletAction) now saves base of docbase instead of .* "for remember for codebase"
stripFile - new method, ensuring docbase do not contains file
* tests/netx/unit/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmationTest.java:
added testSripFile unit test for new method
* tests/reproducers/simple/FakeCodebase/resources/FakeCodebase.html.in:
* tests/reproducers/simple/FakeCodebase/resources/FakeCodebase.jnlp.in:
* tests/reproducers/simple/FakeCodebase/resources/OriginalCodebase.html:
* tests/reproducers/simple/FakeCodebase/resources/OriginalCodebase.jnlp:
* tests/reproducers/simple/FakeCodebase/srcs/FakeCodebase.java:
* tests/reproducers/simple/FakeCodebase/testcases/FakeCodebaseTests.java:
Reproducer of this behavior
2015-09-01 Jiri Vanek <jvanek@redhat.com>
application-library-allowable-codebase dialog made available for unsigned apps
* netx/net/sourceforge/jnlp/resources/Messages.properties: (ALACAMissingMainTitle)
added warning about possible consequences of resources out of docbase.
(ALACAMatchingMainTitle) the red higlights changed to green and added calming
words about it.
* netx/net/sourceforge/jnlp/resources/Messages_cs.properties: same
* netx/net/sourceforge/jnlp/resources/Messages_de.properties: same
* netx/net/sourceforge/jnlp/resources/Messages_pl.properties: adapted to red
to green recoloring
* netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java:
(checkApplicationLibraryAllowableCodebaseAttribute) removed return for in case
of unsigned app. Fixed check for all matching resources against codebase and docbase
If app is unsigned, then value in manifest is ignored. Missing alaca required
also in low security mode
* tests/netx/unit/net/sourceforge/jnlp/runtime/ManifestAttributesCheckerTest.java:
new file to test stripDocbase.
2015-09-01 Andrew Azores <aazores@redhat.com>
Add -defaultfile switch to PolicyEditor
* netx/net/sourceforge/jnlp/resources/Messages.properties
(PBODefaultFileFilePathSpecifiedError): new message
* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
(openDefaultButtonAction): refactor to use getDefaultPolicyFilePath
(getDefaultPolicyFilePath): new method
(getFilePathArgument): add -defaultfile switch support
2015-09-01 Andrew Azores <aazores@redhat.com>
Add texts for PolicyEditor's -defaultfile switch
* icedteaweb-completion: added -defaultfile to policyeditor options
* netx/net/sourceforge/jnlp/OptionsDefinitions.java: added DEFAULTFILE to
PolicyEditor options
* netx/net/sourceforge/jnlp/resources/Messages.properties
(PBODefaultFile): new message
2015-07-30 Andrew Azores <aazores@redhat.com>
PolicyEditor -file switch and main argument cannot be used in conjunction
* NEWS: add note
* netx/net/sourceforge/jnlp/resources/Messages.properties
(PEMainArgAndFileSwitchSpecifiedError): new message
* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
(main): die when both main arg and -file are given
(getFilePathArgument): new method
(cleanFilePathArgument): new method
2015-07-27 Jiri Vanek <jvanek@redhat.com>
Removed last remains of BOOT_DIR
* Makefile.am: declared and exported EXPORTED_JAR EXPORTED_KEYTOOL
EXPORTED_JARSIGNER EXPORTED_PACK200
* tests/reproducers/custom/AdditionalJarsInMetaInfIndexList/srcs/Makefile:
all of (BOOT_DIR)/bin/keytool (BOOT_DIR)/bin/jarsigner (BOOT_DIR)/bin/javac
(BOOT_DIR)/bin/jar (BOOT_DIR)/bin/pack200 replaced by (EXPORTED_KEYTOOL)
(EXPORTED_JARSIGNER) (EXPORTED_JAVAC) (EXPORTED_JAR) (EXPORTED_PACK200)
* tests/reproducers/custom/AppletExtendsFromOutsideJar/srcs/Makefile: same
* tests/reproducers/custom/ExtensionJnlpsInApplet/srcs/Makefile: same
* tests/reproducers/custom/JNLPClassLoaderDeadlock/srcs/Makefile: same
* tests/reproducers/custom/MixedSigningApplet/srcs/Makefile: same
* tests/reproducers/custom/MultipleSignaturesPerJar/srcs/Makefile: same
* tests/reproducers/custom/PackGZip/srcs/Makefile: same
* tests/reproducers/custom/PartiallySignedAppletManifestSpecifiesSandbox/srcs/Makefile:
same
* tests/reproducers/custom/SignedAppletCodebaseLoading/srcs/Makefile: same
* tests/reproducers/custom/SignedAppletExternalMainClass/srcs/Makefile: same
* tests/reproducers/custom/TrustedOnlyAttribute/srcs/Makefile: same
* tests/reproducers/custom/UnsignedContentInMETAINF/srcs/Makefile: same
2015-07-30 Jiri Vanek <jvanek@redhat.com>
replaced Trusted-only by Trusted-Only, cosmetic change in TrustedOnlyAttribute reproducer
* tests/reproducers/custom/TrustedOnlyAttribute/resources/TrustedOnlyAttribute-signed-nosecurity.jnlp:
* tests/reproducers/custom/TrustedOnlyAttribute/resources/TrustedOnlyAttribute-signed-security.jnlp:
* tests/reproducers/custom/TrustedOnlyAttribute/resources/TrustedOnlyAttribute-unsigned-nosecurity.jnlp:
* tests/reproducers/custom/TrustedOnlyAttribute/resources/TrustedOnlyAttribute-unsigned-security.jnlp:
* tests/reproducers/custom/TrustedOnlyAttribute/srcs/MANIFEST.MF:
2015-07-29 Jiri Vanek <jvanek@redhat.com>
Enabled and properly tested Entry-Point attribute check
* NEWS: mentioned enabling
* netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java: enabled
call to checkEntryPoint if enabled
* tests/reproducers/signed/EntryPointSignedSingleBothInvalid/resources/EntryPointSignedSingleBothInvalid.java:
* tests/reproducers/signed/EntryPointSignedSingleBothInvalid/resources/EntryPointSignedSingleBothInvalid.java:
* tests/reproducers/signed/EntryPointSignedSingleBothInvalid/resources/EntryPointSignedSingleBothInvalid_applet.java:
* tests/reproducers/signed/EntryPointSignedSingleBothInvalid/resources/EntryPointSignedSingleBothInvalid_applet_security.java:
* tests/reproducers/signed/EntryPointSignedSingleBothInvalid/resources/EntryPointSignedSingleBothInvalid_security.java:
* tests/reproducers/signed/EntryPointSignedSingleBothInvalid/srcs/EntryPointSignedSingleBothInvalid.java:
* tests/reproducers/signed/EntryPointSignedSingleBothInvalid/srcs/META-INF/MANIFEST.java:
* tests/reproducers/signed/EntryPointSignedSingleBothInvalid/testcases/EntryPointSignedSingleBothInvalidTest.java:
tests for Entry-Point with two values, both invalid
* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk1.java:
* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk1.java:
* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk2.java:
* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk2.java:
* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk_applet1.java:
* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk_applet2.java:
* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk_applet_security1.java:
* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk_applet_security2.java:
* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk_security1.java:
* tests/reproducers/signed/EntryPointSignedSingleBothOk/resources/EntryPointSignedSingleBothOk_security2.java:
* tests/reproducers/signed/EntryPointSignedSingleBothOk/srcs/EntryPointSignedSingleBothOk1.java:
* tests/reproducers/signed/EntryPointSignedSingleBothOk/srcs/EntryPointSignedSingleBothOk2.java:
* tests/reproducers/signed/EntryPointSignedSingleBothOk/srcs/META-INF/MANIFEST.java:
* tests/reproducers/signed/EntryPointSignedSingleBothOk/testcases/EntryPointSignedSingleBothOkTest1.java:
* tests/reproducers/signed/EntryPointSignedSingleBothOk/testcases/EntryPointSignedSingleBothOkTest2.java:
tests for Entry-Point with two values, both valid
* tests/reproducers/signed/EntryPointSignedSingleFirstInvalidSecondOk/resources/EntryPointSignedSingleFirstInvalidSecondOk.java:
* tests/reproducers/signed/EntryPointSignedSingleFirstInvalidSecondOk/resources/EntryPointSignedSingleFirstInvalidSecondOk.java:
* tests/reproducers/signed/EntryPointSignedSingleFirstInvalidSecondOk/resources/EntryPointSignedSingleFirstInvalidSecondOk_applet.java:
* tests/reproducers/signed/EntryPointSignedSingleFirstInvalidSecondOk/resources/EntryPointSignedSingleFirstInvalidSecondOk_applet_security.java:
* tests/reproducers/signed/EntryPointSignedSingleFirstInvalidSecondOk/resources/EntryPointSignedSingleFirstInvalidSecondOk_security.java:
* tests/reproducers/signed/EntryPointSignedSingleFirstInvalidSecondOk/srcs/EntryPointSignedSingleFirstInvalidSecondOk.java:
* tests/reproducers/signed/EntryPointSignedSingleFirstInvalidSecondOk/srcs/META-INF/MANIFEST.java:
* tests/reproducers/signed/EntryPointSignedSingleFirstInvalidSecondOk/testcases/EntryPointSignedSingleFirstInvalidSecondOkTest.java:
tests for Entry-Point with two values, first invalid, second ok
* tests/reproducers/signed/EntryPointSignedSingleInvalid/resources/EntryPointSignedSingleInvalid.java:
* tests/reproducers/signed/EntryPointSignedSingleInvalid/resources/EntryPointSignedSingleInvalid.java:
* tests/reproducers/signed/EntryPointSignedSingleInvalid/resources/EntryPointSignedSingleInvalid_applet.java:
* tests/reproducers/signed/EntryPointSignedSingleInvalid/resources/EntryPointSignedSingleInvalid_applet_security.java:
* tests/reproducers/signed/EntryPointSignedSingleInvalid/resources/EntryPointSignedSingleInvalid_security.java:
* tests/reproducers/signed/EntryPointSignedSingleInvalid/srcs/EntryPointSignedSingleInvalid.java:
* tests/reproducers/signed/EntryPointSignedSingleInvalid/srcs/META-INF/MANIFEST.java:
* tests/reproducers/signed/EntryPointSignedSingleInvalid/testcases/EntryPointSignedSingleInvalidTest.java:
tests for Entry-Point with one invalid value
* tests/reproducers/signed/EntryPointSignedSingleOk/resources/EntryPointSignedSingleOk.java:
* tests/reproducers/signed/EntryPointSignedSingleOk/resources/EntryPointSignedSingleOk.java:
* tests/reproducers/signed/EntryPointSignedSingleOk/resources/EntryPointSignedSingleOk_applet.java:
* tests/reproducers/signed/EntryPointSignedSingleOk/resources/EntryPointSignedSingleOk_applet_security.java:
* tests/reproducers/signed/EntryPointSignedSingleOk/resources/EntryPointSignedSingleOk_security.java:
* tests/reproducers/signed/EntryPointSignedSingleOk/srcs/EntryPointSignedSingleOk.java:
* tests/reproducers/signed/EntryPointSignedSingleOk/srcs/META-INF/MANIFEST.java:
* tests/reproducers/signed/EntryPointSignedSingleOk/testcases/EntryPointSignedSingleOkTest.java:
tests for Entry-Point with one ok value
* tests/reproducers/signed/EntryPointSignedSingleSecondInvalidFirstOk/resources/EntryPointSignedSingleSecondInvalidFirstOk.java:
* tests/reproducers/signed/EntryPointSignedSingleSecondInvalidFirstOk/resources/EntryPointSignedSingleSecondInvalidFirstOk.java:
* tests/reproducers/signed/EntryPointSignedSingleSecondInvalidFirstOk/resources/EntryPointSignedSingleSecondInvalidFirstOk_applet.java:
* tests/reproducers/signed/EntryPointSignedSingleSecondInvalidFirstOk/resources/EntryPointSignedSingleSecondInvalidFirstOk_applet_security.java:
* tests/reproducers/signed/EntryPointSignedSingleSecondInvalidFirstOk/resources/EntryPointSignedSingleSecondInvalidFirstOk_security.java:
* tests/reproducers/signed/EntryPointSignedSingleSecondInvalidFirstOk/srcs/EntryPointSignedSingleSecondInvalidFirstOk.java:
* tests/reproducers/signed/EntryPointSignedSingleSecondInvalidFirstOk/srcs/META-INF/MANIFEST.java:
* tests/reproducers/signed/EntryPointSignedSingleSecondInvalidFirstOk/testcases/EntryPointSignedSingleSecondInvalidFirstOkTest.java:
tests for Entry-Point with two values, first ok, second invalid
* tests/reproducers/simple/EntryPointUnsignedSingleInvalid/resources/EntryPointUnsignedSingleInvalid.java:
* tests/reproducers/simple/EntryPointUnsignedSingleInvalid/resources/EntryPointUnsignedSingleInvalid.java:
* tests/reproducers/simple/EntryPointUnsignedSingleInvalid/resources/EntryPointUnsignedSingleInvalid_applet.java:
* tests/reproducers/simple/EntryPointUnsignedSingleInvalid/resources/EntryPointUnsignedSingleInvalid_applet_security.java:
* tests/reproducers/simple/EntryPointUnsignedSingleInvalid/resources/EntryPointUnsignedSingleInvalid_security.java:
* tests/reproducers/simple/EntryPointUnsignedSingleInvalid/srcs/EntryPointUnsignedSingleInvalid.java:
* tests/reproducers/simple/EntryPointUnsignedSingleInvalid/srcs/META-INF/MANIFEST.java:
* tests/reproducers/simple/EntryPointUnsignedSingleInvalid/testcases/EntryPointUnsignedSingleInvalidTest.java:
tests for Entry-Point with one invalid value in unsigned jar (ignoring this value)
2015-07-22 Fridrich Strba <fridrich.strba@suse.com>
* Makefile.am: (generate-docs.stamp) added '-' to tail of tail command as
some implementations of tail parse the file information as the last argument
2015-07-20 Jiri Vanek <jvanek@redhat.com>
Tuned permissions attribute behavior for unsigned jnlps
* NEWS: change of permissions attribute mentioned in news
* netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java:
permissions sandbox and signed app and unsigned app with permissions all-permissions
now run in sandbox instead of not at all.
* tests/reproducers/signed/SandboxSignedSandbox/testcases/SandboxSignedSandboxTest.java:
Failing tests of (javawsAllPermNoSecurity) (javawsAppletAllPermNoSecurity)
with bug comment got removed this comment and are now passing
* tests/reproducers/simple/SandboxUnsignedAllPerm/testcases/SandboxUnsignedAllPermTest.java
Failing tests of (javawsAllPermNoSecurity) (javawsAppletAllPermNoSecurity)
with bug comment got removed this comment and are now passing
2015-07-20 Jiri Vanek <jvanek@redhat.com>
Added tests for signed applet/app using Permission attribute and for unsigned applet/app using Permission attribute
* tests/reproducers/signed/SandboxSignedAllPerm/resources/SandboxSignedAllPerm.html
* tests/reproducers/signed/SandboxSignedAllPerm/resources/SandboxSignedAllPerm.jnlp
* tests/reproducers/signed/SandboxSignedAllPerm/resources/SandboxSignedAllPerm_applet.jnlp
* tests/reproducers/signed/SandboxSignedAllPerm/resources/SandboxSignedAllPerm_applet_security.jnlp
* tests/reproducers/signed/SandboxSignedAllPerm/resources/SandboxSignedAllPerm_security.jnlp
* tests/reproducers/signed/SandboxSignedAllPerm/srcs/META-INF/MANIFEST.MF
contains Permissions: all-permissions
* tests/reproducers/signed/SandboxSignedAllPerm/srcs/SandboxSignedAllPerm.java
* tests/reproducers/signed/SandboxSignedAllPerm/testcases/SandboxSignedAllPermTest.java
test cases with permissions in manifest check on
* tests/reproducers/signed/SandboxSignedInvalid/resources/SandboxSignedInvalid.html
* tests/reproducers/signed/SandboxSignedInvalid/resources/SandboxSignedInvalid.jnlp
* tests/reproducers/signed/SandboxSignedInvalid/resources/SandboxSignedInvalid_applet.jnlp
* tests/reproducers/signed/SandboxSignedInvalid/resources/SandboxSignedInvalid_applet_security.jnlp
* tests/reproducers/signed/SandboxSignedInvalid/resources/SandboxSignedInvalid_security.jnlp
* tests/reproducers/signed/SandboxSignedInvalid/srcs/META-INF/MANIFEST.MF
contains Permissions: invalidValue
* tests/reproducers/signed/SandboxSignedInvalid/srcs/SandboxSignedInvalid.java
* tests/reproducers/signed/SandboxSignedInvalid/testcases/SandboxSignedInvalidTest.java
test cases with permissions in manifest check on
* tests/reproducers/signed/SandboxSignedMissing/resources/SandboxSignedMissing.html
* tests/reproducers/signed/SandboxSignedMissing/resources/SandboxSignedMissing.jnlp
* tests/reproducers/signed/SandboxSignedMissing/resources/SandboxSignedMissing_applet.jnlp
* tests/reproducers/signed/SandboxSignedMissing/resources/SandboxSignedMissing_applet_security.jnlp
* tests/reproducers/signed/SandboxSignedMissing/resources/SandboxSignedMissing_security.jnlp
* tests/reproducers/signed/SandboxSignedMissing/srcs/META-INF/MANIFEST.MF
does not contains Permissions
* tests/reproducers/signed/SandboxSignedMissing/srcs/SandboxSignedMissing.java
* tests/reproducers/signed/SandboxSignedMissing/testcases/SandboxSignedMissingTest.java
test cases with permissions in manifest check on
* tests/reproducers/signed/SandboxSignedMissing/testcases/SandboxSignedMissingTestHighSecurity.java
test cases with permissions in manifest check on and on high security => interactive tests
with auto-reply
* tests/reproducers/signed/SandboxSignedSandbox/resources/SandboxSignedSandbox.html
* tests/reproducers/signed/SandboxSignedSandbox/resources/SandboxSignedSandbox.jnlp
* tests/reproducers/signed/SandboxSignedSandbox/resources/SandboxSignedSandbox_applet.jnlp
* tests/reproducers/signed/SandboxSignedSandbox/resources/SandboxSignedSandbox_applet_security.jnlp
* tests/reproducers/signed/SandboxSignedSandbox/resources/SandboxSignedSandbox_security.jnlp
* tests/reproducers/signed/SandboxSignedSandbox/srcs/META-INF/MANIFEST.MF
contains Permissions: sandbox
* tests/reproducers/signed/SandboxSignedSandbox/srcs/SandboxSignedSandbox.java
* tests/reproducers/signed/SandboxSignedSandbox/testcases/SandboxSignedSandboxTest.java
test cases with permissions in manifest check on. Contains two failing tests
currently itw with sandbox in manifest and jnlp not requesting permissions fails.
Bug to be fixed
* tests/reproducers/unsigned/SandboxUnsignedAllPerm/resources/SandboxUnsignedAllPerm.html
* tests/reproducers/unsigned/SandboxUnsignedAllPerm/resources/SandboxUnsignedAllPerm.jnlp
* tests/reproducers/unsigned/SandboxUnsignedAllPerm/resources/SandboxUnsignedAllPerm_applet.jnlp
* tests/reproducers/unsigned/SandboxUnsignedAllPerm/resources/SandboxUnsignedAllPerm_applet_security.jnlp
* tests/reproducers/unsigned/SandboxUnsignedAllPerm/resources/SandboxUnsignedAllPerm_security.jnlp
* tests/reproducers/unsigned/SandboxUnsignedAllPerm/srcs/META-INF/MANIFEST.MF
contains Permissions: all-permissions
* tests/reproducers/unsigned/SandboxUnsignedAllPerm/srcs/SandboxUnsignedAllPerm.java
* tests/reproducers/unsigned/SandboxUnsignedAllPerm/testcases/SandboxUnsignedAllPermTest.java
test cases with permissions in manifest check on. There is probably an bug in impl.
The applet should not run at all, or javaws without permissions should run in sandbox too.
* tests/reproducers/unsigned/SandboxUnsignedInvalid/resources/SandboxUnsignedInvalid.html
* tests/reproducers/unsigned/SandboxUnsignedInvalid/resources/SandboxUnsignedInvalid.jnlp
* tests/reproducers/unsigned/SandboxUnsignedInvalid/resources/SandboxUnsignedInvalid_applet.jnlp
* tests/reproducers/unsigned/SandboxUnsignedInvalid/resources/SandboxUnsignedInvalid_applet_security.jnlp
* tests/reproducers/unsigned/SandboxUnsignedInvalid/resources/SandboxUnsignedInvalid_security.jnlp
* tests/reproducers/unsigned/SandboxUnsignedInvalid/srcs/META-INF/MANIFEST.MF
contains Permissions: invalidValue
* tests/reproducers/unsigned/SandboxUnsignedInvalid/srcs/SandboxUnsignedInvalid.java
* tests/reproducers/unsigned/SandboxUnsignedInvalid/testcases/SandboxUnsignedInvalidTest.java
test cases with permissions in manifest check on
* tests/reproducers/unsigned/SandboxUnsignedMissing/resources/SandboxUnsignedMissing.html
* tests/reproducers/unsigned/SandboxUnsignedMissing/resources/SandboxUnsignedMissing.jnlp
* tests/reproducers/unsigned/SandboxUnsignedMissing/resources/SandboxUnsignedMissing_applet.jnlp
* tests/reproducers/unsigned/SandboxUnsignedMissing/resources/SandboxUnsignedMissing_applet_security.jnlp
* tests/reproducers/unsigned/SandboxUnsignedMissing/resources/SandboxUnsignedMissing_security.jnlp
* tests/reproducers/unsigned/SandboxUnsignedMissing/srcs/META-INF/MANIFEST.MF
does not contains Permissions
* tests/reproducers/unsigned/SandboxUnsignedMissing/srcs/SandboxUnsignedMissing.java
* tests/reproducers/unsigned/SandboxUnsignedMissing/testcases/SandboxUnsignedMissingTest.java
test cases with permissions in manifest check on
* tests/reproducers/unsigned/SandboxUnsignedMissing/testcases/SandboxUnsignedMissingTestHighSecurity.java
test cases with permissions in manifest check on and on high security => interactive tests
with auto-reply
* tests/reproducers/unsigned/SandboxUnsignedSandbox/resources/SandboxUnsignedSandbox.html
* tests/reproducers/unsigned/SandboxUnsignedSandbox/resources/SandboxUnsignedSandbox.jnlp
* tests/reproducers/unsigned/SandboxUnsignedSandbox/resources/SandboxUnsignedSandbox_applet.jnlp
* tests/reproducers/unsigned/SandboxUnsignedSandbox/resources/SandboxUnsignedSandbox_applet_security.jnlp
* tests/reproducers/unsigned/SandboxUnsignedSandbox/resources/SandboxUnsignedSandbox_security.jnlp
* tests/reproducers/unsigned/SandboxUnsignedSandbox/srcs/META-INF/MANIFEST.MF
contains Permissions: sandbox
* tests/reproducers/unsigned/SandboxUnsignedSandbox/srcs/SandboxUnsignedSandbox.java
* tests/reproducers/unsigned/SandboxUnsignedSandbox/testcases/SandboxUnsignedSandboxTest.java
test cases with permissions in manifest check on.
2015-07-20 Jiri Vanek <jvanek@redhat.com>
Fixed download service
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (fillInPartJars)
for-each loop replaced by indexed loop to prevent ConcurrentModificationException
* tests/reproducers/signed/DownloadService/testcases/DownloadServiceTest.java:
small refactoring in favour of diamond operator
2015-06-25 Jiri Vanek <jvanek@redhat.com>
Fixed to short buttons for localized text - RH1231441
* NEWS: mentioned RH1231441
* netx/net/sourceforge/jnlp/security/dialogs/AppletWarningPane.java: removed
set of preferred sizes to minimal size
* netx/net/sourceforge/jnlp/security/dialogs/PasswordAuthenticationPane.java
same
* netx/net/sourceforge/jnlp/security/dialogs/CertWarningPane.java: same
* netx/net/sourceforge/jnlp/security/dialogs/MissingALACAttributePanel.java:
same
* netx/net/sourceforge/jnlp/security/dialogs/MissingPermissionsAttributePanel.java:
same
2015-06-15 Jiri Vanek <jvanek@redhat.com>
Updated NEWS, added javadoc fo security package
* NEWS: mentioned major work in last month and half
* netx/net/sourceforge/jnlp/security/package-info.java: new file, describing
flow of SecurityDialogMessage
2015-06-10 Jiri Vanek <jvanek@redhat.com>
Security dialogs got, moreover, unified dealing with trustNone/All and headless
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: setTrustAll setTrustNone
made public so it can be used in testing.
* netx/net/sourceforge/jnlp/security/SecurityDialogs.java: all calls to show
security dialog now have correct introduction based on shouldPromptUser with
resolution based on trustAll. (shouldPromptUser) now takes also headless to
accounting.
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/UnsignedAppletTrustConfirmation.java:
(checkUnsignedWithUserIfRequired) now react trustAll and trustNone
(checkPartiallySignedWithUserIfRequired) now react also trustAll
* tests/netx/unit/net/sourceforge/jnlp/security/SecurityDialogsTest.java: added
tests verifying adapted logic
2015-06-09 Jiri Vanek <jvanek@redhat.com>
Fixed issue, when desktop/menu shortcut created during -html mode, was not created like it
* netx/net/sourceforge/jnlp/runtime/Boot.java: setHtml(true) used when
command line contains html switch
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: added html field and setter and getter
* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: (getContentsAsReader) now
add -html if jnlpruntime.isHtml.
* tests/netx/unit/net/sourceforge/jnlp/util/XDesktopEntryTest.java: added tests for new
functionality
* Changelog: occurence of tab asterix slash replaced by tab asterix space in file
declarations
2015-06-09 Jiri Vanek <jvanek@redhat.com>
Fixed bug when generated desktop icon was not matched and user was asked for recreation
* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: (getShortcutTmpFile)
(getLinuxDesktopIconFile) (getLinuxMenuIconFile) now generate file name by
same way. By new method getDesktopIconFileName which is using sanitizing
getDesktopIconName.
2015-05-27 Jiri Vanek <jvanek@redhat.com>
Improved caching of files obtained via query
* netx/net/sourceforge/jnlp/cache/CacheUtil.java: now consider also query(if any)
when creating file-name for item to be cached
* tests/netx/unit/net/sourceforge/jnlp/cache/CacheUtilTest.java: fixed old
tests due to change and added two new tests to test change.
* tests/netx/unit/net/sourceforge/jnlp/cache/ResourceDownloaderTest.java:
removed unused import.
2015-05-22 Jiri Vanek <jvanek@redhat.com>
Comments in deployment.properties now persists saving via itweb-settings
* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: (loadComments)
new method. Saves every line starting with # char except date and
DEPLOYMENT_COMMENT. (load) This method is called before every load, and read lines
are stored. (save) Saved comments are inserted to other comments before call to
store.
* tests/netx/unit/net/sourceforge/jnlp/PluginBridgeTest.java: (countOccurences)
made public so it can be reused
* tests/netx/unit/net/sourceforge/jnlp/config/DeploymentConfigurationTest.java:
added tests to verify preserving of comments and non-multiplying date and
DEPLOYMENT_COMMENT
2015-05-22 Jiri Vanek <jvanek@redhat.com>
Removed garbage from htmls' width and height
* netx/net/sourceforge/jnlp/runtime/html/AppletParser.java: new method
(sanitizeSize) which remove all non digit content from string
* tests/netx/unit/net/sourceforge/jnlp/runtime/html/AppletParserTest.java:
new file, test for (sanitizeSize)
2015-05-04 Jie Kang <jkang@redhat.com>
Fix policyeditor file flag to work when used standalone
* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java:
(main): filepath no longer set to null when file flag has parameter and
there is no main argument
2015-04-29 Jiri Vanek <jvanek@redhat.com>
1.6 post-release operations
* configure.ac: bumped (AC_INIT) to 1.6pre
* NEWS: Added 1.6.1 section,
2015-04-28 Jiri Vanek <jvanek@redhat.com>
Fixed incorrect usage of apostrophes in intro generation
* Makefile.am: (stamps/generate-docs.stamp) fixed redundant false in version
appearing in doc intro
2015-04-28 Jiri Vanek <jvanek@redhat.com>
Pre-release tuning
* Makefile.am: (netx-html-gen.stamp) set number of changests to 235 (since 1.5)
* NEWS: date of 1.6 set to 2015-04-29
* configure.ac: (AC_INIT) set to use 1.6
2015-04-28 Jiri Vanek <jvanek@redhat.com>
* README: updated to match current state.
2015-04-28 Jiri Vanek <jvanek@redhat.com>
Improved JDK9 detection
* acinclude.m4: (IT_CHECK_FOR_JDK) if found jdk is link, then it is printed
out also as resolved. (IT_CHECK_FOR_JRE) same, plus except classical JDK/jre
verification, also modular JRE is checked.
2015-04-27 Lukasz Dracz <ldracz@redhat.com>
Removed Executable Permissions from bash completion
* icedteaweb-completion
2015-04-24 Jiri Vanek <jvanek@redhat.com>