forked from AdoptOpenJDK/IcedTea-Web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
18336 lines (15487 loc) · 893 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
2019-03-14 Jiri Vanek <[email protected]>
Post-release changes
* NEWS: added 1.9 section
* configure.ac: (AC_INIT) bumped to 1.9pre
2019-03-12 Lars Herschke <[email protected]>
Hidden console on Windows
* rust-launcher/src/dirs_paths_helper.rs: factory for windows os now supply third parameter
* rust-launcher/src/main.rs: (get_os) on windows now have three params. Call to get os if-windows cfged out
(main) parent process is now checking ATTACH_PARENT_PROCESS before get_os on windows
* rust-launcher/src/os_access.rs: oon windows, without console, no window is enforced. Trait got win-only inside_console method
windows impl of os_access. Win module made public to expose AttachConsole function.
* rust-launcher/src/utils.rs: test logger got windows-only inside_console
2019-03-12 Jiri Vanek <[email protected]>
Pre-release tuning
* Makefile.am: (netx-html-gen.stamp) set number of changests to 140 (since 1.7)
* NEWS: date of 1.8 set
* configure.ac: (AC_INIT) set to use 1.8
2019-03-07 Lars Herschke <[email protected]>
Native launchers now iterate through various keys of jre/jdk in registry
* rust-launcher/src/os_access.rs: introduced RegQueryInfoKeyW and RegEnumKeyExW to enable registry query
jdk_registry_path renamed to java_registry_path. jdk_registry_path now iterates over several keys
* rust-launcher/src/utils.rs: adapted, and if jdk is found, its jre is used.
2019-03-06 Jiri Vanek <[email protected]>
Lars Herschke <[email protected]>
On windows, use dunce to canonicalize paths
* rust-launcher/Cargo.toml: added dunce crate for windows target
* rust-launcher/src/dirs_paths_helper.rs: declared canonicalize methods, one for windows, second for not-windows.
The windows one is using dunce, other is on PathBuf.
* rust-launcher/src/utils.rs:used above method instead PathBuf::canonicalize
2019-03-05 Jiri Vanek <[email protected]>
Lars Herschke <[email protected]>
Fixed path to jfxrt.jar from lib/jfxrt.jar to ext/lib
* rust-launcher/src/jars_helper.rs: in (get_cp_members)
* shell-launcher/launchers.bat.in: in both CP and CUSTOM_JRE
* shell-launcher/launchers.sh.in: in both CP and CUSTOM_JRE
2019-03-05 Lars Herschke <[email protected]>
* acinclude.m4: Moved windows specific check for JDK on the begging of SYSTEM_JDK part of IT_CHECK_FOR_JDK macro
to fix search on windows
2019-03-05 Lars Herschke <[email protected]>
* Makefile.am: removed dual slash between destdir and modularjdk, included CPPUNIT_FRAMEWORK_CLEAN_IMPL with
clean-unittest++-impl/placeholder to avoid fail of unknown target when native plugin is gone. Cleaning up rust_test_tmp
2019-02-28 Jiri Vanek <[email protected]>
Michal Vala <[email protected]>
* Makefile.am: using proper classpath separator variable instead of hardcoded one
2019-02-27 Jiri Vanek <[email protected]>
Alexandr Kolouch <[email protected]>
Added Czech translation for 1.8
* netx/net/sourceforge/jnlp/resources/Messages_cs.properties: adapted
2019-02-27 Jiri Vanek <[email protected]>
keytool command used to create test keystores is called windows friendly
* Makefile.am: path to keystore or PUBLIC_KEYSTORE is preprocessed via cygapth on windows
2019-02-27 Jiri Vanek <[email protected]>
jar command used to pack reproducers is called windows friendly
* Makefile.am: (stamps/netx-dist-tests-prepare-reproducers.stamp) TMP_MANIFEST is now exported so it can reach
subshell of cygpath. If cygpath is in on PATH, TMP_MANIFEST path is cygpathed
2019-02-27 Jiri Vanek <[email protected]>
shell launcher got support for JAVA_HOME
* shell-launcher/launchers.sh.in: if JAVA_HOME is detected, is used as most preferred
2019-02-25 Olesya Gerasimenko <[email protected]>
Updated Russian translation
* netx/net/sourceforge/jnlp/resources/Messages_ru.properties: adapted to current state
2019-02-20 Jiri Vanek <[email protected]>
Implemented way how to modify cp/bootcp in native launchers
* netx/net/sourceforge/jnlp/config/BasicValueValidators.java: added (RustCpValidator) as provider for help for new
properties
* netx/net/sourceforge/jnlp/config/Defaults.java: declared for properties to control native launchers cp/bootcp
deployment.launcher.rust.{cp,bootcp}.{add,remove}
* netx/net/sourceforge/jnlp/resources/Messages.properties: added help message for new properties
* rust-launcher/src/jars_helper.rs: (get_{bootcp,cp}_members) method nw filter items in and from based on properties
added and tested new methods (filter_in_val) to add string to vector, and (filter_out_val) to remove matching items from vector
* rust-launcher/src/property_from_files_resolver.rs: added try_direct_key_from_properties to get raw property without validation
and without option.
* rust-launcher/src/utils.rs: test logger return none rather then panic for providing of properties files
2019-02-18 Jiri Vanek <[email protected]>
Implemented forgotten support for mslinks.jar library in rust launchers
* Makefile.am: MSLINKS_JAR are now exported in rust launchers build
* rust-launcher/src/hardcoded_paths.rs: MSLINKS_JAR is being captured here and exported as optional
* rust-launcher/src/jars_helper.rs: (get_bootcp_members) now append_if_exists also get_mslinks
2019-02-18 Jiri Vanek <[email protected]>
* rust-launcher/src/log_helper.rs: deployment.log.stdstreams is now honored
2019-02-18 Jiri Vanek <[email protected]>
For linux, implemented and used system logging
* rust-launcher/src/hardcoded_paths.rs: call to info moved to important
* rust-launcher/src/jars_helper.rs: same
* rust-launcher/src/log_helper.rs: if log_to_system is true(default) log_impl logs important messages also to system log
* rust-launcher/src/os_access.rs: added trait methods of important and system_log. Implemented for Linux
* rust-launcher/src/utils.rs:call to info moved to important. TestLogger got implemented and important and system_log
declared as panicking
2019-02-17 Jiri Vanek <[email protected]>
Implemented proper file logging
* rust-launcher/src/dirs_paths_helper.rs: AdvancedLogging moved to log_helper;
Linux::new(false) redeclared new to Linux::new(false, false);
* rust-launcher/src/log_helper.rs: now harbor AdvancedLogging as it should since beginning
log_impl now logs to file only if log_to_file is true, logs to correct file,
format time-stamp a bit better, creates a parent directory
* rust-launcher/src/main.rs: get_os functions redeclared to (debug: bool, al: bool) and now calls new(debug, al)
main no longer creates AdvancedLogging but calls proper get_os
* rust-launcher/src/os_access.rs: added trait method of (advanced_logging), implementations
now keep AdvancedLogging variable - dummy or loaded from properties as requested during creation
* rust-launcher/src/property_from_files_resolver.rs: adapted to log_to_file -> log_to_file refactoring
* rust-launcher/src/utils.rs: try_custom_logdir_from_properties renamed to
try_logtarget_from_properties and now returns final log file. New method of
(logfile_name) which compses itw-like name for new log file. TestLogger
implements (unimplemented) advanced_logging function
2019-02-16 Jiri Vanek <[email protected]>
Implemented basic stub for file logging
* rust-launcher/src/log_helper.rs: extracted log_impl from os.
Implemented (always on for now) call to log to file
* rust-launcher/src/main.rs: made aware of new log_helper module
* rust-launcher/src/os_access.rs: adapted to log_helper. Added forgotten is_verbose
to windows os impl.
2019-02-16 Jiri Vanek <[email protected]>
* rust-launcher/src/os_access.rs: removed duplicated code from windows launchers
* rust-launcher/src/utils.rs: implemented is_verbose for testing os impl
2019-02-16 Jiri Vanek <[email protected]>
Native launchers got loading (unused for now) of advanced logging properties
* rust-launcher/src/dirs_paths_helper.rs: added struct AdvancedLogging which holds setup of extended logging
* rust-launcher/src/main.rs: now load advanced settings from properties. Debug output of jre from properties moved to utils.rs
* rust-launcher/src/property_from_file.rs: declared keys for advanced logging properties. Added simple string validator.
* rust-launcher/src/property_from_files_resolver.rs: now provides reading methods with validation for new logging keys
* rust-launcher/src/utils.rs: got that logging message from main.
2019-02-16 Jiri Vanek <[email protected]>
* Makefile.am: fixed issue with MODULARJDK_ARGS_FILE being installed as executable
2019-02-15 Jiri Vanek <[email protected]>
Native launchers got support for modular jdk (via @MODULARJDK_ARGS_LOCATION file)
* rust-launcher/src/hardcoded_paths.rs: introduced MODULARJDK_ARGS_LOCATION recognition
* rust-launcher/src/jars_helper.rs: now are able search in bin, and this reads MODULARJDK_ARGS_LOCATION
* rust-launcher/src/main.rs: now reads java -version, and if modular, put MODULARJDK_ARGS_LOCATION to args
* rust-launcher/src/os_access.rs: removed duplicated code form windows in java spawn, extracted args creation
so it could be reused for java version recognition
* rust-launcher/src/property.rs: added note about Unicode failure in case properties (thus jre location) contains \u values
2019-02-13 Alex Kashchenko <[email protected]>
Os trait implemented for windows
* rust-launcher/src/dirs_paths_helper.rs: added (get_os) os dependent factory method to provide os impl with debug off.
(check_config_files_paths_global) split to os independent (check_config_files_paths) and rest linux only
* rust-launcher/src/jars_helper.rs: (get_bootclasspath) fixed issue with hardcoded cp delimiter in xbootclasspath
* rust-launcher/src/main.rs: added (get_os) os dependent factory method to provide os impl with debug parameter
* rust-launcher/src/os_access.rs: implemented os trait for windows
* rust-launcher/src/utils.rs: better recognition of rop_dir and parent dir in (try_jre_exists_on_path)
2019-02-13 Jiri Vanek <[email protected]>
Propagating unimplemented DownloadService2. Added tests for it
* netx/net/sourceforge/jnlp/services/ServiceUtil.java: added static getter for DownloadService2
* netx/net/sourceforge/jnlp/services/XDownloadService2.java: unimplemented stub for future DownloadService2
* netx/net/sourceforge/jnlp/services/XServiceManagerStub.java: listed javax.jnlp.DownloadService2 providing XDownloadService2
* tests/reproducers/simple/DownloadService2/resources/DownloadService.jnlp: jnlp to call DownloadService
* tests/reproducers/simple/DownloadService2/resources/DownloadService2.jnlp:jnlp to call DownloadService2
* tests/reproducers/simple/DownloadService2/srcs/DownloadService.java: app to call DownloadService
* tests/reproducers/simple/DownloadService2/srcs/DownloadService2.java: app to call DownloadService2
* tests/reproducers/simple/DownloadService2/testcases/DownloadService2Test.java: test to launch DownloadService2
and DownloadService
2019-02-12 Jim Douglas <[email protected]>
Fixed typo in DownloadService2
* netx/javax/jnlp/DownloadService2.java: getUpdateAvailableResources replaced incorrect getUpdateAvaiableReosurces
2019-02-11 Laurent Bourgès <[email protected]>
Jiri Vanek <[email protected]>
Rewritten bat launcher and introduced file to keep modular JDK switches
* .Makefile: introduced MODULARJDK_ARGS_FILE=itw-modularjdk.args; built to launcher-build, handled as separate file.
MODULARJDK_ARGS_LOCATION is sedded into shell scripts. bat files are now cleaned to windows line-endings.
* acinclude.m4: Introduced new switch to allow to set switch file target location
* configure.ac: IT_CHECK_MODULARJDK_ARGS called; fixed few typos (mostly lunch->launch)
* itw-modularjdk.args: new file, containing jisgsaw argument to allow ITW to run on jdk9 and up
* shell-launcher/launchers.bat.in: rewritten from scratch; to be more like linux shell launcher
* shell-launcher/launchers.sh.in: JAVA no longer sed. USed JRE/bin/java instead. Adapted for itw-modularjdk.args file;
few additional cosmetic changes
2019-02-07 Jiri Vanek <[email protected]>
Allowed cross-build of bat launchers on linux systems
* .Makefile: some if WINDOWS changed to if WINDOWS_OR_INCLUDE_BATS
* configure.ac: introduced --enable-bats-on-linux which (or if host is windows) set WINDOWS_OR_INCLUDE_BATS to true
2019-02-07 Jiri Vanek <[email protected]>
Added protection against to small applets. Enhanced understanding of properties like width/height
* netx/net/sourceforge/jnlp/AppletDesc.java: (getWidth) and (getHeight) now query properties for new keys
and resize accordingly to them and/
* netx/net/sourceforge/jnlp/config/Defaults.java: new keys made validated by integer. Threshold must be positive
* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: added keys of deployment.small.size.threshold to allow
value since which applet is to small (default 10), deployment.small.size.override.{width,height} to set new size
negative values to enforce it, positive to be used as fallback, if no width/height (lower/upper/camel) parameter found
default is set to search for width/height param and enforce 800x600 if not present
2019-02-07 Jiri Vanek <[email protected]>
Desktop shortcuts name is now based on title. And only if missing, then on file
* netx/net/sourceforge/jnlp/JNLPFile.java: new method of createNameForDesktopFile, which
returns title if it is present, jnlp file name otherwise.
* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: getGeneratedJnlpFileName and getDesktopIconName now uses
* NEWS: mentioned
2019-02-06 Jiri Vanek <[email protected]>
Delete-by app dialogue split keys to two groups instead of mixing them
* netx/net/sourceforge/jnlp/cache/CacheUtil.java: clearCache(String) changed to (String,bool,bool) to allow by-key access.
(listCacheIds) - same. (getCacheIds) - same plus used those two booleans to select what keys to include in filtering
* netx/net/sourceforge/jnlp/controlpanel/CacheAppViewer.java: the deleteByApp dialog enhanced by TabView. Each tab holds
one family of keys.
* netx/net/sourceforge/jnlp/runtime/Boot.java: adapted to new signature of (CacheUtil.listCacheIds)
2019-02-04 Jiri Vanek <[email protected]>
Native launchers got splash support
* rust-launcher/src/main.rs: made parsing of variables and arguments testable; added handling of splash
Fixed issue with wrongly parsed -switch from commandline; splash is now added to java command if not forbidden or headless
added tests for all above
2019-01-15 Jiri Vanek <[email protected]>
Relaxed vendor and title to be no longer mandatory - based on oracle javaws behavior
* netx/net/sourceforge/jnlp/JNLPFile.java: getVendor/Title refactored to work without values. In strict mode,
they keep throwing MissingElement exception/
* netx/net/sourceforge/jnlp/Parser.java: delegating logic to check title/vendor to JNLPfile. Just calling it with possibility of fail.
* netx/net/sourceforge/jnlp/resources/Messages.properties: added PMissingMandatoryWarning and PMissingMandatorySubstitution
to inform about missing title/vendor
* tests/netx/unit/net/sourceforge/jnlp/ParserTest.java: adapted to new behavior
2019-01-15 Jiri Vanek <[email protected]>
Made Linux launchers portable
* shell-launcher/launchers.bat.in: made aware of the variables substituted from
* shell-launcher/launchers.sh.in: included snippet for current directory resolving. If NEXT_JAR is not found on
its location, compose new (boot)classpath, based on current directory.
2018-01-07 Joel Tesdall <[email protected]>
Jiri Vanek <[email protected]>
Added optional windows desktop integration
* AUTHORS: added Joel
* Makefile: Excluded (WindowsDesktopEntry.java) if mslinks are not included, added mslinks to UNIFIED_CLASSPATH_SEGMENTS
included mslinks to windows and linux runtime libs, added MSLINKS_JAR to other composeclasspath calls
* NEWS: mentioned windows desktop support, mentioned listing of cache and operations via id.
* acinclude.m4: added check (IT_CHECK_FOR_MSLINKS) for optional mslinks.jar, strong warning printed if build is on windows
* configure.ac: call (IT_CHECK_FOR_MSLINKS)
* netx/net/sourceforge/jnlp/Launcher.java: new variable of (KEY_JAVAWS_LOCATION) to replace hardcoded icedtea-web.bin.location over netx.
* netx/net/sourceforge/jnlp/OptionsDefinitions.java: re-declared clear cache to take none or one argument.
Added Xcacheids switch for listing the cache (works with verbose)
* netx/net/sourceforge/jnlp/cache/CacheDirectory.java: refactored hardcoded ".info" to constant.
* netx/net/sourceforge/jnlp/cache/CacheEntry.java: introduced KEY_JNLP_PATH and used to set jnlp-path attribute
* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java: hide private constructor, declared and provided (windowsShortcutList)
* netx/net/sourceforge/jnlp/cache/CacheUtil.java: extracted and used (checkToClearCache). Added second method clearCache
with arg to clear only specific part of cache. Clear cache also alerts windows desktop files now via new removeWindowsShortcuts.
Added methods to lists ids and details from cache listCacheIds and getCacheIds. Included new inner class CacheId to encapsualte
various types of id - CacheJnlpId and CacheDomainId now.
* netx/net/sourceforge/jnlp/cache/DirectoryNode.java: only adapted to .info refactoring
* netx/net/sourceforge/jnlp/cache/ResourceDownloader.java: Save main argument, or jnlp argument or html argument to
jnlp-path .info entry if found.
* netx/net/sourceforge/jnlp/controlpanel/CacheAppViewer.java: gui to itweb-settings cache pane to allow comfortable
listing of ids and deleting via those grouping. New file.
* netx/net/sourceforge/jnlp/controlpanel/CachePane.java: added logic to show .info details for each file shown by cache viewer.
(generateData) made jnlp-path aware, made public and reused several times
* netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java: added button to show dialog which is deleting by id
* netx/net/sourceforge/jnlp/resources/Messages.properties: added BXclearcache BXSingleCacheCleared BXSingleCacheClearNotFound
BXSingleCacheMoreThenOneId BXSingleCacheFileCount BXcacheids NOAnonorone WinDesktopError. Modified BXclearcache. Improved
EXAWdesktopWants EXAWdesktopDontWants EXAWsubmenu EXAWmenuWants EXAWmenuDontWants EXAWrememberByApp EXAWrememberByPage
EXAWrememberByAppTooltip EXAWbrowsersTolltip SDesktopShortcut
* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java: added if isWindows reflective calls to WindowsDesktopEntry
and original XdesktopEntry work moved to else part.
* netx/net/sourceforge/jnlp/runtime/Boot.java: now offer getter for optionParser (so it van be reused in ResourceDownloader)
Added understanding to Xcacheids. Understanding to Xclearcache adapted to its new optional argument
* netx/net/sourceforge/jnlp/util/GenericDesktopEntry.java: interface for (future) WindowsDesktopEntry and XDesktopEntry unification
* netx/net/sourceforge/jnlp/util/WindowsDesktopEntry.java: new file, implementation fo windows desktop integration
via lnk files generated by mslinks.jar. Unlike XDesktop integration, it swarms also uninstall shortcuts.
* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: Mostly adapted to refactorings. Extracted extraction of favicon to method,
reused, and improved to try more locations on server.
* netx/net/sourceforge/jnlp/util/optionparser/OptionParser.java: adapted to refactorings
* shell-launcher/launchers.bat.in: mslinks included in bootclasspath
* tests/netx/unit/net/sourceforge/jnlp/cache/CacheUtilTest.java: add tests for CacheId
* tests/netx/unit/net/sourceforge/jnlp/util/XDesktopEntryTest.java: Added tests for favicon extraction
2019-01-14 Jiri Vanek <[email protected]>
Refactored arranging of arguments and finding jre on path to be testable
* rust-launcher/src/main.rs: introduced compose_arguments, include_not_dashJs,
include_dashJs_values; used, tested
* rust-launcher/src/utils.rs: introduced get_jdk_from_path_conditionally_testable and
get_jdk_from_given_path_testable; used, tested
2019-01-14 Jiri Vanek <[email protected]>
Added detection of JDK from PATH
* rust-launcher/src/hardcoded_paths.rs: minor fix of Err to err
* rust-launcher/src/jars_helper.rs: removed redundant declaration of i
* rust-launcher/src/main.rs:resolving of jre moved to utils
* rust-launcher/src/os_access.rs: declared new method, get_exec_suffixes to obtain java's executable suffix
implemented for linux as ""
* rust-launcher/src/utils.rs: new method find_jre, extracted form main, enhanced for call to get_jdk_from_path_conditionally
new method get_jdk_from_path, for bundled build and both, searching fo jre on path. Based on java executable on path, resolves
jre
2019-01-14 Jiri Vanek <[email protected]>
Added support for -J options
* rust-launcher/src/main.rs: arguments are now copied to sub-process in two steps
First those with -J prefix are having it stripped and are given to JVM. Those without J are
suffixed to the itw itself
2019-01-14 Jiri Vanek <[email protected]>
Added code-coverage for rust launchers
* .Makefile.am: declared target counting code coverage on rust launchers based on kcov
* acinclude.m4: declared checkfor kcov directory
* configure.ac: added optional check for kcov
2019-01-09 Jiri Vanek <[email protected]>
Made rust launchers to resolve jars, compose classpath and this run itw
* Makefile: renamed netx.jar to javaws.jar; properly used variables for NETX_JAR and SPLASH_PNG and all other .jar and.png resources
* configure.a: added check for --with-itw-libs which determines whether build is for distribution, self or portable usage
* netx/net/sourceforge/jnlp/cache/CacheUtil.java: adapted netx->javaws renaming
* netx/net/sourceforge/jnlp/controlpanel/ClassFinder.java: adapted netx->javaws renaming
* netx/net/sourceforge/jnlp/resources/Messages.properties: adapted netx->javaws renaming
* netx/net/sourceforge/jnlp/resources/Messages_cs.properties: adapted netx->javaws renaming
* netx/net/sourceforge/jnlp/resources/Messages_de.properties: adapted netx->javaws renaming
* netx/net/sourceforge/jnlp/resources/Messages_pl.properties: adapted netx->javaws renaming
* netx/net/sourceforge/jnlp/resources/Messages_ru.properties: adapted netx->javaws renaming
* netx/net/sourceforge/jnlp/runtime/Translator.java: adapted netx->javaws renaming
* rust-launcher/src/dirs_paths_helper.rs: added utility methods of path_to_string, current_program, current_program_parent, current_program_name
check_config_files_paths split to check_config_files_paths and check_legacy_config_files_paths. Both win only. First one temporarily.
* rust-launcher/src/hardcoded_paths.rs: made aware of SPLASH_PNG, TAGSOUP_JAR, RHINO_JAR, ITW_LIBS
added enum for ITW_LIBS - BOTH, BUNDLED and DISTRIBUTION
* rust-launcher/src/main.rs: by using jars_helper, compose classpath, put it to java args together with main, and so is making launchers work
* rust-launcher/src/jars_helper.rs: new class, responsible composing classpath by resolving which jars to use
* rust-launcher/src/os_access.rs: Added trait method get_classpath_separator
* rust-launcher/src/property_from_files_resolver.rs: TestLogger moved to utils
* rust-launcher/src/utils.rs: got TestLogger and provided factory method for it.
2018-12-10 Jiri Vanek <[email protected]>
jtesdall <[email protected]>
Replaced hardcoded BOM character with utf representation (PR3671)
* netx/net/sourceforge/nanoxml/XMLElement.java: (scanLeadingWhitespace) resolved PR3671, replaced ' ' by \\ufeff
2018-12-10 Jiri Vanek <[email protected]>
Made get_home os dependent.
* rust-launcher/src/dirs_paths_helper.rs: removed get_home; used os.get_home where appropriate.
Introduced is_dir, and moved is_file here and theirs tests.
* rust-launcher/src/os_access.rs: prescribed get_home and implemented for Linux, solemnly on HOME variable
* rust-launcher/src/property_from_file.rs: adapted to new location of is_file
* rust-launcher/src/property_from_files_resolver.rs: implemented get_home doing nothing for testing stub
2018-11-30 Jiri Vanek <[email protected]>
verbose also from deployment.properties
* rust-launcher/src/main.rs: now reading verbose also from deployment.properties
* rust-launcher/src/property_from_file.rs: added wrapping functions to load deployment.log boolean
* rust-launcher/src/property_from_files_resolver.rs: refactored to use new validators
2018-11-30 Jiri Vanek <[email protected]>
Rust properties parser generalized to be reusable
* rust-launcher/src/dirs_paths_helper.rs: new file, including get_xdg_config_dir, deployment.properties and similar
originally from jvm_from_properties.rs
* rust-launcher/src/main.rs: adapted to re-factored state
* rust-launcher/src/os_access.rs: added and for Linux implemented get_system_config_javadir, get_user_config_dir
* rust-launcher/src/property_from_file.rs: renamed from jvm_from_properties_file and generalized
* rust-launcher/src/property_from_files_resolver.rs: renamed from jvm_from_files_resolver and generalized
* rust-launcher/src/utils.rs: adapted to renamed JRE_PROPERTY_NAME from PROPERTY_NAME
2018-11-28 Jiri Vanek <[email protected]>
deployment.config now support generic url instead just file
* netx/net/sourceforge/jnlp/config/Defaults.java: added option KEY_SYSTEM_CONFIG as url and KEY_SYSTEM_CONFIG_MANDATORY as boolean,
thus documented
* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: refactored to work with general url rather then with file only
* netx/net/sourceforge/jnlp/config/InfrastructureFileDescriptor.java: added (getUrl) as shortcut to getFile().toURI().toURL()
* netx/net/sourceforge/jnlp/controlpanel/CommandLine.java: (CommandLine) made aware of MalformedURLException
* tests/netx/unit/net/sourceforge/jnlp/config/DeploymentConfigurationTest.java: added tests for new DeploymentConfiguration.checkUrl
covering ok/not ok file, ok/not ok http
* NEWS: mentioned
2018-11-27 Jiri Vanek <[email protected]>
* netx/net/sourceforge/jnlp/OptionsDefinitions.java: (main) moved from ifelse to switch
2018-11-27 Jiri Vanek <[email protected]>
* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPProxySelectorTest.java: fixed tests in (testConvertingProxyAutoConfigResultToProxyObject)
2018-11-27 Jiri Vanek <[email protected]>
https is preferred only on default port
* netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java: (getUrls) when http protocol-ed url have set port
its https clone is not put to the list of possible urls
2018-11-27 Jiri Vanek <[email protected]>
PR3645, second part - following windows system paths correctly
* netx/net/sourceforge/jnlp/config/PathsAndFiles.java: following
https://docs.oracle.com/javase/7/docs/technotes/guides/jweb/jcp/properties.html
(SystemConfigFileDescriptor) now honor WINDIR on windows
2018-11-27 Jiri Vanek <[email protected]>
Lars Herschke <[email protected]>
Fixed PR3637 - making cache work with jdk9+ #runtime jar url anchor
* netx/net/sourceforge/jnlp/runtime/CachedJarFileCallback.java: (retrieve) if jar is not found in cache, ale url without anchor is attempted
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: using localFile.toURI().toURL() instead of direct localFile.toURL()
2018-11-23 Lars Herschke <[email protected]>
Jiri Vanek <[email protected]>
Fixed LockedFile for readonly on windows
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: made isUnix deprecated
* netx/net/sourceforge/jnlp/util/lockingfile/LockedFile.java: creating file (for windows) only if not readonly
* tests/netx/unit/net/sourceforge/jnlp/util/lockingfile/NonWindowsLockedFile.java: tests for os set to no windows
* tests/netx/unit/net/sourceforge/jnlp/util/lockingfile/WindowsLockedFileTest.java: tests for os set to windows
2018-11-23 Lars Herschke <[email protected]>
Fix for java.lang.NoClassDefFoundError: Could not initialize class net.sourceforge.jnlp.runtime.JNLPRuntime$DeploymentConfigurationHolder
* NEWS: mentioned PR3644
* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: removed useless logging of headless - initiation of logging - on windows
* AUTHORS: added Lars
2018-11-07 Olesya Gerasimenko <[email protected]>
Added Russian translation
* netx/net/sourceforge/jnlp/resources/Messages_ru.properties: new file with Russian strings
* tests/netx/unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java: added RU to iterated sets.
* AUTHORS: added Olesya
2018-10-18 Jiri Vanek <[email protected]>
Removed gcc if native plugin is not build
* acinclude.m4: AC_PROG_CC and AC_PROG_CXX moved behind enable_native_plugin condition
* configure.ac: AC_PROG_CC and AC_PROG_CXX moved behind enable_native_plugin condition, Faked fastDepC variables
otherwise configure always fell
* Makefile.am: plugin native tests made passing without plugin
2018-10-17 Jiri Vanek <[email protected]>
Alex Kashchenko <[email protected]>
* netx/net/sourceforge/jnlp/util/lockingfile/LockedFile.java: caching enabled, or at least semi-enabled on windows
2018-10-17 Laurent Bourgès <[email protected]>
* netx/net/sourceforge/jnlp/controlpanel/CachePane.java: using SwingUtils.invokeLater instead of
* netx/net/sourceforge/jnlp/controlpanel/CommandLine.java: same + calling SwingUtils.setup
* netx/net/sourceforge/jnlp/controlpanel/DesktopShortcutPanel.java: same
* netx/net/sourceforge/jnlp/controlpanel/PolicyPanel.java: same
* netx/net/sourceforge/jnlp/controlpanel/UnsignedAppletsTrustingListPanel.java: same
* netx/net/sourceforge/jnlp/controlpanel/desktopintegrationeditor/Blinker.java: same
* netx/net/sourceforge/jnlp/controlpanel/desktopintegrationeditor/FreeDesktopIntegrationEditorFrame.java: same
* netx/net/sourceforge/jnlp/runtime/Boot.java: same + calling SwingUtils.setup
* netx/net/sourceforge/jnlp/security/appletextendedsecurity/ExtendedAppletSecurityHelp.java: same
* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java: same + calling SwingUtils.setup
* netx/net/sourceforge/jnlp/splashscreen/parts/BasicComponentErrorSplashScreen.java: same
* netx/net/sourceforge/jnlp/splashscreen/parts/JEditorPaneBasedExceptionDialog.java: same
* netx/net/sourceforge/jnlp/util/logging/ConsoleOutputPane.java: same
* netx/net/sourceforge/jnlp/util/ImageResources.java: added check for null in stream
* netx/net/sourceforge/swing/SwingUtils.java: added setup-able. removed EDT_DAEMON_THREAD_POOL (thus currently not
working properly in jdk11+, but fix for JDK itself is on the way)
2018-10-12 Jiri Vanek <[email protected]>
reworked showDocument logic
* netx/net/sourceforge/jnlp/config/BasicValueValidators.java: added special validator for browser
* netx/net/sourceforge/jnlp/config/Defaults.java: used this validator
* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: declared browser's constants and environment variable
* netx/net/sourceforge/jnlp/resources/Messages.properties: removed invalid lines, added new lines
* netx/net/sourceforge/jnlp/resources/Messages_cs.properties: removed invalid lines,
* netx/net/sourceforge/jnlp/resources/Messages_de.properties: removed invalid lines,
* netx/net/sourceforge/jnlp/resources/Messages_pl.properties: removed invalid lines,
* netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java: showDocument now works
* netx/net/sourceforge/jnlp/runtime/Translator.java: added shortcut method to call call VVPossibleBrowserValues
* netx/net/sourceforge/jnlp/runtime/html/browser/LinkingBrowser.java: split creation from stand alone launch
* netx/net/sourceforge/jnlp/services/XBasicService.java: fully reworked showDocument. Focus on standard desktop api and customization
* tests/reproducers/signed/ShowDocument/resources/ShowDocumentApplet.jnlp: test jnlp for applet's context.showDocument
* tests/reproducers/signed/ShowDocument/resources/ShowDocumentMain.jnlp: test jnlp for application's basicService.showDocument
* tests/reproducers/signed/ShowDocument/resources/document.txt: document to be shown in test
* tests/reproducers/signed/ShowDocument/srcs/ShowDocument.java: body of applet/jnlp-app
* tests/reproducers/signed/ShowDocument/testcases/ShowDocumentTest.java: two testcases - one for applet, second for app. Both running on headless.
2018-10-10 Jiri Vanek <[email protected]>
Rust launchers now spawn jvm
* rust-launcher/src/jvm_from_properties_resolver.rs: implemented new trait method (spawn_java_process). Stub only. Will panic
* rust-launcher/src/main.rs: java from found java_dir is launched. Process is awaited, its return returned.
* rust-launcher/src/os_access.rs: trait method of (spawn_java_process) add and implemented for linux.
2018-10-01 Jiri Vanek <[email protected]>
* rust-launcher/src/main.rs: new method of (is_debug_on) based on cmd line determining verbosity. (main) return of is_debug_on used for os_access::Linux::new call.
2018-09-26 Jiri Vanek <[email protected]>
Allowed itw-settings to be opened from viewer
* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java: used exit instead of dispose
* netx/net/sourceforge/jnlp/resources/Messages.properties: new string with key of ButLunchFullItwSettings
* netx/net/sourceforge/jnlp/runtime/Boot.java: get rid of exit, and only return from main method
* netx/net/sourceforge/jnlp/security/SecurityDialog.java: call too showSingleCertInfoDialog changed to Window
* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java: added new button to launch ControlPanel main class
* netx/net/sourceforge/jnlp/security/viewer/CertificateViewer.java: used exit instead of dispose
* netx/net/sourceforge/swing/SwingUtils.java: (info) now accepts Window instead of JDialog
2018-10-01 Laurent Bourgès <[email protected]>
Fixed EDT hanging
* AUTHORS: added Laurent
* netx/net/sourceforge/jnlp/GuiLaunchHandler.java: invokeLater and invokeAndWait moved from SwingUtilities to the local wrapper SwingUtils.
Simplified splashscreen loading
* netx/net/sourceforge/jnlp/JNLPSplashScreen.java: called super and added name to the dialog
* netx/net/sourceforge/jnlp/Launcher.java: added log entry for main class loading. Highlighted usage of SwingUtilities on top SwingUtils
for this particular space
* netx/net/sourceforge/jnlp/about/AboutDialog.java: added name. InvokeLater and invokeAndWait moved from SwingUtilities to the
local wrapper SwingUtils.
* netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java: reworked to work in SwingUtils.invokeAndWait. Added name.
* netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java: added name
* netx/net/sourceforge/jnlp/controlpanel/CacheViewer.java: added name
* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java: added top level setup for enabling SwingUtils debugging abilities
added log entry for main class loading. Highlighted usage of SwingUtilities on top SwingUtils for this particular space
* netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java: instead of invokeAndWait, used SwingUtils.callOnAppContext
* netx/net/sourceforge/jnlp/runtime/Boot.java: added top level setup for enabling SwingUtils debugging abilities
CertificateViwer moved to invokeAndWait. added log entry for main class loading. Highlighted usage of SwingUtilities instead
of SwingUtils for this particular case
* netx/net/sourceforge/jnlp/runtime/HtmlBoot.java: invokeLater and invokeAndWait moved from SwingUtilities to the local wrapper SwingUtils.
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: removed import of import javax.swing.JWindow
* netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java: direct call to JWindow().getOwner(), moved to SwingUtils.getOrCreateWindowOwner.
Its existence doubtful
* netx/net/sourceforge/jnlp/security/SecurityDialog.java: installPanel moved to invokeAndWait
* netx/net/sourceforge/jnlp/security/SecurityDialogs.java: used SwingUtils instead of SwingUtilities, added name
* netx/net/sourceforge/jnlp/security/dialogs/ViwableDialog.java: swing ops moved to invokeAndWait
* netx/net/sourceforge/jnlp/security/viewer/CertificateViewer.java: calling Swingutils.setup, still all the same
* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/BasePainter.java: still the same
* netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java: same - name, SwingUtils x SwingUtilities, and proper usage of invokes
* netx/net/sourceforge/jnlp/util/FileUtils.java: SwingUtils x SwingUtilities
* netx/net/sourceforge/jnlp/util/logging/JavaConsole.java: observable.notifyObservers moved to invokeLater and
and invoked only if observable.hasChanged
* netx/net/sourceforge/swing/SwingUtils.java: new class. Wrapper around most commonly used SwingUtilities calls. Add debugging bridge
property of icedtea-web.edt.debug set to true, can enable it on runtime.
* netx/net/sourceforge/swing/ThreadCheckingRepaintManager.java: Based on http://weblogs.java.net/blog/alexfromsun/archive/2006/02/debugging_swing.html
debugging repaint manager
2018-10-01 Fridrich Strba <[email protected]>
Added eternal java version detection
* acinclude.m4: used sophisticated head-cut to determine single number major java version
* plugin/icedteanp/IcedTeaNPPlugin.cc: similar
* shell-launcher/launchers.sh.in: same
2018-09-05 Jiri Vanek <[email protected]>
* shell-launcher/launchers.sh.in: inverted logic to detect modular jdk.
If it is jdk8, then it is not modular JDK, otherwise it is.
2018-09-05 Jiri Vanek <[email protected]>
Implemented JVM recognition in rust launchers
* .hgignore: added rust-launcher/.idea
* .Makefile: (launcher.build) adapted to tmp handling - exporting rust_tests_tmp and creating it
* rust-launcher/src/hardcoded_paths.rs: not-using returns consistently
* rust-launcher/src/jvm_from_properties.rs: logic to parse properties file, and to read JDK value from here
* rust-launcher/src/jvm_from_properties_resolver.rs: logic to waterfall all usable properties files and try
locate JDK here.
* rust-launcher/src/main.rs: now trying various JDKs: properties->JAVA_HOME->registry->default (from build)
* rust-launcher/src/os_access.rs: set of classes serving to bridge few details where win and Linux may differ
* rust-launcher/src/property.rs: class to read generic properties file
* rust-launcher/src/utils.rs: class for various utility methods. Including testing subclass
2018-09-04 Alex Kashchenko <[email protected]>
Fix cargo detection in autoconf
* autoconf.ac: add missed check whether cargo was found in PATH
2018-08-13 Jiri Vanek <[email protected]>
* LICENSE: new file. Added explicit license with details
2018-06-20 Jiri Vanek <[email protected]>
Enhanced itw-settings' certificate viewer to show what file is backing showed certificate store.
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: adapted to refactoring of KeyStores
* netx/net/sourceforge/jnlp/security/KeyStores.java: getKeyStore now returns wrapper with path alongside with ks itself
* netx/net/sourceforge/jnlp/security/dialogs/CertWarningPane.java: adapted to refactoring of KeyStores
* netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java: now shows read-only path to shown ks
2018-06-20 Jiri Vanek <[email protected]>
* netx/net/sourceforge/jnlp/security/dialogs/CertsInfoPane.java: fixed hex output of certificate signature
for jdk8
2018-06-20 Jiri Vanek <[email protected]>
Added semi support for recognition jdk10 and up
* netx/net/sourceforge/jnlp/controlpanel/JVMPanel.java: replaced hardcoded 9 by cycle from 9 to 99
* netx/net/sourceforge/jnlp/resources/Messages.properties: replaced jdk9 by jdk9 and up.
2018-05-28 Jiri Vanek <[email protected]>
added deployment property to enforce headfull execution
* netx/net/sourceforge/jnlp/config/Defaults.java: IGNORE_HEADLESS_CHECK set to false
* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: deployment.headless.ignore
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: if deployment.headless.ignore is true, then headless state is not checked
and environment is always considered as headfull
2018-05-24 Jiri Vanek <[email protected]>
Made headless detection softer
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: JWindow().getOwner() replaced by GraphicsEnvironment.isHeadless()
JWindow().getOwner() was failing on headfull systems after headless check itself, on NPE.
2018-05-14 Jiri Vanek <[email protected]>
* netx/net/sourceforge/jnlp/runtime/AppletEnvironment.java: getDocumentBase now returns codeBase as fallback when
documentBase is null. Oracle Applications R12, Oracle Forms Java Webstart application is requesting getDocumentBase
where it shouldn't, however they refuse to modify their code and add ITW to supported platforms
2018-02-15 Jiri Vanek <jvanek at redhat.com>
Build of rust launchers moved to cargo
* configure.ac: added check for cargo
* .hgignore: added target and Cargo.lock
* .Makefile.am: dropped all launcher.in/libhardcoded_paths_*.rs targets and rustc targets.
(launcher.build/$(javaws) launcher.build/$(itweb_settings) launcher.build/$(policyeditor))
adapted to use cargo. Variables handled in switch. (clean) now cleans all launcher.in*
* rust-launcher/Cargo.toml: primitive declaration of package
* rust-launcher/src/hardcoded_paths.rs: copied from rust-launcher/hardcoded_paths.rs.in
adapted to get substitution via cargo rather then by sed. Added test and wrapping getters
* rust-launcher/src/main.rs: copied from rust-launcher/launchers.rs. Adapted imports to new
infrastructure,s till just reprinting hardcoded stuff
2018-02-06 Jiri Vanek <[email protected]>
Added test for javafx-desc
* tests/reproducers/custom/JavaFx/resources/JavaFx.jar
* tests/reproducers/custom/JavaFx/resources/JavaFx.jnlp
* tests/reproducers/custom/JavaFx/srcs/Controller.class
* tests/reproducers/custom/JavaFx/srcs/Controller.java
* tests/reproducers/custom/JavaFx/srcs/Main.class
* tests/reproducers/custom/JavaFx/srcs/Main.java
* tests/reproducers/custom/JavaFx/srcs/Makefile
* tests/reproducers/custom/JavaFx/srcs/helloworld.fxml
* tests/reproducers/custom/JavaFx/testcases/JavaFxTest.java
2018-02-05 Jiri Vanek <[email protected]>
Fixed news for latest changes
* NEWS: mentioned javafx-desc, -nosecurity enhancement and j2se/java resources
2018-02-05 Jiri Vanek <[email protected]>
Added basic support for javafx desc
* netx/net/sourceforge/jnlp/ApplicationDesc.java: added flag fx to remember what was initiator
* netx/net/sourceforge/jnlp/Node.java: Added abstraction ElementName over string of element name to hold namespace
and separate it for name if present
* netx/net/sourceforge/jnlp/Parser.java: for javafx-desc ApplicationDesc is instantiated. Adapted to ElementName
* tests/netx/unit/net/sourceforge/jnlp/ParserCornerCases.java: ElementName
* tests/netx/unit/net/sourceforge/jnlp/ParserTest.java: ElementName
2018-02-03 Jiri Vanek <[email protected]>
nosecurity switch made extendable also for certificate issues
* netx/net/sourceforge/jnlp/config/Defaults.java: set deployment.security.itw.ignorecertissues
* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java: added deployment.security.itw.ignorecertissues
* netx/net/sourceforge/jnlp/resources/Messages.properties: BONosecurity is now tailed by rumor about deployment.security.itw.ignorecertissues
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: when ITW was about to throw certificate-caused launch exception,
it i snow consulted with nosecurity and deployment.security.itw.ignorecertissues. If both are here, exception is only printed
2018-02-03 Jiri Vanek <[email protected]>
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: autoformatted
2018-02-03 Jiri Vanek <[email protected]>
Made ITW to load resources from j2se/java tag too
* netx/net/sourceforge/jnlp/Parser.java: constructors/methods made public to help unittests
* netx/net/sourceforge/jnlp/ShortcutDesc.java: same
* netx/net/sourceforge/jnlp/ResourcesDesc.java: getJars made to iterate recursively over content of j2se
* tests/netx/unit/net/sourceforge/jnlp/ParserBasic.java: added testcase
* tests/netx/unit/net/sourceforge/jnlp/jarsInJreDesc.jnlp: testfile copied form omegat which have this strange resources
2018-02-03 Jiri Vanek <[email protected]>
* netx/net/sourceforge/jnlp/Parser.java: auto-formatted
2017-12-11 Jiri Vanek <jvanek at redhat.com>
* Makefile.am: preprocessing hardoced_paths.rs.in for each binary and creating libs
* rust-launcher/launchers.rs: now uses new, future lib
* rust-launcher/hardoced_paths.rs.in: source for all hardcoded libs we currently use
2017-12-08 Jiri Vanek <jvanek at redhat.com>
Added possibility to turn off https preference via deployment properties
* netx/net/sourceforge/jnlp/cache/ResourceUrlCreator.java:
if deployment.https.noenforce is true, then https variants are not smuggled into urlslist
* netx/net/sourceforge/jnlp/config/Defaults.java:
deployment.https.noenforce declared as false by default
* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java:
added field of KEY_HTTPS_DONT_ENFORCE = "deployment.https.noenforce"
2017-11-02 Jiri Vanek <[email protected]>
Added linux binary dist target
* Makefile.am: (uninstall-linux-only) fixed suffixes of removed launchers
added new target (linux-bin-dist) creating binary javaws static distribute-able image
2017-11-09 Jiri Vanek <[email protected]>
Fixed XDGspecificationTests to survive with shell scripts of .sh suffix
* tests/reproducers/simple/simpletest1/testcases/XDGspecificationTests.java: now using system getItwebSettingsFile call
* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java: added getItwebSettingsFile and getIPolicyEditorFile methods
to guess those binaries from javaws, as those can be now .sh or none suffix
2017-11-08 Alex Kashchenko <[email protected]>
Support creating cache files with restricted access on windows
* netx/net/sourceforge/jnlp/util/FileUtils.java: set proper ACLs for cache files and directories
* tests/netx/unit/net/sourceforge/jnlp/util/FileUtilsTest.java: added testCreateRestrictedFile test that checks ACLs for cache file
2017-11-02 Jiri Vanek <[email protected]>
Deprecated shell launchers, added skeleton for future rust launcher
* Makefile.am: launchers and desktop files gathered to variable, filled according to configure
iffed out deprecated shell launchers, added build stubs for rustc calls
* configure.ac: added switch --enable-shell-launchers to enable build of legacy shell launchers.
note, that when installed, those launchers will have .sh suffix
added check for rustc - Mandatory without shell launchers, only optional with.
* rust-launcher/launchers.rs: new, stub for native launchers
* shell-launcher/launchers.bat.in: renamed from launcher/launchers.bat.in
* shell-launcher/launchers.sh.in: renamed from launcher/launchers.in
2017-09-25 Jiri Vanek <[email protected]>
Tomáš Votava <[email protected]>
Authors made as links in html docs
* netx/net/sourceforge/jnlp/util/docprovider/TextsProvider.java: instanceof replaced by correct interface method
* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/Formatter.java: added getAdressLink and replaceLtGtCharacters methods
* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/HtmlFormatter.java: implemented newmethods. Added dummy antispam protection
* netx/net/sourceforge/jnlp/util/docprovider/formatters/formatters/ReplacingTextFormatter.java: dummy impl of new methods
* tests/netx/unit/net/sourceforge/jnlp/util/docprovider/ReadAutorsTest.java: adapted
2017-09-14 Jiri Vanek <[email protected]>
Tomáš Votava <[email protected]>
PR3426 - ITW Docs do not have correct 'AUTHOR' field
* AUTHORS: removed invalid space after one lt mark
* Makefile: (generate-docs.stamp) added and used (where appropriate)
path to src AUTHORS file.
* netx/net/sourceforge/jnlp/resources/Messages.properties: added message for
case, when no authors file specified on input.
* netx/net/sourceforge/jnlp/util/docprovider/TextsProvider.java: implemented
possibility to include authors file to documentation.
* tests/netx/unit/net/sourceforge/jnlp/util/docprovider/ReadAutorsTest.java:
tests for generator
2017-09-12 Fridrich Strba <[email protected]>
Set source language version for javadoc generation for jdk9
* Makefile.am: (JAVADOC_OPTS) if HAVE_JAVA9 then -source is appended with
correct IT_LANGUAGE_SOURCE_VERSION number
2017-09-12 Fridrich Strba <[email protected]>
Get rid of X509Factory class usage
* netx/net/sourceforge/jnlp/security/CertificateUtils.java: removed import and usage of
X509Factory (replaced by hardcoded string). Still better then reflection.
* configure.ac: removed check for sun.security.provider.X509Factory
2017-09-12 Fridrich Strba <[email protected]>
Plugin made work again with jdk9
* launcher/launchers.in: added exports for sun.applet
* plugin/icedteanp/IcedTeaNPPlugin.cc: same
2017-07-20 Jiri Vanek <[email protected]>
Post-release changes
* NEWS: added 1.8 section
* configure.ac: (AC_INIT) bumped to 1.8pre
2017-07-20 Jiri Vanek <[email protected]>
* javaws.desktop.in: value type changed from %f (file) to %u (url)
this helps jnlp protocol a lot, and should not harm older normal_file_path behavior
2017-07-19 Jiri Vanek <[email protected]>
Pre-release tuning
* Makefile.am: (netx-html-gen.stamp) set number of changests to 236 (since 1.6)
* NEWS: date of 1.7 set
* configure.ac: (AC_INIT) set to use 1.7
2017-07-19 Jiri Vanek <[email protected]>
made usable with jdk9 again
* acinclude.m4: IT_CHECK_FOR_CLASS removed no longer valid -Xmodule usage
* launcher/launchers.in: made immune to missing plugin jar
* netx/net/sourceforge/jnlp/jdk89acesses/SunMiscLauncher.java: moved to reflection, made javaws buildable under jdk9
2017-07-18 Jiri Vanek <[email protected]>
* netx/net/sourceforge/jnlp/security/dialogs/CertsInfoPane.java: HexEncoder loaded by reflection
to allow smooth jdk8 x 9 transition.
2017-07-18 Jiri Vanek <[email protected]>
* launcher/launchers.in: added exports for javax.jnlp to hook jdk9 one more times
2017-07-13 Jiri Vanek <[email protected]>
Fixed issue, when some resources were not used, because of OS was reporting full name. Eg. "Windows 7" where just "windows" was expected
* netx/net/sourceforge/jnlp/JNLPFile.java: (stringMatches) now compares only parts before first space
(getResources) added brackets behind ifs
* tests/netx/unit/net/sourceforge/jnlp/JNLPFileTest.java: added test
2017-07-12 Jiri Vanek <[email protected]>
* netx/net/sourceforge/jnlp/security/dialogs/TemporaryPermissions.java: escaped windows path slash
2017-07-11 Jiri Vanek <[email protected]>
Alexandr Kolouch <[email protected]>
Added Czech translation for 1.7.
* netx/net/sourceforge/jnlp/resources/Messages_cs.properties: added missing
properties, adapted changed ones.
* tests/netx/unit/net/sourceforge/jnlp/resources/MessagesPropertiesTest.java: added shift f2
to blacklisted items
2017-07-07 Jiri Vanek <[email protected]>
Fixed pr3417
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: nested jars go into subdirectory instead alongside parent
* tests/netx/unit/net/sourceforge/jnlp/runtime/JNLPClassLoaderTest.java: test for the issue
* tests/netx/unit/net/sourceforge/jnlp/runtime/pf.jar-orig: jar with nested name clash
2017-06-28 Jiri Vanek <[email protected]>
Tereza Hlavackova <[email protected]>
* javaws.png: adapted to new color schema (still work planned)
* win-installer/greetings_banner.bmp: fixed small glitches
* win-installer/icon.ico: made multisize
2017-16-15 Jiri Vanek <[email protected]>
Splash screen aligned with current graphic
* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/SplinesDefs.java: leading points of main leaves regenerated
from current graphics. Pushed generating algorithm. Cubic splines are no longer used, instead the exact polygon is filled.
* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/BasePainter.java: adapted splinesDefs
* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java: iffed out NPE in midori
* tests/netx/unit/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/BasePainterTest.java: aligned
* tests/netx/unit/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/SplinesDefsTest.java: aligned
2017-06-15 Jiri Vanek <[email protected]>
Tereza Hlavackova <[email protected]>
More tuning of itw graphics. Now new splashscreen have to be done
* netx/javaws_splash.png: adapted to new leaves
* netx/net/sourceforge/jnlp/resources/itw_logo.png: same
* netx/net/sourceforge/jnlp/resources/netx-icon.png: added frozen lines around to
be less environment-settings vulnerable
* win-installer/greetings_banner.bmp: aligned to more blue color schema
* win-installer/icon.ico: adapted to frozen leaves
* win-installer/top_banner.bmp: added a bit of ice
2017-06-08 Jiri Vanek <[email protected]>
Small alignment of icon usage
* netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java: removed custom loading
of netx.icon and replaced by standard call.
* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java: added usage of netx.icon
2017-06-07 Jiri Vanek <[email protected]>
Tereza Hlavackova <[email protected]>
Updated installer graphic, aligned first set of icons
* AUTHORS: added Tereza
* win-installer/icon.ico: designed new frontend ico
* netx/net/sourceforge/jnlp/resources/netx-icon.png: aligned with ico.ico
* win-installer/greetings_banner.bmp: redrawn (in style with ico.ico)
* win-installer/top_banner.bmp: redrawn (in style with ico.ico)
2017-05-22 Jiri Vanek <[email protected]>
* netx/net/sourceforge/jnlp/resources/Messages.properties: TAGSOUPnotUsed got fixed key/value delimiter
2017-05-22 Juergen Hoffmann <[email protected]>
Jiri Vanek <[email protected]>
* netx/net/sourceforge/jnlp/resources/Messages.properties: fixed grammar in
JREContinueDialogSentence2 and ALACAMatchingMainTitle keys
2017-05-22 Jiri Vanek <[email protected]>
Windows desktop path attempted to be handled correctly
* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java: adapted to new name
* netx/net/sourceforge/jnlp/util/XDesktopEntry.java: added windows desktop locating
* tests/netx/unit/net/sourceforge/jnlp/util/XDesktopEntryTest.java: on windows excluded xdg tests. Added test
for windows desktop
2017-05-22 Jiri Vanek <[email protected]>
Tomáš Votava <[email protected]>
Splash-screen text renderers adapted to different fonts on windows. It is miracle splash screen is working on windows...
* AUTHORS: added Tom
* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/TextOutlineRenderer.java: cutTo now returns rectangle in vain attempt to find center
* netx/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/TextWithWaterLevel.java: same
* tests/netx/unit/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/MovingTextTest.java:
where possible, used relative measurements. hardcoded if values otherwise
* tests/netx/unit/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/TextOutlineRendererTest.java: same
* tests/netx/unit/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/TextWithWaterLevelTest.java: same
2017-05-22 Jiri Vanek <[email protected]>
Tomáš Votava <[email protected]>
* tests/netx/unit/net/sourceforge/jnlp/util/replacements/BASE64DecoderTest.java: enhanced for windows new lines
* tests/netx/unit/net/sourceforge/jnlp/util/replacements/BASE64EncoderTest.java: same
2017-05-19 Jiri Vanek <[email protected]>
Alex Kashchenko <[email protected]>
added support for reading java home from registry
* launcher/launchers.bat.in: registry support(Alex),
fixed issue with ITW_WIN_SPECIALS, fixed issue with return value,
user-in-file java path proffered over all.
2017-12-19 Alex Kashchenko <[email protected]>
Aligned msi and netx icons
* netx/net/sourceforge/jnlp/resources/netx-icon.png: redrawn
* win-installer/icon.ico: redrawn
2017-05-18 Jiri Vanek <[email protected]>
Tomáš Votava <[email protected]>
* tests/netx/unit/net/sourceforge/jnlp/splashscreen/impls/defaultsplashscreen2012/TextWithWaterLevelTest.java:
cutToTest get rid of hardcoded sizes, ad follows relative placement of testing points
(used font is different on windows)
2017-05-18 Jiri Vanek <[email protected]>
Tomáš Votava <[email protected]>
* tests/netx/unit/net/sourceforge/jnlp/util/logging/TeeOutputStreamTest.java: testPrint and testWriteByteArrayString