2014-11-25 Jiri Vanek <jvanek@redha .com>
h p://mail.openjdk.java.ne /pipermail/dis ro-pkg-dev/2014-June/028399.h ml (long hread)
* ne x/ne /sourceforge/jnlp/Launcher.java: using Proper yDesc.fromS ring o
add resources.
* ne x/ne /sourceforge/jnlp/Proper yDesc.java: New me hod fromS ring o handle
parsing
* ne x/ne /sourceforge/jnlp/run ime/Boo .java: is now merging he proper ies
o main configura ion.
* es s/ne x/uni /ne /sourceforge/jnlp/Proper yDescTes .java: new file. Added
es s for fromS ring.
2014-11-25 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/Launcher.java: (fromUrl) file from href ge
subs i u ed codebase from previous one if i is missing in new one.
2014-11-25 Jie Kang <jkang@redha .com>
Fixed newly failing uni es : JavaConsoleTes :Crea ePluginHeaderTes No OK
* es s/ne x/uni /ne /sourceforge/jnlp/u il/logging/JavaConsoleTes .java
(Crea ePluginHeaderTes No OK): Added a new failing s ring
(Crea ePluginHeaderTes OK): Old s ring from No Ok moved o his es
2014-11-20 Jiri Vanek <jvanek@redha .com>
Pre-release uning
* Makefile.am: (ne x-h ml-gen.s amp) se number of changes s o 22 (since 1.5.1)
* NEWS: da e of 1.5.2 se o 2014-11-26, added few lines.
* configure.ac: (AC_INIT) se o use 1.5.2
2014-11-19 Jiri Vanek <jvanek@redha .com>
Logging jnlp file in o console
* ne x/ne /sourceforge/jnlp/u il/logging/ConsoleOu pu PaneModel.java: is
now h ml-like escaping lesser hen and grea er hen chars
* ne x/ne /sourceforge/nanoxml/XMLElemen .java: ins ead of reprin ing jnlp
file o s dou , he line is ga hered and logged via s andard logger
2014-11-19 Jie Kang <jkang@redha .com>
Fixed PluginMessage da es o use localized da e from iced eanp-side.
See PR2063
* ne x/ne /sourceforge/jnlp/u il/logging/ConsoleOu pu PaneModel.java:
Sor -by-da e compares using imes amp
* ne x/ne /sourceforge/jnlp/u il/logging/headers/Header.java:
'da e' is a s ring for he localized da e and ' imes amp' is a Da e
for sor -by-da e comparison
* ne x/ne /sourceforge/jnlp/u il/logging/headers/PluginHeader.java:
no longer has imes amp field, uses Header's imes amp field
* ne x/ne /sourceforge/jnlp/u il/logging/headers/PluginMessage.java:
'da e' acquired direc ly from iced eanp-side (s rf ime) wi hou forma ing
2014-11-14 Jiri Vanek <jvanek@redha .com>
Making loading of PAC provider more lenien
* ne x/ne /sourceforge/jnlp/run ime/PacEvalua orFac ory.java: (ge PacEvalua or)
changed general Excep ion (ins ead IOExcep ion only) is ca ch.
2014-11-10 Jiri Vanek <jvanek@redha .com>
Added CZ and DE ransla ion for Cer WarningDialog messages
* ne x/ne /sourceforge/jnlp/resources/Messages_cs.proper ies
* ne x/ne /sourceforge/jnlp/resources/Messages_de.proper ies
(Cer WarnHTTPSAccep Tip, Cer WarnHTTPSRejec Tip): added
2014-11-05 Lukasz Dracz <ldracz@redha .com>
Added PL ransla ion for Cer WarningDialog messages
* ne x/ne /sourceforge/jnlp/resources/Messages_pl.proper ies
(Cer WarnHTTPSAccep Tip, Cer WarnHTTPSRejec Tip): added
2014-11-05 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies
(Cer WarnHTTPSAccep Tip, Cer WarnHTTPSRejec Tip): new messages more
applicable for HTTPS cer warning dialogs
* ne x/ne /sourceforge/jnlp/securi y/dialogs/Cer WarningPane.java:
dis inguish be ween HTTPS cer warnings and signed apple cer warnings.
Display appropria e ex labels and bu ons corresponding o ei her case.
* ne x/ne /sourceforge/jnlp/securi y/dialogs/TemporaryPermissionsBu on.java:
If any of file, securi yDelega e, or linkedBu on are null, simply
disable his componen and do no add componen lis eners dependen upon
hese fields. Also, do no add mul iple groups of permissions, and do no
add he permissions o he securi yDelega e un il he linkedBu on is
ac ually clicked (ra her han when he menu i em is clicked)
2014-10-21 Jiri Vanek <jvanek@redha .com>
Fixed case when already decoded file is won ed from cache (RH1154177)
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java: (ge CacheFile) if
all previous a emp s o ge cached file, plain url.ge Pa h is ried.
2014-10-17 Jiri Vanek <jvanek@redha .com>
Fixed jdk8 javadoc genera ion error
* ne x/ne /sourceforge/jnlp/con rolpanel/CommandLine.java: invalid link
#allCommands replaced by plain op ionsDefini ions.ge I wse ingsCommands
2014-10-13 Fridrich S rba <fridrich.s rba@suse.com>
Removed all references o depreca ed sun.misc.Ref
* configure.ac: removed check for a sun.misc.Ref
* ne x/ne /sourceforge/jnlp/u il/ui/NonEdi ableTableModel.java: all occurrences
of Vec or<?> replaced by Vec or. JDK9 complian s yle.
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java: (ge CachedImageRef)
ype of re urn value changed from Ref o Apple ImageRef. Adap ed impor s.
2014-10-09 Jiri Vanek <jvanek@redha .com>
Emp y "" codebase now behaves as "." codebase
* file ne x/ne /sourceforge/jnlp/Parser.java: in roduced CODEBASE cons an
o avoid duplica ed S ring ge A ribu e spli o ge CleanA ribu e, which
ge he pure a ribu e, and remaining ge A ribu e keep adding null in case
of emp y
* file ne x/ne /sourceforge/jnlp/securi y/Securi yDialogs.java: added
workaround abou possible null codebase
* file es s/ne x/uni /ne /sourceforge/jnlp/ParserTes .java: added es for
emp y codebase
2014-09-02 Jie Kang <jkang@redha .com>
Fixed CacheU ils clearCache me hod o also clear he Leas Recen ly Used
en ries.
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java:
2014-10-31 Jiri Vanek <jvanek@redha .com>
* es s/ne x/uni /ne /sourceforge/jnlp/u il/logging/JavaConsoleTes .java
fixing ypo Levgl->Level
2014-10-21 Jiri Vanek <jvanek@redha .com>
Uni es s coverage adap ed o la es jacoco
* Makefile.am: (JACOCO_AGENT_SWITCH) is now using bo h JACOCO_ADVANCED_EXCLUDE)
and inclboo s rapclasses= rue oo. (JACOCO_AGENT_JAVAWS_SWITCH) and
(JACOCO_AGENT_PLUGIN_SWITCH) are using JACOCO_AGENT_SWITCH ins ead of copypas ing
values.
2014-10-20 Jiri Vanek <jvanek@redha .com>
Added suppor for chromium binary (along wi h older chromium-browser one)
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/Browsers.java:
(s a ic) check if legacy chromium-browser do exis s. If so use i , o herwise
use newer chromium only
2014-10-17 Jiri Vanek <jvanek@redha .com>
Jacoco boo class loading moved from cus om buil o ups reamed form
* Makefile.am: (JACOCO_AGENT_JAVAWS_SWITCH) and (JACOCO_AGENT_PLUGIN_SWITCH)
moved from xboo = rue o inclboo s rapclasses= rue which is now suppor ed
by ups ream.
2014-09-22 Jiri Vanek <jvanek@redha .com>
Preven ing rare class cas excep ion in erroneous de ached apple s
* ne x/ne /sourceforge/jnlp/run ime/Apple Environmen .java: ge SplashCon roler
renamed o ge SplashCon roller. (ge SplashCon roller) added check for
SplashCon roller ins ance. Re urning null if no so.
* ne x/ne /sourceforge/jnlp/splashscreen/SplashU ils.java: adap ed o renaming
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/SplashU ilsTes .java:
added (asser NulsAreOkInShow) es o check null values for showError me hods
2014-09-21 Andrew Azores <aazores@redha .com>
* ne x/javaws.1: Fixed ypos, made forma ing more consis en , and added
missing documen a ion for -Xoffline swi ch.
2014-08-15 Jiri Vanek <jvanek@redha .com>
Pos 1.5 changes
* NEWS: added 1.5.1 sec ion
* configure.ac: (AC_INIT) bumped o 1.5.2pre
2014-05-14 Omair Majid <omajid@redha .com>
* es s/ es -ex ensions/ne /sourceforge/jnlp/ ools/CodeSignerCrea or.java
(KeyPair): New class.
(crea eCer ): Use KeyPair.
2014-08-07 Jiri Vanek <jvanek@redha .com>
Pre-release uning
* Makefile.am: (ne x-h ml-gen.s amp) se number of changes s o 36 (since 1.5)
* NEWS: da e of 1.5.1 se o 2014-08-13
* configure.ac: (AC_INIT) se o use 1.5
2014-08-05 Jiri Vanek <jvanek@redha .com>
Massively improved offline abili ies. Added Xoffline swi ch o force work wi hou ine connec ion.
* NEWS: upda ed
* ne x/ne /sourceforge/jnlp/JNLPFile.java: (openURL) is now using properly
cached file ins ead of direc online one.
* ne x/ne /sourceforge/jnlp/Launcher.java: launcher is now using JNLPRun ime
isOnline* se of me hods
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java: misleading
(ge Inpu S ream) me hod removed (ini ializeResource) check for connec ion
before downlaodin (unless Xforceoffline specified). If environmen is offline
i do no a emp any url connec ions or wri ing o cache
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java: added flags of (offlineForced)
and (onlineDe ec ed) wi h ge ers and se ers. Added u ili y me hod (de ec Online)
o recognize whe her environmen is onliune by resovling ine addres of hos
of no file url.
* ne x/ne /sourceforge/jnlp/u il/XDesk opEn ry.java: now wri es real url in o
desk op icon
2014-08-01 Jiri Vanek <jvanek@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java: cas s o
(JNLPClassLoader) DID guarded by ins anceof
2014-07-31 Andrew Azores <aazores@redha .com>
Add URLPermission suppor o Securi yDesc. This is essen ially Java 8
suppor , as URLPermission is new o Java 8 and required for many apple s
o con inue working when a Java 8-compa ible JVM is in use.
* ne x/ne /sourceforge/jnlp/Securi yDesc.java (urlPermissionClass,
urlPermissionCons ruc or): new s a ic variables for s oring references o
URLPermission, if available, for reflec ive cons ruc ion a run ime
(ge SandboxPermissions): adds URLPermissions o sandbox permissions se ,
if available (Java 8+)
(ge UrlPermissions): new me hod for ge ing URLPermissions for he curren
Securi yDesc
(ge Hos Wi hSpecifiedPor , appendRecursiveSubdirToCodebaseHos S ring): new
s a ic helper me hods for genera ing URLPermissions' cons ruc or args
(requireNonNull): new me hod, simply hrows NPE if i s argumen is null
* es s/ne x/uni /ne /sourceforge/jnlp/Securi yDescTes .java
( es No NullJnlpFile): cleanup refac or, no seman ic change
( es NullJnlpFile, es AppendRecursiveSubdirToCodebaseHos S ring,
es AppendRecursiveSubdirToCodebaseHos S ring2,
es AppendRecursiveSubdirToCodebaseHos S ring3,
es AppendRecursiveSubdirToCodebaseHos S ringWi hPor ,
es AppendRecursiveSubdirToCodebaseHos S ringWi hNull,
es Ge Hos Wi hSpecifiedPor , es Ge Hos Wi hSpecifiedPor Wi hF pScheme,
es Ge Hos Wi hSpecifiedPor Wi hUserInfo,
es Ge Hos Wi hSpecifiedPOr Wi hPor ,
es Ge Hos Wi hSpecifiedPor Wi hPa h, es Ge Hos Wi hSpecifiedPor Wi hAll,
es Ge Hos Wi hSpecifiedPor Wi hNull, es Ge Hos ,
es Ge Hos Wi hF pScheme, es Ge Hos Wi hUserInfo, es Ge Hos Wi hPor ,
es Ge Hos Wi hPa h, es Ge Hos Wi hAll, es Ge Hos Null,
es Ge Hos Wi hAppendRecursiveSubdirToCodebaseHos S ring,
es Ge Hos Wi hSpecifiedPor Wi hAppendRecursiveSubdirToCodebaseHos S ring):
new es me hods
2014-07-31 Andrew Azores <aazores@redha .com>
Fixes for coveri y issues discovered in RH1121549
* plugin/iced eanp/IcedTeaNPPlugin.cc (ITNP_New): prin error message and
re urn error if JVM fails o s ar .
(NP_Ini ialize): fix missing argumen o PLUGIN_ERROR when unable o
crea e da a direc ory
* plugin/iced eanp/IcedTeaParseProper ies.cc (ge _log_dir): refac ored o
reduce duplica e code, and added debug warning messages
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .cc (se Proper y): do no
erroneously redeclare java_resul
* es s/cpp-uni - es s/IcedTeaPluginU ilsTes .cc (file_exis s): added
asser ion ha direc ories sa isfy file_exis
2014-07-30 Jie Kang <jkang@redha .com>
*NEWS: men ioned fixes o Java Console and i web-se ings UI. PR1856, 1857,
1859
2014-07-30 Jie Kang <jkang@redha .com>
Fixed TeeOu pu S ream o accep mul i-by e encodings.
* ne x/ne /sourceforge/jnlp/u il/logging/TeeOu pu S ream.java: Now uses
By eArrayOu pu S ream ins ead of S ringBuffer
* es s/ne x/uni /ne /sourceforge/jnlp/u il/logging/TeeOu pu S reamTes .java:
2014-07-30 Jie Kang <jkang@redha .com>
Fix o Java ConsoleOu pu Pane for lower resolu ions. Addresses bug
PR1859 where par of he pane is hidden and unnaccessible when
clicking Show De ails.
* ne x/ne /sourceforge/jnlp/u il/logging/ConsoleOu pu Pane.java:
2014-07-30 Jie Kang <jkang@redha .com>
Fix o Con rol Panel UI for lower resolu ions. Addresses bug
PR1856 where par of he dialog is hidden and unaccessible
on lower resolu ions such as 800 x 600.
* ne x/ne /sourceforge/jnlp/con rolpanel/Con rolPanel.java:
* ne x/ne /sourceforge/jnlp/con rolpanel/UnsignedApple sTrus ingLis Panel.java:
2014-07-22 Fridrich S rba <fridrich.s rba@suse.com>
* plugin/iced eanp/IcedTeaPluginU ils.cc (flush_pre_ini _messages):
Re urn NULL explici ly.
2014-07-03 Jiri Vanek <jvanek@redha .com>
* es s/ne x/uni /ne /sourceforge/jnlp/resources/MessagesProper iesTes .java
removed useless i era ions of all resources agains all. Kep only all agains
defaul .
2014-07-01 Jiri Vanek <jvanek@redha .com>
* NEWS: men ioned PL localiza ion
2014-06-26 Jacob Wisor <gi ne@gmx.de>
* ne x/ne /sourceforge/jnlp/u il/logging/ConsoleOu pu Pane.java:
(sor By) Remove slipped in Java 7 language cons ruc and API call
2014-06-26 Jacob Wisor <gi ne@gmx.de>
* ne x/ne /sourceforge/jnlp/u il/logging/ConsoleOu pu Pane.java: Forma ing
fixes & cleanup
Made final classes, members, and variables final
2014-06-26 Jacob Wisor <gi ne@gmx.de>
* ne x/ne /sourceforge/jnlp/resources/Messages_pl.proper ies: Add new PL
localized messages
2014-06-25 Andrew Azores <aazores@redha .com>
PolicyEdi or persis s emp y non-defaul codebase en ries
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEn ry.java
( oS ring): re urn emp y s ring only if he codebase bo h has no
permissions assigned and is also he defaul "All Apple s" codebase
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi or.java
(savePolicyFile): release fileLock wi h ry/finally
2014-06-19 Jiri Vanek <jvanek@redha .com>
* NEWS: men ioned All JDKs abili y, DE localiza ion and KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK
2014-06-19 Jiri Vanek <jvanek@redha .com>
Making he previous chnage ac ualy ake an effec .
* Makefile.am: All es s runs using CLASSPATH varibale on line, separa ed by
semicolon. I have no idea wy his was needing.
2014-06-19 Jiri Vanek <jvanek@redha .com>
All es s adap ed o run from XBoo claspa h (forced by ex ending package priva e
r .jar class)
* Makefile.am: all se s of call of -Xboo classpa h in es s and coverage
are now adding $CLASSPATH o boo classap h. Where CLASSPATH was no deffined,
was added.
* es s/ne x/uni /ne /sourceforge/jnlp/JNLPMa cherTes .java: and
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /imagesearch/Componen Finder.java:
resources loaded from boo classloader
* es s/reproducers/simple/JavawsAWTRobo FindsBu on/ es cases/JavawsAWTRobo FindsBu onTes .java
(s a ic ini ) used sys em classlaoder o laod image
2014-06-19 Jiri Vanek <jvanek@redha .com>
Made i works (basicaly) on any JDK
* Makefile.am: (NETX_PKGS) sun.apple added o recognized ne x packages
(ne x-dis .s amp) sun direc ory included in o packed lis
* acinclude.m4: removed (IT_CHECK_FOR_APPLETVIEWERPANEL_HOLE) check. Added
IT_CHECK_FOR_SUN_APPLET_ACCESSIBILITY, which es exis ence of
classes sun.apple .Apple Panel, sun.apple .Apple ViewerPanel
fields apple , documen URL, baseURL and me hods run and runLoader. Addap ed messge
* configure.ac: call o IT_CHECK_FOR_APPLETVIEWERPANEL_HOLE replaced by call
o IT_CHECK_FOR_SUN_APPLET_ACCESSIBILITY
* /ne x/ne /sourceforge/jnlp/Ne xPanel.java: now ex ends Apple ViewerPanelAccess
ins ead of Apple ViewerPanel direc ly. Access o baseURL, apple and documen URL
replaced by dedica ed ge ers/se ers
* ne x/sun/apple /Apple ViewerPanelAccess.java: new class ex ending Apple ViewerPanel
and enabling access o apple , documen URL and baseURL. Backed by reflec ion.
Also overriding run by usage of shor copypas ed code.
* ne x/sun/apple /Apple ViewerPanelAccess.java: addedd acciden ally skipped
crea eApple Thread me hod
* ne x/sun/apple /package-info.java: new file wi h worning abou usage of his
package in i w
* plugin/iced eanp/java/sun/apple /PluginApple PanelFac ory.java: only call
o super debug repalced by ITW's debugging call
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java: used ge ers as in
Ne xPanel
2014-06-19 Kur Miller <kur @in rica esof ware.com>
Fixed PR1743 - In ermi an deadlock in PluginReques Processor
* NEWS: added PR1743
* plugin/iced eanp/IcedTeaNPPlugin.cc: declara ion of cond_message_available
moved o PluginReques Processor class
* plugin/iced eanp/IcedTeaNPPlugin.h: removed ex ernal cond_message_available search
* plugin/iced eanp/IcedTeaPluginReques Processor.h: message_queue_mu ex,
syn_wri e_mu ex and message_queue moved o PluginReques Processor clas.
Cons ruc or, des ruc or and newMessageOnBus declara ionmoved o end of class.
declared queueProcessorThread me hod.
* plugin/iced eanp/IcedTeaPluginReques Processor.cc: Removed declara ion of
s a ic message_queue_mu ex, syn_wri e_mu ex, message_queue. (PluginReques Processor)
cons ruc or and des ruc or and (newMessageOnBus) are now using he fields from
PluginReques Processor class. new me hod of (queue_wai _cleanup) o unlock mu ex
added. (queue_processor) is now calling queueProcessorThread. Implemen ed
(queueProcessorThread), which uses se Member, call , eval and loadUrl ra her
hen processor->, versions. If no message_par s are available, he cleanup is done
only if message_queue is emp y.
2014-06-18 Jacob Wisor <gi ne@gmx.de>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies (BOredirec )
(CCanno ClearCache, CFakedCache, CONSOLEClean, CVCPCleanCache)
(CVCPCleanCacheTip): Fixed language in some messages
* ne x/ne /sourceforge/jnlp/resources/Messages_de.proper ies: Added new DE
localized messages
2014-06-06 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/Cus omPermission.java
( oS ring): fixed emp y ac ions s ring appearing on basic permissions, which
do no have ac ions
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/policyedi or/Cus omPermissionTes .java:
( es ToS ringWi hou Ac ions): new es
2014-06-06 Andrew Azores <aazores@redha .com>
Fixed NullPoin erExcep ion when closing PolicyEdi or wi h changes made and
no file ye se (edi or opened wi hou argumen s), and selec ing yes o
save changes before exi .
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi or.java
(qui ): if file is null, display file chooser promp before a emp ing o save
2014-04-15 Jiri Vanek <jvanek@redha .com>
Reflec possibili y of disabled manifes check o uni - es
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/JNLPFileTes .java: new field
(a CheckValue) o s ore original value. (se Permissions) is enabling check
and (rese Permissions) re urning back o original
2014-04-14 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
(PEAccessThreads, PEAccessThreadsDe ail, PEAccessThreadGroups,
PEAccessThreadGroupsDe ail) new messages
* ne x/ne /sourceforge/jnlp/securi y/dialogs/TemporaryPermissions.java:
(ACCESS_THREADS_PERMISSION, ACCESS_THREAD_GROUPS_PERMISSION) new
permissions, added o reflec ion group.
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PermissionTarge .java:
(ACCESS_THREADS, ACCESS_THREAD_GROUPS) new arge s
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi orPermissions.java:
(ACCESS_THREADS, ACCESS_THREAD_GROUPS) new permissions, added o
reflec ion group. Minor forma ing fixes.
2014-04-14 Jiri Vanek <jvanek@redha .com>
All manifes a ribu es can be disabled
* ne x/ne /sourceforge/jnlp/config/Defaul s.java: added new
KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK configura ion.
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java:
Added KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK key
* ne x/ne /sourceforge/jnlp/run ime/Manifes A ribu esChecker.java:
(isCheckEnabled) new me hod o check value of KEY_ENABLE_MANIFEST_ATTRIBUTES_CHECK
(checkAll) is es ing isCheckEnabled before checking individual a ribu es.
2014-04-07 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogs.java:
(showPar iallySignedWarningDialog) add missing shouldPromp User check
2014-04-07 Jiri Vanek <jvanek@redha .com>
Pos 1.5 changes
* NEWS: added 1.5.1 sec ion
* configure.ac: (AC_INIT) bumped o 1.5.1pre
2014-04-02 Jiri Vanek <jvanek@redha .com>
* Makefile.am: bumped number of changese in for abou dialog. Fixed placemen .
2014-04-02 Jiri Vanek <jvanek@redha .com>
* Changelog: minor fixes
2014-04-02 Jiri Vanek <jvanek@redha .com>
Pre-release uning
* Makefile.am: (ne x-h ml-gen.s amp) se number of changes s o 223 (since 1.4)
* NEWS: da e of 1.5 se o 201-04-02
* configure.ac: (AC_INIT) se o use 1.5
2014-04-02 Jiri Vanek <jvanek@redha .com>
* NEWS: Bumped da e of 1.5 release o 2014
2014-04-01 Andrew Azores <aazores@redha .com>
Fix Permissions manifes a ribu e check
* ne x/ne /sourceforge/jnlp/run ime/Manifes A ribu esChecker.java:
(isNoneOrDefaul ) new me hod.
(valida eReques edPermissionLevelMa chesManifes Permissions) new me hod.
(checkPermissionsA ribu e) rework o closer ma ch spec and fix bug in no
allowing signed apple s o reques sandbox permissions.
2014-04-01 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/JNLPFile.java: hardcoded s rings replaced by
Securi yDesc.Reques edPermissionLevel values.
* ne x/ne /sourceforge/jnlp/PluginBridge.java: likewise
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/JNLPFileTes .java: likewise
* es s/ne x/uni /ne /sourceforge/jnlp/JNLPFileTes .java: added new es s
( es Ge Reques edPermissionLevel1) - ( es Ge Reques edPermissionLevel7).
Added (minimalJnlp) field.
* es s/ne x/uni /ne /sourceforge/jnlp/PluginBridgeTes .java: added new
( es Ge Reques edPermissionLevel) es .
* ne x/ne /sourceforge/jnlp/Securi yDesc.java: added (DEFAULT) in o
(Reques edPermissionLevel) and fixed ypo in (J2EE) jnlpValue
2014-04-01 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/Securi yDesc.java: (Reques edPermissionLevel)
new enum o describe he permission level reques ed in an apple 's
JNLP/HTML. (reques edPermissionLevel) new field. (Securi yDesc) new
cons ruc or wi h Reques edPermissionLevel added.
(ge Reques edPermissionLevel) new me hod.
* ne x/ne /sourceforge/jnlp/JNLPFile.java: (ge Reques edPermissionLevel)
new me hod
* ne x/ne /sourceforge/jnlp/Parser.java: (ge Securi y) cons ruc
Securi yDescs wi h correc Reques edPermissionLevel
* ne x/ne /sourceforge/jnlp/PluginBridge.java:
(ge Reques edPermissionLevel) new overridden me hod
* ne x/ne /sourceforge/jnlp/PluginParame ers.java: (ge Permissions) new
me hod
2014-04-01 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages_cs.proper ies: adap ed o ma ch newes s a e.
(MissingPermissionsMainTi le) (MissingPermissionsInfo) (ALACAMissingMainTi le) (ALACAMissingInfo)
(ALACAMa chingMainTi le) (ALACAMa chingInfo) removed codebase word, used ex in all hrefs.
2014-04-01 Jiri Vanek <jvanek@redha .com>
Manual quo a ion in Classpa hMa cher regex replaced by Pa ern.quo e
* ne x/ne /sourceforge/jnlp/u il/Classpa hMa cher.java: (quo e)
is now using Pa ern.quo e ins ead manual Q + original + E
2014-04-01 Jiri Vanek <jvanek@redha .com>
Res ric ed CodebaseMa cher o no ma ch aaexample.com by *.example.com expression
bu s ill ma ch example.com - as in specifica ion.
* ne x/ne /sourceforge/jnlp/u il/Classpa hMa cher.java: (domainToRegEx) consis s
of original regex connec ed by or wi h second one in case of *. s ar .
(sourceToRegExS ring) par of he logic ex rac ed o quo e me hod.
* es s/ne x/uni /ne /sourceforge/jnlp/u il/Classpa hMa cherTes .java:
(ma chTes 5) adap ed. (wildCardSubdomainDoesNo Ma chParen DomainPa hs) new es ,
focusing on aaexample.com/example.com/aaa.example.com in *.example.com bo h
pa h and domain.
2014-03-31 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies
(MissingPermissionsMainTi le): Remove 'codebase'
(MissingPermissionsInfo): Use simple link i le.
2014-03-31 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies
(ALACAMissingMainTi le, ALACAMissingInfo ALACAMa chingMainTi le)
(ALACAMa chingInfo): Rephrase s rings and replace full links wi h page
names.
* ne x/ne /sourceforge/jnlp/u il/UrlU ils.java (se OfUrlsToH mlLis ):
Enclose lis in 'ul' elemen .
2014-03-31 Jiri Vanek <jvanek@redha .com>
Allowed wrong ma ch of he aaaexample.com by *.example.com expression as in
specifica ion.
* ne x/ne /sourceforge/jnlp/u il/Classpa hMa cher.java: uncommen ed handling
of do in (domainToRegEx).
* es s/ne x/uni /ne /sourceforge/jnlp/u il/Classpa hMa cherTes .java:
(ma chTes ) uncommen ed and added es s of/for do issue.
2014-03-31 Jiri Vanek <jvanek@redha .com>
Alexandr Kolouch <skolnag@gmail.com>
Fixed cz_CS locales and adap ed es s
* ne x/ne /sourceforge/jnlp/resources/Messages_cs_CZ.proper ies: added missing
values
* es s/reproducers/simple/LocalesTes / es cases/LocalesTes Tes .java:
Added few un ransla able i ems o whi e-lis . (allResourcesAreReallyDifferen )
now skip es on values of "s d. err" "s d. ou " "Policy Edi or" and
"Java Reflec ion"
2014-03-31 Omair Majid <omajid@redha .com>
* acinclude.m4
(IT_CHECK_XULRUNNER_MIMEDESCRIPTION_CONSTCHAR),
(IT_CHECK_XULRUNNER_REQUIRES_C11): Use AC_LANG_SOURCE wi h code.
2014-03-31 Jiri Vanek <jvanek@redha .com>
Refac ored check of heap space. Now recognize g/G and is based on regex
* ne x/ne /sourceforge/jnlp/JREDesc.java: Added (heapPa ern) cons an .
(checkHeapSize) now re urns rimmed s ring and i s logic is ma ching he
heapPa ern ins ead compelx s ruc ure. (ini ) se resul of checkHeapSize
as ini ialHeapSize and maximumHeapSize.
* es s/ne x/uni /ne /sourceforge/jnlp/JREDescTes .java: es s for (checkHeapSize)
and (ini ) of JREDesc.
2014-03-27 Andrew Azores <aazores@redha .com>
Fix NPE when rying o open a new file, wi h changes made, and wan ing o
save hese changes o a file
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi or.java:
(openBu onAc ion) display Save As file chooser if here is no file objec
ye and user wishes o save changes
2014-03-27 Andrew Azores <aazores@redha .com>
Fix bug wi h checkboxes no correc ly upda ing on open and wi h repea s of
a codebase appearing when opening a file mul iple imes
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi or.java:
(rese Codebases) new me hod. (openAndParsePolicyFile) call rese Codebases
a s ar . (PolicyEdi or) call rese Codebases in cons ruc or
2014-03-27 Andrew Azores <aazores@redha .com>
Apple s can be emporarily gran ed permission levels above fully sandboxed
bu below all-permission
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
(STempPermNoFile, STempPermNoNe work, STempPermNoExec,
STempPermNoFileOrNe work, STempPermNoExecOrNe work, STempPermNoFileOrExec,
STempPermNoFileOrNe workOrExec, STempAllMedia, STempSoundOnly,
STempClipboardOnly, STempPrin Only, STempAllFileAndProper yAccess,
STempReadLocalFilesAndProper ies, STempReflec ionOnly): new messages
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialog.java: (ins allPanel)
pass Securi yDelega e o par ially signed dialog
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogs.java:
(showPar iallySignedWarningDialog) added Secu i yDelega e param for
message ex ras
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/UnsignedApple Trus Confirma ion.java:
(checkPar iallySignedWi hUserIfRequired) added Securi yDelega e param
* ne x/ne /sourceforge/jnlp/securi y/dialogs/Cer WarningPane.java:
(crea ePolicyPermissionsMenu, PolicyEdi orLaunchLis ener,
PolicyEdi orPopupLis ener) removed in favour of TemporaryPermissionsBu on
* ne x/ne /sourceforge/jnlp/securi y/dialogs/app rus warningpanel/Par iallySignedAppTrus WarningPanel.java:
same
* ne x/ne /sourceforge/jnlp/securi y/dialogs/app rus warningpanel/AppTrus WarningDialog.java:
(par iallySigned) Securi yDelega e param
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PermissionAc ions.java:
(DELETE, READLINK, FILE_ALL) new ac ions. (rawAc ions, rawS ring) can
re rieve raw S ring represen a ion of he ac ion
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PermissionTarge .java:
(USER_HOME, TMPDIR) gran permissions o en ire direc ory, no only
children
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi orPermissions.java:
(DELETE_LOCAL_FILES, DELETE_TMP_FILES) new permissions.
(Group.Wri eFileSys em) added DELETE* permissions
* nes s/ne x/uni /ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi orParsingTes .java:
upda e for change in PermissionTarge
* ne x/ne /sourceforge/jnlp/securi y/dialogs/TemporaryPermissions.java:
new class
* ne x/ne /sourceforge/jnlp/securi y/dialogs/TemporaryPermissionsBu on.java:
new class
2014-03-27 Jiri Vanek <jvanek@redha .com>
Clenaup in PolicyEdi or es s and MVC
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi or.java: MVC
mixing me hod (upda echeckboxes) spli ed o invokela er and plain impls.
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/policyedi or/* : removed
warnings and fixed wrong package declara ion.
* es s/ es -ex ensions/ne /sourceforge/jnlp/u il/FileTes U ils.java: when
filelaks are nega ive, ake i as success.
2014-03-26 Andrew Azores <aazores@redha .com>
Fix JOp ionPane modali y problems af er making PolicyEdi or i self modal
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi or.java:
JOp ionPane dialog paren s se correc ly o JDialog or JFrame ra her han
JPanel
2014-03-26 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ie: new keys (STOAsignedMsgFully)
(STOAsignedMsgAndSandbox) (STOAsignedMsgPar iall) added
* ne x/ne /sourceforge/jnlp/run ime/Manifes A ribu esChecker.java: ex rac ed
hardocded values of (signedMsg)
2014-03-26 Jiri Vanek <jvanek@redha .com>
Added possibili y o group permissions in PolicyEdi or
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: added groups names
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi or.java: (se Layou )
added grouping panels and checkboxes. (JcheckBoxWi hGroup) New inner class o work
wi h groups.
ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi orPermissions.java:
Added inner class (Groups) and deffinied (ReadFileSys em) (Wri eFileSys em)
(AccesUnowenedCode) (MediaAccess)
2014-03-26 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi or.java:
(savePolicyFile, openAndParsePolicyFile) made synchronous so ha
programma ically adding a new codebase has a well-defined order when
performed immedia ely af er s ar ing a new PolicyEdi or ins ance
2014-03-26 Andrew Azores <aazores@redha .com>
Jiri Vanek <jvanek@redha .com>
PolicyEdi or can be made modal.
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi or.java:
(PolicyEdi orWindow) new in erface o facili a e PolicyEdi or as a Window
ra her han Panel. (PolicyEdi orFrame, PolicyEdi orDialog)
PolicyEdi orWindow implemen a ions. (ge PolicyEdi orFrame,
ge PolicyEdi orWindow) new me hods o ge frame or dialog implemen a ions.
(se Componen Mnemonic) made s a ic. (preparePolicyEdi orWindow) common
se up for frame and dialog implemen a ions.
* ne x/ne /sourceforge/jnlp/con rolpanel/PolicyPanel.java: refac or o use
PolicyEdi orWindow
* ne x/ne /sourceforge/jnlp/securi y/dialogs/Cer WarningPane.java:
same
* ne x/ne /sourceforge/jnlp/securi y/dialogs/app rus warningpanel/Par iallySignedAppTrus WarningPanel.java
same
* ne x/ne /sourceforge/jnlp/u il/FileU ils.java: (showReadOnlyDialog,
showCouldNo OpenFileDialog, showCouldNo OpenFilePa hDialog,
showCouldNo OpenDialog) use Componen ra her han JFrame
2014-03-26 Andrew Azores <aazores@redha .com>
Added many new permissions for PolicyEdi or
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: (PEWri eProps,
PEWri ePropsDe ail, PEWri eSys emFiles, PEWri eSys emFilesDe ail,
PEAWTPermission, PEAWTPermissionDe ail, PERecordAudio,
PERecordAudioDe ail, PEReflec ion, PEReflec ionDe ail, PEClassLoader,
PEClassLoaderDe ail, PEClassInPackage, PEClassInPackageDe ail,
PEDeclaredMembers, PEDeclaredMembersDe ail, PEExec, PEExecDe ail,
PEGe Env, PEGe EnvDe ail): new messages. (PEAudio, PEAudioDe ail) renamed
o PEPlayAudio{,De ail}.
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PermissionAc ions.java:
(EXECUTE) new ac ion
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PermissionTarge .java:
(ALL_FILES, RECORD, REFLECT, GETENV, ACCESS_CLASS_IN_PACKAGE,
DECLARED_MEMBERS, CLASSLOADER) new arge s
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PermissionType.java:
(REFLECT_PERMISSION) new ype
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi orPermissions.java:
(WRITE_PROPERTIES, WRITE_SYSTEM_FILES, JAVA_REFLECTION, GET_CLASSLOADER,
ACCESS_CLASS_IN_PACKAGE, ACCESS_DECLARED_MEMBERS, EXEC_COMMANDS, GET_ENV,
ALL_AWT, RECORD_AUDIO) new permissions. (AUDIO) renamed PLAY_AUDIO.
2014-03-24 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/Manifes sA ribu esValida or.java:
renamed o Manifes A ribu esChecker.
* ne x/ne /sourceforge/jnlp/run ime/Manifes A ribu esChecker.java:
(checkTrus edOnlyA ribu e, checkCodebaseA ribu e,
checkPermissionsA ribu e,
checkApplica ionLibraryAllowableCodebaseA ribu e) made priva e.
(checkAll) new me hod.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: reflec above
changes
2014-03-24 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/Manifes sA ribu esValida or.java:
(checkTrus edOnlyA rubu e) works properly wi h sandboxing
2014-03-24 Jiri Vanek <jvanek@redha .com>
Clien applica ions now log in o new console.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: added keys (COPi w)
and (COPclien App) for new checkboxes in console
* ne x/ne /sourceforge/jnlp/run ime/Boo .java: added bracke s o headless if
* ne x/ne /sourceforge/jnlp/u il/TeeOu pu S ream.java: moved o
* ne x/ne /sourceforge/jnlp/u il/logging/TeeOu pu S ream.java: and improved o
log in o new console.
* ne x/ne /sourceforge/jnlp/u il/logging/ConsoleOu pu Pane.java: added new
checkboxes o fil er ou /in cus om app/i w logs. copyAll bu ons do no include
cus om app's logs in case of firs click.
* ne x/ne /sourceforge/jnlp/u il/logging/ConsoleOu pu PaneModel.java: Added
es ing da a wi h cus om app. (HTMLCOLOR_PURPLE) and (HTMLCOLOR_GREEN) as
new colors for cus om app. (fil er) now handle clien app.
* ne x/ne /sourceforge/jnlp/u il/logging/JavaConsole.java: (ini ) redirec
s dou /err over eeOu pu S ream
* /ne x/ne /sourceforge/jnlp/u il/logging/Ou pu Con roller.java: (consume)
do no reprin if header is marked by isClien App
* ne x/ne /sourceforge/jnlp/u il/logging/headers/Header.java: added field
(isClien App)
2014-03-24 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/CachePane.java: (visualCleanCache)
consider excep ion in cache opera ion as no -scuess.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: (CCanno ClearCache)
(CFakedCache) (CVCPCleanCacheTip) improved by fix i ips.
2014-03-24 Andrew Azores <aazores@redha .com>
* NEWS: added men ion of Trus ed-only manifes a ribu e
2014-03-24 Andrew Azores <aazores@redha .com>
Added abili y o launch PolicyEdi or from securi y promp s, wi h he
curren apple 's codebase pre-selec ed in he edi or.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
(Cer WarnPolicyTip, Cer WarnPolicyEdi or): new messages
* ne x/ne /sourceforge/jnlp/securi y/dialogs/Cer WarningPane.java: can
launch PolicyEdi or from new op ions overflow bu on
* ne x/ne /sourceforge/jnlp/securi y/dialogs/app rus warningpanel/Par iallySignedAppTrus WarningPanel.java:
same
2014-03-24 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: pass
Securi yDelega e o Manifes sA ribu esValida or
* ne x/ne /sourceforge/jnlp/run ime/Manifes sA ribu esValida or.java:
(securi yDelega e) new field, added o cons ruc or.
(checkTrus edOnlyA ribu e, checkPermissionsA ribu e) works wi h
RunInSandbox.
2014-03-20 Andrew Azores <aazores@redha .com>
Trus ed-only manifes a ribu e implemen a ion
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
(STrus edOnlyA ribu eFailure) new message
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: added
Manifes sA ribu esValida or#checkTrus edOnlyA ribu e() o cons ruc or
* ne x/ne /sourceforge/jnlp/run ime/Manifes sA ribu esValida or.java:
(checkTrus edOnlyA ribu e) new me hod
* es s/reproducers/cus om/Trus edOnlyA ribu e/resources/Trus edOnlyA ribu e-signed-nosecuri y.jnlp:
new es s for Trus ed-only a ribu e
* es s/reproducers/cus om/Trus edOnlyA ribu e/resources/Trus edOnlyA ribu e-signed-securi y.jnlp
* es s/reproducers/cus om/Trus edOnlyA ribu e/resources/Trus edOnlyA ribu e-signed.h ml
* es s/reproducers/cus om/Trus edOnlyA ribu e/resources/Trus edOnlyA ribu e-unsigned-nosecuri y.jnlp
* es s/reproducers/cus om/Trus edOnlyA ribu e/resources/Trus edOnlyA ribu e-unsigned-securi y.jnlp
* es s/reproducers/cus om/Trus edOnlyA ribu e/resources/Trus edOnlyA ribu e-unsigned.h ml
* es s/reproducers/cus om/Trus edOnlyA ribu e/srcs/MANIFEST.MF
* es s/reproducers/cus om/Trus edOnlyA ribu e/srcs/Makefile
* es s/reproducers/cus om/Trus edOnlyA ribu e/srcs/Trus edOnlyA ribu e.java
* es s/reproducers/cus om/Trus edOnlyA ribu e/ es cases/Trus edOnlyA ribu eTes .java
2014-03-20 Andrew Azores <aazores@redha .com>
Passing a reference o Securi yDelega e o Cer WarningPane, so ha UI
elemen s can be added la er o allow he apple o be run Sandboxed + some
emporary permissions
* ne x/ne /sourceforge/jnlp/securi y/JNLPAppVerifier.java: (checkTrus Wi hUser)
pass Securi yDelega e reference o Securi yDialogs.showCer WarningDialog
* ne x/ne /sourceforge/jnlp/securi y/PluginAppVerifier.java: same
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialog.java: pass Securi yDelega e
reference from ex ras in o Cer WarningPane cons ruc or
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogs.java: (showCer WarningDialog)
added Securi yDelega e parame er, add o ex ras array.
* ne x/ne /sourceforge/jnlp/securi y/VariableX509Trus Manager.java: (askUser)
pass null for Securi yDelega e reference
* ne x/ne /sourceforge/jnlp/securi y/dialogs/Cer WarningPane.java: (Cer WarningPane)
added Securi yDelega e cons ruc or parame er and (securi yDelega e) field
2014-03-20 Andrew Azores <aazores@redha .com>
Securi yDelega e can be used o add permissions o JNLPClassLoader during
run. This is useful for adding emporary ex ra permissions o an apple .
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: (Securi yDelega e
addPermission, addPermissions) new me hods. (Securi yDelega eImpl addPermission,
addPermissions) implemen previous.
2014-03-20 Jiri Vanek <jvanek@redha .com>
Clear cache func ion made more visible.
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java: (okToClearCache) released
never released lock. (clearCache) now recria ed direc ory af er cleaning.
* ne x/ne /sourceforge/jnlp/con rolpanel/CachePane.java: Added dele e
all bu on. (res oreDisabled) and (disableBu ons) are con aining duplica ed
code. (invokeLa erDele eAll) and (visualCleanCache) u ili y me hods accessing
CacheU il.clearCache.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: added (CVCPCleanCache)
and (CVCPCleanCacheTip) keys
* ne x/ne /sourceforge/jnlp/splashscreen/par s/JEdi orPaneBasedExcep ionDialog.java:
added (cacheBu on)
* ne x/ne /sourceforge/jnlp/u il/BasicExcep ionDialog.java: also added (cacheBu on)
bu also included some layou refac oring o have bu ons in row.
2014-03-20 Jiri Vanek <jvanek@redha .com>
Me hods valida ing manifes s' a ribu es moved o separa e class.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: Cleaned impor s.
A (ini ) me hods (checkCodebaseA ribu e), (checkPermissionsA ribu e) and
(checkApplica ionLibraryAllowableCodebaseA ribu e) moved o
Manifes sA ribu esValida or. (guessCodeBase) generalized in UrlU ils.
* ne x/ne /sourceforge/jnlp/run ime/Manifes sA ribu esValida or.java:
new class. Con ains logic o valida e manifes s'a ribu es.
* ne x/ne /sourceforge/jnlp/u il/UrlU ils.java: added me hod (guessCodeBase)
as generaliza ion of JNLPClassLoader's guessCodeBase me hod.
2014-03-14 Andrew Azores <aazores@redha .com>
Added new Par iallySigned Dialog o replace No AllSignedWarningPane.
Also includes a Sandbox bu on.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
(APPEXTSecunsignedApple Ac ionSandbox, LPar iallySignedApple ,
LPar iallySignedApple UserDenied) new messages. (SNo AllSignedSummary,
SNo AllSignedDe ail, SNo AllSignedQues ion) keys renamed o SPar ially*
* ne x/ne /sourceforge/jnlp/resources/Messages_cs.proper ies: (SNo AllSignedSummary,
SNo AllSignedDe ail, SNo AllSignedQues ion) keys renamed o SPar ially*
* ne x/ne /sourceforge/jnlp/resources/Messages_de.proper ies: same
* ne x/ne /sourceforge/jnlp/resources/Messages_pl.proper ies: same
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
Logic added for displaying new Par iallySigned dialog.
(showNo AllSignedDialog) removed. (ge SigningS a e) new me hod.
(promp UserOnPar ialSigning, userPromp edForPar ialSigning) new me hods for
Securi yDelega e.
* ne x/ne /sourceforge/jnlp/securi y/dialogs/app rus warningpanel/AppTrus WarningDialog.java:
(par iallySigned) new me hod
* ne x/ne /sourceforge/jnlp/securi y/dialogs/app rus warningpanel/AppTrus WarningPanel.java:
(chosenAc ionSe er) refac ored o allow Sandbox ac ion. (se upInfoPanel) apple
i le made overrideable by subclasses
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialog.java: (NOTALLSIGNED_WARNING)
renamed PARTIALLYSIGNED_WARNING, display new dialog ra her han old
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogs.java: (NOTALLSIGNED_WARNING)
renamed PARTIALLYSIGNED_WARNING. (showNo AllSignedWarningDialog) removed.
(showPar iallySignedWarningDialog) new me hod
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/Execu eApple Ac ion.java:
Added Sandbox ac ion
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/UnsignedApple Trus Confirma ion.java:
(checkPar iallySignedWi hUserIfRequired) new me hod
* es s/reproducers/cus om/SignedApple CodebaseLoading/ es cases/SignedApple CodebaseLoadingTes s.java:
es now passes since dialog will no appear if apple securi y is se o Low.
KnownToFail removed.
* es s/reproducers/cus om/SignedApple Ex ernalMainClass/ es cases/SignedApple Ex ernalMainClassTes .java:
same
* ne x/ne /sourceforge/jnlp/securi y/dialogs/app rus warningpanel/Par iallySignedAppTrus WarningPanel.java:
new class
* ne x/ne /sourceforge/jnlp/securi y/dialogs/No AllSignedWarningPane.java: dele ed
in favour of Par iallySignedAppTrus WarningPanel
2014-03-14 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi or.java:
(addNewCodebase) ensure ha checkboxes upda e. (removeCodebase,
upda eCheckboxes) ensure UI upda es are done on EDT.
2014-03-14 Jiri Vanek <jvanek@redha .com>
Base implemen a ion of Applica ion-Library-Allowable-Codebase. Remember
bu on no ye working.
* ne x/ne /sourceforge/jnlp/JNLPFile.java: (Classpa hMa chers)
(ge Applica ionLibraryAllowableCodebase) (ge Codebase) (ge CodeBaseMa chersA ribu e)
(ge CodeBaseMa chersA ribu e) (ge CodeBaseMa chersA ribu e) changed signa ure
o include/no include pa h in re urned ma cher.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Added keys
(ALACAMissingMainTi le) (ALACAMissingInfo) (ALACAMa chingMainTi le)
(ALACAMa chingInfo) for new dialogs.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: Implemen ed
(checkApplica ionLibraryAllowableCodebaseA ribu e). Used in (ini )
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialog.java: made aware of
new cons an s (MISSING_ALACA) and (MATCHING_ALACA)
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogs.java: new cons an s
(MISSING_ALACA) and (MATCHING_ALACA). Implemen ed (showMissingALACA ribu ePanel)
and (showMa chingALACA ribu ePanel)
* ne x/ne /sourceforge/jnlp/securi y/dialogs/Ma chingALACA ribu ePanel.java
new dialog for Ma ching a ribu e
* ne x/ne /sourceforge/jnlp/securi y/dialogs/MissingALACA ribu ePanel.java:
new dialog for Missing a ribu e.
* ne x/ne /sourceforge/jnlp/u il/Classpa hMa cher.java: allowing user o
choose whe her o include pa hs in ma ching or no .
* ne x/ne /sourceforge/jnlp/u il/UrlU ils.java: new u il me hods (removeFileName)
(se OfUrlsToH mlLis ) (sani izeLas Slash) and (equalsIgnoreLas Slash) o
s rip filename from url, oS ring for i erable of urls o s ring, and
for opera ions wi h URLs independen ly on las slash
* es s/ne x/uni /ne /sourceforge/jnlp/u il/Classpa hMa cherTes .java: added
es s for pa hs
* es s/ne x/uni /ne /sourceforge/jnlp/u il/UrlU ilsTes .java: added es s
for new me hods
2014-03-13 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi or.java:
(savePolicyFile, upda eMd5Wi hDialog) avoid NPE when saving o a new file
2014-03-13 Jiri Vanek <jvanek@redha .com>
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/JNLPClassLoaderTes .java: adap ed
o permissions a ribu e
2014-03-13 Jiri Vanek <jvanek@redha .com>
Fixing rear deadlock issue
* ne x/ne /sourceforge/jnlp/u il/logging/ConsoleOu pu Pane.java: removed
(probably) unnecessary synchroniza ion of (refreshPaneBody).
2014-03-13 Jiri Vanek <jvanek@redha .com>
Fixed appearance of download indica or
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: (ini ) a ribu es
are allowed o access jars only once all resources are downloaded
2014-03-12 Jiri Vanek <jvanek@redha .com>
* configure.ac: added check for /bin/bash
2014-03-12 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi or.java:
(ini ializeMapForCodebase) re urns boolean indica ing if he given
codebase already exis ed. (addNewCodebase) do no add codebases if hey
already exis
2014-03-12 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
(PEFileModified, PEFileModifiedDe ail) new messages
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi or.java:
(fileWa cher, openAndParsePolicyFile, savePolicyFile) upda e o use
MD5SumWa cher o check if he file has changed ex ernally since being
opened
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi orTes .java:
URLs changed o example.com
2014-03-12 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
(PECodebaseFlag) new message for policyedi or -help
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi or.java:
(HELP_MESSAGE) added -codebase flag
* ne x/policyedi or.1: upda ed -file and added -codebase and -help
2014-03-11 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PermissionTarge .java:
(TMPDIR) is java.io. mpdir, no io. mpdir
2014-03-11 Jiri Vanek <jvanek@redha .com>
New java console made localizable.
*ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: added new family of
keys (COP) for new console
*ne x/ne /sourceforge/jnlp/u il/logging/ConsoleOu pu Pane.java: where reasonable,
s rings replaced by records in proper ies.
* ne x/ne /sourceforge/jnlp/u il/logging/JavaConsole.java: (rawDa a) and
(ou pu s) made final.
2014-03-11 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: added (CONSOLEClean)
key for new bu on
* ne x/ne /sourceforge/jnlp/u il/logging/ConsoleOu pu Pane.java: (upda e)
me hod enhanced for possibili y o force refresh
* ne x/ne /sourceforge/jnlp/u il/logging/JavaConsole.java: added Bu Clean
bu on. (upda eModel) overlaoded wi h force a ribu e.
2014-03-11 Jiri Vanek <jvanek@redha .com>
* ne x/policyedi or.1: Men ioned ha i is more GUI hen commandline ool
2014-03-11 Jiri Vanek <jvanek@redha .com>
Implemen ed Permissions manifes en ry handling.
* NEWS: men ioned Permissions a ribu e
* ne x/ne /sourceforge/jnlp/JNLPFile.java: new enum (Manifes Boolean) in roduced
o replace rue/false/null by TRUE/FALSE/UNDEFFINED. (isTrus edOnly),
(isTrus edLibrary), (isSandboxForced) and (processBooleanA ribu e) moved
o use Manifes Boolean.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Added (Bu Yes) (Bu No)
(MissingPermissionsMainTi le) and (MissingPermissionsInfo) keys
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: is now checking
(checkPermissionsA ribu e) in (ini ). Implemen ed new (checkPermissionsA ribu e)
me hod o handle Permissions a ribu e
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialog.java: can handle
(UNSIGNED_EAS_NO_PERMISSIONS_WARNING)
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogs.java: defined
(UNSIGNED_EAS_NO_PERMISSIONS_WARNING ) and (showMissingPermissionsA ribu eDialogue)
* ne x/ne /sourceforge/jnlp/securi y/dialogs/MissingPermissionsA ribu ePanel.java:
new class, implemen a ion of missing permissions a ribu e panel.
* ne x/ne /sourceforge/jnlp/securi y/dialogs/Securi yDialogPanel.java: changed
(ini ialFocusComponen ) from package priva e o descendan visible
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/CodeBaseClassLoaderTes .java: and
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/JNLPFileTes .java: adap ed o
(Manifes Boolean) and o Permissions a ribu e handling a all.
2014-03-10 Omair Majid <omajid@redha .com>
* ne x/javaws.1,
* ne x/i web-se ings.1: Change "SYNOPSYS" o "SYNOPSIS".
* NEWS: Add i web-se ings man page.
2014-03-10 Andrew Azores <aazores@redha .com>
Added MD5SumWa cher u ili y class o de ec when a file's con en s have been
changed on disk.
* ne x/ne /sourceforge/jnlp/u il/FileU ils.java: (ge FileMD5Sum) new
func ion
* ne x/ne /sourceforge/jnlp/u il/MD5SumWa cher.java: new class
* es s/ne x/uni /ne /sourceforge/jnlp/u il/MD5SumWa cherTes .java: new
es s for MD5SumWa cher
2014-03-10 Andrew Azores <aazores@redha .com>
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi orPermissionsTes .java:
( es Ac ionsRegex, es Targe Regex, es RegexesAgains BadPermissionNames):
upda e af er moving regexes from PolicyEdi orPermissions in o
Cus omPermission
2014-03-10 Andrew Azores <aazores@redha .com>
PolicyEdi or parsing enhancemen s, new es s, and bugfixes
* NEWS: added en ry for PolicyEdi or
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
(PESaveAsMenuI emMnemonic, PEExi MenuI emMnemonic) changed mnemonic keys
due o masking wi h c rl ra her han al
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/Cus omPermission.java:
(ACTIONS_PERMISSION, TARGET_PERMISSION, fromS ring) use regexes o parse
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi or.java:
(file) keep reference o File ra her han S ring filePa h. (ge Permissions)
re urns emp y map ra her han null. (se Componen Mnemonic) new me hod.
(ge Cus omPermissions) new func ion. (openAndParsePolicyFile) check for
OpenFileResul FAILURE and NOT_FILE ra her han null. (se upLayou ) File,
Save, SaveAs, and Exi i ems modifier mask changed o C rl ra her han Al
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi orPermissions.java:
(fromS ring) use regexes o parse, using Cus omPermission as in ermedia e
represen a ion
* ne x/ne /sourceforge/jnlp/u il/FileU ils.java:
( es Direc oryPermissions) add check for ge CanonicalFile and null
safeguarding. ( es FilePermissions) add check for ge CanonicalFile and
re urn FAILURE ra her han null
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/policyedi or/Cus omPermissionTes .java:
( es MissingQuo a ionMarks) new es
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi orTes .java:
( es Re urnedCus omPermissionsSe IsCopy,
es CodebaseTrailingSlashesDoNo Ma ch) new es s
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi orParsingTes .java:
new es s
2014-03-10 Omair Majid <omajid@redha .com>
* Makefile.am (ins all-da a-local): Ins all i web-se ings.1.
* ne x/i web-se ings.1: New file.
2014-03-10 Jiri Vanek <jvanek@redha .com>
Added ge er for java-abr -connec or on demand whi elis of fields.
* ne x/ne /sourceforge/jnlp/Launcher.java: (launch) saving (loca ion. oEx ernalForm())
via JNLPRun ime.saveHis ory
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java: (his ory) new s a ic field
wi h ge er (ge His ory) and "se er" (saveHis ory)
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java: (handleIni ializa ionMessage)
saving (documen Base) via JNLPRun ime.saveHis ory
2014-03-10 Jiri Vanek <jvanek@redha .com>
Ac ualized man page for javaws
* ne x/javaws.1: made sync wi h curren s a e
2014-03-10 Jiri Vanek <jvanek@redha .com>
Fixed rhbz#1072013
* ne x/ne /sourceforge/jnlp/PluginBridge.java: The (fileLoca ion) of
JNLPFile is now properly se in cons ruc or if no exis ing.
2014-03-06 Andrew Azores <aazores@redha .com>
* NEWS: added -version flag en ry
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: (BOVersion)
new message for command line -version flag
* ne x/ne /sourceforge/jnlp/run ime/Boo .java: (main) added "-version"
flag
2014-03-05 Jiri Vanek <jvanek@redha .com>
All securi y dialogs moved o appropria e package
* ne x/ne /sourceforge/jnlp/securi y/AccessWarningPane.java: o
* ne x/ne /sourceforge/jnlp/securi y/dialogs/AccessWarningPane.java:
* ne x/ne /sourceforge/jnlp/securi y/Apple WarningPane.java: o
* ne x/ne /sourceforge/jnlp/securi y/dialogs/Apple WarningPane.java:
* ne x/ne /sourceforge/jnlp/securi y/Cer WarningPane.java: o
* ne x/ne /sourceforge/jnlp/securi y/dialogs/Cer WarningPane.java
* ne x/ne /sourceforge/jnlp/securi y/Cer sInfoPane.java: o
* ne x/ne /sourceforge/jnlp/securi y/dialogs/Cer sInfoPane.java:
* ne x/ne /sourceforge/jnlp/securi y/MoreInfoPane.java: o
* ne x/ne /sourceforge/jnlp/securi y/dialogs/MoreInfoPane.java:
* ne x/ne /sourceforge/jnlp/securi y/No AllSignedWarningPane.java: o
* ne x/ne /sourceforge/jnlp/securi y/dialogs/No AllSignedWarningPane.java:
* ne x/ne /sourceforge/jnlp/securi y/PasswordAu hen ica ionPane.java: o
* ne x/ne /sourceforge/jnlp/securi y/dialogs/PasswordAu hen ica ionPane.java:
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogPanel.java: o
* ne x/ne /sourceforge/jnlp/securi y/dialogs/Securi yDialogPanel.java:
* ne x/ne /sourceforge/jnlp/securi y/SingleCer InfoPane.java: o
* ne x/ne /sourceforge/jnlp/securi y/dialogs/SingleCer InfoPane.java:
* ne x/ne /sourceforge/jnlp/securi y/AppTrus WarningDialog.java: o
* ne x/ne /sourceforge/jnlp/securi y/dialogs/app rus warningpanel/AppTrus WarningDialog.java:
* ne x/ne /sourceforge/jnlp/securi y/AppTrus WarningPanel.java: o
* ne x/ne /sourceforge/jnlp/securi y/dialogs/app rus warningpanel/AppTrus WarningPanel.java:
* ne x/ne /sourceforge/jnlp/securi y/UnsignedApple Trus WarningDialog.java: o
* ne x/ne /sourceforge/jnlp/securi y/dialogs/app rus warningpanel/UnsignedApple Trus WarningDialog.java:
* ne x/ne /sourceforge/jnlp/securi y/UnsignedApple Trus WarningPanel.java: o
* ne x/ne /sourceforge/jnlp/securi y/dialogs/app rus warningpanel/UnsignedApple Trus WarningPanel.java:
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/AppTrus WarningPanelTes .java: o
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/dialogs/app rus warningpanel/AppTrus WarningPanelTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/u il/Classpa hMa cherTes .java: necessary changes
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/UnsignedApple Trus Confirma ion.java: necessary changes
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogs.java: necessary changes
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogMessageHandler.java: necessary changes
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialog.java: necessary changes
* ne x/ne /sourceforge/jnlp/securi y/KeyS ores.java: necessary changes
* ne x/ne /sourceforge/jnlp/securi y/H psCer Verifier.java: necessary changes
* ne x/ne /sourceforge/jnlp/securi y/Cer ifica eU ils.java: necessary changes
2014-03-05 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/AppTrus WarningPanel.java: fixed
layou so bu ons do no disappear under radioboxes.
* ne x/ne /sourceforge/jnlp/securi y/UnsignedApple Trus WarningPanel.java:
added es able main me hod.
2014-03-05 Jiri Vanek <jvanek@redha .com>
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/AppTrus WarningPanelTes .java:
removed unused impor s
* es s/ne x/uni /ne /sourceforge/jnlp/u il/Classpa hMa cherTes .java:
added es for plain * in Classpa hMa cher.Classpa hMa chers.compile()
2014-03-05 Ma hias Klose <doko@ubun u.com>
* launcher/launchers.in: Use bash as shebang.
2014-03-04 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
(SApple Ti le) new message
* ne x/ne /sourceforge/jnlp/securi y/AppTrus WarningPanel.java:
(bu ons) new lis of UI bu ons. (ge AllowBu on, ge Rejec Bu on,
addComponen s) made final.
(crea eBu onPanel) uses lis of bu ons ra her han hardcoded.
(helpBu on) ac ion made configurable.
2014-03-03 Omair Majid <omajid@redha .com>
PR857
* ne x/ne /sourceforge/jnlp/abou /Abou Dialog.java
(run): Do no se look and feel.
* ne x/ne /sourceforge/jnlp/run ime/Boo .java
(main) <abou >: Se look and feel before displaying dialog.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java
(ini ialize): Se look and feel before any UI is crea ed.
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialog.java
(ini ): Do no se look and feel.
(se Sys emLookAndFeel): Removed.
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi or.java
(crea eIns ance): Do no se look and feel.
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica eViewer.java
(showCer ifica eViewer): Do no se look and feel.
(se Sys emLookAndFeel): Removed.
2014-03-03 Omair Majid <omajid@redha .com>
PR1676
* ne x/ne /sourceforge/jnlp/Securi yDesc.java: Add permission o
read/wri e useLegacyMergeSor .
2014-03-03 Andrew Azores <aazores@redha .com>
UnsignedApple Trus WarningPanel logic moved in o new abs rac paren class
AppTrus WarningPanel for reusabili y.
* ne x/ne /sourceforge/jnlp/securi y/AppTrus WarningDialog.java: new class
* ne x/ne /sourceforge/jnlp/securi y/AppTrus WarningPanel.java: new class
* ne x/ne /sourceforge/jnlp/securi y/UnsignedApple Trus WarningPanel.java:
major refac or in o subclass of AppTrus WarningPanel
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogs.java:
(UnsignedWarningAc ion) references changed o AppSigningWarningAc ion
* ne x/ne /sourceforge/jnlp/securi y/UnsignedApple Trus WarningDialog.java: same
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/AppTrus WarningPanelTes .java:
new es s for AppTrus WarningPanel
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/Execu eUnsignedApple .java:
renamed, changed all references
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/Execu eApple Ac ion.java:
(Execu eUnsignedApple ) renamed o his
* ne x/ne /sourceforge/jnlp/con rolpanel/UnsignedApple Ac ionTableModel.java:
(Execu eApple Ac ion) changed references
* ne x/ne /sourceforge/jnlp/con rolpanel/UnsignedApple sTrus ingLis Panel.java:
(Execu eApple Ac ion) changed references
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/UnsignedApple Ac ionEn ry.java:
(Execu eApple Ac ion) changed references
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/UnsignedApple Trus Confirma ion.java:
(Execu eApple Ac ion) changed references
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/impl/UnsignedApple Ac ionS orageEx endedImpl.java:
(Execu eApple Ac ion) changed references
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/impl/UnsignedApple Ac ionS orageImpl.java:
(Execu eApple Ac ion) changed references
2014-02-28 Andrew Azores <aazores@redha .com>
Added "Sandbox" bu on o Cer Warning dialogs, allowing signed apple s
o be run wi h res ric ed permissions
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: (Bu Sandbox,
LRunInSandboxError, LRunInSandboxErrorInfo, Cer WarnRunTip,
Cer WarnSandboxTip, Cer WarnCancelTip): new messages
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: (crea eIns ance)
added check o no display unsigned warning dialog if he cer warning
dialog has been presen ed and he apple is sandboxed.
(checkTrus Wi hUser) upda ed for Run In Sandbox func ionali y.
(se RunInSandbox, userPromp edForSandbox) new func ions
* ne x/ne /sourceforge/jnlp/securi y/AppVerifier.java:
(checkTrus Wi hUser) added Securi yDelega e param
* ne x/ne /sourceforge/jnlp/securi y/Cer WarningPane.java: added Sandbox
bu on
* ne x/ne /sourceforge/jnlp/securi y/JNLPAppVerifier.java:
(checkTrus Wi hUser) uses Apple Ac ion enum ype, calls
JNLPClassLoader#se RunInSandbox if Apple Ac ion is SANDBOX
* ne x/ne /sourceforge/jnlp/securi y/PluginAppVerifier.java: same
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogs.java: added
(Apple Ac ion) enum ype. (showCer Warning) re urns Apple Ac ion
ra her han boolean
* ne x/ne /sourceforge/jnlp/securi y/VariableX509Trus Manager.java:
(askUser) refac or o use Apple Ac ion ra her han boolean
* ne x/ne /sourceforge/jnlp/ ools/JarCer Verifier.java:
(checkTrus Wi hUser) added Securi yDelega e param
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/Securi yDialogsTes .java:
( es Ge In egerResponseAsApple Ac ion) new es s for conver ing Objec
references in o Apple Ac ions
2014-02-28 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
(Securi yDelega e, Securi yDelega eImpl) new in erface and implemen a ion.
Includes logic for Run In Sandbox, which is no ye used
(ini ializeResources, se Securi y, ac iva eJars, addNewJar) refac ored o
use Securi yDelega e
2014-02-27 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: rea signed
apple s which load from he codebase as par ially signed, and fix
regression wi h signed apple s loading main-classes from codebase
* es s/reproducers/cus om/SignedApple CodebaseLoading/resources/SignedApple CodebaseLoading.h ml:
new es o ensure ha signed apple s wi h codebase loading can run
* es s/reproducers/cus om/SignedApple CodebaseLoading/srcs/Makefile
* es s/reproducers/cus om/SignedApple CodebaseLoading/srcs/SignedApple CodebaseLoading.java
* es s/reproducers/cus om/SignedApple CodebaseLoading/srcs/SignedApple CodebaseLoadingHelper.java
* es s/reproducers/cus om/SignedApple CodebaseLoading/ es cases/SignedApple CodebaseLoadingTes s.java
* es s/reproducers/cus om/SignedApple Ex ernalMainClass/resources/SignedApple Ex ernalMainClass.h ml:
new es o ensure ha signed apple s wi h codebase-loaded main-classes
can run
* es s/reproducers/cus om/SignedApple Ex ernalMainClass/srcs/Makefile
* es s/reproducers/cus om/SignedApple Ex ernalMainClass/srcs/SignedApple Ex ernalMainClass.java
* es s/reproducers/cus om/SignedApple Ex ernalMainClass/srcs/SignedApple Ex ernalMainClassHelper.java
* es s/reproducers/cus om/SignedApple Ex ernalMainClass/ es cases/SignedApple Ex ernalMainClassTes .java
2014-02-21 Jiri Vanek <jvanek@redha .com>
* acinclude.m4: added (IT_CHECK_XULRUNNER_API_VERSION_CONSTCHAR) macro,
Added (IT_CHECK_XULRUNNER_API_VERSION_C11)
* configure.ac: added call of IT_CHECK_XULRUNNER_API_CONSTCHAR and
IT_CHECK_XULRUNNER_API_VERSION_C11
* plugin/iced eanp/IcedTeaNPPlugin.cc: (NP_Ge MIMEDescrip ion)
re urn ype se -up by dependency on defined LEGACY_XULRUNNERAPI.
This one is se by IT_CHECK_XULRUNNER_API_VERSION during configure.
if defined, hen old char* is used. New cons char* is used o herwise.
2014-02-20 Andrew Azores <aazores@redha .com>
New simplified PolicyEdi or for edi ing Java policy files, par icularly
user-level JNLP policies.
* Makefile.am: added policyedi or launcher arge s
* ne x/ne /sourceforge/jnlp/con rolpanel/PolicyPanel.java:
(OpenFileResul , canOpenPolicyFile, es PolicyFileDirec ory,
showCouldNo OpenFileDialog, showReadOnlyDialog) moved in o FileU ils.
(PolicyPanel) added bu on for PolicyEdi or. (launchSimplePolicyEdi or)
new func ion. (LaunchSimplePolicyEdi orAc ion) new class, ac ion for new
bu on.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: new messages
for PolicyEdi or
* ne x/ne /sourceforge/jnlp/u il/FileU ils.java: (OpenFileResul ,
es Direc oryPermissions, es FilePermissions, showReadOnlyDialog,
showCouldNo OpenFileDialog) new func ions
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/Cus omPermission.java:
new class
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/Cus omPolicyViewer.java:
new class
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PermissionAc ions.java:
new class
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PermissionTarge .java:
new class
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PermissionType.java: new
class
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi or.java: new
class
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi orPermissions.java:
new class
* ne x/ne /sourceforge/jnlp/securi y/policyedi or/PolicyEn ry.java: new
class
* policyedi or.desk op.in: new launcher desk op file
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/policyedi or/Cus omPermissionTes .java:
new class
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/policyedi or/PermissionAc ionsTes .java:
new class
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/policyedi or/PermissionTarge Tes .java:
new class
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/policyedi or/PermissionTypeTes .java:
new class
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi orPermissionsTes .java:
new class
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/policyedi or/PolicyEdi orTes .java:
new class
2014-02-19 Michal Vyskocil <mvyskocil@suse.com>
Pu link flags o he end of gcc command line o preven link failures
Make sure ha pa h o PUBLIC_KEYSTORE exis s o preven key ool fail
* es s/sof killer/Makefile: pu -lX11 o he end of command line
* Makefile.am: if pa h o PUBLIC_KEYSTORE does no exis s, make i
2014-02-13 Jiri Vanek <jvanek@redha .com>
Ge rid of Concurren Modifica ionExcep ion in Console ou pu .
* ne x/ne /sourceforge/jnlp/u il/logging/ConsoleOu pu PaneModel.java: (impor Lis )
now synchronise over original da a, ins ead of (som imes by) copy as, wrongly, before.
2014-02-13 Jiri Vanek <jvanek@redha .com>
Added possibili y o follow redirec s for javaws in demand by
-allowredirec swi ch.
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java: added inner class
(CodeWi hRedirec ), which s ores server resul and possible redirec ion arge
(ge UrlResponseCode) is only wrapper around new (ge UrlResponseCodeWi hRedirec onResul )
which re urns (CodeWi hRedirec ). I fills url form Loca ion header field if
any. (findBes Url) now follow 301,302,303,307,308 redirec s if enabled
and valid - o herwise new (Redirec ionExcep ion) is hrown.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: described
-allowredirec by (BOredirec ) key.
* ne x/ne /sourceforge/jnlp/run ime/Boo .java: and
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java: added handling of
-allowredirec . New (allowRedirec ) field.
2014-02-12 Jiri Vanek <jvanek@redha .com>
Fixed behaviour of href in jnlp file o correc ly download ano her i if i is remo e
* ne x/ne /sourceforge/jnlp/Launcher.java: (fromUrl) if file is no local, and
have href and href poin elsewhere, hen i is used as fu ure jnlpfile
* es s/reproducers/simple/Genera edId/ es cases/Genera edIdTes .java:
(launchRemo eChangedFileWi hHref) adap ed o new behaviour
2014-02-12 Jiri Vanek <jvanek@redha .com>
Implemen ed Codebase manifes en ry handling.
* ne x/ne /sourceforge/jnlp/JNLPFile.java: manifes s names cons an s moved in o
Manifes sA ribu es inner class.(ge CallerAllowableCodebase) (ge Applica ionLibraryAllowableCodebase)
(ge Codebase) (ge CodeBaseMa chersA ribu e) (ge CodeBaseMa chersA ribu e) are
now re urning (Classpa hMa cher.Classpa hMa chers). added boolean access o (isTrus edOnly)
(isTrus edLibrary).
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: added (CBCheckFile)
(CBCheckNoEn ry) (CBCheckUnsignedPass) (CBCheckUnsignedPass) (CBCheckOkSignedOk)
(CBCheckOkSignedOk) (CBCheckOkSignedOk) keys o inform abou Classpa h valida ion
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: in Ini call new me hod
(checkCodebaseA ribu e) which check he codebase manifes en ry.
* ne x/ne /sourceforge/jnlp/u il/Classpa hMa cher.java: New class, responsible
for ma ching Classpa h like pa ern wi h URL
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/JNLPFileTes .java: added es s o
cover all newly accessible a ribu es from JNLPFile.Manifes sA ribu es
* es s/ne x/uni /ne /sourceforge/jnlp/u il/Classpa hMa cherTes .java: mos ly
corner and mus -fullfill cases es s.
* es s/ es -ex ensions/ne /sourceforge/jnlp/u il/FileTes U ils.java: (asser NoFileLeak)
have imeou before ac ual coun ings. JVM needs ime o propaga e cleanup.
* es s/reproducers/signed/CodeBaseManifes En rySignedMa ching/:
* es s/reproducers/signed/CodeBaseManifes En rySignedNo Ma ching/:
* es s/reproducers/simple/CodeBaseManifes En ryUnsignedMa ching/:
* es s/reproducers/simple/CodeBaseManifes En ryUnsignedNo Ma ching/:
New se of reproducers o es Codebases processing. All es cas are in
(CodeBaseManifes En rySignedMa ching) so hey can share code.
2014-02-11 Andrew Azores <aazores@redha .com>
Par ial rever of 7933143a1286, refac oring o move
codebase-loading-enabling logic ou of Launcher and in o JNLPClassLoader.
* ne x/ne /sourceforge/jnlp/Launcher.java: (crea eApple ,
crea eApple Objec ): handle enableCodebase again
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: (enableCodebase):
re-added, codebase enabling logic moved back ou in o Launcher
2014-02-05 Jiri Vanek <jvanek@redha .com>
Added sal o plugin-java pipes' direc ory (fixing RH1010958)
* plugin/iced eanp/IcedTeaNPPlugin.cc: (cleanUpDir) new u ili y me hod
o clean up pipes direc ory. (s ar _jvm_if_needed) is now re urning
error s a us and crea ing sal in direc ory name. (ini ialize_da a_direc ory)
now add sal o he name.
* plugin/iced eanp/IcedTeaNPPlugin.h: changed declara ion of (s ar _jvm_if_needed)
2014-02-04 Jacob Wisor <gi ne@gmx.de>
Added missing PL localized messages
* ne x/ne /sourceforge/jnlp/resources/Messages_pl.proper ies: added
RCan OpenFile RCan Wri eFile RFileReadOnly RExpec edFile CPPolicyDe ail
CPPolicyTool ip CPPolicyEdi orNo Found CPBu Policy CPHeadPolicy
CPTabPolicy. Modified SSigUnverified SSigVerified SSigna ureError
2014-02-04 Jacob Wisor <gi ne@gmx.de>
Added missing DE localized messages
* ne x/ne /sourceforge/jnlp/resources/Messages_de.proper ies: added
RCan OpenFile RCan Wri eFile RFileReadOnly RExpec edFile CPPolicyDe ail
CPPolicyTool ip CPPolicyEdi orNo Found CPBu Policy CPHeadPolicy
CPTabPolicy. Modified SSigUnverified SSigVerified SSigna ureError
2014-01-31 Jacob Wisor <gi ne@gmx.de>
* ne x/ne /sourceforge/jnlp/u il/logging/ConsoleOu pu PaneModel.java:
(impor Lis ) Separa e XHTML fix due o revision 884
2014-01-30 Jacob Wisor <gi ne@gmx.de>
* Javadoc, XHTML conformance, and forma ing cleanup
2014-01-30 Andrew Azores <aazores@redha .com>
* NEWS: added en ry for PolicyPanel
* ne x/ne /sourceforge/jnlp/con rolpanel/PolicyPanel.java: added
class-level Javadoc commen , made some local variables final, added
reflec ive fallback case for JRE 6 PolicyTool loca ion
2014-01-29 Andrew Azores <aazores@redha .com>
Fix for regression due o PR1513 fix. ClassLoader was oo op imis ic abou
finding codebase main-classes and so he no -all-signed dialog would
appear even for apple s ha were en irely broken and could no be loaded
a all.
* ne x/ne /sourceforge/jnlp/Launcher.java: (crea eApple ,
crea eApple Objec ) pass enableCodeBase o JNLPClassLoader
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: (enableCodeBase)
removed, now done by cons ruc or argumen . (checkNo AllSignedWi hUser)
minor refac or. (ini ializeResources) ac ually check if main-class is
loadable from codebase when his is suspec ed, ra her han assuming i
will be here
2014-01-27 Andrew Azores <aazores@redha .com>
MixedSigningApple reproducer (PR1592) moved in o cus om reproducer. JNLP
files genera ed per- es ra her han premade. Many new es s added.
* es s/reproducers/cus om/MixedSigningApple /resources/MixedSigningApple .h ml:
moved o cus om reproducer
* es s/reproducers/cus om/MixedSigningApple /resources/MixedSigningApple .jnlp:
moved o cus om reproducer and now used as empla e by es cases file
* es s/reproducers/cus om/MixedSigningApple /srcs/Makefile: new Makefile
for cus om reproducer
* es s/reproducers/cus om/MixedSigningApple /srcs/MixedSigningApple Helper.java
* es s/reproducers/cus om/MixedSigningApple /srcs/MixedSigningApple Signed.java
*
es s/reproducers/cus om/MixedSigningApple / es cases/MixedSigningApple SignedTes s.java:
new es s added, JNLP files genera ed per- es ra her han all prepackaged
* es s/reproducers/signed/MixedSigningApple Signed/srcs/MixedSigningApple Signed.java:
moved o cus om reproducer
* es s/reproducers/signed/MixedSigningApple Signed/ es cases/MixedSigningApple SignedTes s.java
* es s/reproducers/simple/MixedSigningApple /resources/MixedSigningApple -1.jnlp
* es s/reproducers/simple/MixedSigningApple /resources/MixedSigningApple -2.jnlp
* es s/reproducers/simple/MixedSigningApple /resources/MixedSigningApple -3.jnlp
* es s/reproducers/simple/MixedSigningApple /resources/MixedSigningApple -4.jnlp
* es s/reproducers/simple/MixedSigningApple /resources/MixedSigningApple -5.jnlp
* es s/reproducers/simple/MixedSigningApple /resources/MixedSigningApple -6.jnlp
* es s/reproducers/simple/MixedSigningApple /resources/MixedSigningApple .h ml
* es s/reproducers/simple/MixedSigningApple /srcs/MixedSigningApple Helper.java
2014-01-27 Jiri Vanek <jvanek@redha .com>
Tuning of proper ies loading.
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java: added
(rese ToDefaul s) me hods o se defaul values o map.
(loadSys emConfigura ion) now hrows Configura ionExcep ion. Added more
verbose error messages. The ioexcep ion is now also cause of Configura ionExcep ion
if manda ory is on.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java: now correc ly fails o
ini ia e if Configura ionExcep ion appeared.
Ini of (configura ion) now ca ch general excep ion, and fall back o defaul
(ins ead of die fa ally wi h NoClassDefFoundError). User is warned.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: new key of
(RFailingToDefaul ) added.
2014-01-24 Andrew Azores <aazores@redha .com>
h p://mail.openjdk.java.ne /pipermail/dis ro-pkg-dev/2014-January/025971.h ml
* ne x/ne /sourceforge/jnlp/con rolpanel/PolicyPanel.java: added license
header and javadocs. Launch PolicyTool by ProcessBuilder ra her han
calling PolicyTool.main direc ly, wi h reflec ive launch fallback me hod.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: added message
(CPPolicyEdi orNo Found)
2014-01-23 Omair Majid <omajid@redha .com>
* Makefile.am [ENABLE_DOCS] [JAVADOC_SUPPORTS_J_OPTIONS]:
Don' specify perm gen size.
2014-01-23 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/JNLPFile.java,
* ne x/ne /sourceforge/jnlp/Ne xPanel.java,
* ne x/ne /sourceforge/jnlp/cache/CacheLRUWrapper.java,
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java,
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java,
* ne x/ne /sourceforge/jnlp/config/Direc oryValida or.java,
* ne x/ne /sourceforge/jnlp/config/Se ing.java,
* ne x/ne /sourceforge/jnlp/con rolpanel/AdvancedProxySe ingsDialog.java,
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java,
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java,
* ne x/ne /sourceforge/jnlp/run ime/RhinoBasedPacEvalua or.java,
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogs.java,
* ne x/ne /sourceforge/jnlp/securi y/VariableX509Trus Manager.java,
* ne x/ne /sourceforge/jnlp/services/XSingleIns anceService.java,
* ne x/ne /sourceforge/jnlp/u il/FileU ils.java,
* ne x/ne /sourceforge/jnlp/u il/JarFile.java,
* ne x/ne /sourceforge/nanoxml/XMLElemen .java,
* ne x/ne /sourceforge/nanoxml/XMLParseExcep ion.java,
* plugin/iced eanp/java/sun/apple /PluginS reamHandler.java: Fix incorrec
parame er names, hrows declera ions and malformed h ml in javadocs.
2014-01-20 Jiri Vanek <jvanek@redha .com>
Added Chris mas splashscreen ex ension.
* ne x/ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/BasePain er.java:
base colors are derived from ac ive ex ension. And ex ension is pain ed (if any)
* ne x/ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/ErrorPain er.java:
same
* ne x/ne /sourceforge/jnlp/splashscreen/par s/ex ensions/Chris masEx ension.java:
ex ension valid in Chris mas ime, pain ing falling s ars and dimming colors.
* ne x/ne /sourceforge/jnlp/splashscreen/par s/ex ensions/Ex ensionManager.java
provider of ex ension. Know only he Chris mas one righ now.
* ne x/ne /sourceforge/jnlp/splashscreen/par s/ex ensions/NoEx ension.java:
no op ex ension for no ex ension imes
* ne x/ne /sourceforge/jnlp/splashscreen/par s/ex ensions/SplashEx ension.java:
unfinished ex ension in erface
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/ErrorSplashScreenTes .java:
and
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/SplashScreenTes .java:
adap ed o curren purposes
2014-01-20 Jiri Vanek <jvanek@redha .com>
Added suppor for sys em level linux logging
* ne x/ne /sourceforge/jnlp/u il/logging/Ou pu Con roller.java: exclusive
handling for sys em cri ical *java* messages when sys em logging is on.
* ne x/ne /sourceforge/jnlp/u il/logging/UnixSys emLog.java: implemen ed
call o logger
* plugin/iced eanp/IcedTeaPluginU ils.h: error messages logged o syslog
* plugin/iced eanp/java/sun/apple /PluginDebug.java: defaul messages
are now MESSAGE_DEBUG ins ead of ERROR_ALL
* es s/cpp-uni - es s/IcedTeaPluginU ilsTes .c: adap ed o sys em logging
2014-01-17 Andrew Azores <aazores@redha .com>
Added i web-se ings panel o explain cus om policy files and allow
launching a policy edi or for user's policy file.
* ne x/ne /sourceforge/jnlp/con rolpanel/Con rolPanel.java:
(crea eMainSe ingsPanel, crea ePolicySe ingsPanel) added PolicyPanel
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: new messages
for PolicyPanel
* ne x/ne /sourceforge/jnlp/con rolpanel/PolicyPanel.java: new panel o
allow launching of ex ernal policy edi or
* es s/reproducers/simple/Cus omPolicies/resources/Cus omPolicies.h ml:
new es o ensure cus om user policy files work correc ly
* es s/reproducers/simple/Cus omPolicies/resources/Cus omPoliciesApple .jnlp
* es s/reproducers/simple/Cus omPolicies/resources/Cus omPoliciesApplica ion.jnlp
* es s/reproducers/simple/Cus omPolicies/resources/Cus omPoliciesJnlpHref.h ml
* es s/reproducers/simple/Cus omPolicies/srcs/Cus omPolicies.java
* es s/reproducers/simple/Cus omPolicies/ es cases/Cus omPoliciesTes .java
2014-01-17 Andrew Azores <aazores@redha .com>
Fixes JS reproducer regression.
h p://mail.openjdk.java.ne /pipermail/dis ro-pkg-dev/2014-January/025764.h ml
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .cc: (hasMe hod) fixed
regression from rev 757:ee92f55c69a3
2014-01-16 Jiri Vanek <jvanek@redha .com>
Reproducers s abiliza ion by removing check for no presen ed general Excep ion
or error.
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java: removed
legacy debug call
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java: as in subjec ,
and same in o hers
* es s/reproducers/signed/Apple Tes Signed/ es cases/Apple Tes SignedTes s.java:
* es s/reproducers/signed/Classpa hManifes Tes / es cases/Classpa hManifes Tes .java:
* es s/reproducers/signed/ClipboardCon en Signed/ es cases/ClipboardCon en SignedTes s.java:
* es s/reproducers/signed/In ernalClassloaderWi hDownloadedResource/ es cases/In ernalClassloaderWi hDownloadedResourceTes .java:
* es s/reproducers/signed/Spaces can be everywhere signed/ es cases/SpacesCanBeEverywhereTes sSigned.java:
* es s/reproducers/signed2/Mul ipleSigna uresTes / es cases/Mul ipleSigna uresTes Tes s.java:
* es s/reproducers/simple/Apple Tes / es cases/Apple Tes Tes s.java:
* es s/reproducers/simple/JSToJSe / es cases/JSToJSe Tes .java:
* es s/reproducers/simple/LocalisedInforma ionElemen / es cases/LocalisedInforma ionElemen Tes .java:
* es s/reproducers/simple/Parame rizedJarUrl/ es cases/Parame rizedJarUrlTes s.java:
* es s/reproducers/simple/Spaces can be everywhere/ es cases/SpacesCanBeEverywhereTes s.java:
* es s/reproducers/simple/deadlock es / es cases/DeadLockTes Tes .java:
* es s/reproducers/simple/encodingTes sĚŠČŘŽÝÁÍÉĚÉŘŤÝÚŮÍÓÁŠĎŽŹŇ/ es cases/EncodingTes Tes .java:
* es s/reproducers/simple/simple es 1/ es cases/SimpleTes 1Tes .java:
2014-01-15 Jiri Vanek <jvanek@redha .com>
Fixed memory leak de ec or o correc ly handle pre_ini _messages queue.
* plugin/iced eanp/IcedTeaPluginU ils.cc: implemen ed (rese _pre_ini _messages)
me hod.
* plugin/iced eanp/IcedTeaPluginU ils.h: declared (rese _pre_ini _messages).
* es s/cpp-uni - es s/MemoryLeakDe ec or.h: (rese _global_s a e) called
(rese _pre_ini _messages).
2014-01-09 Andrew Azores <aazores@redha .com>
* h ml-gen.sh: made more idioma ic and removed some bashisms
2014-01-06 Jiri Vanek <jvanek@redha .com>
Copy all bu on in console con rols sor s by da e by defaul .
* ne x/ne /sourceforge/jnlp/u il/logging/ConsoleOu pu Pane.java: added
(sor CopyAll) checkbox. Logic from (copyPlainAc ionPerformed) and
(copyRichAc ionPerformed) ex rac ed o new (fillClipBoard) which also
used correc call of ConsoleOu pu PaneModel.impor Lis based on
(sor CopyAll) value.
* ne x/ne /sourceforge/jnlp/u il/logging/ConsoleOu pu PaneModel.java:
added abs rac ion for (impor Lis ) o allow sor ing via parame er
2014-01-06 Jiri Vanek <jvanek@redha .com>
Removed dependence on sun.misc.BASE64Decoder
* configure.ac: removed check for sun.misc.BASE64Decoder
* ne x/ne /sourceforge/jnlp/PluginBridge.java : sun.misc.BASE64Decoder
impor replaced by ne .sourceforge.jnlp.u il.replacemen s.BASE64Decoder
* ne x/ne /sourceforge/jnlp/u il/replacemen s/BASE64Decoder.java: new
file, in- ree copy from jdk7
* ne x/ne /sourceforge/jnlp/u il/replacemen s/Charac erDecoder.java: likewise
* es s/ne x/uni /ne /sourceforge/jnlp/u il/replacemen s/BASE64DecoderTes .java:
new es s for new files
* es s/ne x/uni /ne /sourceforge/jnlp/u il/replacemen s/BASE64EncoderTes .java:
(ge AndInvokeMe hod), (encoded) and (sSrc) made public final. Correc ed
usage of (encoded2), added new es ( es EmbededBase64EncoderAgains EbededDecoder)
o es wi h in ernal decoder.
2014-01-02 Andrew Azores <aazores@redha .com>
Added ChangeLog revision hyperlinking o h ml-gen.sh
* h ml-gen.sh: ChangeLog da es made hyperlinks o corresponding commi s
2013-12-27 Andrew Azores <aazores@redha .com>
Resolve deadlock issue in JNLPClassLoader. See
h p://mail.openjdk.java.ne /pipermail/dis ro-pkg-dev/2013-December/025546.h ml
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: (loadClassLock)
removed. (available, jarIndexes, classpa hs, jarEn ries, jarLoca ionSecuri yMap)
fields wrapped in Collec ions.synchronized*() o provide a omic read/wri e.
Synchronized on while i era ing over hese collec ions. (loadClass) no longer
uses implici JNLPClassLoader ins ance lock nor dedica ed loadClassLock objec .
2013-12-20 Jiri Vanek <jvanek@redha .com>
Rewri en java console
* ne x/ne /sourceforge/jnlp/Launcher.java: fa al error from lunch can reach console
* ne x/ne /sourceforge/jnlp/u il/logging/ConsoleOu pu Pane.java: new console,
con rols
* ne x/ne /sourceforge/jnlp/u il/logging/ConsoleOu pu PaneModel.java: da a
manager of new console.
* ne x/ne /sourceforge/jnlp/u il/logging/JavaConsole.java: removed old gui,
now using mul iple 1-n ins ances of ConsoleOu pu Pane wi h heirs models.
(addMessage) now receive MessageWi hHeader objec ins ead body and header.
* ne x/ne /sourceforge/jnlp/u il/logging/headers/Header.java: have no null
defaul s
* ne x/ne /sourceforge/jnlp/u il/logging/headers/ObservableMessagesProvider.java:
abs rac ion of da asource for new console
* es s/ne x/uni /ne /sourceforge/jnlp/u il/logging/JavaConsoleTes .java:
adap ed.
2013-12-20 Jiri Vanek <jvanek@redha .com>
fixed CacheLRUWrapperTes
* ne x/ne /sourceforge/jnlp/cache/CacheLRUWrapper.java: (cacheDir) and
(cacheOrder) made package priva e for es ing purposes.
* es s/ne x/uni /ne /sourceforge/jnlp/cache/CacheLRUWrapperTes .java:
True es ing cache file is now prepared, es ed, and removed.
he CacheLRUWrapper is using his es ing repo.
2013-12-20 Jiri Vanek <jvanek@redha .com>
finished removal of legacy xulrunner api
* acinclude.m4: (IT_CHECK_XULRUNNER_API_VERSION) removed
* configure.ac: likewise
2013-12-20 Jiri Vanek <jvanek@redha .com>
single ons logic, logs and es cleanup/fixes
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java:
config single on made properly synchronized via Holder pa ern
(Deploymen Configura ionHolder).
* ne x/ne /sourceforge/jnlp/u il/logging/JavaConsole.java: same,
(JavaConsoleHolder). Console gui ini ialized on show, no on crea ion.
Removed look and feel. (addMessage) gui upda e adap ed.
* ne x/ne /sourceforge/jnlp/u il/logging/LogConfig.java: made priva e,
single on handled via LogConfigHolder.
* ne x/ne /sourceforge/jnlp/u il/logging/Ou pu Con roller.java: men ioned
issue wi h (ge Configura ion), removed obsole ed (MessageWi hLevel),
(messageQue) re yped o <MessageWi hHeader>, (consume) adap ed.
(consumerThread) made global variable, is s ar moved o (s ar Consumer)
which is called af er ini ialisa ion of config single on. Logs queing
moved o (log) of (MessageWi hHeader) signa ure. (FileLogHolder) and
(Sys emLogHolder) crea ed for holder pa ern synchroniza ion.
* ne x/ne /sourceforge/jnlp/u il/logging/headers/Header.java: cons ruc or
and (ge Caller) adap a ion.
* ne x/ne /sourceforge/jnlp/u il/logging/headers/PluginHeader.java: fixed
( oS ring) for preini messages.
* es s/ne x/uni /ne /sourceforge/jnlp/u il/logging/JavaConsoleTes .java:
removed erroneous s dou .
* es s/ es -ex ensions/ne /sourceforge/jnlp/u il/logging/NoS dOu ErrTes .java:
is no longer hrowing excep ions (was causing errors in juni ) and synchronized.
2013-12-17 Jiri Vanek <jvanek@redha .com>
JNLPRun ime.config changed o proper single on.
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java: added
field wi h ge er rand se er o save loading excep ion.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java: (config) field is no
longer ini ialized in s a ic block, bu on demand in (ge Config).
(ini ialize) no longer load (config) nor exi on loading excep ion, bu
warn in case ha i have loading excep ion. (ini ialize) call o
KeyS ores.se Configura ion is using (ge Config) ins ead (config).
(ini ialize) call o BrowserAwareProxySelec or cons ruc or likewise.
(ge Config) is ini ializing and loading (config), marking excep ion and s err
i in case of debug on. Made synchronized.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: (RConfigura ionError)
enhanced o fi .
* ne x/ne /sourceforge/jnlp/u il/logging/LogConfig.java: no longer use own
copy of (config) bu using (JNLPRun ime.ge Config).
2013-12-15 Jiri Vanek <jvanek@redha .com>
Console made aware of plugin messages
* NEWS : men ioned
* ne x/ne /sourceforge/jnlp/u il/logging/FileLog.java: call o log adap ed
o new Header.
* ne x/ne /sourceforge/jnlp/u il/logging/JavaConsole.java: (logOu pu ) and
(logError) replaced by (addMessage). Added (crea ePluginReader) o process
plugin debug pipe
* ne x/ne /sourceforge/jnlp/u il/logging/LogConfig.java: (ge Config) do
config available un ill JNLPRun ime config is proper single on
* ne x/ne /sourceforge/jnlp/u il/logging/Ou pu Con roller.java: (Level)
s a ic me hods conver ed o members and enhanced. (ge Header) and
(ge CallerClass) moved o Headers.
* ne x/ne /sourceforge/jnlp/u il/logging/headers/Header.java: S ruc ure
o keep header as objec ins ead of s ring.
* ne x/ne /sourceforge/jnlp/u il/logging/headers/JavaMessage.java: S ruc ure
o hold message and i s header.
* ne x/ne /sourceforge/jnlp/u il/logging/headers/MessageWi hHeader.java:
In erface for JavaMessage and PluginMessage
* ne x/ne /sourceforge/jnlp/u il/logging/headers/PluginHeader.java: ex ended
header o handle plugin's preini and hreads.
* ne x/ne /sourceforge/jnlp/u il/logging/headers/PluginMessage.java:
implemen a ion of MessageWi hHeader which parse from S ring from plugin
debug pipe.
* plugin/iced eanp/IcedTeaNPPlugin.cc: added debug pipe (debug_pipe_name),
synced via (debug_pipe_lock), con rolled by (debug_ o_apple viewer) and used
by me hod (plugin_send_message_ o_apple viewer_console).
* plugin/iced eanp/IcedTeaNPPlugin.h: (debug_pipe_name) and (jvvm_up) declared
ex ern. U ili y me hods (plugin_send_message_ o_apple viewer_console) and
(flush_plugin_send_message_ o_apple viewer_console) declared and impelmen ed
* plugin/iced eanp/IcedTeaPluginU ils.cc: prin debug info enhanced for
debug pipe
* plugin/iced eanp/IcedTeaPluginU ils.h: (PLUGIN_MESSAGE) and (PLIGIN_ERROR)
now log o debug pipe if enabled.
* plugin/iced eanp/java/sun/apple /PluginMain.java: args reprin ed, checked
hird parame er debug pipe if should. S ar ed debug_pipe reader if should
* es s/ne x/uni /ne /sourceforge/jnlp/u il/logging/JavaConsoleTes .java:
added es s for parsing he plugin message.
2013-12-13 Jiri Vanek <jvanek@redha .com>
Made again compa ible wi h JDK6.All JLis s, JComboBoxs, and Defaul ComboBoxModels
moved back o be no generics-like
* ne x/ne /sourceforge/jnlp/con rolpanel/Con rolPanel.java
* ne x/ne /sourceforge/jnlp/con rolpanel/DebuggingPanel.java
* ne x/ne /sourceforge/jnlp/con rolpanel/Desk opShor cu Panel.java
* ne x/ne /sourceforge/jnlp/con rolpanel/TemporaryIn erne FilesPanel.java
* ne x/ne /sourceforge/jnlp/con rolpanel/UnsignedApple sTrus ingLis Panel.java
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica ePane.java
2013-12-13 Jiri Vanek <jvanek@redha .com>
i w i self warning cleanup: fixed raw ypes and unchecks, added braces and Override
* ne x/ne /sourceforge/jnlp/JREDesc.java
* ne x/ne /sourceforge/jnlp/Launcher.java
* ne x/ne /sourceforge/jnlp/Node.java
* ne x/ne /sourceforge/jnlp/Parser.java
* ne x/ne /sourceforge/jnlp/PluginBridge.java
* ne x/ne /sourceforge/jnlp/cache/CacheLRUWrapper.java
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java
* ne x/ne /sourceforge/jnlp/con rolpanel/CachePane.java
* ne x/ne /sourceforge/jnlp/con rolpanel/Con rolPanel.java
* ne x/ne /sourceforge/jnlp/con rolpanel/DebuggingPanel.java
* ne x/ne /sourceforge/jnlp/con rolpanel/Desk opShor cu Panel.java
* ne x/ne /sourceforge/jnlp/con rolpanel/TemporaryIn erne FilesPanel.java
* ne x/ne /sourceforge/jnlp/con rolpanel/UnsignedApple sTrus ingLis Panel.java
* ne x/ne /sourceforge/jnlp/run ime/Apple Environmen .java
* ne x/ne /sourceforge/jnlp/run ime/Applica ionIns ance.java
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java
* ne x/ne /sourceforge/jnlp/run ime/JNLPSecuri yManager.java
* ne x/ne /sourceforge/jnlp/securi y/Cer WarningPane.java
* ne x/ne /sourceforge/jnlp/securi y/Cer sInfoPane.java
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/impl/UnsignedApple Ac ionS orageImpl.java
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica ePane.java
* ne x/ne /sourceforge/jnlp/services/ServiceU il.java
* ne x/ne /sourceforge/jnlp/splashscreen/impls/Defaul ErrorSplashScreen2012.java
* ne x/ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/Na Cubic.java
* ne x/ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/SplinesDefs.java
* ne x/ne /sourceforge/jnlp/u il/Reflec .java
* ne x/ne /sourceforge/jnlp/u il/ui/NonEdi ableTableModel.java
* ne x/ne /sourceforge/nanoxml/XMLElemen .java
* plugin/iced eanp/java/sun/apple /Me hodOverloadResolver.java
* plugin/iced eanp/java/sun/apple /PluginApple Securi yCon ex .java
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
* es s/ne x/uni /ne /sourceforge/jnlp/ParserCornerCases.java
2013-12-13 Jiri Vanek <jvanek@redha .com>
uni es s warning cleanup: fixed ypechecks, raw ypes, redundan cas s...
* es s/juni -runner/CommandLine.java
* es s/juni -runner/Juni LikeXmlOu pu Lis ener.java
* es s/juni -runner/LessVerboseTex Lis ener.java
* es s/ne x/uni /ne /sourceforge/jnlp/PluginBridgeTes .java
* es s/ne x/uni /ne /sourceforge/jnlp/resources/MessagesProper iesTes .java
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/ErrorSplashU ilsTes .java
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/SplashU ilsTes .java
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/par s/Descrip ionInfoI emTes .java
* es s/ne x/uni /ne /sourceforge/jnlp/u il/UrlU ilsTes .java
* es s/ne x/uni /ne /sourceforge/jnlp/u il/XDesk opEn ryTes .java
* es s/ne x/uni /ne /sourceforge/jnlp/u il/replacemen s/BASE64EncoderTes .java
* es s/ne x/uni /sun/apple /PluginApple ViewerTes .java
* es s/ es -ex ensions/ne /sourceforge/jnlp/LoggingBo leneck.java
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess.java
* es s/ es -ex ensions/ne /sourceforge/jnlp/ThreadedProcess.java
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /AWTHelper.java
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /aw ac ions/KeyboardAc ions.java
* es s/ es -ex ensions/ne /sourceforge/jnlp/closinglis eners/RulesFolowingClosingLis ener.java
* ne x/ne /sourceforge/jnlp/u il/ScreenFinder.java: cen ering of screen
fixed o work also in headless mode by re urrning some defaul s
2013-12-09 Jiri Vanek <jvanek@redha .com>
* Messages.proper ies: added "I will be gran ed unres ric ed access o your compu er."
o (SSigUnverified) (SSigVerified) (SSigna ureError) messages.
2013-12-05 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: add uni s o
(TIFPCacheSize)
2013-12-03 Andrew Azores <aazores@redha .com>
Tes s for PR1592.
* es s/reproducers/signed/MixedSigningApple Signed/srcs/MixedSigningApple Signed.java:
new es s for per-JAR apple securi y
* es s/reproducers/signed/MixedSigningApple Signed/ es cases/MixedSigningApple SignedTes s.java:
same
* es s/reproducers/simple/MixedSigningApple /resources/MixedSigningApple -1.jnlp:
same
* es s/reproducers/simple/MixedSigningApple /resources/MixedSigningApple -2.jnlp:
same
* es s/reproducers/simple/MixedSigningApple /resources/MixedSigningApple -3.jnlp:
same
* es s/reproducers/simple/MixedSigningApple /resources/MixedSigningApple -4.jnlp:
same
* es s/reproducers/simple/MixedSigningApple /resources/MixedSigningApple -5.jnlp:
same
* es s/reproducers/simple/MixedSigningApple /resources/MixedSigningApple -6.jnlp:
same
* es s/reproducers/simple/MixedSigningApple /resources/MixedSigningApple .h ml:
same
* es s/reproducers/simple/MixedSigningApple /srcs/MixedSigningApple Helper.java:
same
2013-12-03 Andrew Azores <aazores@redha .com>
Fix/new fea ure for PR1592. Each JAR in par ially signed apple s is
assigned i s own securi y level, ra her han forcing he en ire apple o
run sandboxed.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
(ini ializeResources)
each JAR in par ially signed apple s is assigned i s own securi y
descrip or.
(signing) changed o hree-valued enum. (checkNo AllSignedWi hUser) new
me hod
* ne x/ne /sourceforge/jnlp/ ools/JarCer Verifier.java: (isJarSigned) new
me hod
2013-11-29 Jiri Vanek <jvanek@redha .com>
Be er valida ion of cry ical dirs wi h proper message on s ar up
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java: small
refac oring o ma ch he new direc ory valida or pa ern.
* ne x/ne /sourceforge/jnlp/config/Direc oryValida or.java: new class o verify
if direc ory have necessary permissions (like crea ing subdirec ories,
read and wri e files crea ed in).
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: pa erns for
valida ion resul s
* ne x/ne /sourceforge/jnlp/run ime/Boo .java: headless de ermina ion moved
as up as possible in (main)
* es s/ne x/uni /ne /sourceforge/jnlp/config/Deploymen Configura ionTes .java:
Few es es ing wha Dir ec oryValida or should valida e.
2013-11-29 Jiri Vanek <jvanek@redha .com>
Pipes moved in o XDG_RUNTIME_DIR
* plugin/iced eanp/IcedTeaNPPlugin.cc: (ini ialize_da a_direc ory) logic
responsible for mp dir pa h moved in o (ge TmpPa h) and (da a_direc ory)
ini ialized from (ge Run imePa h) ra her.
* plugin/iced eanp/IcedTeaPluginU ils.cc: (ge TmpPa h) new func ion,
provides pa h o mp dir. (ge Run imePa h) new func ion resolving
XDG_RUNTIME_DIR value, re urning (ge TmpPa h) as fallback.
* plugin/iced eanp/IcedTeaPluginU ils.h: declared new wo me hods.
2013-11-29 Jiri Vanek <jvanek@redha .com>
Enabled file logging in plugin, user enabled o choose logs dir.
* ne x/ne /sourceforge/jnlp/con rolpanel/DebuggingPanel.java: added
ex -field o show/edi logs' des ina ion. Added rese o defaul bu on.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ie: added proper
keys for new con rols (CPFilesLogsDes Dir) and (CPFilesLogsDes DirReser ).
(DPEnableLogging) changed o "Enable debugging", as i is be er.
* ne x/ne /sourceforge/jnlp/u il/logging/FileLog.java: Filename of logs
changed o be human readable and o dis inguish be ween c/java
* plugin/iced eanp/IcedTeaNPPlugin.cc: made aware of console (plugin_debug_ o_console)
added s ream o log in o file (plugin_file_log) and holder of name (plugin_file_log_name)
Added various new lines o end of erorr/debug messages. S ream flushed,
no closed on plugin shu down.
* plugin/iced eanp/IcedTeaNPPlugin.h: ex ern above hree fields.
* plugin/iced eanp/IcedTeaParseProper ies.cc: added func ionali y o provide
se or defaul log dir (ge _log_dir), added (is_java_console_enabled)
o de ermine logging o console
* plugin/iced eanp/IcedTeaParseProper ies.h: used glib.h, declared above func ions
* plugin/iced eanp/IcedTeaPluginU ils.cc: added (ini FileLog) func ion o open
correc ly named, in proper palce and wi h correc permissions file for logging
(genera eLogFileName) genera e human readable file name, as java do.
(prin DebugS a us) o debug s a us of logging
* plugin/iced eanp/IcedTeaPluginU ils.h: headers genera ed once, and reused
declared above func ions.
* plugin/iced eanp/java/sun/apple /PluginMessageHandlerWorker.java:
commen ed ou useless "woken" debug message
* es s/cpp-uni - es s/IcedTeaPluginU ilsTes .cc: made plugin_debug_ o_console
aware.
2013-11-27 Andrew Azores <aazores@redha .com>
Made JNLPClassLoaderDeadlock reproducer more reliable
* es s/reproducers/cus om/JNLPClassLoaderDeadlock/srcs/JNLPClassLoaderDeadlock_1.java:
Removed "Au oOkClosingLis ener" magic s ring
* es s/reproducers/cus om/JNLPClassLoaderDeadlock/srcs/JNLPClassLoaderDeadlock_2.java:
same
* es s/reproducers/cus om/JNLPClassLoaderDeadlock/ es cases/JNLPClassLoaderDeadlockTes .java:
Changed Au oOkClosingLis ener o RulesFolowingClosingLis ener
2013-11-26 Jiri Vanek <jvanek@redha .com>
Rever ed "fix o Manifes edJar1Tes cases", be er manifes edjar es s,
added sr ic es
* ne x/ne /sourceforge/jnlp/Parser.java: added inden a ion, fixes
condi ion in s ric base check
* ne x/ne /sourceforge/jnlp/ResourcesDesc.java: rever ed recen ly added hrow
* es s/reproducers/simple/Manifes edJar1/ es cases/Manifes edJar1Tes .java:
(manifes edJar1main2mainNoAppDesc) adap ed and
(manifes edJar1main2mainNoAppDescS ric ) added
2013-11-26 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: (ge Manifes A ribu e)
added check for null manifes o preven npe.
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/JNLPClassLoaderTes .java:
added es for npe from ge Manifes A ribu e
* es s/ es -ex ensions/ne /sourceforge/jnlp/u il/FileTes U ils.java:
(crea eJarWi hCon en s) enhanced o be able o crea e jar wi hou manifes .
2013-11-25 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/JNLPFile.java: (TITLE_NOT_FOUND) new cons an
holding he no i le found s ring o be reused. (ge Ti leFromManifes )
Now using ha cons an .
* ne x/ne /sourceforge/jnlp/run ime/JNLPSecuri yManager.java: adding window
erro message moved o be debug only.
* es s/reproducers/cus om/remo e/ es cases/Remo eApplica ionSe ings.java:
Added (clean) mechanism o fil er ou TITLE_NOT_FOUND
* es s/reproducers/signed/ReadProper iesBySignedHack/ es cases/ReadProper iesBySignedHackTes .java:
* es s/reproducers/signed/ReadProper iesSigned/ es cases/ReadProper iesSignedTes .java:
* es s/reproducers/simple/AddShu downHook/ es cases/AddShu downHookTes .java:
* es s/reproducers/simple/AllS ackTraces/ es cases/AllS ackTracesTes .java
* es s/reproducers/simple/Crea eClassLoader/ es cases/Crea eClassLoaderTes .java
* es s/reproducers/simple/ReadEnvironmen / es cases/ReadEnvironmen Tes .java
* es s/reproducers/simple/ReadProper ies/ es cases/ReadProper iesTes .java
* es s/reproducers/simple/Redirec S reams/ es cases/Redirec S reamsTes .java
* es s/reproducers/simple/ReplaceSecuri yManager/ es cases/ReplaceSecuri yManagerTes .java
* es s/reproducers/simple/Se Con ex ClassLoader/ es cases/Se Con ex ClassLoaderTes .java
* es s/reproducers/simple/simple es 2/ es cases/SimpleTes 2Tes .java
Removed checks for em y ou pu s
2013-11-25 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/ResourcesDesc.java: (ge MainJAR) hrow an
Run imeExcep ion when more hen one main jar is specified. Preven ing
app o s ar .
* es s/reproducers/simple/Manifes edJar1/ es cases/Manifes edJar1Tes .java:
(manifes edJar1main2mainNoAppDesc), (manifes edJar1no hing2no hingAppDesc)
fixed and adap ed o change.
2013-11-22 Jiri Vanek <jvanek@redha .com>
* es s/ne x/uni /ne /sourceforge/jnlp/Defaul LaunchHandlerTes .java: (ini )
enable logging o s reams if disabled.
2013-11-13 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: add
parame erized ype informa ion o several re urn ypes and local
variables. Refac or for-loops and Enumera ion i era ions in o
for-each-loops.
2013-11-13 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/u il/BasicExcep ionDialog.java: cen ers
on-screen before appearing
2013-11-13 Jiri Vanek <jvanek@redha .com>
Added es -ex ension o silence s dou /err of i w when run from juni
* es s/ne x/uni /ne /sourceforge/jnlp/JNLPFileTes .java: now ex ends NoS dOu ErrTes
* es s/ne x/uni /ne /sourceforge/jnlp/ParserBasic.java: same
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/JNLPClassLoaderTes .java: same
* es s/ es -ex ensions/ne /sourceforge/jnlp/u il/logging/NoS dOu ErrTes .java:
new class wi h (disableS ds) BeforeClass me hod and (res oreS ds) Af erClass
me hod which are responsible for silence all i w messages from ex ending es .
2013-11-13 Jiri Vanek <jvanek@redha .com>
Enabled access o manifes s' a ribu es from JNLPFile class
Implemen ed h p://docs.oracle.com/javase/7/docs/ echno es/guides/jweb/manifes .h ml#app_name
* ne x/ne /sourceforge/jnlp/JNLPFile.java: Added (manifes sA ribu es) field.
Added (Manifes sA ribu es) inner class, o encapsula e access o a ribu es.
(ge Ti le) can handle manifes s oo.
* ne x/ne /sourceforge/jnlp/PluginBridge.java: is following app_name recommenda ions.
* ne x/ne /sourceforge/jnlp/ResourcesDesc.java: (ge MainJAR) made more granular
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: (ini ) injec i self
o file's Manifes sA ribu es. (checkForA ribu eInJars) renamed field
mainClassInThisJar o a ribu eInThisJar. Added ge er for mainClass.
* ne x/ne /sourceforge/jnlp/securi y/Cer WarningPane.java: bracke ing cleanup.
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/JNLPFileTes .java: new es o
check new func ionali es
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/ResourcesDescTes .java: same
* es s/ es -ex ensions/ne /sourceforge/jnlp/mock/DummyJNLPFileWi hJar.java:
can se info
* NEWS: men ioned firs u45 a ribu e
2013-11-10 Jiri Vanek <jvanek@redha .com>
Fixed lock in aw hreads. JavaConsole window is now disposed ins ead of hidden.
* ne x/ne /sourceforge/jnlp/u il/logging/JavaConsole.java: (las Size) new
global variable o remember las size of window.(con en Panel) moved from
local o global scope. (ini ializeWindow) ex rac ed from (ini ialize), is
handling crea ion and filling of window. (showConsole) is now ini ializing
window, and (hideConsole) is disposing i . Added override anno a ions and
removed duplica e code.
* ne x/ne /sourceforge/jnlp/u il/logging/Ou pu Con roller.java: messageQueConsumer
hread is now named, and i s wai , have imeou .
2013-11-10 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
removed suspicious re urn when (searchForMain) had null launchDesc
2013-11-07 Andrew Azores <aazores@redha .com>
Reproducer es cleanup. Replaced ServerAccess.ProcessResul in favour of
ProcessResul , and juni .framework.Asser in favour of org.juni .Asser .
O her no able changes below.
* es s/reproducers/simple/simple es 1/ es cases/XDGspecifica ionTes s.java:
(removeXdgValues, se XdgValues) lis 'rr' uses parame erized ype.
(ge Con en OfDirec ory) lis 'resul ' uses parame erized ype
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess.java:
(ProcessResul ) inner class removed. (ge BrowserParams) lis 'l' uses
parame erized ype
* es s/reproducers/simple/LocalesTes / es cases/LocalesTes Tes .java:
(ge ChangedLocalesForSubproces) lis 'rr' uses parame erized ype
* es s/reproducers/simple/LocalisedInforma ionElemen / es cases/LocalisedInforma ionElemen Tes .java:
same
* es s/ es -ex ensions/ne /sourceforge/jnlp/ProcessWrapper.java:
cons ruc or for (S ring, Lis <S ring>, S ring) lis s 'urledArgs' and
'o herArgs' use parame erized ype. (s dou l, s derrl) use parame erized
ype.
* es s/ es -ex ensions/ne /sourceforge/jnlp/Con en Reader.java:
(lis eners) use parame erized ype
2013-11-05 Jiri Vanek <jvanek@redha .com>
Java console resurrec ed and connec ed o new logging.
* NEWS: men ioned console for plugin and javaws
* Changelog: removed one wrong ab
* ne x/ne /sourceforge/jnlp/config/Defaul s.java: added
Deploymen Configura ion.CONSOLE_SHOW_PLUGIN,
and Deploymen Configura ion.CONSOLE_SHOW_JAVAWS.
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java:
added and javadoc-ed CONSOLE_SHOW_PLUGIN,CONSOLE_SHOW_JAVAWS, DISABLE,
SHOW, HIDE, KEY_CONSOLE_STARTUP_MODE.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: localized console
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java : removed legacy STD*_FILE
* ne x/ne /sourceforge/jnlp/u il/BasicExcep ionDialog.java: Added bu on
o show console on demand. Added (ge ShowBu on) me hod o share code wi h
* ne x/ne /sourceforge/jnlp/splashscreen/par s/JEdi orPaneBasedExcep ionDialog.java:
Added bu on o show console on demand and explaining line.
* ne x/ne /sourceforge/jnlp/u il/logging/JavaConsole.java: moved from
plugin, and reworked. Especially ge rid of perpe ual loading of file.
Made single on.
* ne x/ne /sourceforge/jnlp/u il/logging/LogConfig.java: added (isLogToConsole)
re urning (JavaConsole.isEnabled) s a us.
* ne x/ne /sourceforge/jnlp/u il/logging/Ou pu Con roller.java: added (Level.isError)
and (Level.isOu pu ) me hods o de ermine original channel, and can log o console.
* plugin/iced eanp/java/sun/apple /JavaConsole.java: moved o ne x
* plugin/iced eanp/java/sun/apple /PluginApple Securi yCon ex .java:
(s reamhandler) made priva e wi h se er
* plugin/iced eanp/java/sun/apple /PluginMain.java : removed legacy STD*_FILE,
added se of classloaders informa ion provider o console. (handlePluginMessage)
show and hide of console is checking i 's s a us. (showConsole) and (hideConsole)
moved o JavaConsole.
2013-11-05 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPSecuri yManager.java:
(addPermission) avoid NPE in JNLPClassLoader#ge Permissions wi h debug
enabled
2013-11-01 Jiri Vanek <jvanek@redha .com>
Synced headers be ween PLUGIN_DEBUG, PLUGIN_ERROR and javaside
* ne x/ne /sourceforge/jnlp/u il/logging/Ou pu Con roller.java: (ge Header)
added hread id and name o log header.
* plugin/iced eanp/IcedTeaPluginU ils.h: (PLUGIN_DEBUG) (PLUGIN_ERROR)
headers genera ion code moved o macro (CREATE_HEADER0). Bo h
headers now con ains p hread_self and g_ hread_self. Fixed inden a ion.
2013-11-01 Jiri Vanek <jvanek@redha .com>
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/JNLPClassLoaderTes .java:
added es s for cus om a ribu es (ge Cus omA ribu es), (ge Cus omA ribu esEmp y) and es o ensure order during searching for
a ribu es in manifes s (checkOrderWhenReadingA ribu es).
* es s/ es -ex ensions/ne /sourceforge/jnlp/mock/DummyJNLPFileWi hJar.java:
can now handle mul iple source jars, and se main jar (new cons ruc ors),
(jarFiles) and (jarDescs) redeclared o arrays.
2013-10-30 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/JARDesc.java: made immu able
(loca ion)(version)(par )(lazy)(main)(na iveJar)(cacheable) made final
2013-10-29 Andrew Azores <aazores@redha .com>
Fix PR1513, signed apple s wi h ex ernal main-class suppor
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
(ini ializeResources) ask for user approval ra her han hrowing
LaunchExcep ion for signed apple s wi h ex ernal main-class
2013-10-25 Jiri Vanek <jvanek@redha .com>
Plugin debug can now be con rolled from i w_se ings, in same way java side.
For now ICEDTEAPLUGIN_DEBUG on he debug in same way as deploymen .log
i w-se ings proper y. Individual logging s reams are con rolled by
deploymen .log.{headers,file,s ds reams,sys em} Sys em and file are no ye
fully done (same as java side in his momen ). S reams are rue, all o hers
false by defaul .
* plugin/iced eanp/IcedTeaNPPlugin.cc: ini ialized variables new bool
variables (debug_ini ia ed), (plugin_debug_headers), (plugin_debug_ o_file),
(plugin_debug_ o_sys em) as false and (plugin_debug_ o_s reams) as rue.
* plugin/iced eanp/IcedTeaNPPlugin.h: above variables declared as ex ern
* plugin/iced eanp/IcedTeaParseProper ies.cc: ini ializa ion of
(defaul _file_ITW_deploy_props_name) and (cus om_jre_key) moved here from
IcedTeaNPPlugin.h. New me hod (read_bool_proper y) and i s more concre e
shor cu s (is_debug_on) (is_debug_header_on) (is_logging_ o_file)
(is_logging_ o_s ds) (is_logging_ o_sys em) implemen ed o access proper ies.
* plugin/iced eanp/IcedTeaParseProper ies.h: above me hods declared.
* plugin/iced eanp/IcedTeaPluginU ils.h: (PLUGIN_{ERROR,DEBUG}) me hods
adap ed headers/debug/s reams logic as described in i le. Headers made more
informa ive (like java side)
* es s/cpp-uni - es s/IcedTeaPluginU ilsTes .cc:
TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_on) ex ended o
TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_on_headers_off).
TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_off) ex ended o
TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_off_headers_off), and new es s
TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_on_headers_on)
TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_off_headers_on) (100x slower hen
wi hou headers)
2013-10-25 Jiri Vanek <jvanek@redha .com>
all ou pu messages redirec ed o PLUGIN_{DEBUG,ERROR} macros
* plugin/iced eanp/IcedTeaJavaReques Processor.cc: affec ed
* plugin/iced eanp/IcedTeaNPPlugin.cc: affec ed
* plugin/iced eanp/IcedTeaPluginReques Processor.cc: affec ed
* plugin/iced eanp/IcedTeaPluginU ils.cc: affec ed
* plugin/iced eanp/IcedTeaPluginU ils.h: affec ed
* plugin/iced eanp/IcedTeaRunnable.cc: affec ed
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .cc: affec ed
* es s/cpp-uni - es s/IcedTeaPluginU ilsTes .cc: added
(TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_on)) and
(TEST(PLUGIN_DEBUG_ERROR_PROFILING_debug_off)) which call new
(doDebugErrorRun) and are measuring refac oring impac s.
2013-10-25 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/u il/logging/Ou pu Con roller.java:
(ge CallerClass) now ge s ou also from sun.apple .PluginDebug class.
2013-10-24 Andrew Azores <aazores@redha .com>
Fix array index ou of bounds due o malformed plugin message (PR539)
* plugin/iced eanp/IcedTeaPluginReques Processor.cc: (_ge Member,
_ge S ring) append "null" o resul when call is unsuccessful
* es s/reproducers/simple/JSObjec Wi hou ToS ring/resources/JSObjec Wi hou ToS ring.h ml:
new es o ensure failed calls o ge Member and ge S ring on JSObjec do
no produce malformed resul s
* es s/reproducers/simple/JSObjec Wi hou ToS ring/resources/JSObjec Wi hou ToS ring.js:
same
* es s/reproducers/simple/JSObjec Wi hou ToS ring/srcs/JSObjec Wi hou ToS ring.java:
same
* es s/reproducers/simple/JSObjec Wi hou ToS ring/ es cases/JSObjec Wi hou ToS ringTes .java:
same
2013-10-23 Jiri Vanek <jvanek@redha .com>
C-par of plugin is now also rying o follow XDG
* plugin/iced eanp/IcedTeaParseProper ies.cc: (user_proper ies_file) is
now using XDG cached dir or i s defaul varian in case ha old file do no
(should no !) exis s
2013-10-22 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/u il/logging/LogConfig.java
(rese LogConfig): New me hod.
* es s/ne x/uni /ne /sourceforge/jnlp/u il/logging/Ou pu Con rollerTes .java
(se Up, earDown): New me hod.
2013-10-22 Jiri Vanek <jvanek@redha .com>
More synchronized error/debug me hods
* plugin/iced eanp/IcedTeaNPPlugin.cc: all occurrences of PLUGIN_ERROR_TWO
and PLUGIN_ERROR_THREE replaced by PLUGIN_ERROR. PLUGIN_ERROR i self moved
o
* plugin/iced eanp/IcedTeaPluginU ils.h: (PLUGIN_ERROR) new fuc ion,
now uses ... argumen s and prin f wi h __VA_ARGS__ ins ead of g_prin err
(PLUGIN_DEBUG) now prin s o s dou , ins ead of s derr which is used by
(PLUGIN_ERROR).
2013-10-21 Jiri Vanek <jvanek@redha .com>
Logic o ex rac main class a ribu e generalized o common me hods.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
(ge MainClassName) is now calling (ge Manifes A ribu e)
(ge Manifes A ribu e) new me hod, ex rac named a ribu e from url
specified jar. Called by (checkForA ribu eInJars)
(checkForMain) is now calling (checkForA ribu eInJars). Also logic of
(checkForA ribu eInJars) was aken from here.
(checkForA ribu eInJars) new me hod, read specific a ribu e from
applica ion jar(s) in specific order.
2013-10-20 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java: (isPluginDebug)
made priva e o preven confusion.
* plugin/iced eanp/java/sun/apple /PluginDebug.java: (DEBUG) ini ialized
from JNLPRun ime.isDebug ins ead of incorrec JNLPRun ime.isPluginDebug.
2013-10-17 Andrew Azores <aazores@redha .com>
Back ou changese 420d72e5cee7 due o breaking LiveConnec fea ure.
h p://mail.openjdk.java.ne /pipermail/dis ro-pkg-dev/2013-Oc ober/024919.h ml
* plugin/iced eanp/IcedTeaNPPlugin.cc: undo 420d72e5cee7
* plugin/iced eanp/IcedTeaPluginU ils.cc: undo 420d72e5cee7
* plugin/iced eanp/IcedTeaPluginU ils.h: undo 420d72e5cee7
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .cc: undo 420d72e5cee7
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .h: undo 420d72e5cee7
* es s/cpp-uni - es s/IcedTeaScrip ablePluginObjec Tes .cc: undo 420d72e5cee7
2013-10-16 Andrew Azores <aazores@redha .com>
Resolve deadlock issue when mul iple apple s are loaded simul aneously
(RH976833)
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: (loadClassLock)
priva e member for locking of loadClass me hod. (loadClass) synchronizes
using new lock ra her han ins ance in rinsic lock o avoid RH976833
deadlock
* es s/reproducers/cus om/JNLPClassLoaderDeadlock/ es cases/JNLPClassLoaderDeadlockTes .java:
new es for mul iple apple deadlock condi ion
* es s/reproducers/cus om/JNLPClassLoaderDeadlock/resources/JNLPClassLoaderDeadlock.h ml:
same
* es s/reproducers/cus om/JNLPClassLoaderDeadlock/srcs/JNLPClassLoaderDeadlock_1.java:
same
* es s/reproducers/cus om/JNLPClassLoaderDeadlock/srcs/JNLPClassLoaderDeadlock_2.java:
same
* es s/reproducers/cus om/JNLPClassLoaderDeadlock/srcs/Makefile: same
2013-10-11 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialog.java: (ini Dialog)
cen erDialog called in ini ra her han on windowOpened even
2013-10-09 Omair Majid <oamjid@redha .com>
* plugin/iced eanp/java/sun/apple /PluginProxySelec or.java
(compu eKey): New me hod.
(ge FromBrowser, checkCache): Call compu eKey.
2013-10-09 Omair Majid <omajid@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
(reques PluginProxyInfo): Accep a S ring ins ead of URI.
(conver UriSchemeForProxyQuery): Move o ...
* plugin/iced eanp/java/sun/apple /PluginProxySelec or.java
(conver UriSchemeForProxyQuery): Here.
(ge FromBrowser): Call conver UriSchemeForProxyQuery.
* es s/ne x/uni /sun/apple /PluginApple ViewerTes .java
( es Conver UriSchemeForProxyQuery),
(asser QueryForBrowserProxyUsesH pFallback),
(asser QueryForBrowserProxyCon ainsNoDoubleSlashes),
(asser QueryForBrowserProxyDoesNo ChangeQuery): Move o ...
* es s/ne x/uni /sun/apple /PluginProxySelec orTes .java: Here.
2013-10-07 Andrew Azores <aazores@redha .com>
Deploymen Configura ion proper ies reproducer fix
* es s/reproducers/signed/Deploymen Proper iesAreExposed/ es cases/Deploymen Proper iesAreExposedTes .java:
upda e es o reflec changed log direc ory
2013-10-03 Andrew Azores <aazores@redha .com>
PR1204 pa ch regression fix
* ne x/ne /sourceforge/jnlp/cache/ResourceUrlCrea or.java:
(ge VersionedUrl) fix regression in previous PR1204 pa ch. Refac or
o no ake Resource parame er, use ins ance's field ins ead.
(uriPar ToS ring) new me hod
* es s/ne x/uni /ne /sourceforge/jnlp/cache/ResourceUrlCrea orTes .java:
new es s for ResourceUrlCrea or.ge VersionedUrl
2013-10-03 Jacob Wisor <gi ne@gmx.de>
* ne x/ne /sourceforge/jnlp/con rolpanel/CachePane.java:
Moved JBu ons o members.
(addComponen s): Modified o make use of new NonEdi ableTableModel.
Added Lis Selec ionLis ener o proper ly handle enabling and disabling of
opera ional JBu ons when selec ing a resource from he cache able.
Moved ini al popula ing of he cache able o CacheViewer's cons ruc or
un il af er he CachePane has been ins a ia ed.
Added a general purpose Compara or for all non-S ring columns in he able
model.
Added a TableCellRenderer wi h proper localized rendering of "Size" and
"Las Modified" columns as well as he con en of "Name" and "Pa h"
columns.
(crea eBu onPanel): Moved dele e opera ion in o new me hod
invokeDele eLa er(), added mouse cursor busy indica or, and proper handling
of enabling and disabling of opera ional JBu ons when pushing he dele e
bu on.
Moved refresh opera ion when pushing he refresh bu on in o new me hod
invokePopula eLa er() and added proper handling of enabling and disabling
of opera ional JBu ons while refreshing.
Replaced closing he cache viewer dialog via JDialog.dispose() when pushing
he dele e bu on by a pos of he WindowEven .WINDOW_CLOSING even o
he CacheViewer dialog in order o effec ively remove he newly in roduced
KeyEven Dispa cher.
(invokeDele eLa er): New me hod: Pos s an even o he even queue dele ing
he curren ly selec ed resource.
(invokePopula eLa er): New me hod: Pos s an even o he even queue
repopula ing he cache able.
(popula eTable):
Added mouse cursor busy indica or.
(genera eDa a): Modified cache able's per row da a model for proper
rendering and sor ing o: Direc oryNode, File, S ring, S ring, Long, Da e.
* ne x/ne /sourceforge/jnlp/con rolpanel/CacheViewer.java:
(CacheViewer): Added null parame er check.
Added a KeyEven Dispa cher o enable closing he CacheViewer dialog on a
KeyEven .VK_ESCAPE key even .
Replaced closing he cache viewer dialog via JDialog.dispose() by a pos
of he WindowEven .WINDOW_CLOSING even o he CacheViewer dialog in order
o effec ively remove he newly in roduced KeyEven Dispa cher.
* ne x/ne /sourceforge/jnlp/u il/ui/NonEdi ableTableModel.java:
Added a new able model ha in effec is a
javax.swing. able.Defaul TableModel excep for no cell being edi able.
* ne x/ne /sourceforge/jnlp/u il/ui/package-info.java:
Added new package for UI common and recurrung UI asks wi h documen a ion
2013-10-01 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/browser/BrowserAwareProxySelec or.java
(BrowserAwareProxySelec or): Spli off browser-specific work in o ..
(ini ialize): New me hod.
(ini FromBrowserConfig): Delega e reading browser preferences o ..
(parseBrowserPreferences): New me hod.
(ge FromBrowserConfigura ion): Delega e o
JNLPProxySelec or.ge FromArgumen s.
* ne x/ne /sourceforge/jnlp/run ime/JNLPProxySelec or.java
(ge FromConfigura ion): Move logic in o ge FromArgumen s; delega e o i .
(ge FromArgumen s): Renamed from ge FromConfigura ion. Handle op ionally
using he h p hos /por for socke addresses.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java
(ini ialize): Call BrowserAwareProxySelec or.ini ialize.
* es s/ne x/uni /ne /sourceforge/jnlp/browser/BrowserAwareProxySelec orTes .java:
New file.
2013-10-01 Omair Majid <omajid@redha .com>
* plugin/iced eanp/java/sun/apple /PluginProxySelec or.java
(ge FromBrowser): Move call o
PluginApple Viewer.reques PluginProxyInfo in o new me hod.
(ge ProxyFromRemo eCallToBrowser): New me hod.
* es s/ne x/uni /sun/apple /PluginProxySelec orTes .java: New file.
2013-09-26 Andrew Azores <aazores@redha .com>
Fix for PR1204. Absolu e pa hs in resource URLs are correc ly handled when
appended o hos URLs and URL query s rings are no removed.
* ne x/ne /sourceforge/jnlp/cache/ResourceUrlCrea or.java:
(ge VersionedUrlUsingQuery) renamed o ge VersionedUrl, refac ored
cons ruc ion of URL
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java:
(reques PluginProxyInfo) ex rac ed proxy URI logic.
(processProxyUri) new me hod for finding proxy URIs, handles absolu e
resource pa hs correc ly
* es s/ne x/uni /ne /sourceforge/jnlp/cache/ResourceUrlCrea orTes .java:
added es s for ResourceUrlCrea or#ge VersionedUrl
* es s/ne x/uni /sun/apple /PluginApple ViewerTes .java: added es s for
PluginApple Viewer.processProxyUri
* es s/reproducers/simple/Absolu ePa hsAndQueryS rings/resources/Absolu ePa hsAndQueryS rings.h ml:
new reproducer checks ha absolu e pa hs and query s rings in resource
URLs are properly handled, and caching s ill works
* es s/reproducers/simple/Absolu ePa hsAndQueryS rings/resources/Absolu ePa hsAndQueryS rings.jnlp:
same
* es s/reproducers/simple/Absolu ePa hsAndQueryS rings/ es cases/Absolu ePa hsAndQueryS rings.java:
same
2013-09-25 Andrew Azores <aazores@redha .com>
* Makefile.am: clean up summary_uni . x and summary_reproducers. x for
"clean" goal
2013-09-25 Jiri Vanek <jvanek@redha .com>
Added logging bo leneck
* ne x/ne /sourceforge/jnlp/Abs rac LaunchHandler.java: ex rac ed sys em.ou /err
and prin S ackTrace in favour of ou pu Con roller.log me hods. Same all below
* ne x/ne /sourceforge/jnlp/Defaul LaunchHandler.java
* ne x/ne /sourceforge/jnlp/Ex ensionDesc.java
* ne x/ne /sourceforge/jnlp/GuiLaunchHandler.java
* ne x/ne /sourceforge/jnlp/JNLPFile.java
* ne x/ne /sourceforge/jnlp/JNLPMa cher.java
* ne x/ne /sourceforge/jnlp/JNLPSplashScreen.java
* ne x/ne /sourceforge/jnlp/Launcher.java
* ne x/ne /sourceforge/jnlp/MalformedXMLParser.java
* ne x/ne /sourceforge/jnlp/Ne xPanel.java
* ne x/ne /sourceforge/jnlp/Parser.java
* ne x/ne /sourceforge/jnlp/PluginBridge.java
* ne x/ne /sourceforge/jnlp/Securi yDesc.java
* ne x/ne /sourceforge/jnlp/S reamEa er.java
* ne x/ne /sourceforge/jnlp/XmlParser.java
* ne x/ne /sourceforge/jnlp/abou /HTMLPanel.java
* ne x/ne /sourceforge/jnlp/browser/BrowserAwareProxySelec or.java
* ne x/ne /sourceforge/jnlp/browser/FirefoxPreferencesFinder.java
* ne x/ne /sourceforge/jnlp/browser/FirefoxPreferencesParser.java
* ne x/ne /sourceforge/jnlp/cache/CacheDirec ory.java
* ne x/ne /sourceforge/jnlp/cache/CacheEn ry.java
* ne x/ne /sourceforge/jnlp/cache/CacheLRUWrapper.java
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java
* ne x/ne /sourceforge/jnlp/cache/Na iveLibraryS orage.java
* ne x/ne /sourceforge/jnlp/cache/Resource.java
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java
* ne x/ne /sourceforge/jnlp/config/Defaul s.java
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java
* ne x/ne /sourceforge/jnlp/con rolpanel/CachePane.java
* ne x/ne /sourceforge/jnlp/con rolpanel/CommandLine.java
* ne x/ne /sourceforge/jnlp/con rolpanel/Con rolPanel.java
* ne x/ne /sourceforge/jnlp/con rolpanel/DebuggingPanel.java
* ne x/ne /sourceforge/jnlp/con rolpanel/Documen Adap er.java
* ne x/ne /sourceforge/jnlp/con rolpanel/JVMPanel.java
* ne x/ne /sourceforge/jnlp/con rolpanel/UnsignedApple sTrus ingLis Panel.java
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies
* ne x/ne /sourceforge/jnlp/resources/Messages_cs.proper ies
* ne x/ne /sourceforge/jnlp/resources/Messages_de.proper ies
* ne x/ne /sourceforge/jnlp/resources/Messages_pl.proper ies
* ne x/ne /sourceforge/jnlp/run ime/Apple AudioClip.java
* ne x/ne /sourceforge/jnlp/run ime/Apple Environmen .java
* ne x/ne /sourceforge/jnlp/run ime/Apple Ins ance.java
* ne x/ne /sourceforge/jnlp/run ime/Applica ionIns ance.java
* ne x/ne /sourceforge/jnlp/run ime/Boo .java
* ne x/ne /sourceforge/jnlp/run ime/CachedJarFileCallback.java
* ne x/ne /sourceforge/jnlp/run ime/FakePacEvalua or.java
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
* ne x/ne /sourceforge/jnlp/run ime/JNLPPolicy.java
* ne x/ne /sourceforge/jnlp/run ime/JNLPProxySelec or.java
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java
* ne x/ne /sourceforge/jnlp/run ime/JNLPSecuri yManager.java
* ne x/ne /sourceforge/jnlp/run ime/PacEvalua orFac ory.java
* ne x/ne /sourceforge/jnlp/run ime/RhinoBasedPacEvalua or.java
* ne x/ne /sourceforge/jnlp/securi y/Cer WarningPane.java
* ne x/ne /sourceforge/jnlp/securi y/Cer ifica eU ils.java
* ne x/ne /sourceforge/jnlp/securi y/H psCer Verifier.java
* ne x/ne /sourceforge/jnlp/securi y/KeyS ores.java
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialog.java
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogMessageHandler.java
* ne x/ne /sourceforge/jnlp/securi y/Securi yU il.java
* ne x/ne /sourceforge/jnlp/securi y/VariableX509Trus Manager.java
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/Ex endedApple Securi yHelp.java
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/UnsignedApple Trus Confirma ion.java
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica ePane.java
* ne x/ne /sourceforge/jnlp/services/ServiceU il.java
* ne x/ne /sourceforge/jnlp/services/XBasicService.java
* ne x/ne /sourceforge/jnlp/services/XPersis enceService.java
* ne x/ne /sourceforge/jnlp/services/XPrin Service.java
* ne x/ne /sourceforge/jnlp/services/XSingleIns anceService.java
* ne x/ne /sourceforge/jnlp/splashscreen/SplashU ils.java
* ne x/ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/BasePain er.java
* ne x/ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/ErrorPain er.java
* ne x/ne /sourceforge/jnlp/splashscreen/par s/Informa ionElemen .java
* ne x/ne /sourceforge/jnlp/splashscreen/par s/JEdi orPaneBasedExcep ionDialog.java
* ne x/ne /sourceforge/jnlp/ ools/Cer Informa ion.java
* ne x/ne /sourceforge/jnlp/ ools/JarCer Verifier.java
* ne x/ne /sourceforge/jnlp/u il/BasicExcep ionDialog.java
* ne x/ne /sourceforge/jnlp/u il/FileU ils.java
* ne x/ne /sourceforge/jnlp/u il/H pU ils.java
* ne x/ne /sourceforge/jnlp/u il/ImageResources.java
* ne x/ne /sourceforge/jnlp/u il/Proper iesFile.java
* ne x/ne /sourceforge/jnlp/u il/Reflec .java
* ne x/ne /sourceforge/jnlp/u il/S reamU ils.java
* ne x/ne /sourceforge/jnlp/u il/TimedHashMap.java
* ne x/ne /sourceforge/jnlp/u il/UrlU ils.java
* ne x/ne /sourceforge/jnlp/u il/XDesk opEn ry.java
* ne x/ne /sourceforge/nanoxml/XMLElemen .java
* plugin/iced eanp/java/ne scape/javascrip /JSRunnable.java
* plugin/iced eanp/java/sun/apple /JavaConsole.java
* plugin/iced eanp/java/sun/apple /PluginApple PanelFac ory.java
* plugin/iced eanp/java/sun/apple /PluginApple Securi yCon ex .java
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
* plugin/iced eanp/java/sun/apple /PluginDebug.java
* plugin/iced eanp/java/sun/apple /PluginExcep ion.java
* plugin/iced eanp/java/sun/apple /PluginMain.java
* plugin/iced eanp/java/sun/apple /PluginMessageConsumer.java
* plugin/iced eanp/java/sun/apple /PluginMessageHandlerWorker.java
* plugin/iced eanp/java/sun/apple /PluginProxyInfoReques .java
* plugin/iced eanp/java/sun/apple /PluginProxySelec or.java
* plugin/iced eanp/java/sun/apple /PluginS reamHandler.java
* es s/ne x/uni /ne /sourceforge/jnlp/Defaul LaunchHandlerTes .java
* es s/ne x/uni /ne /sourceforge/jnlp/cache/ResourceTrackerTes .java
* es s/ne x/uni /ne /sourceforge/jnlp/u il/H pU ilsTes .java
* es s/ne x/uni /ne /sourceforge/jnlp/u il/XDesk opEn ryTes .java
* es s/reproducers/simple/simple es 1/ es cases/XDGspecifica ionTes s.java
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess.java
* ne x/ne /sourceforge/jnlp/u il/logging/FileLog.java: new file, derived from
Apple Log. Now have responsibili y o log o cus om file.
* ne x/ne /sourceforge/jnlp/u il/logging/LogConfig.java: new file derived from Log
* ne x/ne /sourceforge/jnlp/u il/logging/Ou pu Con roller.java: new bo leneck for logging
* ne x/ne /sourceforge/jnlp/u il/logging/Prin S reamLogger.java: logger o s d.s reams
* ne x/ne /sourceforge/jnlp/u il/logging/SingleS reamLogger.java: in erface common o all new loggers
* ne x/ne /sourceforge/jnlp/u il/logging/UnixSys emLog.java: no ye implemen ed susy em log
* ne x/ne /sourceforge/jnlp/u il/logging/WinSys emLog.java: no ye implemen ed susy em log
* es s/ne x/uni /ne /sourceforge/jnlp/u il/logging/FileLogTes .java: new se of es s
* es s/ne x/uni /ne /sourceforge/jnlp/u il/logging/Ou pu Con rollerTes .java: new se of es s
* es s/ne x/uni /ne /sourceforge/jnlp/u il/logging/Prin S reamLoggerTes .java: new se of es s
* ne x/ne /sourceforge/jnlp/Apple Log.java: removed
* ne x/ne /sourceforge/jnlp/Log.java: rmeoved
2013-09-24 Omair Majid <omajid@redha .com>
PR1474
* NEWS: Upda e wi h bug.
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java: Documen
KEY_PROXY_SAME.
* ne x/ne /sourceforge/jnlp/run ime/JNLPProxySelec or.java
(ge FromConfigura ion): Same proxy is no applicable o SOCKS. Always
include SOCKS proxy if available.
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/JNLPProxySelec orTes .java
( es H pFallsBackToManualSocksProxy): New me hod.
( es ManualSameProxy): Remove es for socke pro ocol.
2013-09-23 Omair Majid <omajid@rehda .com>
* ne x/ne /sourceforge/jnlp/browser/BrowserAwareProxySelec or.java
(BrowserAwareProxySelec or): Rename o...
(BrowserAwareProxySelec or(Deploymen Configura ion)): New me hod.
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java: Clarify
possible values for KEY_PROXY_TYPE.
* ne x/ne /sourceforge/jnlp/run ime/JNLPProxySelec or.java
(JNLPProxySelec or): Rename o...
(JNLPProxySelec or(Deploymen Configura ion)): New me hod.
(parseConfigura ion): Rename o...
(parseConfigura ion(Deploymen Configura ion)): New me hod.
(inBypassLis ): Ge hos from URI ins ead of manual hacks.
(ge ProxiesFromPacResul ): Clarify re urn value.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java
(ini ialize): Adjus for new BrowserAwareProxySelec or cons ruc or.
* plugin/iced eanp/java/sun/apple /PluginMain.java
(ini ): Adjus for new PluginProxySelec or cons ruc or.
* plugin/iced eanp/java/sun/apple /PluginProxySelec or.java
(PluginProxySelec or): New cons ruc or.
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/JNLPProxySelec orTes .java:
New file.
2013-09-20 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/Informa ionDesc.java
(Informa ionDesc): Remove JNLPFile argumen .
(ge JNLPFile): Remove.
* ne x/ne /sourceforge/jnlp/JNLPFile.java
(ge Informa ion): Adjus o new Informa ionDesc cons ruc or.
* ne x/ne /sourceforge/jnlp/Parser.java
(ge Informa ion): Likewise.
* es s/ne x/uni /ne /sourceforge/jnlp/Informa ionDescTes .java: New file.
2013-09-19 Jana Fabrikova <jfabriko@redha .com>
Added ex only repor s from reproducers and uni es s run
* es s/repor -s yles/ ex repor .xls:
s yle for genera ing summary ou pu in summary_reproducers. x
and summary_uni . x
* Makefile.am:
added genera ing he ex repor s in run-ne x-dis - es s goal
2013-09-18 Jiri Vanek <jvanek@redha .com>
Removed java 1.3 comap ible (redundan ) code from ParseExcep ion
* ne x/ne /sourceforge/jnlp/ParseExcep ion.java: (ParseExcep ion)
modified o suppor super call only, (ge Cause) and bo h (prin S ackTrace)
removed
2013-09-16 Andrew Azores <aazores@redha .com>
Fix ResourcesTes reproducer.
* es s/ es -ex ensions- es s/ne /sourceforge/jnlp/ResourcesTes .java:
fixed forma ing, removed commen ed lines.
( es Browser): asser ion ha ~/.mozilla/plugins direc ory exis s removed.
Renamed (userPluginDir, defaul PluginDir, userPlugins, defaul Plugins)
2013-09-16 Omair Majid <omajid@redha .com>
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/JNLPClassLoaderTes .java
( oLis ): Remove.
(checkForMainFileLeakTes ): Use Arrays.asLis .
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/UnsignedApple Trus Confirma ionTes .java
( oLis ): Remove.
( es ToRela ivePa hs): Use Arrays.asLis .
2013-09-16 Jiri Vanek <jvanek@redha .com>
* Makefile.am: re urned modified (EXTRA_DIST) variable. I is enriched for
ne x-dis - es s-whi elis and NEW_LINE_IFS o enable reproducers es s
in dis arball.
2013-09-16 Deepak Bhole <dbhole@redha .com>
CVE-2012-4540, RH869040: Heap-based buffer overflow af er riggering even
a ached o apple
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .cc: Removed unnecessary
heap alloca ions.
2013-09-13 Andrew Azores <aazores@redha .com>
* es s/ es -ex ensions/ne /sourceforge/jnlp/ ools/MessageProper ies.java:
new u ili y class o handle re rieving localized messages for reproducers
* es s/reproducers/signed/CacheReproducer/ es cases/CacheReproducerTes .java:
refac ored o use new MessageProper ies class
* es s/ es -ex ensions- es s/ne /sourceforge/jnlp/MessageProper iesTes .java:
es s for new MessageProper ies class
2013-09-11 Jacob Wisor <gi ne@gmx.de>
* ne x/ne /sourceforge/jnlp/con rolpanel/TemporaryIn erne FilesPanel.java
Made emporary files loca ion JFileChooser open a he curren ly specified loca ion
Made emporary files loca ion JFileChooser display a helpful i le
Removed misleading "All Files" file fil er from JFileChooser
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies
Added new message o resources for JFileChooser's choose bu on
* ne x/ne /sourceforge/jnlp/resources/Messages_cs.proper ies
Added new message o resources for JFileChooser's choose bu on
Fixed a few inconsis en messages in resource files
* ne x/ne /sourceforge/jnlp/resources/Messages_de.proper ies
Added new message o resources for JFileChooser's choose bu on
Fixed a few inconsis en messages in resource files
* ne x/ne /sourceforge/jnlp/resources/Messages_pl.proper ies
Added new message o resources for JFileChooser's choose bu on
Fixed a few inconsis en messages in resource files
2013-09-09 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/JNLPFile.java
(ge DownloadOp ionsForJar): Rename o ...
(ge DownloadOp ions): New me hod. Look up jnlp.packEnabled and
jnlp.versionEnabled in any resources elemen .
* ne x/ne /sourceforge/jnlp/PluginBridge.java
(ge DownloadOp ionsForJar): Rename o ...
(ge DownloadOp ions): New me hod.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ini ializeResources): Invoke file.ge DownloadResources.
(ge DownloadOp ionsForJar): Remove.
* es s/ne x/uni /ne /sourceforge/jnlp/JNLPFileTes .java
( es DownloadOp ionsAppliedEverywhere): New me hod.
( es DownloadOp ionsFil eredOu ): New me hod.
2013-09-04 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/config/Defaul s.java: (USER_CACHE_HOME) made
public for use in CacheReproducer
* es s/reproducers/signed/CacheReproducer/ es cases/CacheReproducerTes :
upda ed "could no clear cache" message and cache loca ion. O her minor
cleanup
2013-09-04 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogs.java:
(ge In egerResponseAsBoolean) ex rac ed in eger response cas ing/handling
logic in o new me hod
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/Securi yDialogsTes .java:
new uni es for Securi yDialogs#ge In egerReponseAsBoolean()
2013-09-04 Adam Domurad <adomurad@redha .com>
* ne x/ne /sourceforge/jnlp/Launcher.java:
Fix apple con ex being null during apple ini & s ar .
2013-08-29 Omair Majid <omajid@redha .com>
* es s/ne x/uni /ne /sourceforge/jnlp/JNLPFileTes .java
( es Proper yRes ric ions): New me hod. Check ha proper ies in
resources are are combined and fil ered as appropria e.
2013-08-29 Omair Majid <omajid@redha .com>
PR1058
* ne x/ne /sourceforge/jnlp/services/XFileOpenService.java
(openMul iFileDialog): Crea e a privileged proxy for each FileCon en s
ins ance and re urn an array of hem.
2013-08-27 Adam Domurad <adomurad@redha .com>
Do no wai for apple ini ializa ion when binding Java apple s for NPAPI.
* plugin/iced eanp/IcedTeaNPPlugin.cc: Refac or o use
lazy-ini ialized javascrip apple binding.
* plugin/iced eanp/IcedTeaPluginU ils.cc: Make use of new helper
class, in roduce (s ringPrin f), in roduce NPObjec Ref.
* plugin/iced eanp/IcedTeaPluginU ils.h: Same.
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .cc: Allow
IcedTeaScrip ableJavaObjec o be lazy-ini ialized, in roduce
lazy-ini ializing (ge _scrip able_apple _objec ).
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .h: Same.
* es s/cpp-uni - es s/IcedTeaScrip ablePluginObjec Tes .cc: Adap
es o new helper class.
2013-08-23 Adam Domurad <adomurad@redha .com>
Spawn Java side during C++ uni es s. Many new es s.
* plugin/iced eanp/IcedTeaJavaReques Processor.cc
(hasPackage): Minor cleanup.
* plugin/iced eanp/IcedTeaNPPlugin.cc
(ini ialize_da a_direc ory): New, ex rac ed func ion.
(NP_Ini ialize): Calls ex rac ed func ion.
* plugin/iced eanp/IcedTeaNPPlugin.h: Expose more func ions for
es ing purposes.
* es s/cpp-uni - es s/IcedTeaNPPluginTes .cc
(ge _scrip able_package_objec ): Tes binding of java package
(ge _scrip able_java_objec ): Tes binding of java objec
* es s/cpp-uni - es s/IcedTeaPluginU ilsTes .cc
(NPIden ifierAsS ring): Upda e o crea e npiden ifier properly.
* es s/cpp-uni - es s/IcedTeaScrip ablePluginObjec Tes .cc
(ge Proper y): Tes loading java.lang.In eger.MAX_VALUE from C++.
* es s/cpp-uni - es s/MemoryLeakDe ec or.h
(rese _global_s a e): Made public
* es s/cpp-uni - es s/checked_alloca ions.h
(SafeAlloca or): New, ypedef for alloca or ha avoids leak de ec ion.
* es s/cpp-uni - es s/browser_mock.cc
(browsermock_se up_func ions): Renamed o (browsermock_crea e_ able).
(browsermock_crea e_ able): Now re urns browser able, addi ional
objec release and iden ifier me hods added.
* es s/cpp-uni - es s/browser_mock.h: Upda e for rename.
* es s/cpp-uni - es s/main.cc: Now clears s a e via
(rese _global_s a e)
* es s/cpp-uni - es s/IcedTeaJavaReques ProcessorTes .cc: New,
con ains uni es s ha cover all of JavaReques Processor's me hods.
* es s/cpp-uni - es s/browser_mock_npiden ifier.cc: Alloca ion-safe
npiden ifier mocking, adheres o NPAPI spec.
* es s/cpp-uni - es s/browser_mock_npiden ifier.h: Same.
2013-08-23 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/IcedTeaNPPlugin.cc: Refac or plugin da a crea ion.
* plugin/iced eanp/IcedTeaNPPlugin.h: Same.
2013-08-19 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java: Evalua e
javascrip when i shows up in a 'showDocumen ' call.
* plugin/iced eanp/java/sun/apple /PluginMain.java: Ins all arbi rary
'javascrip :' pro ocol handler.
* es s/rproducers/simple/Javascrip URLPro ocol/resources/Javascrip Pro ocol.h ml:
Tes s if javascrip is run from a es apple using showDocumen .
* es s/reproducers/simple/Javascrip URLPro ocol/resources/Javascrip Pro ocol.js:
Same.
* es s/reproducers/simple/Javascrip URLPro ocol/srcs/Javascrip Pro ocol.java:
Same.
* es s/reproducers/simple/Javascrip URLPro ocol/ es cases/Javascrip Pro ocolTes .java:
Same.
2013-08-15 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/ParserSe ings.java: (globalParserSe ings)
s a ic ParserSe ings ins ance o s ore se ings.
(se GlobalParserSe ingsFromArgs) De ermine, s ore, and re urn
globalParserSe ings. (ge GlobalParserSe ings) re urn s ored
ParserSe ings
* ne x/ne /sourceforge/jnlp/PluginBridge.java: (ex ensionJars) s ores lis
of JNLP ex ensions. (ge Resources) re urns his lis
* ne x/ne /sourceforge/jnlp/run ime/Boo .java: minor refac or o use
ParserSe ings.se GlobalParserSe ingsFromArgs()
* es s/ne x/uni /ne /sourceforge/jnlp/ParserSe ingsTes .java: ensure
ha ParserSe ings.se GlobalParserSe ingsFromArgs() works as in ended
* es s/reproducers/cus om/Ex ensionJnlpsInApple / es cases/Ex ensionJnlpsInApple Tes .java:
es s browser launch of HTML file wi h embedded JNLP apple referencing
ex ension JNLP
* es s/reproducers/cus om/Ex ensionJnlpsInApple /resources/Ex ensionJnlpHelper.jnlp:
same
* es s/reproducers/cus om/Ex ensionJnlpsInApple /resources/Ex ensionJnlpTes .h ml:
same
* es s/reproducers/cus om/Ex ensionJnlpsInApple /resources/Ex ensionJnlpTes Apple .jnlp:
same
* es s/reproducers/cus om/Ex ensionJnlpsInApple /srcs/Ex ensionJnlpHelper.java:
same
* es s/reproducers/cus om/Ex ensionJnlpsInApple /srcs/Ex ensionJnlpTes Apple .java:
same
* es s/reproducers/cus om/Ex ensionJnlpsInApple /srcs/Makefile: same
2013-08-13 Andrew Azores <aazores@redha .com>
* es s/ es -ex ensions/ne /sourceforge/jnlp/TinyH pdImpl.java: no longer
sends HTTP 400 BAD REQUEST messages
* es / es -ex ensions- es s/ne /sourceforge/jnlp/TinyH pdImplTes .java:
removed "bad reques " es
2013-08-12 Andrew Azores <aazores@redha .com>
* es s/ es -ex ensions/ne /sourceforge/jnlp/TinyH pdImpl.java: refac ored
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerLauncher.java:
TinyH pdImpl cons ruc or changed, reflec ing his here
* es s/ es -ex ensions- es s/ne /sourceforge/jnlp/ServerAccessTes .java:
removed TinyH pdImpl es s
* es s/ es -ex ensions- es s/ne /sourceforge/jnlp/TinyH pdImplTes .java:
new uni es s for TinyH pdImpl and moved old es s ou of
ServerAccessTes
2013-08-01 Andrew Azores <aazores@redha .com>
* .hgignore: ignore genera ed HTML files (from Abou Dialog)
2013-07-30 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/IcedTeaPluginU ils.cc
(NPIden ifierAsS ring): Leak-free u f8fromiden ifier wrapper.
* plugin/iced eanp/IcedTeaPluginU ils.h: Same.
* plugin/iced eanp/IcedTeaJavaReques Processor.cc: Upda e calls
* plugin/iced eanp/IcedTeaPluginReques Processor.cc: Same.
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .cc: Same.
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .h: Same.
* es s/cpp-uni - es s/IcedTeaPluginU ilsTes .cc
(NPIden ifierAsS ring): New, es s u ili y func ion
* es s/cpp-uni - es s/browser_mock.cc
(mock_u f8fromiden ifier): New, mocks NPAPI func ion
2013-07-30 Jiri Vanek <jvanek@redha .com>
* es s/reproducers/simple/simple es 1/resources/favicon.ico: new file
should be served by es server in reproducers run and so preven FNF excep ion
* ChangeLog: fixed few en ries below (added em y line be ween au hor and body)
2013-07-25 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/abou /Abou Dialog.java (Abou Dialog, display):
removed " hrows IOExcep ion"
* ne x/ne /sourceforge/jnlp/abou /HTMLPanel.java (HTMLPanel): removed
" hrows IOExcep ion" and changed ry/ca ch o ca ch IOExcep ion ra her
han Excep ion
* ne x/ne /sourceforge/jnlp/con rolpanel/Abou Panel.java: removed
ry/ca ch around Abou Dialog.display() call
* ne x/ne /sourceforge/jnlp/run ime/Boo .java (main): same
* ne x/ne /sourceforge/jnlp/splashscreen/impls/Defaul SplashScreens2012Commons.java:
same
2013-07-22 Andrew Azores <aazores@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/RhinoBasedPacEvalua or.java:
(ge ProxiesWi hou Caching) added java.vm.name read permission o fix
Rhino parsing and PAC proxy configura ion
2013-07-18 Jiri Vanek <jvanek@redha .com>
IcedTea-Web is now following XDG .config and .cache specifica ion(RH947647)
* es s/reproducers/simple/simple es 1/ es cases/XDGspecifica ionTes s.java
new file, es if XDG specifica ion and rasnfer o i are followed correc ly,
* NEWS: men ioned new fea ure
* Makefile.am: (PUBLIC_KEYSTORE) repalced by (PUBLIC_KEYSTORE_STUB) which
is now holding only in ernal par of pa h.(expor ed- es -cer s)
(ne x-dis - es s-impor -cer - o-public) (ne x-dis - es s-remove-cer -from-public)
are now resolving XDG variable and se ing real pa h of PUBLIC_KEYSTORE
by resolved value and (PUBLIC_KEYSTORE)
* ne x/ne /sourceforge/jnlp/cache/CacheLRUWrapper.java: changed o be public
and recen ly_used s rign ex rac ed o (CACHE_INDEX_FILE_NAME) cons an
* ne x/ne /sourceforge/jnlp/config/Defaul s.java: is now resovling and
propaga ing XDG_CONFIG/CACHE_HOME specifica ion. (USER_HOME) repalced by
(USER_CACHE_HOME) and (USER_CONFIG_HOME).
(move14AndOlderFilesTo15S ruc ure) new me hod responsible for moving
of old da a o new loca ions. (move14AndOlderFilesTo15S ruc ureCa ched)
he same bu wi h ca ch block
* ne x/ne /sourceforge/jnlp/con rolpanel/CachePane.java:
* es s/ne x/uni /ne /sourceforge/jnlp/cache/CacheLRUWrapperTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/u il/Proper iesFileTes .java:
are now using (CACHE_INDEX_FILE_NAME)
* ne x/ne /sourceforge/jnlp/con rolpanel/CommandLine.java: (main)
* ne x/ne /sourceforge/jnlp/con rolpanel/Con rolPanel.java: (main)
* ne x/ne /sourceforge/jnlp/run ime/Boo .java: (main)
* plugin/iced eanp/java/sun/apple /PluginMain.java: (main)
are now calling Deploymen Configura ion.move14AndOlderFilesTo15S ruc ureCa ched
asap.
* ne x/ne /sourceforge/jnlp/u il/FileU ils.java: various file manipula ion
me hods moved inside here from es -ex ensions - (saveFile) (ge Con en OfS ream)
(loadFileAsS ring) - o avoid duplica ions
* es s/ es -ex ensions/ne /sourceforge/jnlp/ProcessWrapper.java: for puposes of
new es added cons ruc or wi h s ring ins ead of URL
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess.java: see FileU ils.java
2013-07-17 Jiri Vanek <jvanek@redha .com>
Abou dialogue made accessible from plugin
* ne x/ne /sourceforge/jnlp/abou /Abou Dialog.java: (frame) re-declared
o be Dialogue ins ead of JFrame and allowed o be modal if necessary.
Cap ion in erna ionalized.
* ne x/ne /sourceforge/jnlp/splashscreen/impls/Defaul SplashScreens2012Commons.java:
Added lis ener for upper righ cap ion o show Abou Dialog
* ne x/ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/BasePain er.java:
(drawBase) if enough space, adding abou "bu on"
* ne x/ne /sourceforge/jnlp/splashscreen/par s/JEdi orPaneBasedExcep ionDialog.java:
added abou bu on
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/SplashScreenTes .java:
minor modifica ions rela ed o his change
2013-07-17 Jiri Vanek <jvanek@redha .com>
abou dialogue now available from i w-se ings
* ne x/ne /sourceforge/jnlp/con rolpanel/Abou Panel.java:
added bu on o launch abou dialogue
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ie: (CPAbou Info)
Adap ed o be more accura e o selec -able JVM
2013-07-17 Jiri Vanek <jvanek@redha .com>
Jacob Wisor <gi ne@exci e.co.jp>
added some missing de and pl s rings
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
fixed abou dialogue commen
* ne x/ne /sourceforge/jnlp/resources/Messages_cs.proper ies:
removed keys ore commen
* ne x/ne /sourceforge/jnlp/resources/Messages_de.proper ies:
* ne x/ne /sourceforge/jnlp/resources/Messages_pl.proper ies:
added Abou DialogueTabAbou Abou DialogueTabAu hors
Abou DialogueTabChangelog Abou DialogueTabNews Abou DialogueTabGPLv2
localiza ions
2013-07-11 Andrew Azores <aazores@redha .com>
* NEWS: added en ry regarding new Abou Dialogue
* ne x/ne /sourceforge/jnlp/abou /Abou Dialog.java: fixed localiza ion of
label on News ab
2013-07-11 Andrew Azores <aazores@redha .com>
* Makefile.am (s amps/h ml-gen): moved plain ex - o-HTML logic in o new
shell scrip
* h ml-gen.sh: con ains plain ex - o-HTML logic previously found in
Makefile.am. Added a sed expression o cause ChangeLog file lis ing
en ries o be underlined.
2013-07-06 Jiri Vanek <jvanek@redha .com>
Andrew Azores <aazores@redha .com>
New abou dialogue
* Makefile.am (s amps/ne x-h ml-gen): removed logic for ex ras.jar, added
new s amp o crea e HTML for Abou Dialog
* ne x/ne /sourceforge/jnlp/abou /Abou Dialog.java: Moved ou of ex ras in o
ne x and renamed from Main. New Swing layou and uses HTML files
genera ed in Makefile.
* ne x/ne /sourceforge/jnlp/abou /HTMLPanel.java: Moved ou of
ex ras in o ne x. Added abili y o click hyperlinks.
* ne x/ne /sourceforge/jnlp/run ime/Boo .java
(main, ge Abou File, ge JNLPFile, i wInfoMessage): changed way of launching
Abou dialog o using new s a ic display me hod ra her han JNLP launch.
Removed me hods rela ing o JNLP launch. More informa ive and nicely
forma ed -headless informa ion.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies
(BAbou ITW, BFileInfoAu hors, BFileInfoCopying, BFileInfoNews): added new
messages for javaws -abou -headless launch
* ne x/ne /sourceforge/jnlp/resources/abou .h ml: moved ou of ex ras
in o ne x. Added more con en , changed forma ing.
* ne x/ne /sourceforge/jnlp/resources/abou .jnlp: removed, no longer needed
* ne x/ne /sourceforge/jnlp/resources/i w_logo.png: new image for Abou
dialog. Modified version of javaws_splash.png
* ne x/ne /sourceforge/jnlp/resources/jamIcon.jpg: moved ou of ex ras
in o ne x
* ex ra/ne /sourceforge/javaws/abou /HTMLPanel.java: moved in o ne x
* ex ra/ne /sourceforge/javaws/abou /Main.java: same
* ex ra/ne /sourceforge/javaws/abou /resources/abou .h ml: same
* ex ra/ne /sourceforge/javaws/abou /resources/jamIcon.jpg: same
* ex ra/ne /sourceforge/javaws/abou /resources/applica ions.h ml: removed
* ex ra/ne /sourceforge/javaws/abou /resources/no es.h ml: removed
2013-06-28 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Securi yCon ex .java
(handleMessage): Fix po en ial NPE on 'Ge Value'
2013-06-25 Jiri Vanek <jvanek@redha .com>
* acinclude.m4: (IT_CHECK_FOR_TAGSOUP) is now correc ly se ing
HAVE_TAGSOUP when i is no found
2013-06-24 Jiri Vanek <jvanek@redha .com>
JNLP file is now re-downloading only if is local and have href
* /ne x/ne /sourceforge/jnlp/Launcher.java: (launch) api cleared
from (fromSource). (fromUrl) removed always re-downloading code and
replaced by condi ional. (launchBackground), ( oFile), (BgRunner)
removed.
* ne x/ne /sourceforge/jnlp/run ime/Boo .java: following new (launch)
* es s/reproducers/simple/Genera edId/srcs/Genera edId.java: jus
argumen s reprin ing applica ion
* es s/reproducers/simple/Genera edId/ es cases/Genera edIdTes .java
various es s based on href/no href x local/remo e jnlp files
* es s/reproducers/simple/Genera edId/resources/Genera edId.jnlp: base
simple jnlp wi h someId argumen
* es s/ es -ex ensions/ne /sourceforge/jnlp/TinyH pdImpl.java: reprin ing
he ge /head correc ly and wi h echo
* NEWS: men ioned PR1473
2013-06-21 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .cc: Simplify
IcedTeaScrip ableJavaObjec
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .h: Same
2013-06-21 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .cc:
Move 'ge _scrip able_java_package_objec ' and
'ge _scrip able_java_objec ' in o heir correc respec ive classes.
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .h: Same.
* plugin/iced eanp/IcedTeaNPPlugin.cc: Upda e references.
* plugin/iced eanp/IcedTeaPluginU ils.cc: Same.
* es s/cpp-uni - es s/IcedTeaScrip ablePluginObjec Tes .cc: Same.
2013-06-21 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .cc
(IcedTeaScrip ablePluginObjec ::ge _scrip able_java_package_objec ): Fix
memory leak due o alloca ed NPClass.
(IcedTeaScrip ableJavaPackageObjec ::ge _scrip able_java_objec ):
Same.
2013-06-21 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/IcedTeaPluginU ils.cc: Add global s a e clearing
u ili y func ions.
* plugin/iced eanp/IcedTeaPluginU ils.h: Same.
* es s/cpp-uni - es s/IcedTeaScrip ablePluginObjec Tes .cc: Tes
scrip able objec crea ion and des ruc ion.
* es s/cpp-uni - es s/browser_mock.cc
(mock_crea eobjec ): New, mocks NPAPI 'crea eobjec '.
* es s/cpp-uni - es s/MemoryLeakDe ec or.h: New, memory leak de ec ion
u ili y class.
* es s/cpp-uni - es s/main.cc
(Repor Tes Finish): Prin which es s resul ed in memory leaks.
2013-06-21 Jiri Vanek <jvanek@redha .com>
Adam Domurad <adomurad@redha .com>
Omair Majid <omajid@redha .com>
Added agsup (op ional dependence) as sani izer for (possibly) invalid xml files
* Makefile.am: (LAUNCHER_BOOTCLASSPATH) (PLUGIN_BOOTCLASSPATH) (NETX_CLASSPATH_ARG)
(PLUGIN_COVERAGE_BOOTCLASSPATH) enriched for TAGSOUP_JAR
* acinclude.m4: (IT_CHECK_FOR_TAGSOUP) new macro
* configure.ac: used his new macro
* es s/ne x/uni /ne /sourceforge/jnlp/ParserBasic.java:
* ne x/ne /sourceforge/jnlp/JNLPCrea or.java: (crea e)
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
* /ne x/ne /sourceforge/jnlp/JNLPFile.java: (JNLPFile) cons ruco rs
* ne x/ne /sourceforge/jnlp/PluginBridge.java
* ne x/ne /sourceforge/jnlp/Launcher.java: (main)
all adap ed o ake ParserSe ings ins ead of individual parame ers
* ne x/ne /sourceforge/jnlp/MalformedXMLParser.java: new file, bridge
be ween agsoup and our parser
* ne x/ne /sourceforge/jnlp/XmlParser.java: new file, bridge o old parser
* ne x/ne /sourceforge/jnlp/Parser.java: refac ored o be able bo h wi h
* ne x/ne /sourceforge/jnlp/ParserSe ings.java: reworked o serve as
ga herer for various individual parser flags
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ie: (BOXml)
new key describing -xml swi ch
* es s/ne x/uni /ne /sourceforge/jnlp/ParserCornerCases.java:
* es s/ne x/uni /ne /sourceforge/jnlp/ParserMalformedXml.java:
* es s/ne x/uni /ne /sourceforge/jnlp/ParserTes .java:
Tes s adap ed o newes s a e (bo h for included/excluded agsoup) and
new ( es TagNo ClosedNoTagSoup) ( es Unquo edA ribu esNoTagSoup)
2013-06-20 Jiri Vanek <jvanek@redha .com>
Removed ou -of da e suppor for jdk 1.5 and older
* ne x/ne /sourceforge/jnlp/run ime/Boo .java: removed memories o Boo 13
* ne x/ne /sourceforge/jnlp/run ime/Boo 13.java: removed
2013-06-20 Jiri Vanek <jvanek@redha .com>
Made i work wi h OpenJDK build 25
* ne x/ne /sourceforge/jnlp/run ime/Boo .java: (main)
Applica ion con ex crea ed as soon as possible
* plugin/iced eanp/java/sun/apple /PluginMain.java:(main)
Applica ion con ex crea ed as soon as possible
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java: Do no consume
excep ion af er se LookAndFeel.
2013-06-18 Andrew Azores <aazores@redha .com>
* es s/ es -ex ensions/ne /sourceforge/jnlp/TinyH pdImpl.java:
ex rac ed some lines ou of run() in o new me hod urlToFilePa h()
* es s/ es -ex ensions- es s/ne /sourceforge/jnlp/ServerAccessTes .java:
uni es s added for new urlToFilePa h()
2013-06-06 Jiri Vanek <jvanek@redha .com>
Andrew Azores <aazores@redha .com>
Handled semicolon in in ernal server
* es s/ es -ex ensions/ne /sourceforge/jnlp/TinyH pdImpl.java:
added s ripH pPa hParams me hod o remove semicolon-delimi ed " ags"
from end of JAR URLs
* es s/ es -ex ensions- es s/ne /sourceforge/jnlp/ServerAccessTes .java:
added es case for new me hod in TinyH pdImpl
* es s/reproducers/simple/S ripH pPa hParams/resources/S ripH pPa hParams.h ml:
browser-launched apple es case for reproducer
* es s/reproducers/simple/S ripH pPa hParams/resources/S ripH pPa hParams.jnlp:
JNLP es case for reproducer
* es s/reproducers/simple/S ripH pPa hParams/srcs/S ripH pPa hParams.java:
reproducer
* es s/reproducers/simple/S ripH pPa hParams/ es cases/S ripH pPa hParamsTes .java:
Tes case o above reproducer
2013-06-06 Jiri Vanek <jvanek@redha .com>
Made all es s running wi juni 4.10 and higher
* es s/juni -runner/CommandLine.java: (runMain) is no longer overriding
and (runMainAndExi ) is now calling Sys em.exi ra her hen sys em.exi
2013-06-06 Jiri Vanek <jvanek@redha .com>
Silenced deploymen .proper ies and zero size apple excep ions wi h es s
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java:
(findSys emConfigFile) and (loadProper ies) now prin s already cough excep ion
only in debug mode
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java: (pain )
now pain s in o 1 x 1 apple ins ead of 0 x 0 in case of 0 x 0 apple
* es s/reproducers/simple/Apple Tes /resources/apple ZeroH.h ml: new file
* es s/reproducers/simple/Apple Tes /resources/apple ZeroW.h ml: new file
* es s/reproducers/simple/Apple Tes /resources/apple ZeroWH.h ml: new file
- es ing launchers wi h zero as wid h, heigh or bo h
* es s/reproducers/simple/Apple Tes / es cases/Apple Tes Tes s.java:
added launchers and evalua ions for hree new h mls - (apple ZeroWH)
(apple ZeroW) (apple ZeroH)
2013-06-06 Jiri Vanek <jvanek@redha .com>
Jacob Wisor <gi ne@exci e.co.jp>
Enhanced manifes
* ne x.manifes .in: added Implemen a ion-URL, Implemen a ion-Vendor,
Specifica ion-Ti le, Specifica ion-URL, Specifica ion-Vendor and
Specifica ion-Version en ries
2013-06-05 Adam Domurad <adomurad@redha .com>
Fix PR1465
* NEWS: Bug fix no e
* ne x/ne /sourceforge/jnlp/u il/UrlU ils.java
(isValidRFC2396Url): New, es s if valid URL by RFC2396 rules
(normalizeUrl): Don' normalize if valid by RFC2396
* es s/ne x/uni /ne /sourceforge/jnlp/cache/ResourceTrackerTes .java:
Adap which URLs we expec o change when normalizing URLs
* es s/ne x/uni /ne /sourceforge/jnlp/u il/UrlU ilsTes .java:
( es IsValidRFC2396Url): New, es s isValidRFC2396Url
( es NormalizeUrl): Add new es wi h valid RFC2396 URL
2013-06-04 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
more de ailed hin for CCanno ClearCache
2013-06-04 Adam Domurad <adomurad@redha .com>
Remove unused files.
* plugin/iced eanp/IcedTeaRunnable.cc: Removed.
* plugin/iced eanp/IcedTeaRunnable.h: Removed.
2013-06-03 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java:
Handle resizing more robus ly by no blocking worker hread
2013-06-03 Adam Domurad <adomurad@redha .com>
* ne x/ne /sourceforge/jnlp/u il/S reamU ils.java
(copyS ream): New, copies inpu s ream o ou pu s ream
* es s/ne x/uni /ne /sourceforge/jnlp/cache/Na iveLibraryS orageTes .java:
New, es s lookup of na ive libraries from folders and jars.
* es s/ es -ex ensions/ne /sourceforge/jnlp/u il/FileTes U ils.java:
New, con ains u ili ies for es ing open file descrip ors, crea ing emporary
direc ories, and crea ing jars.
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/JNLPClassLoaderTes .java:
Replace jar crea ion me hods wi h ones from FileTes U ils.
2013-06-03 Adam Domurad <adomurad@redha .com>
* ne x/ne /sourceforge/jnlp/cache/Na iveLibraryS orage.java: New,
s ores and searches for na ive library files ha are loaded from jars.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: Move code
ha handled na ive jar caching o Na iveLibraryS orage.
2013-05-29 Adam Domurad <adomurad@redha .com>
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/JNLPClassLoaderTes .java:
Moved & renamed inner MockedOneJarJNLPFile o op-level
DummyJNLPFileWi hJar class.
* es s/ es -ex ensions/ne /sourceforge/jnlp/mock/DummyJNLPFileWi hJar.java:
Moved & renamed from JNLPClassLoaderTes .MockedOneJarJNLPFile.
2013-05-29 Adam Domurad <adomurad@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
"A serious excep ion occurred" -> "An excep ion occurred"
2013-05-20 Jiri Vanek <jvanek@redha .com>
Synchronized launchers o be from one source
* Makefile.am: (edi _launcher_scrip ) is now accep ing variables
(launcher.build/$(javaws)) no depends on launcher/launchers.in ins ead of
launcher/javaws.in and is filling he variables for javaws
(launcher.build/$(i web_se ings)) no depends on launcher/launchers.in ins ead of
launcher/i web_se ings.in and is filling he variables for i web_se ings
* launcher/i web-se ings.in: removed
* launcher/javaws.in: removed
* launcher/launchers.in: new file, subs i u ion of removed (i web-se ings.in)
and javaws.in. Mos ly based on javaws.in, jus (CLASSNAME) and (PROGRAM_NAME)
and (BINARY_LOCATION) were made more general.
2013-05-20 Jiri Vanek <jvanek@redha .com>
Fixed possible deadlock for apple ->js->apple call
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java:
(REQUEST_TIMEOUT) new cons an , 60s, o define imeou of apple ->js call
(wai ForReques Comple ion) new me hod wai ing o reques o be done wi h
imeou of REQUEST_TIMEOUT.
(javascrip ToS ring) using he wai ForReques Comple ion ins ead of plain
wai ()
* es s/reproducers/simple/Apple JsApple Deadlock/resources/Apple JsApple Deadlock.h ml
and
* es s/reproducers/simple/Apple JsApple Deadlock/srcs/Apple JsApple Deadlock.java
reproducer
* es s/reproducers/simple/Apple JsApple Deadlock/ es cases/Apple JsApple DeadlockTes .java
es case
2013-05-17 Adam Domurad <adomurad@redha .com>
Fix PR854: Resizing an apple several imes causes 100% CPU load
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
(handleMessage): Replace buggy ini ializa ion wai .
2013-05-14 Jiri Vanek <jvanek@redha .com>
Jacob Wisor <gi ne@exci e.co.jp>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: (CPJVMi wExec)
fixed invalid unicode charac er
2013-05-02 Jana Fabrikova <jfabriko@redha .com>
* es s/reproducers/simple/JavawsAWTRobo UsageSample/resources/Apple AWTRobo UsageSample.h ml:
new resource, h ml page for displaying he apple in browser
* es s/reproducers/simple/JavawsAWTRobo UsageSample/ es cases/Apple AWTRobo UsageSampleTes .java:
new es case wi h 6 browser es s
2013-05-02 Jana Fabrikova <jfabriko@redha .com>
* Makefile.am:
Change in processing he goal
(s amps/compile-reproducers- es cases.s amp)
All .java files from reproducers es cases direc ory are
compiled, all non-java files are copied in o he
TEST_EXTENSIONS_TESTS_DIR, i.e.
es s.build/ es -ex ensions- es s direc ory
* es s/reproducers/simple/JavawsAWTRobo FindsBu on/resources/javaws-aw robo -finds-bu on.jnlp:
jnlp file for displaying he apple
* es s/reproducers/simple/JavawsAWTRobo FindsBu on/srcs/JavawsAWTRobo FindsBu on.java:
he apple used in he reproducer
* es s/reproducers/simple/JavawsAWTRobo FindsBu on/ es cases/JavawsAWTRobo FindsBu onTes .java:
adding 2 es s: ha an icon is loaded, and ha he bu on is
iden ified from he given icon and clicked by aw robo
* es s/reproducers/simple/JavawsAWTRobo FindsBu on/ es cases/bu onA.png:
he icon of he wan ed bu on
2013-04-26 Jiri Vanek <jvanek@redha .com>
Jacob Wisor <gi ne@exci e.co.jp>
Added defaul , DE and PL localiza ion's weeks
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
* ne x/ne /sourceforge/jnlp/resources/Messages_de.proper ies:
* ne x/ne /sourceforge/jnlp/resources/Messages_pl.proper ies
2013-05-02 Adam Domurad <adomurad@redha .com>
Ensure ha PluginApple viewer is resized in case of error.
This fixes mos of he cases of he error splash screen
no appearing.
* plugin/iced eanp/java/sun/apple /PluginApple PanelFac ory.java
(crea ePanel): Resize earlier, before erroring ou .
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
(PluginApple Viewer): Se size, remove fixme.
2013-05-02 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/IcedTeaNPPlugin.cc:
Remove only occurence of LEGACY_XULRUNNERAPI
2013-05-02 Adam Domurad <adomurad@redha .com>
In roduce PluginPipeMock u ili y me hods.
* es s/ es -ex ensions/sun/apple /PluginPipeMockU il.java: New,
enapsula es PluginPipeMock ini ializa ion, cleanup. As well, con ains
u ili y me hods.
* es s/ne x/uni /sun/apple /PluginApple ViewerTes .java: Use
newly in roduced u ili y me hods.
2013-05-02 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/java/sun/apple /Me hodOverloadResolver.java
(ge Bes OverloadMa ch): Re urn null if a valid me hod was no found.
* es s/ne x/uni /sun/apple /Me hodOverloadResolverTes .java
(ge ResolvedMe hod): New, ge s ResolvedMe hod from array of bundled class,
s ring, and parame ers
(asser Expec edOverload): New varian ha es s exac received values
( es ArrayToS ringResolve): Tes s array conversion o S ring
( es ArrayToArrayResolve): Tes s array conversion o o her arrays
2013-05-02 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/java/sun/apple /Me hodOverloadResolver.java
(ge Cos AndCas edObjec ): Remove code ha had no effec before refac oring.
(ge Bes OverloadMa ch): Move debug-only code o debug if-block.
2013-05-02 Jiri Vanek <jvanek@redha .com>
Added various es s rela ed o por albank.no fixes
* ne x/ne /sourceforge/jnlp/cache/Resource.java: added fixme o warn
before wrong url compara or
* ne x/ne /sourceforge/jnlp/Version.java: removed useless main. I s
purpose moved o new
* es s/ne x/uni /ne /sourceforge/jnlp/VersionTes : some small es s o
version class
* es s/ne x/uni /ne /sourceforge/jnlp/cache/ResourceTrackerTes .java:
added es s o (ge UrlResponseCode) and (findBes Url)
* es s/ne x/uni /ne /sourceforge/jnlp/u il/H pU ilsTes .java: added es s for
(consumeAndCloseConnec ionSilen ly) and (consumeAndCloseConnec ion)
* es s/ne x/uni /ne /sourceforge/jnlp/u il/UrlU ilsTes : added license header
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerLauncher.java: and
* es s/ es -ex ensions/ne /sourceforge/jnlp/TinyH pdImpl.java: added
suppor for simula ion of no working HEAD reques .
2013-05-02 Jiri Vanek <jvanek@redha .com>
Fix for por albank.no ( rying ge af er failed head reques s)
* ne /sourceforge/jnlp/cache/ResourceTracker : (findBes Url)
now rying GET af er each error reques of HEAD ype. Changed and
added debug messages. (ge UrlResponseCode) closing of s ream
moved o separa e me hod H pU ils.consumeAndCloseConnec ionSilen ly
* ne /sourceforge/jnlp/u il/H pU ils.java: new file designed for
h p u ils. Now con ains (consumeAndCloseConnec ion) and
(consumeAndCloseConnec ionSilen ly) which calls consumeAndCloseConnec ion
bu do no re hrow excep ion
* ne x/ne /sourceforge/jnlp/u il/S reamU ils.java: removed
(consumeAndCloseInpu S ream) now improved and moved o H pU ils
2013-05-02 Jana Fabrikova <jfabriko@redha .com>
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /AWTHelper.java:
refac oring - removing ini S rGiven variable - now i only
ma ers if he ini S r is null or no . Modifying he following
wo me hods: (charReaded) - if ini S r is null he run me hod
can no be s ar ed from charReaded and he presence of ini S r
is no checked in s dou . Me hod (ge Ini S rAsRule) re urns rule
ha is always rue if ini S r is null.
2013-05-02 Jiri Vanek <jvanek@redha .com>
Renamed cz locales o be more general
* ne x/ne /sourceforge/jnlp/resources/Messages_cs_CZ.proper ies: renamed o
* ne x/ne /sourceforge/jnlp/resources/Messages_cs.proper ies: new file
* es s/ne x/uni /ne /sourceforge/jnlp/resources/MessagesProper iesTes .java:
* es s/reproducers/simple/LocalesTes / es cases/LocalesTes Tes .java
Adap ed o new cz locales filename.
2013-05-02 Jana Fabrikova <jfabriko@redha .com>
* Makefile.am:
he direc ory $(TEST_EXTENSIONS_SRCDIR) (i.e. es / es -ex ensions)
added on classpa h for running reproducers, uni es s, and es code
coverage for reproducers and uni es s using emma and jacoco, ha is
for he following 6 arge s:
(s amps/run-ne x-dis - es s.s amp)
(s amps/run-ne x-uni - es s.s amp)
(s amps/run-uni - es -code-coverage.s amp) wi h EMMA
(s amps/run-uni - es -code-coverage-jacoco.s amp)
(s amps/run-reproducers- es -code-coverage.s amp) wi h EMMA
(s amps/run-reproducers- es -code-coverage-jacoco.s amp)
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /AWTHelper.java:
modifying he cons ruc or, he defaul icon is aken from
Componen Finder ins ead of loading from file
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /imagesearch/Componen Finder.java:
added a block of ini ializa ion code - he defaul icon
* es s/ne x/uni /ne /sourceforge/jnlp/aw /imagesearch/Componen FinderTes .java:
uni es for he ini ializa ion code in Componen Finder
* es s/reproducers/simple/AWTCommonResourcesOnly/resources/marker.png:
second copy of he defaul icon in a reproducer wi h resources only
* es s/reproducers/simple/JavawsAWTRobo UsageSample/resources/javaws-aw robo -usage-sample.jnlp:
jnlp file for displaying he apple
* es s/reproducers/simple/JavawsAWTRobo UsageSample/srcs/JavawsAWTRobo UsageSample.java:
he apple
* es s/reproducers/simple/JavawsAWTRobo UsageSample/ es cases/JavawsAWTRobo UsageSampleTes .java:
adding 6 es cases es ing clicking wi h differen mouse
bu ons on he apple
* es s/ es -ex ensions- es s/ne /sourceforge/jnlp/aw /imagesearch/Componen FinderTes .java:
uni es for he ini ializa ion code in Componen Finder
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /imagesearch/marker.png:
firs copy of he defaul icon, will be on classpa h
2013-04-30 Adam Domurad <adomurad@redha .com>
* es s/ne x/uni /sun/apple /Me hodOverloadResolverTes .java: Add missing
copyrigh header.
* es s/ne x/uni /sun/apple /PluginApple Securi yCon ex Tes .java: Same.
* es s/ne x/uni /sun/apple /PluginParame erParserTes .java: Same.
2013-04-29 Jiri Vanek <jvanek@redha .com>
More granular ini ializa ion of Aw Helper
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess.java: added
(execu eBrowser) which can work upon fully cons ruc ed url
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /AWTHelper.java:
(cap ureScreenAndFindApple ByIconTryKTimes) spli o hree:
(cap ureScreenAndFindApple ByIconTryKTimes) - unchanged, now using following
(ini ialiseOnScreensho ) ini ialize from given buffered image, crea ing area
(ini ialiseOnScreensho AndArea) ini ialize from wo given buffered images
2013-04-29 Jiri Vanek <jvanek@redha .com>
Improved performance of scanning images, added masking of images
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /imagesearch/ImageSeeker.java:
(findExac Image) now using masks and is i era ing over rows
(ge MaskImage) new me hod o visualize mask
(ge Mask) new me hod o crea e mask
(ge Pixels) me hod o ex rac pixels from image o in array
2013-04-29 Jana Fabrikova <jfabriko@redha .com>
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /AWTHelper.java:
refac oring Poin ins ead of Rec angle as icon posi ion as
markerPosi ion
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /imagesearch/Componen Finder.java:
refac oring Poin ins ead of Rec angle as icon posi ion in several
search me hods
2013-04-29 Jana Fabrikova <jfabriko@redha .com>
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /AWTHelper.java:
fixing me hod (cap ureScreenAndFindApple ByIconTryKTimes),
which should no hrow AWTFrameworkExcep ion
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /imagesearch/Componen Finder.java:
fixing he re urn values of several search me hods
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /imagesearch/ImageSeeker.java:
fixing he re urn values of several search me hods
2013-04-26 Jana Fabrikova <jfabriko@redha .com>
* / es s/ es -ex ensions/ne /sourceforge/jnlp/closinglis eners/RulesFolowingClosingLis ener.java:
added a ge er me hod ge Rules
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /AWTHelper.java:
he mos impor an class of AWTFramework, combines closing lis ener and
possibili y o use mouse and keyboard for inpu o es s
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /AWTFrameworkExcep ion.java:
excep ion ha is raised in he framework whenever programmer did no
provide enough informa ion
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /aw ac ions/KeyboardAc ions.java:
class wi h u ili y keyboard me hods
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /aw ac ions/MouseAc ions.java:
class wi h u ili y mouse me hods
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /imagesearch/Componen Finder.java:
class for finding componen s in a screensho
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /imagesearch/Componen No FoundExcep ion.java:
excep ion ha can be raised if an impor an componen could no be found
* es s/ es -ex ensions/ne /sourceforge/jnlp/aw /imagesearch/ImageSeeker.java:
class for general image searching
* es s/reproducers/simple/AWTCommonResourcesOnly/resources/marker.png:
reproducer wi h resources only, con ains he defaul icon marking
apple s
2013-04-26 Adam Domurad <adomurad@redha .com>
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java
(ge CacheFile): Use decodeUrlAsFile ins ead of oURI().ge Pa h().
* ne x/ne /sourceforge/jnlp/u il/UrlU ils.java
(decodeUrlAsFile): New, olera es ill-formed URLs.
* es s/ne x/uni /ne /sourceforge/jnlp/u il/UrlU ilsTes .java:
( es DecodeUrlAsFile): Tes for (decodeUrlAsFile)
2013-04-26 Jiri Vanek <jvanek@redha .com>
Jacob Wisor <gi ne@exci e.co.jp>
Added polish localisa ion
* ne x/ne /sourceforge/jnlp/resources/Messages_de.proper ies
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: minor fixes
* ne x/ne /sourceforge/jnlp/resources/Messages_pl.proper ies: new localiza ion
nearly comple e lis of PL values
* es s/ne x/uni /ne /sourceforge/jnlp/resources/MessagesProper iesTes .java
Added PL as known ransla ion
* es s/reproducers/simple/LocalesTes / es cases/LocalesTes Tes .java:
Added es s o PL in egra ion
2013-04-26 Jiri Vanek <jvanek@redha .com>
Alexandr Kolouch <skolnag@gmail.com>
Improved and comple ed CZ localisa ion
* ne x/ne /sourceforge/jnlp/resources/Messages_cs_CZ.proper ies:
Added missing i ems, some fixes
2013-04-26 Jiri Vanek <jvanek@redha .com>
Alexandr Kolouch <skolnag@gmail.com>
Added CZ localiza ion of i w-se ings Xdesk op configura ion file
* i web-se ings.desk op.in: added Name[cs] and Name[cs] keys wi h values.
2013-04-26 Jiri Vanek <jvanek@redha .com>
Jacob Wisor <gi ne@exci e.co.jp>
Added DE and PL localiza ion of i w-se ings Xdesk op configura ion file
* i web-se ings.desk op.in: added Name[de], Name[pl], Commen [de], Commen [pl]
keys wi h values. Added Keywords key wi h values.
2013-04-26 Jiri Vanek <jvanek@redha .com>
Silenced uni es s
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/impl/UnsignedApple Ac ionS orageImplTes .java: and
* es s/ne x/uni /sun/apple /PluginApple ViewerTes .java:
Sys em.ou .prin ln replaced by ServerAccess.logOu pu Reprin
2013-04-26 Jiri Vanek <jvanek@redha .com>
Fixed compila ion under jdk6
* ne x/ne /sourceforge/jnlp/u il/JarFile.java:
is now implemen ing Closeable
2013-04-26 Jiri Vanek <jvanek@redha .com>
Fixed regressed uni es and "cause"
* /ne x/ne /sourceforge/jnlp/NullJnlpFileExcep ion.java:
fixed header
* ne x/ne /sourceforge/jnlp/Securi yDesc.java: (Securi yDesc) is now
hrowing NullJnlpFileExcep ion in case of null jnlp file.
* es s/ne x/uni /ne /sourceforge/jnlp/ParserBasic.java: is now using
correc DummyJnlpFile
* es s/ne x/uni /ne /sourceforge/jnlp/Securi yDescTes .java: new es file.
( es No NullJnlpFile) ( es NullJnlpFile) es ing he behavior for null
jnlp file and for exis ing jnlpfile.
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/CodeBaseClassLoaderTes .java:
(DummyJnlpFile) ex rac ed o es -ex ensions and have removed incorrec have securi y
( es NullFileSecuri yDescApple ) and ( es NullFileSecuri yDesc) is now expec ing
NullJnlpFileExcep ion ins ead of resul s
* es s/ es -ex ensions/ne /sourceforge/jnlp/mock/DummyJNLPFile.java: new
reusable dummy jnlp file
2013-04-25 Adam Domurad <adomurad@redha .com>
Add acciden ally no included files from "Tes s & es ex ensions for
mocking he plugin inpu & ou pu pipes."
2013-04-25 Adam Domurad <adomurad@redha .com>
Fix a dead-lock ha can cause (namely) Firefox o hang.
* ne x/ne /sourceforge/jnlp/Ne xPanel.java
(apple Alive): Remove flag.
(isAlive): Remove ge er.
(ini ialized): New, explici ini ializa ion flag.
(isIni ialized): New, ge er.
(runLoader): Se ini ializa ion flag when done (whe her errored or no ).
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
(wai ForApple Ini ): Wai on ini ializa ion flag from Ne xPanel.
(handleMessage): Remove redundan wai ing for ini . Respond properly o
Ge JavaObjec in case of error/ ime-ou .
2013-04-25 Adam Domurad <adomurad@redha .com>
* es s/ne x/uni /ne /sourceforge/jnlp/AsyncCallTes .java: Uni es s for
AsyncCall es ex ension.
2013-04-25 Adam Domurad <adomurad@redha .com>
Tes s & es ex ensions for mocking he plugin inpu & ou pu pipes.
* Makefile.am
(s amps/ es -ex ensions-compile.s amp): Make plugin classes available
o es ex ensions
* es s/ es -ex ensions/ne /sourceforge/jnlp/AsyncCall.java: New, helper
for doing asynchronous calls wi h an op ional imeou .
* es s/ne x/uni /sun/apple /PluginApple ViewerTes .java: New, uses
PluginPipeMock o es he javascrip reques s o he plugin.
* es s/ es -ex ensions/sun/apple /mock/PluginPipeMock.java: New, helper
for ge ing he plugin reques s and mocking he replies.
2013-04-25 Jiri Vanek <jvanek@redha .com>
Locking disabled on windows machines
* ne x/ne /sourceforge/jnlp/u il/lockingfile/LockedFile.java:
(lock) and (unlock) are no-op on windows.
2013-04-25 Jiri Vanek <jvanek@redha .com>
Splashscreen now s rip commi id from released versions
* ne x/ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/BasePain er.java:
(s ripCommi FromVersion) new me hod responsible for cu ing
(drawBase) now using s ripCommi FromVersion before prin ing drawing version
o splashscreen
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/BasePain erTes .java:
(s ripCommi FromVersion) new es for
2013-04-24 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java:
Remove unnecessary line ha can resul in NPE
2013-04-23 Adam Domurad <adomurad@redha .com>
* es s/ne x/uni /ne /sourceforge/jnlp/u il/UrlU ilsTes .java:
Added es s for decodeUrlQuie ly, normalizeUrl, normalizeUrlQuie ly.
2013-04-23 Adam Domurad <adomurad@redha .com>
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java: Remove no
longer used cons an s. Remove (normalizeUrl). Upda e calls.
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java: Expand impor s.
Upda e calls.
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/UnsignedApple Trus Confirma ion.java:
Ensure file://-pro ocol URLs are encoded.
* ne x/ne /sourceforge/jnlp/u il/UrlU ils.java: Add (normalizeUrl),
and rela ed u ili y me hods. Allow for op ionally encoding file://
URLs.
2013-04-23 Adam Domurad <adomurad@redha .com>
Ensure documen -base is properly encoded.
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java
(ge CacheFile): Use URL# oUri().ge Pa h() ins ead of URL#ge File().
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
(handleIni ializa ionMessage): Don' decode documen -base.
2013-04-23 Adam Domurad <adomurad@redha .com>
Reproducer for URL parame ers (eg ?a=b) in documen -base.
* es s/reproducers/simple/URLParame ersInDocumen Base/resources/URLParame ersInDocumen Base.h ml:
Page ha loads apple .
* es s/reproducers/simple/URLParame ersInDocumen Base/srcs/URLParame ersInDocumen Base.java:
Apple ha prin s code-base & documen -base.
* es s/reproducers/simple/URLParame ersInDocumen Base/ es cases/URLParame ersInDocumen BaseTes s.java:
Tes -driver.
2013-04-23 Adam Domurad <adomurad@redha .com>
* ne x/ne /sourceforge/jnlp/Ne xPanel.java
(exi OnFailure): Remove always-false field.
(Ne xPanel): Remove overloaded cons ruc or
(runLoader): Do no swallow LaunchExcep ion's. Remove dead
exi OnFailure code-pa h. Se apple s a us o APPLET_ERROR on
excep ion.
* plugin/iced eanp/java/sun/apple /PluginApple PanelFac ory.java
(crea ePanel): Upda e call o Ne xPanel cons ruc or.
2013-04-23 Adam Domurad <adomurad@redha .com>
* es s/reproducers/signed/AppCon ex HasJNLPClassLoader/resources/AppCon ex HasJNLPClassLoader.h ml:
Tes AppCon ex con ex classloader from HTML apple
* es s/reproducers/signed/AppCon ex HasJNLPClassLoader/resources/AppCon ex HasJNLPClassLoader.jnlp:
Tes AppCon ex con ex classloader from JNLP applica ion
* es s/reproducers/signed/AppCon ex HasJNLPClassLoader/resources/AppCon ex HasJNLPClassLoaderForJNLPApple .jnlp:
Tes AppCon ex con ex classloader from JNLP apple
* es s/reproducers/signed/AppCon ex HasJNLPClassLoader/srcs/AppCon ex HasJNLPClassLoader.java:
Prin ou con ex classloader for hread & AppCon ex , for
curren hread & Swing hread.
* es s/reproducers/signed/AppCon ex HasJNLPClassLoader/ es cases/AppCon ex HasJNLPClassLoaderTes .java:
Tes runner for AppCon ex HasJNLPClassLoader
2013-04-23 Adam Domurad <adomurad@redha .com>
Ensure JarFile handles do no leak.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
Ensure close is called for each JarFile.
2013-04-23 Adam Domurad <adomurad@redha .com>
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/JNLPClassLoaderTes .java:
New, JNLPClassLoader uni es s for (checkForMain), (ge MainClassName),
(ac iva eNa iveJar), and (isInvalidJar). Checks for file descrip or
leaks.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(isInvalidJar): Change o defaul visibili y for es ing purposes.
(checkForMain): Same.
(ge MainClassName): Same.
2013-04-23 Adam Domurad <adomurad@redha .com>
Rewri e of Me hodOverloadResolver wi h de ailed uni es s.
* plugin/iced eanp/java/sun/apple /Me hodOverloadResolver.java:
Rewri en o reduce duplica ed code, fix very sub le bugs in
never- es ed codepa hs, obey spec properly. In roduced new helper ypes
where Objec [] arrays wi h special-meaning posi ions were passed
around.
* plugin/iced eanp/java/sun/apple /PluginApple Securi yCon ex .java:
Upda ed o work wi h newly in roduced ypes / refac ored overload
resolver.
* es s/ne x/uni /sun/apple /Me hodOverloadResolverTes .java: In-dep h
uni es s of hairy de ails of me hod overloading in JS<->Java.
2013-04-23 Omair Majid <omajid@redha .com>
PR1299
* NEWS: Upda e wi h fix
* ne x/ne /sourceforge/jnlp/browser/BrowserAwareProxySelec or.java
(ini FromBrowserConfig): Fix ypo in socks proxy se ing key.
2013-04-19 Jiri Vanek <jvanek@redha .com>
es ing server allowed from makefile
* Makefile.am:
(s amps/ne x-dis - es s-prepare-reproducers.s amp) added s amps/ne x-dis .s amp s amps/plugin.s amp dependence
(s amps/ es -ex ensions-compile.s amp) added s amps/ne x-dis .s amp s amps/plugin.s amp dependence
(s amps/compile-reproducers- es cases.s amp) added s amps/plugin.s amp dependence
(run- es -server-on-44321) new arge , s ar s server in deploy dir, on por 44321
(run- es -server-on-random-por ) new arge , s ar s server in deploy dir, on random por
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess.java: (main)
added be er access o random por
2013-04-17 Jiri Vanek <jvanek@redha .com>
Added various self-describing es s for codebase
* es s/reproducers/simple/Apple SharedClassLoader/resources/LaunchSharedClassLoaderApple -reader1-wri er1.h ml
* es s/reproducers/simple/Apple SharedClassLoader/resources/LaunchSharedClassLoaderApple -reader1-wri er2.h ml
* es s/reproducers/simple/Apple SharedClassLoader/resources/LaunchSharedClassLoaderApple -reader1.h ml
* es s/reproducers/simple/Apple SharedClassLoader/resources/LaunchSharedClassLoaderApple -reader2.h ml
* es s/reproducers/simple/Apple SharedClassLoader/resources/LaunchSharedClassLoaderApple -wri er1.h ml
* es s/reproducers/simple/Apple SharedClassLoader/resources/LaunchSharedClassLoaderApple -wri er2.h ml
* es s/reproducers/simple/Apple SharedClassLoader/resources/LaunchSharedClassLoaderApple 2-reader1-wri er1.h ml
* es s/reproducers/simple/Apple SharedClassLoader/resources/LaunchSharedClassLoaderApple 2-reader1-wri er2.h ml
* es s/reproducers/simple/Apple SharedClassLoader/resources/LaunchSharedClassLoaderApple 2-reader1.h ml
* es s/reproducers/simple/Apple SharedClassLoader/resources/LaunchSharedClassLoaderApple 2-reader2.h ml
* es s/reproducers/simple/Apple SharedClassLoader/resources/LaunchSharedClassLoaderApple 2-wri er1.h ml
* es s/reproducers/simple/Apple SharedClassLoader/resources/LaunchSharedClassLoaderApple 2-wri er2.h ml
* es s/reproducers/simple/Apple SharedClassLoader/srcs/SharedClassLoaderApple 1.java
* es s/reproducers/simple/Apple SharedClassLoader/srcs/SharedClassLoaderApple 2.java
* es s/reproducers/simple/Apple SharedClassLoader/srcs/SharedSecre .java
* es s/reproducers/simple/Apple SharedClassLoader/ es cases/SharedClassLoaderApple _Wri enComple eCodeBaseTes .java
* es s/reproducers/simple/Apple SharedClassLoader/ es cases/SharedClassLoaderApple _Wri enPar ialS ubCodeBaseTes .java
* es s/reproducers/simple/Apple SharedClassLoader/ es cases/SharedClassLoaderApple _do CodeBaseTes .java
2013-04-17 Adam Domurad <adomurad@redha .com>
Jiri Vanek <jvanek@redha .com>
CVE-2013-1926, RH916774: Class-loader incorrec ly shared for apple s wi h
same rela ive-pa h.
* ne x/ne /sourceforge/jnlp/PluginParame ers.java
(ge CodeBase): Removed
(ge UniqueKey): Now akes absolu e codebase
* ne x/ne /sourceforge/jnlp/Ne xPanel.java: Pass absolu e codebase in
ge UniqueKey calls.
* ne x/ne /sourceforge/jnlp/PluginBridge.java: Same.
2013-04-17 Jiri Vanek <jvanek@redha .com>
Fixed gifar vulnereabili y wi h au oma ed es case
* ne x/ne /sourceforge/jnlp/u il/JarFile.java: IcedTea-Web replacemen for
java.u il.jar.JarFile.java wi h capabili y o verify if he jar s ar s as jar
and no as some hing else (eg gif)
* ne x/ne /sourceforge/jnlp/Launcher.java: migra ed o new JarFile
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: added
BXignoreheaders key wi h descrip ion o new -Xignoreheaders swi ch
* ne x/ne /sourceforge/jnlp/run ime/Boo .java: added swi ch Xignoreheaders
o allow o disable he header verifica ion.
* ne x/ne /sourceforge/jnlp/run ime/CachedJarFileCallback.java:
migra ed o new JarFile
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: improved
repor ing of new JarFile excep ions
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java: new field
ignoreHeaders, informing abou new JarFile whe her o verify or no verify
headers. By defaul verifying, so have value of false.
* ne x/ne /sourceforge/jnlp/ ools/JarCer Verifier.java: migra ed o new JarFile
* ne x/ne /sourceforge/jnlp/u il/InvalidJarHeaderExcep ion.java: new
no -checked excep ion o signify ha jar is corrup ed on headers level.
* es s/reproducers/cus om/GifarCrea or/srcs/Makefile: makefile o
join gif and jar o crea e gifar
* es s/reproducers/signed/GifarBase/resources/gifarView_hacked.h ml:
h ml wi h hacked gifar
* es s/reproducers/signed/GifarBase/resources/gifarView_ok.h ml:
h ml wi h valid gifs and jars
* es s/reproducers/signed/GifarBase/resources/gifar_apple .jnlp:
jnlp apple cons ruc ed from hacked gifar
* es s/reproducers/signed/GifarBase/resources/gifar_applica ion.jnlp:
jnlp applica ion cons ruc ed from hacked gifar
* es s/reproducers/signed/GifarBase/srcs/GifarMain.java:
Main me hod of reproducer
* es s/reproducers/signed/GifarBase/ es cases/GifarTes cases.java:
Tes ing me hods
* es s/reproducers/signed/GifarBase/resources/happyNonAnima ed.gif:
binary file, image, gif, used o crea e hacked gifars
2013-04-17 Jiri Vanek <jvanek@redha .com>
removed java call o ob ain jvm args for plugin
* /plugin/iced eanp/IcedTeaNPPlugin.cc: (ge _jvm_args)
Java call replaced by call o recen ly added read_deploy_proper y_value
func ion.
2013-04-12 Adam Domurad <adomurad@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/Ex endedApple Securi yHelp.java:
Clean-up genera ed code.
2013-04-12 Adam Domurad <adomurad@redha .com>
Presen more informa ion in unsigned apple confirma ion.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies
(SRememberCodebase): Add codebase parame er.
(SUnsignedDe ail): Change layou , add documen base parame er.
* ne x/ne /sourceforge/jnlp/securi y/UnsignedApple Trus WarningPanel.java
(se upInfoPanel): Pass documen base o SUnsignedDe ail.
(crea eCheckBoxPanel): Ensure lef -alignmen .
(crea eBu onPanel): Less spacing above bu on.
2013-04-12 Jiri Vanek <jvanek@redha .com>
Added help for ex ended apple s securi y and se ings
* ne x/ne /sourceforge/jnlp/con rolpanel/UnsignedApple sTrus ingLis Panel:
(helpBu onAc ionPerformed) added code o open dialogue wi h help
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ie:
Included h ml help message
* ne x/ne /sourceforge/jnlp/securi y/UnsignedApple Trus WarningPanel.java:
added help bu on and logic o open help dialogue
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/Ex endedApple Securi yHelp.java:
Simple dialogue wi h JEdi orPane wi h h ml help from proper ies and few
naviga ion bu ons
* NEWS: men ioned ex ended appel s securi y
2013-04-12 Jiri Vanek <jvanek@redha .com>
Added dialogue o allow se ing of cus om JRE
* launcher/i web-se ings.in: and
* launcher/javaws.in: check for cus om jre less s ric
* ne x/ne /sourceforge/jnlp/config/Defaul s.java:made aware of
deploymen .jre.dir cons an
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java: added
KEY_JRE_DIR= "deploymen .jre.dir" cons an , user file occurrences ex rac ed
o USER_DEPLOYMENT_PROPERTIES_FILE.
* ne x/ne /sourceforge/jnlp/con rolpanel/Con rolPanel.java: used valida ion
of jdk when saving proper ies
* ne x/ne /sourceforge/jnlp/con rolpanel/JVMPanel.java: added ex -field
o se JVM direc ory, friendly wi h logic and valida ion.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: added messages
o JVM selec ion and valida ion.
* ne x/ne /sourceforge/jnlp/u il/S reamU ils.java: (readS reamAsS ring)
new u ili y me hod.
* NEWS: men ioned selec -able JVM
2013-04-11 Adam Domurad <adomurad@redha .com>
Remove legacy suppor for he old version of NPAPI.
* plugin/iced eanp/IcedTeaNPPlugin.cc: Remove if direc ives for old
version of NPAPI.
* plugin/iced eanp/IcedTeaNPPlugin.h: Same
* plugin/iced eanp/IcedTeaPluginReques Processor.cc: Same
* plugin/iced eanp/IcedTeaPluginReques Processor.h: Same
* plugin/iced eanp/IcedTeaPluginU ils.cc: Same
* plugin/iced eanp/IcedTeaPluginU ils.h: Same
* plugin/iced eanp/IcedTeaRunnable.h: Same
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .h: Same
2013-04-11 Adam Domurad <adomurad@redha .com>
Allow remembering apple confirma ion for whole codebase.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
Added SRememberApple Only, SRememberCodebase messages
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogs.java
(showUnsignedWarningDialog): Use UnsignedWarningAc ion
* ne x/ne /sourceforge/jnlp/securi y/UnsignedApple Trus WarningDialog.java
(UnsignedApple Trus WarningDialog): Use UnsignedWarningAc ion
* ne /sourceforge/jnlp/securi y/UnsignedApple Trus WarningPanel.java:
In roduce UnsignedWarningAc ion, add addi ional confirma ion choices
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/UnsignedApple Trus Confirma ion.java:
Suppor remembering ac ion for en ire codebase.
2013-04-10 Jana Fabrikova <jfabriko@redha .com>
* / es s/reproducers/simple/JSToJFuncResol/ es cases/JSToJFuncResolTes .java:
adding 11 es cases based on he in erac ive Liveconnec JS->Java
overloaded func ion resolu ion es s, es s wi h JSObjec were already
included
* / es s/reproducers/simple/JSToJFuncResol/srcs/JSToJFuncResol.java:
he apple whose me hods are invoked from JS during he es s
* / es s/reproducers/simple/JSToJFuncResol/resources/JSToJava_FuncResol.js:
he JavaScrip code for calling he apple me hods from JS
* / es s/reproducers/simple/JSToJFuncResol/resources/js oj-funcresol.jnlp:
java ne work launch pro ocol file for displaying apple in he h ml
page
* / es s/reproducers/simple/JSToJFuncResol/resources/JSToJFuncResol.h ml:
he h ml page wi h java apple embedded, displayed in browser during
he es s
2013-04-10 Jana Fabrikova <jfabriko@redha .com>
* / es s/reproducers/simple/JToJSFuncRe urn/ es cases/JToJSFuncRe urnTes .java:
adding 5 es cases based on he in erac ive Liveconnec JS->Java
func ion re urn ype es s
* / es s/reproducers/simple/JToJSFuncRe urn/srcs/JToJSFuncRe urn.java:
he apple ha calls JS func ions
* es s/reproducers/simple/JToJSFuncRe urn/resources/JToJS_FuncRe urn.js:
auxiliary JavaScrip code
* / es s/reproducers/simple/JToJSFuncRe urn/resources/j ojs-funcre urn.jnlp:
jnlp file for displaying apple in he h ml page
* / es s/reproducers/simple/JToJSFuncRe urn/resources/JToJSFuncRe urn.h ml:
he h ml page where he apple calling JS func ions is embedded
2013-04-08 Jiri Vanek <jvanek@redha .com>
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/browsers/Epiphany.java:
Removed good --sm-clien -disable swi ch. No longer suppor ed by epiphany
2013-04-04 Jiri Vanek <jvanek@redha .com>
Plugin is now honoring he cus om jre
* launcher/i web-se ings.in :
* launcher/javaws.in:
In case ha cus om jre do no exis s, complains, and use defaul ra her
* plugin/iced eanp/IcedTeaNPPlugin.cc: (ge _plugin_execu able) and
(ge _plugin_r _jar) now ries o re urn cus om values before re urning he
defaul one.
2013-04-03 Jana Fabrikova <jfabriko@redha .com>
* / es /reproducers/simple/Javascrip FuncParam/ es cases/Javascrip FuncParamTes .java:
added anno a ion KnownToFail in googleChrome and chromiumBrowser o
he me hod (Apple JToJSFuncParam_JSObjec _Tes )
* / es /reproducers/simple/Javascrip Ge / es cases/Javascrip Ge Tes .java:
added anno a ion KnownToFail in midori, epiphany, googleChrome
and chromiumBrowser o he me hods (Apple JToJSGe _1DArray_Tes )
and (Apple JToJSGe _2DArray_Tes )
2013-04-03 Jana Fabrikova <jfabriko@redha .com>
* / es s/ es -ex ensions/ne /sourceforge/jnlp/anno a ions/KnownToFailInBrowsers.java:
he implemen a ion of new anno a ion, which has an array of
browsers of ype Browsers[] named failsIn
* / es s/juni -runner/Juni LikeXmlOu pu Lis ener.java:
in me hod ( es Done) he es cases ha are known o fail in
curren browser are de ec ed in addi ion o he es s ha are
k2f in all browsers
* / es s/juni -runner/LessVerboseTex Lis ener.java:
added me hod (ge K2FinB) reading he anno a ion,
in me hod (prin K2F) he es cases ha are known o fail in
curren browser are de ec ed in addi ion o he es s ha are
k2f in all browsers
2013-03-28 Adam Domurad <adomurad@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/UnsignedApple Trus Confirma ion.java
(normalizeUrlAndS ripParams): Moved.
* ne x/ne /sourceforge/jnlp/u il/UrlU ils.java
(normalizeUrlAndS ripParams): New, moved from
UnsignedApple Trus Confirma ion.
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/UnsignedApple Trus Confirma ionTes .java
( es NormalizeUrlAndS ripParams): Moved.
* es s/ne x/uni /ne /sourceforge/jnlp/u il/UrlU ilsTes .java:
New, has ( es NormalizeUrlAndS ripParams) from
UnsignedApple Trus Confirma ionTes .
2013-03-22 Jiri Vanek <jvanek@redha .com>
Added code o parse proper ies and o find correc configura ion files
from c++ par of plugin
* Makefile.am: IcedTeaParseProper ies.cc added o be compiled wi h res
of plugin
* plugin/iced eanp/IcedTeaParseProper ies.cc: new file, con ains implemen a ion
for searching for config files and o read value from hem
* plugin/iced eanp/IcedTeaParseProper ies.h: public api for "library"
* plugin/iced eanp/IcedTeaPluginU ils.cc:
* plugin/iced eanp/IcedTeaPluginU ils.h: added new me hods ( rim) and
(file_exis s)
* es s/cpp-uni - es s/IcedTeaParseProper iesTes .cc: es s for library me hods
* es s/cpp-uni - es s/IcedTeaPluginU ilsTes .cc: added es s for new me hods
2013-03-28 Adam Domurad <adomurad@redha .com>
Don' in errup worker/consumer hreads (can preven shu down code from
execu ing); ins ead use Objec wai /no ify me hods.
* plugin/iced eanp/java/sun/apple /PluginMessageConsumer.java
(no ifyHasWork): Replacemen for hread in errup ion
(wai ForWork): Replacemen for hread sleeping
(run): Use wai ForWork ins ead of Thread.sleep
(no ifyWorkerIsFree): Removed -- misleading me hod.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(message): Make vola ile, as i should have always been.
(no ifyHasWork): Replacemen for hread in errup ion
(wai ForWork): Replacemen for hread sleeping
(run): Use wai ForWork ins ead of Thread.sleep
(ge Permissions): avoid po en ial NPE if code source loca ion is
missing
(free): Remove reference o no ifyWorkerIsFree.
2013-03-26 Adam Domurad <adomurad@redha .com>
In egra ion of unsigned apple confirma ion dialogue.
* ne x/ne /sourceforge/jnlp/PluginBridge.java
(ge ArchiveJars): New, re urns archive jars as lis
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
Confirma ion messages added o proper ies file
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ge Ins ance): Ini ializa ion refac ored in o crea eIns ance
(crea eIns ance): New, checks if unsigned apple is allowed,
ini ializes classloader.
(ini ializeResources): Don' consider no-jar apple s signed.
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogs.java
(showUnsignedWarningDialog): Crea es message wi h
DialogType.UNSIGNED_WARNING
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialog.java
(ins allPanel): Add case for DialogType.UNSIGNED_WARNING
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/UnsignedApple Ac ionS orage.java:
Expose locking members from in erface
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
(handleIni ializa ionMessage): Do no hing if apple s have been
disabled.
* ne x/ne /sourceforge/jnlp/securi y/UnsignedApple Trus WarningDialog.java:
New, securi y dialog ha asks for unsigned apple confirma ion.
* ne x/ne /sourceforge/jnlp/securi y/UnsignedApple Trus WarningPanel.java:
Implemen s he dialog con en s for unsigned apple confirma ion.
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/UnsignedApple Trus Confirma ion.java:
Upda es and checks apple confirma ion s orage, crea es warning dialog
if required.
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/UnsignedApple Trus Confirma ionTes .java:
New, es s rela ive & normalized pa h crea ion helpers.
2013-03-26 Jiri Vanek <jvanek@redha .com>
Pa h valida or fixed o be correc ly mul ipla form
* ne x/ne /sourceforge/jnlp/config/BasicValueValida ors.java :
(FilePa hValida or) now check absolu e file by File.isAbsolu e() ins ead
of by plain "/".
* es s/ne x/uni /ne /sourceforge/jnlp/config/BasicValueValida orsTes s.java :
New file o es new func ionali y.
2013-03-25 Jana Fabrikova <jfabriko@redha .com>
* es s/reproducers/simple/Javascrip FuncRe urn/ es cases/Javascrip FuncRe urnTes .java
adding 5 es cases for es ing calling javascrip func ions wi h
various re urn ypes from java
* es s/reproducers/simple/Javascrip FuncRe urn/resources/Javascrip FuncRe urn.h ml
he h ml page for displaying browser es s
* es s/reproducers/simple/Javascrip FuncRe urn/resources/Javascrip _FuncRe urn.js
auxiliary javascrip func ions
* es s/reproducers/simple/Javascrip FuncRe urn/resources/javascrip -funcre urn.jnlp
jnlp file for embedding apple in he h ml page
* es s/reproducers/simple/Javascrip FuncRe urn/srcs/Javascrip FuncRe urn.java
he apple ha calls javascrip func ions
2013-03-25 Jana Fabrikova <jfabriko@redha .com>
* es s/reproducers/simple/Javascrip Se / es cases/Javascrip Se Tes .java
adding 21 es cases for es ing se ing javascrip variables from java
* es s/reproducers/simple/Javascrip Se /resources/Javascrip Se .h ml
he h ml page for displaying browser es s
* es s/reproducers/simple/Javascrip Se /resources/Javascrip _Se .js
auxiliary javascrip func ions
* es s/reproducers/simple/Javascrip Se /resources/javascrip -se .jnlp
jnlp file for embedding apple in he h ml page
* es s/reproducers/simple/Javascrip Se /srcs/Javascrip Se .java
he apple ha se s javascrip variables
2013-03-25 Jana Fabrikova <jfabriko@redha .com>
* es s/reproducers/simple/Javascrip Ge / es cases/Javascrip Ge Tes .java
adding 7 new es cases for reading JS values from Java
* es s/reproducers/simple/Javascrip Ge /resources/Javascrip Ge .h ml
he h ml page for displaying browser es s
* es s/reproducers/simple/Javascrip Ge /resources/Javascrip _Ge .js
auxiliary javascrip func ions
* es s/reproducers/simple/Javascrip Ge /resources/javascrip -ge .jnlp
jnlp file for embedding he apple in he h ml page
* es s/reproducers/simple/Javascrip Ge /srcs/Javascrip Ge .java
he apple ha reads values from javascrip
2013-03-25 Jana Fabrikova <jfabriko@redha .com>
* es s/reproducers/simple/Javascrip FuncParam/ es cases/Javascrip FuncParamTes .java
adding 19 es cases for calling javascrip func ions from java wi h
parame ers of various ypes
* es s/reproducers/simple/Javascrip FuncParam/resources/Javascrip FuncParam.h ml
he h ml page for displaying browser es s
* es s/reproducers/simple/Javascrip FuncParam/resources/javascrip -funcparam.jnlp
jnlp file for embedding he apple in h ml page
* es s/reproducers/simple/Javascrip FuncParam/srcs/Javascrip FuncParam.java
he apple ha calls func ions from javascrip
2013-03-22 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/java/sun/apple /PluginParame erParser.java
(isIn ): Rever behaviour o ca ching NumberForma Excep ion
2013-03-22 Adam Domurad <adomurad@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(findClass): Prin s ack race for ClassForma Error
2013-03-22 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/impl/UnsignedApple Ac ionS orageImpl.java:
(isMa ching) is now ignring archives if emp y.
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/impl/UnsignedApple Ac ionS orageImplTes .java:
es s adap ed and enriched for new archives processing.
2013-03-21 Jiri Vanek <jvanek@redha .com>
Launchers made aware of cus om se JRE
* launcher/i web-se ings.in:
* launcher/javaws.in:
are now scanning ~/.iced ea/deploymen .proper ies and
/e c/.java/.deploy/deploymen .proper ies for deploymen .jre.dir proper y.
If found, hen i s java and r .jar are used o launch applica ions.
2013-03-20 Jana Fabrikova <jfabriko@redha .com>
* es s/reproducers/simple/JSToJGe / es cases/JSToJGe Tes .java:
adding few lines for no running es in Opera
* es s/reproducers/simple/JSToJSe / es cases/JSToJSe Tes .java:
adding few lines for no running es in Opera
* es s/reproducers/simple/JSToJFuncParam/ es cases/JSToJFuncParamTes .java:
adding few lines for no running es in Opera
* es s/reproducers/simple/JSToJTypeConv/ es cases/JSToJTypeConvTes .java:
adding few lines for no running es in Opera
2013-03-20 Jiri Vanek <jvanek@redha .com>
All occurences of hardcoded pa hs o java repalced by call of func ions
* plugin/iced eanp/IcedTeaNPPlugin.cc: (apple viewer_execu able) renamed
o (apple viewer_defaul _execu able). (apple viewer_defaul _r jar) new
variable o keep defaul r .jar pa h.
(ge _plugin_execu able) and (s ring ge _plugin_r _jar) new func ions,
re urniong he defaul variables for now.
2013-03-19 Adam Domurad <adomurad@redha .com>
* Makefile.am
(CPP_UNITTEST_EXECUTABLE): Add -lr & -lp hread flags, which do no
seem o be brough in on all sys ems.
2013-03-13 Jiri Vanek <jvanek@redha .com>
* NEWS: men ioned de ransla ion
* AUTHORS: added Jacob Wisor
2013-03-13 Jiri Vanek <jvanek@redha .com>
Jacob Wisor <gi ne@exci e.co.jp>
Fixed s range sen ences in defaul locales bundle.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
2013-03-13 Jiri Vanek <jvanek@redha .com>
Added es s for German i18n
* es s/reproducers/simple/LocalesTes / es cases/LocalesTes Tes .java:
Enhanced o es also German localiza ion .
* es s/ne x/uni /ne /sourceforge/jnlp/resources/MessagesProper iesTes .java:
Enhanced o handle de messages and be prepared for locales wi h one language
bu differen na ions.
2013-03-13 Jiri Vanek <jvanek@redha .com>
Jacob Wisor <gi ne@exci e.co.jp>
Added ini ial German localiza ion
* ne x/ne /sourceforge/jnlp/resources/Messages_de.proper ies:
New file wi h German proper ies
2013-03-05 Adam Domurad <adomurad@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(closeS ream): Remove.
(verifySignedJNLP): Make use of S reamU ils ins ead.
* ne x/ne /sourceforge/jnlp/u ils/S reamU ils.java
(closeSilen ly): New me hod.
2013-02-28 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/config/Securi yValueValida or.java: modifed
null check - no considered as correc value as being valid value in run ime.
2013-02-27 Jiri Vanek <jvanek@redha .com>
Added backend and se ings for ex ended apple securi y
* ne x/ne /sourceforge/jnlp/config/Defaul s.java: deploymen .securi y.level
added o defaul s wi h i s valida or
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java: Added
deploymen .securi y.level (KEY_SECURITY_LEVEL)key and
.apple Trus Se ings (APPLET_TRUST_SETTINGS)filename wi h ge ers
* ne x/ne /sourceforge/jnlp/config/Securi yValueValida or.java:
Simple valida or for value of deploymen .securi y.level based on parsing
in Apple Securi yLevel.fromS ring
* ne x/ne /sourceforge/jnlp/con rolpanel/Con rolPanel.java:
Incorpora ed UnsignedApple sTrus ingLis Panel panel
* ne x/ne /sourceforge/jnlp/con rolpanel/UnsignedApple Ac ionTableModel.java:
Backend for main ables in UnsignedApple sTrus ingLis Panel
* ne x/ne /sourceforge/jnlp/con rolpanel/UnsignedApple sTrus ingLis Panel.java:
GUI for manipula e he deploymen .securi y.level values and con en of
.apple Trus Se ings files
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
Added keys and values for new; user visible, s rings
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/Apple Securi yLevel.java:
Objec represen a ion of deploymen .securi y.level value
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/Apple S ar upSecuri ySe ings.java:
En rance single on for curren deploymen .securi y.level policy and records.
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/Execu eUnsignedApple .java:
Objec represen a ion of ac ion upon record in .apple Trus Se ings
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/UnsignedApple Ac ionEn ry.java:
Objec represen a ion of one i em in .apple Trus Se ings
.apple Trus Se ings by i w (excep se ings par )
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/UnsignedApple Ac ionS orage.java
Minimal se of func ionali y reques ed for accessing he
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/UrlRegEx.java
Simple class which should help o dis inguish be ween plain S ring
and S ring keeping UrlRegex
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/impl/UnsignedApple Ac ionS orageEx endedImpl.java:
Ex ended implemen a ion of UnsignedApple Ac ionS orageImpl which have
addi ional "for se ings" func ionali y
* ne x/ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/impl/UnsignedApple Ac ionS orageImpl.java:
Objec represen a ion of.apple Trus Se ings file. I Should be mul i- hread/app safe and
should be always ac ual. Based on LockingReaderWri er.
* ne x/ne /sourceforge/jnlp/u il/lockingfile/LockedFile.java:
U ili y class wi h func ionali y o lock file in mu i-app/ hread environmen
* ne x/ne /sourceforge/jnlp/u il/lockingfile/LockingReaderWri er.java:
U ili y class wi h func ionali y o lock file during reading/wri ing
in mu i-app/ hread environmen
* ne x/ne /sourceforge/jnlp/u il/lockingfile/S orageIoExcep ion.java:
Wrapper for common, bu rare IOExcep ion ex ending Run imeExcep ionaround
for LockingReaderWri er o avoid numerous declara ions.
* es s/ne x/uni /ne /sourceforge/jnlp/securi y/apple ex endedsecuri y/impl/UnsignedApple Ac ionS orageImplTes .java:
Tes s of main me hods in UnsignedApple Ac ionS orageImplTes focused on ma ching
* es s/ne x/uni /ne /sourceforge/jnlp/u il/lockingfile/LockingReaderWri erTes .java:
Tes s of mul i hread read/wri e o LockingReaderWri er
2013-02-25 Adam Domurad <adomurad@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
(crea eIns ance): Ex rac ini ializa ion logic from 'ge Ins ance' in o
new 'crea eIns ace' me hod.
(ge Ins ance): Call newly in roduced crea eIns ance me hod.
2013-02-25 Jiri Vanek <jvanek@redha .com>
Removed unused legacy-launcher sources
* launcher/java.c:
* launcher/java.h:
* launcher/java_md.c:
* launcher/java_md.h:
* launcher/jli_u il.c:
* launcher/jli_u il.h:
* launcher/jni.h:
* launcher/jni_md.h:
* launcher/jvm.h:
* launcher/jvm_md.h:
* launcher/manifes _info.h:
* launcher/parse_manifes .c:
* launcher/splashscreen.h:
* launcher/splashscreen_s ubs.c:
* launcher/version_comp.c:
* launcher/version_comp.h:
* launcher/wildcard.c:
* launcher/wildcard.h:
Happily removed
2013-02-21 Adam Domurad <adomurad@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ge Permissions): avoid po en ial NPE if code source loca ion is
missing
2013-02-14 Adam Domurad <adomurad@redha .com>
PR835: javaws leaks connec ions
Uses HEAD reques s if possible for es ing URLs. Adds name o download
hreads.
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java:
(s ar Thread): Add name o download hread
(ge ResourceUrlResponseCode): Ge or fake an HTTP response code.
(findBes Url): Use ge ResourceUrlResponseCode o firs ry a HEAD
reques . Fall-back o GET rques .
* ne x/ne /sourceforge/jnlp/u ils/S reamU ils.java:
New file, con ains u ili y for consuming inpu s ream.
2013-02-14 Adam Domurad <adomurad@redha .com>
* es s/ es -ex ensions/ne /sourceforge/jnlp/TinyH pdImpl.java:
Suppor HEAD reques s.
2013-02-13 Adam Domurad <adomurad@redha .com>
Fix PR580: h p://www.horaoficial.cl/ loads improperly. Apple s ha
mus share a class-loader now load sequen ially.
* NEWS:
Men ion he fix.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ge UniqueKeyLock): New, a omically grabs or crea es a lock for he
unique key.
(ge Ins ance): Ensure classloader ini ializa ion is locked by unique
key.
(decremen LoaderUseCoun ): Ensure classloader deini ializa ion is
locked by unique key, ge rid of no-longer used locks.
2013-02-13 Jiri Vanek <jvanek@redha .com>
Added es for hanging firefox by LaunchExcep ion and Improved AddShu downHookTes
* es s/reproducers/simple/AddShu downHook/resources/AddShu downHook.h ml:
new file o launch apple wi h Run imeExcep ion as resul .
* es s/reproducers/simple/AddShu downHook/resources/AddShu downHook_wrong.h ml:
new file o launch apple wi h LaunchExcep ion as resul .
* es s/reproducers/simple/AddShu downHook/srcs/AddShu downHook.java: is
now also apple .
* es s/reproducers/simple/AddShu downHook/ es cases/AddShu downHookTes .java:
Added es (AddShu downHookApple )for apple , removed duplica e code by rules.
* es s/reproducers/simple/AddShu downHook/ es cases/HangFirefoxTes s.java:
New es se which is launching excep ion hrowing apple , and af er excep ion
is hrown hen i ries jsu s dou-ing apple . Second apple have o be
launched.
2013-02-12 Jana Fabrikova <jfabriko@redha .com>
* / es s/reproducers/simple/JSToJFuncParam/ es cases/JSToJFuncParamTes .java:
adding 19 es cases - 18 based on he in erac ive Liveconnec JS->Java
func ion parame er es s, 1 addi ional es case for passing parame ers
of ype JSObjec (from JS o Java)
* / es s/reproducers/simple/JSToJFuncParam/srcs/JSToJFuncParam.java:
he apple whose me hods are invoked from JS during he es s
* / es s/reproducers/simple/JSToJFuncParam/resources/JSToJava_FuncParam.js:
he JavaScrip code for calling he apple me hods from JS
* / es s/reproducers/simple/JSToJFuncParam/resources/js oj-funcparam.jnlp:
JNLP file for displaying apple in he HTML page
* / es s/reproducers/simple/JSToJFuncParam/resources/JSToJFuncParam.h ml:
he h ml page wi h java apple embedded, displayed in browser during
he es s
2013-02-12 Jana Fabrikova <jfabriko@redha .com>
* / es s/reproducers/simple/JSToJTypeConv/ es cases/JSToJTypeConvTes .java:
adding 50 es cases based on he in erac ive Liveconnec
JS->Java ype conversion es s and 4 es cases for se ing
java boolean and Boolean variables o nonemp y s rings
* / es s/reproducers/simple/JSToJTypeConv/srcs/JSToJTypeConv.java:
he apple whose variables are se from JS during he es s
* / es s/reproducers/simple/JSToJTypeConv/resources/JSToJava_TypeConv.js:
he JavaScrip code for se ing he apple variables from JS
* / es s/reproducers/simple/JSToJTypeConv/resources/js oj- ypeconv.jnlp:
JNLP file for displaying apple in he h ml page
* / es s/reproducers/simple/JSToJTypeConv/resources/JSToJTypeConv.h ml:
he h ml page wi h java apple embedded, displayed in browser
during he es s
2013-02-07 Adam Domurad <adomurad@redha .com>
Ensure apple des ruc ion canno in he middle of ini ializa ion.
* ne x/ne /sourceforge/jnlp/Ne xPanel.java
(des royApple ): wai for apple ini ializa ion
missing
2013-02-06 Jana Fabrikova <jfabriko@redha .com>
* / es s/reproducers/simple/JSToJSe / es cases/JSToJSe Tes .java:
adding 1 es case se ing apple s variable of ype JSObjec from JS,
adding KnownToFail ano a ion and @Bug anno a ion wi h id=PR1298 o
(Apple JSToJSe _in ArrayElemen _Tes ) and
(Apple JSToJSe _DoubleArrayElemen _Tes ) me hods
* / es s/reproducers/simple/JSToJSe /resources/JSToJava_Se .js:
adding he JSObjec case o (doSe Tes s) func ion
* / es s/reproducers/simple/JSToJSe /srcs/JSToJSe .java:
adding he JSObjec variable o he apple and modifying
(prin NewValueAndFinish) me hod in order o ou pu new values
of JSObjec variable
2013-02-06 Jana Fabrikova <jfabriko@redha .com>
* / es s/reproducers/simple/JSToJGe /resources/JSToJGe .h ml:
adding 1 es case reading apple s variable of ype JSObjec from JS
* / es s/reproducers/simple/JSToJGe / es cases/JSToJGe Tes .java:
adding 1 es case reading apple s variable of ype JSObjec from JS,
small changes o evalua ion of he apple 's s dou me hods, removing
KnownToFail ano a ion from (Apple JSToJGe _DoubleFullArray_Tes ) me hod
* / es s/reproducers/simple/JSToJGe /resources/JSToJ_auxiliary.js:
removing par s of commen ha are no longer rue
* / es s/reproducers/simple/JSToJGe /resources/JSToJava_Ge .js:
adding ( es _ge _JSObjec ) func ion also o he JS par of es
* / es s/reproducers/simple/JSToJGe /srcs/JSToJGe .java:
adding he JSObjec variable o he apple
2013-02-06 Adam Domurad <adomurad@redha .com>
Name hreads for easier debugging/ ooling. Remove 2 erroneous
VoidPluginCallReques header commen s.
* ne x/ne /sourceforge/jnlp/Ne xPanel.java:
Provide name for hread ha calls (run).
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java:
Provide name for shu down hook hread.
* plugin/iced eanp/java/sun/apple /PluginMessageConsumer.java:
Remove erroneous VoidPluginCallReques commen . Provide name for
ConsumerThread hread.
* plugin/iced eanp/java/sun/apple /PluginMessageHandlerWorker.java:
Provide name for worker hread.
* plugin/iced eanp/java/sun/apple /PluginS reamHandler.java:
Remove erroneous VoidPluginCallReques commen . Provide name for
s ream lis ener hread.
2013-02-03 Jiri Vanek <jvanek@redha .com>
Ano her renamed conflic file for case insensi ive sys ems
* es s/reproducers/simple/Coun ingApple 1/resources/ParallelApple sTes _1E_x_2s.h ml
Renamed o ParallelApple sTes _1_x_2EE.h ml
* es s/reproducers/simple/Coun ingApple 1/resources/ParallelApple sTes _1EE_x_2s.h ml
new file.
* es s/reproducers/simple/Coun ingApple 1/ es cases/ParallelApple sTes .java:
( es ParallelApple sTes 1Ex2s) adap ed o renaming
2013-01-31 Jiri Vanek <jvanek@redha .com>
Renamed conflic file for case insensi ive sys ems
* es s/reproducers/simple/Coun ingApple 1/resources/ParallelApple sTes _1_x_2E.h ml:
Renamed o ParallelApple sTes _1_x_2EE.h ml
* es s/reproducers/simple/Coun ingApple 1/resources/ParallelApple sTes _1_x_2EE.h ml:
new file.
* es s/reproducers/simple/Coun ingApple 1/ es cases/ParallelApple sTes .java:
( es ParallelApple sTes 1x2E) adap ed o renaming
2013-01-30 Jiri Vanek <jvanek@redha .com>
Add uni es s for locales and locales fixed
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
* ne x/ne /sourceforge/jnlp/resources/Messages_cs_CZ.proper ies:
Added missing, filled emp y and removed dangling i ems
* es s/ne x/uni /ne /sourceforge/jnlp/resources/MessagesProper iesTes .java:
New uni es for missing, emp y, duplica e or dangling locales.
2013-01-30 Adam Domurad <adomurad@redha .com>
Fix for PR1292: Javaws does no resolve versioned jar names wi h
periods correc ly
* ne x/ne /sourceforge/jnlp/cache/ResourceUrlCrea or.java
(ge Url): Fix versioning of jar names ha have periods, eg
'foo.bar.jar'. Make me hod s a ic for es ing.
* es s/ne x/uni /ne /sourceforge/jnlp/cache/ResourceUrlCrea orTes .java:
New, es version & pack URL encoding.
* es s/reproducers/simple/VersionedJar__V1/resources/VersionedJarDisabled.jnlp:
New, ries o use versioned jar wi h versioning no urned on.
* es s/reproducers/simple/VersionedJar__V1/resources/VersionedJarEnabled.jnlp:
New, ries o use versioned jar wi h versioning urned on.
* es s/reproducers/simple/VersionedJar__V1/srcs/VersionedJar.java:
New, prin s simple message.
* es s/reproducers/simple/VersionedJar__V1/ es cases/VersionedJarTes .java:
New, es s if VersionedJar has ran only wi h versioning urned on.
2013-01-30 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/splashscreen/par s/JEdi orPaneBasedExcep ionDialog.java:
I era ion over launchExcep ionChain done by poin er/ge ins ead by i era or
o preven Concurren Modifica ionExcep ion.
2013-01-30 Jiri Vanek <jvanek@redha .com>
Splashscreen error repor made more de ailed by s ored LaunchErrors
* ne x/ne /sourceforge/jnlp/LaunchExcep ion.java: (LaunchExcep ionWi hS amp)
new inner class for s oring imes amp oge ehr wi h error.
(launchExcep ionChain) new s a ic lis o cap ure LaunchErrors during
run ime.
* /ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
* ne x/ne /sourceforge/jnlp/resources/Messages_cs_CZ.proper ies:
Added explana ion s ring
* ne x/ne /sourceforge/jnlp/splashscreen/par s/JEdi orPaneBasedExcep ionDialog.java:
Is now displaying launchExcep ionChain in i s error repor and is copying
i o clipboard.
* es s/uni /ne /sourceforge/jnlp/splashscreen/par s/JEdi orPaneBasedExcep ionDialogTes .java:
(ge Tex Tes ) adap ed calls of ge Tex for new Da e.
2013-01-28 Adam Domurad <adomurad@redha .com>
Fix PR1157: Apple s can hang browser af er fa al excep ion
* NEWS: Add en ry for PR1157
* ne x/ne /sourceforge/jnlp/Ne xPanel.java
(runLoader): Move dispa chApple Even in o a 'finally' block.
2013-01-16 Deepak Bhole <dbhole@redha .com>
PR1260: IcedTea-Web should no rely on GTK
* Makefile.am: Remove GTK includes and links
* acinclude.m4: Remove check for GTK libs
* plugin/iced eanp/IcedTeaJavaReques Processor.h: Removed g k.h include
and added unis d include (for usleep) which g k.h brough in before
* plugin/iced eanp/IcedTeaNPPlugin.cc: Remove GTK dialog shown when java
is no found
* plugin/iced eanp/IcedTeaNPPlugin.h: Removed g k.h include
2013-01-16 Jiri Vanek <jvanek@redha .com>
Fixed se of pa hs o asm
* configure.ac: (IT_FIND_OPTIONAL_JAR([asm], ASM,) pa h enhanced by
objec web-asm4/asm-all.jar.
2013-01-15 Adam Domurad <adomurad@redha .com>
Uni es for PluginApple Securi yCon ex # oObjec IDS ring. Make
PluginApple Securi yCon ex more uni - es able.
* plugin/iced eanp/java/sun/apple /PluginApple Securi yCon ex .java:
Don' ini ialize securi y manager in cons ruc or. Fix a few Java->JS
corner cases.
* plugin/iced eanp/java/sun/apple /PluginMain.java: Crea e es ing-only
cons ruc or for bypassing ini ializa ion of Securi yManager.
* es s/ne x/uni /sun/apple /PluginApple Securi yCon ex Tes .java:
Uni es for all he corner cases of conver ing a Java objec o a
s ring ha can be precisely iden ified.
2013-01-15 Adam Domurad <adomurad@redha .com>
Fix PR1198: JSObjec passed incorrec ly o Javascrip
* plugin/iced eanp/IcedTeaJavaReques Processor.cc: Pass ex ra da a for
'jsobjec ' objec resul messages.
* plugin/iced eanp/IcedTeaPluginReques Processor.cc: Same.
* plugin/iced eanp/IcedTeaPluginU ils.cc: Add special casing of
javascrip references passed from java.
* plugin/iced eanp/java/ne scape/javascrip /JSObjec UnboxPermission.java:
New permission for unboxing a JSObjec 's in ernal reference.
* plugin/iced eanp/java/ne scape/javascrip /JSObjec .java
(ge In ernalReference): New, package-priva e, re rieves in ernal
reference (Mus have proper permission).
* plugin/iced eanp/java/ne scape/javascrip /JSU il.java
(ge JSObjec In ernalReference) New, u ili y for accessing
JSObjec #ge In ernalReference from ou side he package.
* plugin/iced eanp/java/sun/apple /PluginApple Securi yCon ex .java:
( oObjec IDS ring): New, crea es a s ring ha precisely iden ifies a
Java objec .
(handleMessage): Replace a lo of duplica ed func ionali y wi h
' oObjec IDS ring'.
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java: Replace
duplica ed func ionali y wi h ' oObjec IDS ring'.
* es s/reproducers/simple/JSObjec FromEval/srcs/JSObjec FromEval.java:
Don' prin ou ype passed (differs from browser o browser).
* es s/reproducers/simple/JSObjec FromEval/ es cases/JSObjec FromEvalTes .java:
Don' check ype passed (differs from browser o browser). Remove
known- o-fail. Reforma .
2013-01-10 Jiri Vanek <jvanek@redha .com>
Download indica or made compac for more hen one jar
* NEWS: men ioned his fea ure
* ne x/ne /sourceforge/jnlp/cache/Defaul DownloadIndica or.java:
(DownloadPanel) inner class were rewri en o suppor collapsed/de ailed
for more hen one jar in queue.
(frame) window is recrea ed each ime s a e is changed (preven ing errors
on some X configura ions) and is posi ioned o lower lef corner of
ac ive screen.
* ne x/ne /sourceforge/jnlp/resources/hideDownloadDe ails.png
* adding ne x/ne /sourceforge/jnlp/resources/showDownloadDe ails.pn h
Icons for " o collapsed s a e" and " o de ailed s a e"
2013-01-10 Jiri Vanek <jvanek@redha .com>
All IcedTea-Web dialogues are cen ered o middle of ac ive screen
* NEWS: men ioned his fea ure
* ne x/ne /sourceforge/jnlp/JNLPSplashScreen.java:
* ne x/ne /sourceforge/jnlp/con rolpanel/AdvancedProxySe ingsDialog.java:
* ne x/ne /sourceforge/jnlp/con rolpanel/CacheViewer.java:
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialog.java:
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica eViewer.java:
* ne x/ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/BasePain er.java:
Dialogues in above classes made cen ering o ac ive screen
* ne x/ne /sourceforge/jnlp/u il/ScreenFinder.java: New file, u ili y
class which can find ac ive moni or and cen er dialogue in o i .
2013-01-09 Jiri Vanek <jvanek@redha .com>
Firs par of fix of recrea ing desk op icon
* NEWS: men ioned PR725
* ne x/ne /sourceforge/jnlp/run ime/Applica ionIns ance.java:
(addMenuAndDesk opEn ries)added check for already exis ing icon
* ne x/ne /sourceforge/jnlp/u il/XDesk opEn ry.java: Added me hods for
digging he already exis ing icon from sys em
(ge Shor cu TmpFile) mpfile fo genera ing he desk op icon
(ge Desk opIconName) for ge ing filename from applica ion i le
(findFreedesk opOrgDesk opPa hCa ch) public me hod o find final desk op file
(findFreedesk opOrgDesk opPa h) o ge in o ~/.config/user-dirs.dirs
(ge Freedesk opOrgDesk opPa hFrom) o find XDG_DESKTOP_DIR value
(fil erQuo es) o handle simple quo a ions
(evalua eLinuxVariables) o handle possible variables in XDG_DESKTOP_DIR
value
* es s/ne x/uni /ne /sourceforge/jnlp/u il/XDesk opEn ryTes .java:
New es s focused on parsing of desk op loca ion from s ream (variables
and quo a ions)
2013-01-09 Jiri Vanek <jvanek@redha .com>
Logging me hods made synchronized
* es s/ es -ex ensions/ne /sourceforge/jnlp/LoggingBo leneck.java:
(processLogs) (ge Defaul LoggingBo leneck) (wri eXmlLog) (addToXmlLog)
(modifyMe hodWi hForBrowser) (se LoggedBrowser) (logIn oPlain ex Log)
made synchronised
2013-01-07 Deepak Bhole <dbhole@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Conver ed o
Unix forma .
2013-01-04 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Securi yCon ex .java:
Code-forma ing fixes and cosme ic changes.
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java:
Same.
* es s/reproducers/simple/JSObjec FromEval/srcs/JSObjec FromEval.java:
Same.
* es s/reproducers/simple/JSObjec FromEval/ es cases/JSObjec FromEvalTes .java:
Same.
2013-01-03 Adam Domurad <adomurad@redha .com>
Fix breakage in uni es CodeBaseClassLoaderTes . es Paren ClassLoaderIsAskedForClassesApplica ion
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(CodeBaseClassLoader#findClassNonRecursive): New, call in o
URLClassLoader#findClass
(CodeBaseClassLoader#findClass): Delega e JNLPClassLoader#findClass
(JNLPClassLoader#findClass): Call CodeBaseClassLoader#findClassNonRecursive
* es s/reproducers/cus om/Apple Ex endsFromOu sideJar/srcs/Apple ReferenceOu OfJar.java
(ini ): Add apple finish message.
* es s/reproducers/cus om/Apple Ex endsFromOu sideJar/ es cases/Apple Ex endsFromOu sideJarTes s.java
( es ClassInApple Folder): Close quickly on apple finish message.
2013-01-02 Jiri Vanek <jvanek@redha .com>
Fixed uni es for Informa ionElemen .
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/par s/Informa ionElemen Tes .java:
(crea eFromJNLP) now asser s No Null ins ead of IsNull as resul of
"Minor fix for possible NPE (non fa al) during splashscreen crea ion"
2012-12-21 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/IcedTeaNPPlugin.cc: Remove need for 'go o' in
(NP_Ini ialize). Check TMPDIR environmen variable for possible da a
direc ory. Expose some previously s a ic variables/func ions for uni
es ing purposes. Reduce need for explici alloca ions for s rings
'da a_direc ory' and 'apple viewer_execu able'.
* es s/cpp-uni - es s/IcedTeaNPPluginTes .cc:
Add some basic es s for func ions in IcedTeaNPPlugin.cc.
2012-12-21 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/Applica ionIns ance.java
(shouldCrea eShor cu ) added handling of x rus all during asking for
desk op icon crea ion
2012-12-21 Jiri Vanek <jvanek@redha .com>
Minor fix for possible NPE (non fa al) during splashscreen crea ion
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
* ne x/ne /sourceforge/jnlp/resources/Messages_cs_CZ.proper ies:
Added messages for user (SPLASHdefaul Homepage)
(SPLASHerrorInInforma ion)(SPLASHmissingInforma ion).
* ne x/ne /sourceforge/jnlp/splashscreen/par s/Informa ionElemen .java
(crea eFromJNLP) ca ch of NPE replaced by condi ions wi h proper messages.
2012-12-21 Jiri Vanek <jvanek@redha .com>
Forgo en condi ion for Avia ionWea her firs run:
* es s/reproducers/cus om/remo e/ es cases/Remo eApplica ionSe ings.java:
(Avia ionWea her) added condi ion for firs run when crea ion of
FileManager is wri en o s derr.
2012-12-20 Saad Mohammad <smohammad@redha .com>
* es s/ne x/uni /ne /sourceforge/jnlp/cache/ResourceTrackerTes .java:
Added es and changes o work be er wi h PR909 fix.
2012-12-20 Saad Mohammad <smohammad@redha .com>
Fix PR909 - URL is invalid af er normaliza ion.
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java (normalizeUrl):
Conver s he URL o an URI objec which handles all percen encodings.
2012-12-20 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .cc
(IcedTeaScrip ableJavaObjec ::deAlloca e): Fix memory leak
(IcedTeaScrip ableJavaPackageObjec ::deAlloca e): Fix memory leak
2012-12-20 Adam Domurad <adomurad@redha .com>
* es s/cpp-uni - es s/browser_mock.cc
(mock_re ainobjec ): New, mocks behaviour of NPAPI re ainobjec
(mock_releaseobjec ): New, mocks behaviour of NPAPI releaseobjec
* es s/cpp-uni - es s/main.cc: Add warning of memory leak based on
opera or-new.
* es s/cpp-uni - es s/IcedTeaScrip ablePluginObjec Tes .cc: New, es s
for memory leak in (IcedTeaScrip ableJavaObjec ::deAlloca e) and
(IcedTeaScrip ableJavaPackageObjec ::deAlloca e)
* es s/cpp-uni - es s/checked_alloca ions.h: Defines se ha does no
use opera or-new, o preven recursion in overloaded opera or-new
* es s/cpp-uni - es s/checked_alloca ions.cc: Opera or new overload
ha has alloca ion-se for querying live alloca ions.
2012-12-20 Jiri Vanek <jvanek@redha .com>
Added and applied Remo e anno a ion, added Remo e es s:
* es s/repor -s yles/jrepor .xsl: and
* es s/juni -runner/Juni LikeXmlOu pu Lis ener: and
* es s/juni -runner/LessVerboseTex Lis ener.java: added handling of
Remo e anno a ion
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/CodeBaseClassLoaderTes .java:
Tes s downloading from classpa h.org marked.
* es s/reproducers/cus om/remo e/ es cases/Remo eApplica ionSe ings.java:
new file, handling url and evalua ions of remo e reproducers
* es s/reproducers/cus om/remo e/ es cases/Remo eApplica ionTes s.java:
launcher for remo e es s.
* es s/ es -ex ensions/ne /sourceforge/jnlp/anno a ions/Remo e.java:
Implemen a ion of Remo e anno a ion
2012-12-18 Jiri Vanek <jvanek@redha .com>
Cleaned uni - es s:
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/CodeBaseClassLoaderTes .java:
(DummyJNLPFile) class ex rac ed from i s anonymous members o priva e
named member. Ge rid of repea ed me hods ( es ResourceLoad*Caching) and
replace i by ( es ResourceCaching) wi h parame er of full name and boolean
keeping i s expec ed exis ence and branching null asser on i . Added es s
( es ClassResourceLoadSuccessCachingApplica ion) and
( es ClassResourceLoadSuccessCachingApple ). ( es ResourceCaching) made
less vulnerable by found classes and more precise. All resources pa hs
fixed and clarified ( o be found or no )
2012-12-18 Jana Fabrikova <jfabriko@redha .com>
* / es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess.java:
Added several new versions of me hod (execu eBrowser) wi h lis s
of Con en ReaderLis eners as argumen s.
* / es s/ es -ex ensions/ne /sourceforge/jnlp/ProcessWrapper.java:
Added new versions of he (cons ruc or of ProcessWrapper) and me hods
(addS dOu Lis eners) and (addS dErrLis eners) for adding
Con en ReaderLis eners using Lis <Con en ReaderLis ener>
ins ead of one Con en ReaderLis ener as argumen .
Added a new version of (cons ruc or of ProcessWrapper) wi h
less argumen s ha is used ins ead of calling he cons ruc or
wi h several argumen s passed as null, hus causing ambigui y.
* / es s/reproducers/simple/SingeIns anceServiceTes / es cases/SingleIns anceTes .java:
Modified he call of (execu eBrowser) me hod wi h null argumen s
in o a call of new me hod wi hou he null argumen s
-ge ing rid of an ambiguous call.
2012-12-11 Jiri Vanek <jvanek@redha .com>
Added jacoco code coverage suppor
* Makefile.am: (JACOCO_*) bunch of new variables encapsula ing jacoco
files. (PLUGIN_COVERAGE_BOOTCLASSPATH) classpa h o be used in plugin
ins ead of normal one in coverage mode. (COVERABLE_PLUGIN_DIR) for
compiling plugin wi h agen on. (jacoco-opera or-source-files. x ) for
s oring files of repor ing ool. All XSLTPROC command were done as non-fa al
(s amps/compile-jacoco-opera or.s amp) for compiling repor opera or.
(s amps/run-uni - es -code-coverage-jacoco.s am) for cover uni es s
Se of (COVERABLE_PLUGIN_*) arge s o compile plugin wi h agen on.
(s amps/build-fake-plugin.s amp) op level arge for fake plugin.
(s amps/run-reproducers- es -code-coverage-jacoco.s amp) arge for
cover reproducers. (run- es -code-coverage-jacoco) for merged coverage
(clean-uni - es -code-coverage-jacoco) and
(clean-reproducers- es -code-coverage-jacoco) and
(clean- es -code-coverage-jacoco) and
(clean- es -code-coverage- ools-jacoco) cleaning arge s.
(run-reproducers- es -code-coverage-jacoco) and
(run-uni - es -code-coverage-jacoco) as op level aliases.
* configure.ac: added check for jacoco library and asm library
* plugin/iced eanp/IcedTeaNPPlugin.cc removed duplica e code
(plugin_s ar _apple viewe) removed duplica ed code and added handling of
java agen if defined.
* es s/jacoco-opera or/org/jacoco/opera or/Main.java : New class,
comamndline ool for merging resul s and for genera ing repor s.
* es s/jacoco-opera or/org/jacoco/opera or/MergeTask.java: New class.
U ili y class responsible for merging exec resul s o one exec file.
* es s/jacoco-opera or/org/jacoco/opera or/Repor Genera or: New class.
U ili y me hod for ga hering sources and builds and ou pu ing xml and
h ml repor s.
2012-12-11 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/java/sun/apple /PluginParame erParser.java:
Remove lef -in Sys em.ou
2012-12-10 Saad Mohammad <smohammad@redha .com>
Add uni es s for PR1189.
* es s/ne x/uni /ne /sourceforge/jnlp/PluginParame ersTes .java:
( es Cons ruc orWi hNoCodeAndObjec Param): Ini ialize PluginParame ers
wi hou code/objec parame ers.
( es Cons ruc orWi hOnlyJnlpHrefParam): Ini ialize PluginParame ers wi h
jnlp_href bu no code/objec parame ers.
2012-12-10 Saad Mohammad <smohammad@redha .com>
Add reproducer for PR1189.
* es s/reproducers/simple/Apple TagWi hMissingCodeA ribu e/resources/Apple TagWi hMissingCodeA ribu e.h ml:
Simple webpage which con ains an apple ag wi h no code a ribu e.
* es s/reproducers/simple/Apple TagWi hMissingCodeA ribu e/resources/Apple TagWi hMissingCodeA ribu e.jnlp:
Jnlp file ha is used by he webpages using jnlp_href.
* es s/reproducers/simple/Apple TagWi hMissingCodeA ribu e/ es cases/Apple TagWi hMissingCodeA ribu e.java:
Tes case ha es s apple s wi hou code a ribu e in h ml pages.
* es s/reproducers/simple/SimpleApple /srcs/SimpleApple .java:
Simple apple class ha ou pu s a s ring.
2012-12-10 Saad Mohammad <smohammad@redha .com>
Fix PR1189: Iced ea-plugin requires code a ribu e when using jnlp_href.
* ne x/ne /sourceforge/jnlp/PluginParame ers.java (PluginParame ers):
Upda ed if condi ion o preven PluginParame erExcep ion from being hrown
if apple ag con ains jnlp_href bu is missing code/objec parame ers.
2012-12-06 Adam Domurad <adomurad@redha .com>
* Makefile.am: Fix arge s s amps/ne x-uni - es s-compile.s amp and
s amps/run-ne x-uni - es s.s amp o no rely on ins alled direc ory.
2012-12-05 Saad Mohammad <smohammad@redha .com>
Added new op ion in i w-se ings which allows users o se JVM
argumen s when plugin is ini ialized.
* ne x/ne /sourceforge/jnlp/config/Defaul s.java (ge Defaul s):
Added defaul s for Deploymen Configura ion.KEY_PLUGIN_JVM_ARGUMENTS.
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java:
Added new proper y (KEY_PLUGIN_JVM_ARGUMENTS) which s ores he value of
JVM plugin argumen s.
* ne x/ne /sourceforge/jnlp/con rolpanel/Con rolPanel.java:
(crea eMainSe ingsPanel): Added JVM se ings o he lis of abs.
(crea eJVMSe ingsPanel): Re urns a new JVMPanel objec .
* ne x/ne /sourceforge/jnlp/con rolpanel/JVMPanel.java:
JVM se ings panel.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
Added a new i ems (CPJVMPluginArgumen s, CPHeadJVMSe ings,
CPTabJVMSe ings).
* plugin/iced eanp/IcedTeaNPPlugin.cc:
(plugin_s ar _apple viewer): Adds JVM argumen s o he commands line lis .
(ge _jvm_args): Re urns JVM argumen s se in i w-se ings.
* plugin/iced eanp/IcedTeaPluginU ils.cc:
(IcedTeaPluginU ili ies::vec orS ringToVec orGchar): New helper me hod
which re urns a vec or of gchar* from he vec or of s rings passed.
* plugin/iced eanp/IcedTeaPluginU ils.h:
Declara ion of IcedTeaPluginU ili ies::vec orS ringToVec orGchar.
2012-12-05 Pavel Tisnovsky <p isnovs@redha .com>
* Makefile.am: Avoid warning message prin ed in clean arge if
sof killer is no compiled.
2012-12-04 Adam Domurad <adomurad@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
"An serious excep ion have occured" -> "A serious excep ion occurred"
2012-12-04 Adam Domurad <adomurad@redha .com>
PluginApple Viewer refac oring.
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
(handleIni ializa ionMessage): New, ex rac s ini ializa ion logic
from PluginApple Viewer.handleMessage.
* plugin/iced eanp/java/sun/apple /PluginApple PanelFac ory.java: Moved
in o own file.
2012-12-04 Adam Domurad <adomurad@redha .com>
Remove he apple /embed/objec ag parser from ITW. Send he apple
parame ers direc ly from he C++.
* Makefile.am: Allow uni - es ing for classes in plugin.jar.
* ne x/ne /sourceforge/jnlp/Ne xPanel.java: Use PluginParame ers for
a ribu e lookup
* ne x/ne /sourceforge/jnlp/PluginBridge.java: Use PluginParame ers
for a ribu e lookup
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Add message
for missing code/objec a ribu es.
* ne x/ne /sourceforge/jnlp/resources/Messages_cs_CZ.proper ies: Same.
* plugin/iced eanp/IcedTeaNPPlugin.cc: Send escaped parame er
name/values ins ead of apple ag. Remove some dead code.
* plugin/iced eanp/IcedTeaNPPlugin.h: Rename apple _ ag ->
parame ers_s ring.
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java: Ex rac
parsing code in o i s own class.
* es s/cpp-uni - es s/IcedTeaPluginU ilsTes .cc: Use CHECK_EQUALS
ins ead of CHECK.
* es s/ne x/uni /ne /sourceforge/jnlp/PluginBridgeTes .java: Upda e
uni es s due o cons ruc or changes.
* ne x/ne /sourceforge/jnlp/PluginParame erExcep ion.java: New, hrown
when code/objec a ribu es are missing.
* ne x/ne /sourceforge/jnlp/PluginParame ers.java: New, Hash able
wrapper ha handles plugin a ribu e/parame er lookups.
* plugin/iced eanp/java/sun/apple /PluginParame erParser.java: New,
crea es PluginParame ers from escaped name/values.
* es s/cpp-uni - es s/PluginParame ersTes .cc: New, C++ Uni es s for
plugin parame er rela ed func ions
* es s/ne x/uni /ne /sourceforge/jnlp/PluginParame ersTes .java: New,
uni es s for PluginParame ers class.
* es s/ne x/uni /sun/apple /PluginParame erParserTes .java: New, uni
es s for PluginParame erParser class.
2012-11-03 Jiri Vanek <jvanek@redha .com>
Fixed logging bo leneck
* es s/ es -ex ensions/ne /sourceforge/jnlp/LoggingBo leneck.java:
added and used func ion (clearChars) which fil er charac ers going o xml
from invalid ones.
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess: ge ing es
me hod id by (ge Tes Me hod) now relay on physical way o he class as
he only real hing differing es class and framework class.
2012-12-03 Pavel Tisnovsky <p isnovs@redha .com>
* Makefile.am: Added new arge for compiling sof killer.
* es s/sof killer/sof killer.c:
Added browser sof killer.
* es s/sof killer/Makefile:
Added makefile used o build and clean browser sof killer.
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/browsers/Firefox.java:
Uncommen ed code used o close windows.
2012-11-30 Adam Domurad <adomurad@redha .com>
Breaks up IcedTeaPluginU ili ies::javaResul ToNPVarian in o mul iple,
more manageable par s.
* plugin/iced eanp/IcedTeaPluginU ils.cc: Make hree helper func ions
for he differen cases. Two new helper func ions for conver ing from
s d::s ring o NPS ring and NPVarian .
* plugin/iced eanp/IcedTeaPluginU ils.h: Two new helper func ions.
* es s/cpp-uni - es s/IcedTeaPluginU ilsTes .cc: Tes s for he new
NPS ring and NPVarian from s d::s ring func ions.
2012-11-30 Adam Domurad <adomurad@redha .com>
Added a simple mechanism for mocking func ions in he browser func ion
able. Can be expanded as needed.
* es s/cpp-uni - es s/main.cc: Call se up func ion, warn on browser
func ion based memory leak.
* es s/cpp-uni - es s/browser_mock.cc: New, implemen s simple
error-checking mocks of browser callbacks.
* es s/cpp-uni - es s/browser_mock.h: New, in erface o mocking
func ions.
2012-11-27 Jiri Vanek <jvanek@redha .com>
Be er error repor ing from apple s
* ne x/ne /sourceforge/jnlp/Ne xPanel.java: (ini ) ErrorSplash is shown
if fa al excep ion is cough
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java: (replaceSpalsh)
is ra her removing all hen jus i s previous version
* es s/reproducers/simple/Apple Tes /srcs/Apple ErrorTes .java:
* es s/reproducers/simple/Apple Tes /resources/errorApple Au oTes s.h ml
Tes case for manual es ing of various excep ions from apple
2012-11-27 Jiri Vanek <jvanek@redha .com>
* AUTHORS: added Jan Kme ko as curren SplashScreen ar work au hor
2012-11-27 Jiri Vanek <jvanek@redha .com>
Fixed epiphany swi ch
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/browsers/Epiphany.java:
-new- ab fixed o --new- ab
2012-11-23 Jiri Vanek <jvanek@redha .com>
Firefox session-backup and s ubs for sof killer, mul iple lis eners,
processes handling moved o separa e class.
* es s/reproducers/simple/Apple Tes / es cases/Apple Tes Tes s.java:
Removed unwan ed asser on ermina ion
* es s/ es -ex ensions/ne /sourceforge/jnlp/Con en Reader.java:
Added suppor for mul iple lis eners.
* es s/ es -ex ensions/ne /sourceforge/jnlp/ProcessAssasin.java:
(des royProcess()), non s a ic wrapper around former (des royProcess
(process)), in roducing marks ha process is being killed, added se er
for reac igProcess.
* es s/ es -ex ensions/ne /sourceforge/jnlp/ProcessWrapper.java:
Wrapper around former ServerAccess.execu eProcess se of me hods.
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess.java: all
execu eProcess/Javaws/Browser are now jus api compa ibili y me hods
around ProcessWrapper.
(execu eProcess) main me hod moved o ProcessWrapper.execu e.
* es s/ es -ex ensions/ne /sourceforge/jnlp/ThreadedProcess.java:
made public and synchronized wi h ProcessAssasin's (des royProcess)
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/Browser.java
is now implemen ing Reac ingProcess
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/Reac ingProcess.java:
new in erface for communica ion wi h main even s of ThreadedProcess lifecycle.
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/browsers/Firefox.java:
is con aining single on of FirefoxProfilesOpera or (FPO) and is responding o
(beforeProcess) by FPO's (backupingProfiles), o (beforeKill) by calling
ProcessAssasin's (closeWindows), and o (af erKill) by FPO's (res oreProfiles)
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/browsers/firefox/FirefoxProfilesOpera or.java:
New class o backup and res ore firefox profiles.
2012-11-21 Adam Domurad <adomurad@redha .com>
* Makefile.am: Fix new clean arge s no cleaning properly
2012-11-21 Adam Domurad <adomurad@redha .com>
Suppor for C++ uni es ing wi h Uni Tes ++ for IcedTeaWeb.
* es s/cpp-uni - es s/IcedTeaPluginU ilsTes .cc: New, con ains es s
for u ili y func ions.
* es s/cpp-uni - es s/main.cc: New, con ains uni es runner.
* plugin/iced eanp/IcedTeaPluginU ils.h: Remove incorrec circular
include dependency
* plugin/iced eanp/IcedTeaRunnable.h: Add includes necessary for
self-sus aining header.
* Makefile.am: Add arge s for uni es compila ion and running,
eg 'make run-cpp-uni - es s'.
2012-11-21 Adam Domurad <adomurad@redha .com>
Add he source code o Uni Tes ++ in o he projec .
* es s/Uni Tes ++/COPYING: Par of Uni Tes ++
* es s/Uni Tes ++/Makefile: Par of Uni Tes ++
* es s/Uni Tes ++/README: Par of Uni Tes ++
* es s/Uni Tes ++/src/Asser Excep ion.cpp: Par of Uni Tes ++
* es s/Uni Tes ++/src/Asser Excep ion.h: Par of Uni Tes ++
* es s/Uni Tes ++/src/CheckMacros.h: Par of Uni Tes ++
* es s/Uni Tes ++/src/Checks.cpp: Par of Uni Tes ++
* es s/Uni Tes ++/src/Checks.h: Par of Uni Tes ++
* es s/Uni Tes ++/src/Config.h: Par of Uni Tes ++
* es s/Uni Tes ++/src/Curren Tes .cpp: Par of Uni Tes ++
* es s/Uni Tes ++/src/Curren Tes .h: Par of Uni Tes ++
* es s/Uni Tes ++/src/DeferredTes Repor er.cpp: Par of Uni Tes ++
* es s/Uni Tes ++/src/DeferredTes Repor er.h: Par of Uni Tes ++
* es s/Uni Tes ++/src/DeferredTes Resul .cpp: Par of Uni Tes ++
* es s/Uni Tes ++/src/DeferredTes Resul .h: Par of Uni Tes ++
* es s/Uni Tes ++/src/Execu eTes .h: Par of Uni Tes ++
* es s/Uni Tes ++/src/MemoryOu S ream.cpp: Par of Uni Tes ++
* es s/Uni Tes ++/src/MemoryOu S ream.h: Par of Uni Tes ++
* es s/Uni Tes ++/src/Posix/SignalTransla or.cpp: Par of Uni Tes ++
* es s/Uni Tes ++/src/Posix/SignalTransla or.h: Par of Uni Tes ++
* es s/Uni Tes ++/src/Posix/TimeHelpers.cpp: Par of Uni Tes ++
* es s/Uni Tes ++/src/Posix/TimeHelpers.h: Par of Uni Tes ++
* es s/Uni Tes ++/src/Repor Asser .cpp: Par of Uni Tes ++
* es s/Uni Tes ++/src/Repor Asser .h: Par of Uni Tes ++
* es s/Uni Tes ++/src/Tes .cpp: Par of Uni Tes ++
* es s/Uni Tes ++/src/Tes .h: Par of Uni Tes ++
* es s/Uni Tes ++/src/Tes De ails.cpp: Par of Uni Tes ++
* es s/Uni Tes ++/src/Tes De ails.h: Par of Uni Tes ++
* es s/Uni Tes ++/src/Tes Lis .cpp: Par of Uni Tes ++
* es s/Uni Tes ++/src/Tes Lis .h: Par of Uni Tes ++
* es s/Uni Tes ++/src/Tes Macros.h: Par of Uni Tes ++
* es s/Uni Tes ++/src/Tes Repor er.cpp: Par of Uni Tes ++
* es s/Uni Tes ++/src/Tes Repor er.h: Par of Uni Tes ++
* es s/Uni Tes ++/src/Tes Repor erS dou .cpp: Par of Uni Tes ++
* es s/Uni Tes ++/src/Tes Repor erS dou .h: Par of Uni Tes ++
* es s/Uni Tes ++/src/Tes Resul s.cpp: Par of Uni Tes ++
* es s/Uni Tes ++/src/Tes Resul s.h: Par of Uni Tes ++
* es s/Uni Tes ++/src/Tes Runner.cpp: Par of Uni Tes ++
* es s/Uni Tes ++/src/Tes Runner.h: Par of Uni Tes ++
* es s/Uni Tes ++/src/Tes Sui e.h: Par of Uni Tes ++
* es s/Uni Tes ++/src/TimeCons rain .cpp: Par of Uni Tes ++
* es s/Uni Tes ++/src/TimeCons rain .h: Par of Uni Tes ++
* es s/Uni Tes ++/src/TimeHelpers.h: Par of Uni Tes ++
* es s/Uni Tes ++/src/Uni Tes ++.h: Par of Uni Tes ++
* es s/Uni Tes ++/src/XmlTes Repor er.cpp: Par of Uni Tes ++
* es s/Uni Tes ++/src/XmlTes Repor er.h: Par of Uni Tes ++
2012-11-21 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/IcedTeaNPPlugin.cc
(consume_plugin_message): Free wo buffers re urned from NPN_Ge ValueForURL func ion.
2012-11-20 Jiri Vanek <jvanek@redha .com>
* Makefile.am: (s amps/run-ne x-dis - es s.s amp) and
(s amps/run-ne x-uni - es s.s amp) Swapped logs and repor xsl opera ions
2012-11-20 Jana Fabrikova <jfabriko@redha .com>
* es s/reproducers/simple/JSToJGe / es cases/JSToJGe Tes .java:
added @KnownToFail anno a ions o he es s, which are showing
unimplemen ed/broken fea ures of js-plugin communica ion.
2012-11-13 Adam Domurad <adomurad@redha .com>
Reproducer for PR1198, JSObjec #eval crea es invalid JS objec .
* es s/reproducers/simple/JSObjec FromEval/resources/JSObjec FromEval.h ml:
Loads apple + JS for es
* es s/reproducers/simple/JSObjec FromEval/resources/JSObjec FromEval.js:
Calls java code o es JSObjec #eval
* es s/reproducers/simple/JSObjec FromEval/srcs/JSObjec FromEval.java:
Provides java<->JS wrappers for JSObjec me hods
* es s/reproducers/simple/JSObjec FromEval/ es cases/JSObjec FromEvalTes .java:
Tes s if JSObjec #eval crea es valid JSObjec .
2012-11-13 Saad Mohammad <smohammad@redha .com>
Fix PR1166: Embedded JNLP File is no suppor ed in apple ag.
* configure.ac: Checks for sun.misc.BASE64Decoder.
* NEWS: Added en ry for PR1166.
* ne x/ne /sourceforge/jnlp/JNLPFile.java (JNLPFile):
New cons ruc or which accep s inpu s ream of jnlp file and a
specified codebase.
* ne x/ne /sourceforge/jnlp/Parser.java (Parser): If parsing of
codebase fails, i will overwri e he codebase wi h he one passed
in hrough parame ers.
* ne x/ne /sourceforge/jnlp/PluginBridge.java:
(PluginBridge) Suppor s embedded jnlp file.
(decodeBase64S ring) Decodes Base64 s rings o by e array.
2012-11-13 Saad Mohammad <smohammad@redha .com>
Added uni es s for PR1166.
* es s/ne x/uni /ne /sourceforge/jnlp/JNLPFileTes .java:
Tes s he JNLPFile cons ruc or ha accep s an Inpu S ream and an al erna ive codebase.
* es s/ne x/uni /ne /sourceforge/jnlp/ParserTes .java:
Tes s if he cons ruc or handles he al erna ive codebase parame er correc ly.
* es s/ne x/uni /ne /sourceforge/jnlp/PluginBridgeTes .java:
Tes s if BASE64 s rings are decoded correc ly and if PluginBridge is cons ruc ed wi h an
embedded jnlp.
2012-11-13 Saad Mohammad <smohammad@redha .com>
Added reproducer for PR1166.
* es s/reproducers/simple/EmbeddedJnlpInApple /resources/EmbeddedJnlp.jnlp:
Launching jnlp file ha is used by jnlp_href in apple ag
* es s/reproducers/simple/EmbeddedJnlpInApple /resources/EmbeddedJnlpInApple NoCodebase.h ml:
Apple wi h an embedded jnlp file wi h no codebase specified
* es s/reproducers/simple/EmbeddedJnlpInApple /resources/EmbeddedJnlpInApple Wi hDo Codebase.h ml:
Apple wi h an embedded jnlp file wi h codebase se as a 'do '
* es s/reproducers/simple/EmbeddedJnlpInApple /resources/JnlpInApple .h ml:
Apple wi h jnlp_href file.
* es s/reproducers/simple/EmbeddedJnlpInApple /srcs/EmbeddedJnlp.java:
Simple class ha ou pu s s rings.
* es s/reproducers/simple/EmbeddedJnlpInApple / es cases/EmbeddedJnlpInApple Tes .java:
Tes case ha es s embedded jnlps in h ml pages.
2012-11-08 Saad Mohammad <smohammad@redha .com>
* NEWS: Added en ry for PR1027 - DownloadService is no suppor ed by
IcedTea-Web.
2012-11-08 Saad Mohammad <smohammad@redha .com>
Added reproducer for DownloadService.
* es s/reproducers/signed/DownloadService/resources/DownloadService.jnlp:
Launching jnlp file ha con ains ex ension jnlp and jars marked wi h par names.
* es s/reproducers/signed/DownloadService/resources/DownloadServiceEx ension.jnlp:
DownloadService ex ension jnlp file wi h jars marked wi h par names.
* es s/reproducers/signed/DownloadService/srcs/DownloadServiceRunner.java:
A simple class ha uses DownloadService o comple e asks and ou pu s he resul s.
* es s/reproducers/signed/DownloadService/ es cases/DownloadServiceTes .java:
Tes case for DownloadService.
2012-11-08 Saad Mohammad <smohammad@redha .com>
Core implemen a ion of DownloadService.
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java (ge CacheParen Direc ory):
Re urns he paren direc ory of he cached resource.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
(ge Loaders): Re urns all loaders ha his loader uses, including
i self
(addNewJar): Adds a new jar o he classloader wi h specified
Upda ePolicy.
(removeJars): Remove jars from he filesys em.
(ini ializeNewJarDownload): Downloads and ini ializes jars in o he
curren loader.
(manageEx ernalJars): Manages jars which are no men ioned in he
JNLP file.
* ne x/ne /sourceforge/jnlp/run ime/Loca eJnlpClassLoader.java:
(ge LoaderByJnlpFile): Re urns he classloader of he jnlp file
specified.
(ge LoaderByResourceUrl): Re urns he classloader ha con ains he
specified jar.
* ne x/ne /sourceforge/jnlp/run ime/ManageJnlpResources.java:
(findJars): Re urns jars from he JNLP file wi h he specified
par name.
(removeCachedJars): Removes jar from cache.
(downloadJars): Downloads jars iden ified by par name.
(loadEx ernalResouceToCache): Download and ini alize resources which
are no men ioned in he jnlp file.
(removeEx ernalCachedResource): Removes resources from cache which
are no men ioned in he jnlp file.
(isEx ernalResourceCached): De ermines if he resource ha is no
men ioned in he jnlp file is cached and re urns a boolean wi h he
resul .
* ne x/ne /sourceforge/jnlp/services/XDownloadService.java:
Core implemen a ion of DownloadService.
2012-11-02 Jiri Vanek <jvanek@redha .com>
Alexandr Kolouch <skolnag@gmail.com>
Added cz_CS locales wi h es
* AUTHORS: added ransla or, mr. Kolouch
* NEWS: men ioned localiza ion
* ne x/ne /sourceforge/jnlp/resources/Messages_cs_CZ.proper ies: file
i self wi h ransla ion
* es s/reproducers/simple/LocalesTes / es cases/LocalesTes Tes .java:
Tes which is es ing whe her and how locales are applied.
2012-11-02 Jiri Vanek <jvanek@redha .com>
Splashscreen in egra ed o javaws and plugin
* Makefile.am: (edi _launcher_scrip ) added JAVAWS_SPLASH_LOCATION
subs i u ion for ins alled javaws_splash.png.
(ins all-exec-loca) added ins alla ion of javaws_splash.png.
* NEWS: men ioned splashscreen
* launcher/javaws.in: added SPLASH_LOCATION, as pa h o image wi h "java"
splash which s hen shown un il in ernal vec or one appear.
* ne x/ne /sourceforge/jnlp/GuiLaunchHandler.java: splashScreen made vola ile,
(launchIni ialized) splashscreen is crea ed and shown
* ne x/ne /sourceforge/jnlp/JNLPSplashScreen.java: (se SplashImageURL)
splash bg image is loaded from given url or defaul is used if no found
or no specified by jnlp/apple . (correc Size) wid h is calcula ed from
bg image or defaul is used when no image se . Splash is cen ered o
primary moni or.
* ne x/ne /sourceforge/jnlp/Launcher.java: (launchApple ) and
(launchApplica ion) enriched by handling of splashs.
(launchError) overloaded and is now handling forwarding of errors o
splash. All relevan calls of launchError enriched by apple Ins ance.
* ne x/ne /sourceforge/jnlp/Ne xPanel.java: is now implemen ing
SplashCon roller.This is done by se ing and wrapping of splashCon roller
variable.
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java: is now handling
splashscreen for apple s in browsers.
(framePanel) is now providing panel o be processed (PluginApple Viewer)
is now invoking SplashCrea or. (replaceSplash) new me hod which replace
splashscreen wi h error splashscreen. (removeSplash) new me hod o remove
splash when loading is done. (upda e) is added o call pain direc ly
(SplashCrea or) new in ernal runnable o crea e splash
* es s/reproducers/simple/Coun ingApple 1/resources/ParallelApple sTes _1_x_2.h ml:
second jar made XslowX o rack wo FIXME in roduced in his pa ch -
Launcher's crea eApple and PluginApple Viewer's framePanel.
* ne x/javaws_splash.png: Binary image o be shown before java is launched
* es s/reproducers/simple/simple es 1/resources/ne xPlugin.png: Binary image
o ne used for es ing cus om splashscreens
2012-10-31 Jana Fabrikova <jfabriko@redha .com>
* es s/reproducers/simple/JSToJGe / es cases/JSToJGe Tes .java:
Modifying he es case ou pu o a simpler ex .
* es s/reproducers/simple/JSToJSe / es cases/JSToJSe Tes .java:
Modifying he es case ou pu o a simpler ex .
2012-10-29 Omair Majid <omajid@redha .com>
* es s/reproducers/signed/Deploymen Proper iesAreExposed/resources/Deploymen Proper iesAreExposed.jnlp,
* es s/reproducers/signed/Deploymen Proper iesAreExposed/srcs/Tes .java,
* es s/reproducers/signed/Deploymen Proper iesAreExposed/ es cases/Deploymen Proper iesAreExposedTes .java:
New files.
2012-10-29 Omair Majid <omajid@redha .com>
PR1186
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java:
(load(boolean)): Delega e o load(File,File,boolean).
(load(File,File,boolean)): New me hod.
(copyTo): New me hod.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java:
(ini ialize): Copy configura ion o sys em proper ies.
* es s/ne x/uni /ne /sourceforge/jnlp/config/Deploymen Configura ionTes .java:
New File.
2012-10-29 Jana Fabrikova <jfabriko@redha .com>
* es s/reproducers/simple/JSToJSe
Added reproducer for es ing LiveConnec - se ing Java members from JavaScrip side
2012-10-26 Jiri Vanek <jvanek@redha .com>
Added clipboard reproducers (PR708)
* es s/reproducers/signed/ClipboardCon en Signed/resources/ClipboardCon en SignedCopy1.jnlp:
Jnlp o invoke manual copying o clipboard on signed app, please no e
he delayed dea h of applica ion
* es s/reproducers/signed/ClipboardCon en Signed/resources/ClipboardCon en SignedCopy2.jnlp:
Jnlp o invoke j ex field like copying signed app, please no e he
delayed dea h of applica ion
* es s/reproducers/signed/ClipboardCon en Signed/resources/ClipboardCon en SignedPas e1.jnlp:
Jnlp o invoke manual pas ing on signed applica ion
* es s/reproducers/signed/ClipboardCon en Signed/resources/ClipboardCon en SignedPas e2.jnlp:
Jnlp o invoke j ex field like pas ing on signed applica ion
* es s/reproducers/signed/ClipboardCon en Signed/srcs/ClipboardCon en Signed.java:
Applica ion which is rying o access clipboard by various ways.
* es s/reproducers/signed/ClipboardCon en Signed/ es cases/ClipboardCon en SignedTes s.java:
Au oma ed es s for four above jnlps.
* es s/reproducers/simple/ClipboardCon en /resources/ClipboardCon en Copy1.jnlp:
Jnlp o invoke manual copying o clipboard on unsigned app, please no e
he delayed dea h of applica ion
* es s/reproducers/simple/ClipboardCon en /resources/ClipboardCon en Copy2.jnlp:
Jnlp o invoke j ex field like copying unsigned app, please no e he
delayed dea h of applica ion
* es s/reproducers/simple/ClipboardCon en /resources/ClipboardCon en Pas e1.jnlp:
Jnlp o invoke manual pas ing on unsigned applica ion
* es s/reproducers/simple/ClipboardCon en /resources/ClipboardCon en Pas e2.jnlp:
Jnlp o invoke j ex field like pas ing on unsigned applica ion
* es s/reproducers/simple/ClipboardCon en /srcs/ClipboardCon en .java:
Applica ion which is rying o access clipboard by various ways.
* es s/reproducers/simple/ClipboardCon en / es cases/ClipboardCon en Tes s.java:
Au oma ed es s for firs and hird of above four jnlps. The es s of
second and four h is disabled due o necessary manual in erac ion
* es s/ es -ex ensions/ne /sourceforge/jnlp/ ools/Wai ingForS ringProcess.java:
U ili y class for process wai ing for some s ring for ano her s ring
* es s/ es -ex ensions/ne /sourceforge/jnlp/ ools/ClipboardHelpers.java
U ili y class for copying/pas ing ex o/from clipboard
* es s/ es -ex ensions/ne /sourceforge/jnlp/ ools/AsyncJavaws.java
U ili y class for launching javaws in separa e hread.
2012-10-23 Jiri Vanek <jvanek@redha .com>
KnownToFail ex s are now bold in h ml repor
* es s/repor -s yles/jrepor .xsl: all ex ou pu s of
es ="@known- o-fail= rue" condi ions are marked wi h <b>.
2012-10-19 Adam Domurad <adomurad@redha .com>
* es s/reproducers/cus om/Addi ionalJarsInMe aInfIndexLis / es cases/Addi ionalJarsInMe aInfIndexLis Tes s.java
(SignedMe aInfIndexLis Tes ): Add @KnownToFail anno a ion
2012-10-19 Jiri Vanek <jvanek@redha .com>
Renamed reproducers-rela ed variables and arge s
* Makefile.am:
NETX_TEST_DIR - new paren direc ory variable for es s
NETX_UNIT_TEST_DIR - is now using his variable
JNLP_TESTS_ENGINE_SRCDIR -> TEST_EXTENSIONS_SRCDIR
JNLP_TESTS_ENGINE_TESTS_SRCDIR -> TEST_EXTENSIONS_TESTS_SRCDIR
JNLP_TESTS_SRCDIR -> REPRODUCERS_TESTS_SRCDIR
JNLP_TESTS_ENGINE_DIR -> TEST_EXTENSIONS_DIR
JNLP_TESTS_ENGINE_TESTS_DIR -> TEST_EXTENSIONS_TESTS_DIR
new variable TEST_EXTENSIONS_COMPATIBILITY_SYMLINK s ill poin ing o $(TESTS_DIR)/ne x/jnlp_ es sengine
$(TESTS_DIR)/jnlp_ es sengine now poin s o $(TESTS_DIR)/ es -ex ensions
JNLP_TESTS_SERVER_DEPLOYDIR -> REPRODUCERS_TESTS_SERVER_DEPLOYDIR
JNLP_TESTS_DIR -> REPRODUCERS_BUILD_DIR
ne x-dis - es s-source-files. x -> es -ex ensions-source-files. x
s amps/ne x-dis - es s-compile.s amp -> s amps/ es -ex ensions-compile.s amp
s amps/ne x-dis - es s- es s-compile.s amp -> s amps/ es -ex ensions- es s-compile.s amp
s amps/ne x-dis - es s-compile- es cases.s amp -> s amps/compile-reproducers- es cases.s amp
s amps/ne x-dis - es s-copy-resources.s amp -> s amps/copy-reproducers-resources.s amp
* es s/reproducers/cus om/Addi ionalJarsInMe aInfIndexLis /srcs/Makefile: and
* es s/reproducers/cus om/Apple Ex endsFromOu sideJar/srcs/Makefile: and
* es s/reproducers/cus om/Apple FolderInArchiveTag/srcs/Makefile: and
* es s/reproducers/cus om/UnsignedCon en InMETAINF/srcs/Makefile: following above renaming
2012-10-19 Adam Domurad <adomurad@redha .com>
Revised mul iple signa ures es o check for new message. Added more
accura e reproducer for PR822.
* es s/reproducers/signed2/Mul ipleSigna uresTes /srcs/somecrazy es package/Mul ipleSigna uresTes .java:
Made class ake a classname parame er so differen ou -of-package
classes could be execu ed.
* es s/reproducers/signed2/Mul ipleSigna uresTes /resources/Mul ipleSigna uresTes .h ml:
Added main-class parame er.
* es s/reproducers/signed2/Mul ipleSigna uresTes /resources/Mul ipleSigna uresTes 1.jnlp:
Same.
* es s/reproducers/signed2/Mul ipleSigna uresTes /resources/Mul ipleSigna uresTes 1_reques ing.jnlp:
Same.
* es s/reproducers/signed2/Mul ipleSigna uresTes /resources/Mul ipleSigna uresTes 2.jnlp:
Same.
* es s/reproducers/signed2/Mul ipleSigna uresTes / es cases/Mul ipleSigna uresTes Tes s.java
(mul ipleSigna uresTes H mlApple UsesPermissions): New, es s if fully
signed HTML apple s wi h varied signers can (as hey should) execu e
wi h full permissions. Reproduces PR822.
(mul ipleSigna uresTes JnlpApplica ionReques ing): Check for
misma ching signers JNLP failure message. Remove known- o-fail &
inaccura e bug anno a ion.
* es s/reproducers/signed2/Mul ipleSigna uresTes SamePackage/ es cases/Mul ipleSigna uresTes Tes sSamePackage.java
(mul ipleSigna uresTes SamePackageJnlpApplica ionReques ing): Check for
misma ching signers JNLP failure message. Remove known- o-fail &
inaccura e bug anno a ion.
2012-10-19 Adam Domurad <adomurad@redha .com>
Reproduces PR822: Apple s fail o load if jars have differen signers.
Tes s for apple s & JNLPs wi h mul iple signers per jar.
* es s/reproducers/signed/ReadProper iesSigned/srcs/ReadProper iesSigned.java:
Modified o end wi h s andard apple finish message.
* es s/reproducers/simple/ReadProper ies/srcs/ReadProper ies.java:
* es s/reproducers/cus om/Mul ipleSigna uresPerJar/README: Explains
dependence on ReadProper iesSigned.
* es s/reproducers/cus om/Mul ipleSigna uresPerJar/resources/Mul ipleSigna uresPerJarMa ching.h ml:
HTML apple es wi h a common signer.
* es s/reproducers/cus om/Mul ipleSigna uresPerJar/resources/Mul ipleSigna uresPerJarMa ching.jnlp:
JNLP es wi h a common signer.
* es s/reproducers/cus om/Mul ipleSigna uresPerJar/resources/Mul ipleSigna uresPerJarMisma ching.h ml:
HTML apple es wi hou a common signer.
* es s/reproducers/cus om/Mul ipleSigna uresPerJar/resources/Mul ipleSigna uresPerJarMisma ching.jnlp:
JNLP es wi hou a common signer.
* es s/reproducers/cus om/Mul ipleSigna uresPerJar/srcs/Makefile:
Cus om makefile used o sign a jar wi h mul iple signers.
* es s/reproducers/cus om/Mul ipleSigna uresPerJar/srcs/somecrazy es package/Mul ipleSigna uresPerJarMain.java:
Accesses ReadProper iesSigned from ano her package wi h differen
signers.
* es s/reproducers/cus om/Mul ipleSigna uresPerJar/ es cases/Mul ipleSigna uresPerJarTes s.java:
Tes driver.
2012-10-19 Adam Domurad <adomurad@redha .com>
New message for signer misma ch in JNLP applica ions.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Added
message 'The JNLP applica ion is no fully signed by a single cer .'
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: Message
hrown when JNLP's jcv.allJarsSigned() is rue bu no
jcv.isFullySigned();
2012-10-19 Adam Domurad <adomurad@redha .com>
Fixes JCV#isTriviallySigned(). Reproducer 'Emp ySignedJar' passes
again.
* ne x/ne /sourceforge/jnlp/ ools/JarCer Verifier.java: Remove
problema ic ' riviallySigned' variable and ins ead de ermine
whe her riviallySigned on he fly. Consider jars wi h 0 signable
en ries as SIGNED_OK.
* es s/ne x/uni /ne /sourceforge/jnlp/ ools/JarCer VerifierTes .java:
Upda e no-signers uni es .
2012-10-19 Adam Domurad <adomurad@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/AppVerifier.java: Use in erface
ypes for declared ypes where applicable.
* ne x/ne /sourceforge/jnlp/securi y/PluginAppVerifier.java: Same.
* ne x/ne /sourceforge/jnlp/ ools/JarCer Verifier.java: Same.
2012-10-19 Adam Domurad <adomurad@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/AppVerifier.java: Use in erface
ypes for declared ypes where applicable.
* ne x/ne /sourceforge/jnlp/securi y/PluginAppVerifier.java: Same.
* ne x/ne /sourceforge/jnlp/ ools/JarCer Verifier.java: Same.
2012-10-19 Danesh Dadachanji <ddadacha@redha .com>
Rework JarCer Verifier cer ifica e managemen o handle mul iple
cer ifica es and use differen algori hms o verify JNLPs and Apple s.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
Removed SHasUnsignedEn ry.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
Se JCV ins ance o final bu unini ialized.
(JNLPClassLoader): Ini ialized JCV wi h run ime dependen verifier.
(addNewJar), (ini ializeResources), (verifySignedJNLP):
Replaced use of local JarCer Verifier variable wi h he ins ance variable.
Added calls o isFullySigned wherever signer verifica ion is done.
(ac iva eJars): No longer verifies nes ed jars. These receive he same
securi y permissions as heir paren jar, regardless of he nes ed
jar's signing.
(checkTrus Wi hUser): Removed JCV param, reimplemen ed o wrap around
JCV's checkTrus Wi hUser me hod.
(verifyJars): Removed.
* ne x/ne /sourceforge/jnlp/securi y/AppVerifier.java:
New s ra egy pa ern in erface ha specifies verifica ion me hods
required regardless of he run ime.
* ne x/ne /sourceforge/jnlp/securi y/JNLPAppVerifier.java:
* ne x/ne /sourceforge/jnlp/securi y/PluginAppVerifier.java:
New s ra egy pa ern classes used o de ermine which algori hms o use
depending on he run ime.
* ne x/ne /sourceforge/jnlp/securi y/Cer Verifier.java:
Added Cer Pa h param o all he me hods.
(noSigningIssues): Removed.
* ne x/ne /sourceforge/jnlp/securi y/Cer WarningPane.java:
* ne x/ne /sourceforge/jnlp/securi y/Cer sInfoPane.java:
* ne x/ne /sourceforge/jnlp/securi y/MoreInfoPane.java:
Upda ed calls o he verifier's me hods wi h he new Cer Pa h param. All
are se o null so far.
* ne x/ne /sourceforge/jnlp/securi y/H psCer Verifier.java:
Added Cer Pa h param o all he me hods. I 's mos ly ignored hough.
* ne x/ne /sourceforge/jnlp/ ools/Cer Informa ion.java:
New class o represen all he informa ion abou a signer wi h
wi h respec o all of he en ries i has signed for he app.
* ne x/ne /sourceforge/jnlp/ ools/JarCer Verifier.java:
Comple ely reworked o use Cer Informa ion and AppVerifier func ionali y.
(ge Cer Pa h), (ge Cer Informa ion), (checkTrus Wi hUser),
(ge JarSignableEn ries), (ge To alJarEn ries): New me hod.
(noSigningIssues), (anyJarsSigned): Removed.
(verifyResul ): Renamed enum o VerifyResul
(JarCer Verifier): New cons ruc or used o se AppVerifier ins ance.
(ge AlreadyTrus Publisher), (ge Roo InCacer s): Now uses s ra egy pa ern.
(hasSigningIssues), (ge De ails), (checkTrus edCer s), (checkCer Usage):
Now uses cer info class.
(ge Cer s): Renamed o ge Cer sLis .
(isFullySignedByASingleCer ): renamed o isFullySigned and o use
he s ra egy pa ern.
(add): New public me hod ha rese s some ins ance vars and
calls verifyJars.
(verifyJars): Modifier changed o priva e, above me hod should be used.
Also skips jars ha have been verified before.
(verifyJar): Removed ac ual verifica ion code, only reads jars in o he JVM.
(verifyJarEn ryCer s): New me hod. Does ac ual verifica ion of jars.
(ge Publisher), (ge Roo ): Use hacky curren lyUsed variable as he signer.
* es s/ne x/uni /ne /sourceforge/jnlp/ ools/JarCer VerifierTes .java:
Uni es JCV's verifyJarEn ryCer s me hod.
* es s/ es -ex ensions/ne /sourceforge/jnlp/ ools/CodeSignerCrea or.java:
Uni es helper ha crea es CodeSigner ins ances.
2012-10-16 Adam Domurad <adomurad@redha .com>
* es s/reproducers/simple/Apple TakesLas Param/srcs/Apple TakesLas Param.java:
Add 's andard' apple closing message.
* es s/reproducers/simple/Apple TakesLas Param/ es cases/Apple TakesLas ParamTes s.java:
Clean-up code and add au oma ic apple closing on finish.
2012-10-15 Jana Fabrikova <jfabriko@redha .com>
* es s/reproducers/simple/JSToJGe / es cases/JSToJGe Tes .java:
Modified he es cases - more readable me hod calls.
2012-10-05 Omair Majid <omajid@redha .com>
PR1145
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ge AccessCon rolCon ex ForClassLoading): Do no ca ch
ClassCirculari yError.
(findLoadedClassAll): Call findLoadedClass wi hou any special
permissions.
2012-10-03 Jana Fabrikova <jfabriko@redha .com>
* es s/reproducers/simple/JSToJGe :
Added a new reproducer for he firs LiveConnec
es - ge ing members from Java side.
2012-10-02 Mar in Olsson <mar in@minimum.se>
* plugin/iced eanp/IcedTeaNPPlugin.cc: Typo fix.
* plugin/iced eanp/IcedTeaPluginReques Processor.cc: Typo fix.
2012-09-26 Jana Fabrikova <jfabriko@redha .com>
* es s/ es -ex ensions/ne /sourceforge/jnlp/closinglis eners/S ringMa chClosingLis ener.java:
Added forgo en package name.
2012-09-25 Jiri Vanek <jvanek@redha .com>
Added rules lis eners
* es s/ es -ex ensions/ne /sourceforge/jnlp/closinglis eners/Coun ingClosingLis ener.java:
Base class for closing lis eners which is con aining comple e ou pu in
each ime.
* es s/ es -ex ensions/ne /sourceforge/jnlp/closinglis eners/Rule.java:
Class wi h rule defini ion for RulesFolowingClosingLis ener
* es s/ es -ex ensions/ne /sourceforge/jnlp/closinglis eners/RulesFolowingClosingLis ener.java:
ClosingLis ener consis ed from rules which all have o ma ch for close ac ion
* es s/ es -ex ensions/ne /sourceforge/jnlp/closinglis eners/S ringRule.java:
Implemen a ion of rule based on s ring
* es s/reproducers/signed/Apple Tes Signed/ es cases/Apple Tes SignedTes s.java:
* es s/reproducers/simple/Apple Tes / es cases/Apple Tes Tes s.java:
Refac ored o use Above iis eners.
2012-09-24 Jiri Vanek <jvanek@redha .com>
Added basic closing lis ener implemen a ion
* es s/reproducers/signed/Apple Tes Signed/resources/Apple Tes Signed.h ml:
removed unnecessary XslowX
* es s/reproducers/signed/Apple Tes Signed/resources/Apple Tes Signed2.h ml:
added missing XslowX
* es s/reproducers/signed/Apple Tes Signed/srcs/Apple Tes Signed.java:
added s andard closing sen ence
* es s/reproducers/signed/Apple Tes Signed/ es cases/Apple Tes SignedTes s.java:
used au o*closing lis eners
* es s/ es -ex ensions/ne /sourceforge/jnlp/ClosingLis ener.java:
in erface for iden ifying closing lis eners
* es s/ es -ex ensions/ne /sourceforge/jnlp/ProcessAssasin.java:
added possibili y o se imeou n he fly
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess.java:
(execu eBrowser) added shor cu for au oclosing lis eners,
(se UpClosingLis ener) me hod for se ing proper ies of ClosingLis ener
(execu eBrowser) add logic o handle ClosingLis eners
* es s/ es -ex ensions/ne /sourceforge/jnlp/closinglis eners/Au oAllClosingLis ener.java:
lis ener closing on "APPLET FINISHED" s ring
* es s/ es -ex ensions/ne /sourceforge/jnlp/closinglis eners/Au oErrorClosingLis ener.java:
lis ener closing on "xcep ion" ma ch
* es s/ es -ex ensions/ne /sourceforge/jnlp/closinglis eners/Au oOkClosingLis ener.java:
lis ener closing on bo h xcep ion and finished s ring.
* es s/ es -ex ensions/ne /sourceforge/jnlp/closinglis eners/S ringBasedClosingLis ener.java:
Base forefa her for Au o*ClosingLis ener
2012-09-24 Jiri Vanek <jvanek@redha .com>
Jana Fabrikova <jfabriko@redha .com>
Reproducers are now correc ly compiled agains liveconec (plugin.jar)
* Makefile.am: (s amps/ne x-dis - es s-prepare-reproducers.s amp)
added one more dependency: s amps/liveconnec -dis .s amp
added one more direc ory on cp: $(abs_ op_builddir)/liveconnec
2012-09-17 Deepak Bhole <dbhole@redha .com>
PR1161: X509VariableTrus Manager does no work correc ly wi h OpenJDK7
* Makefile.am: If building wi h JDK 6, don' build
VariableX509Trus ManagerJDK7.
* NEWS: Upda ed.
* acinclude.m4: In addi ion o se ing VERSION_DEFS, also se HAVE_JAVA7
if building wi h JDK7.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java (ini ialize): Use new
ge SSLSocke Trus Manager() me hod o ge he rus manager.
(ge SSLSocke Trus Manager): New me hod. Depending on run ime JRE version,
re urns he appropria e rus manager.
* ne x/ne /sourceforge/jnlp/securi y/H psCer Verifier.java: Removed
unused m variable.
* ne x/ne /sourceforge/jnlp/securi y/VariableX509Trus Manager.java: No
longer ex ends com.sun.ne .ssl.in ernal.ssl.X509Ex endedTrus Manager.
(checkClien Trus ed): Renamed o checkTrus Clien and removed overloaded
implemen a ions.
(checkServerTrus ed): Renamed o checkTrus Server. Also, modified o
accep socke and engine (may be null). Assume ha CN is misma ched by
defaul , ra her han ma ched. If explici ly rus ed, bypass o her checks,
including CN misma ch.
(checkAllManagers): Modified o accep socke and engine. Modified o work
for bo h JDK6 and JDK7.
(ge Accep edIssuers): Make pro ec ed (called by o hers in package).
* ne x/ne /sourceforge/jnlp/securi y/VariableX509Trus ManagerJDK6.java:
New class -- X509Trus Manager for JDK6.
* ne x/ne /sourceforge/jnlp/securi y/VariableX509Trus ManagerJDK7.java:
New class -- X509Trus Manager for JDK7.
2012-09-07 Saad Mohammad <smohammad@redha .com>
Added signed jnlp es s for applica ions wi h mul iple jar resources.
* es s/reproducers/signed/Mul iJar-NoSignedJnlp/resources/MainJarWi hou SignedJnlp.jnlp:
Launching jnlp file ha 's main jar does no have a signed jnlp file, bu
o her jar resources do.
* es s/reproducers/signed/Mul iJar-NoSignedJnlp/srcs/SimpleApplica ion.java:
A class ha uses reflec ion o access resources from differen jars.
* es s/reproducers/signed/Mul iJar-SignedJnlpApplica ion/resources/MainJarWi hMa chingSignedJnlpApplica ion.jnlp:
Launching jnlp file ha 's main jar ma ches he signed jnlp applica ion
file.
* es s/reproducers/signed/Mul iJar-SignedJnlpApplica ion/resources/MainJarWi hUnma chingSignedJnlpApplica ion.jnlp:
Launching jnlp file ha 's main jar does no ma ch he signed jnlp
applica ion file.
* es s/reproducers/signed/Mul iJar-SignedJnlpApplica ion/srcs/JNLP-INF/APPLICATION.jnlp:
Signed JNLP applica ion file for Mul iJar-SignedJnlpApplica ion.
* es s/reproducers/signed/Mul iJar-SignedJnlpApplica ion/srcs/SignedJnlpApplica ion.java:
A class ha uses reflec ion o access resources from differen jars.
* es s/reproducers/signed/Mul iJar-SignedJnlpApplica ion/ es cases/Mul iJarSignedJnlpTes .java:
Tes case ha es s he launch and valida ion of signed jnlp files for
applica ion ha have mul iple jar resources.
* es s/reproducers/signed/Mul iJar-SignedJnlpTempla e/resources/MainJarWi hMa chingSignedJnlpTempla e.jnlp:
Launching jnlp file ha 's main jar ma ches he signed jnlp applica ion
empla e file.
* es s/reproducers/signed/Mul iJar-SignedJnlpTempla e/resources/MainJarWi hUnma chingSignedJnlpTempla e.jnlp:
Launching jnlp file ha 's main jar does no ma ch he signed jnlp
applica ion empla e file.
* es s/reproducers/signed/Mul iJar-SignedJnlpTempla e/srcs/JNLP-INF/APPLICATION_TEMPLATE.jnlp:
Signed JNLP applica ion empla e file for Mul iJar-SignedJnlpTempla e.jar
* es s/reproducers/signed/Mul iJar-SignedJnlpTempla e/srcs/SignedJnlpTempla e.java:
A class ha uses reflec ion o access resources from differen jars.
2012-09-07 Jiri Vanek <jvanek@redha .com>
Added s ric es
* es s/reproducers/simple/simple es 1/ es cases/SimpleTes 1Tes .java:
Removed depreca ed ServerAccess.ProcessResul
( es Simple es 1lunchOk) ex rac ed asser ing code
(checkLaunched) family of me hods o evalua e ou pu of applica ion
(crea eS ric File) me hod o prepare file which will pass s ric checking
( es Simple es 1lunchOkS ric Jnlp) new es , ensuring ha even s ric
file can be read wi hou s ric op ion
( es Simple es 1lunchNo OkJnlpS ric ) new es ensuring ha s ric ly
read no-s ric file will fail
( es Simple es 1lunchOkS ric JnlpS ric ) new es ensuring ha s ric ly
read s ric file will pass
2012-09-06 Jiri Vanek <jvanek@redha .com>
Fixing several ypos from previous push
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerLauncher.java:
(ge UrlUponThisIns ance) Javadoc, replaced C rea e wi h Crea e.
* es s/ es -ex ensions/ne /sourceforge/jnlp/TinyH pdImpl.java: (run)
Fixed inden a ion.
* es s/reproducers/simple/Parame rizedJarUrl/ es cases/Parame rizedJarUrlTes s.java:
Refac ored crea eCodeBAse o crea eCodeBase.
2012-09-05 Jiri Vanek <jvanek@redha .com>
Fixing several errors which were causing incorrec behaviour causing
correc reproduc ion of PR905
* es s/reproducers/simple/Parame rizedJarUrl/resources/Parame rizedJarUrlSigned.h m
Using differen jar for reproducing
* es s/reproducers/simple/Parame rizedJarUrl/ es cases/Parame rizedJarUrlTes s.java
Added es s for hardcoded codebase (same and differen )
enhanced original PR905 reproducers
* es s/ es -ex ensions/ne /sourceforge/jnlp/LoggingBo leneck.java:
added flush for logs
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess.java: cleaned
and enhanced ge Url* me hods.
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerLauncher.java: delega ed
socke
* es s/ es -ex ensions/ne /sourceforge/jnlp/TinyH pdImpl.java: fixed
processing of ques ion mark.
2012-09-05 Jiri Vanek <jvanek@redha .com>
* es s/reproducers/signed/Coun ingApple Signed/srcs/Coun ingApple Signed.java:
Signed apple pain ing o canvas and periodically prin ing ou coun ed messages
* es s/reproducers/signed2/Apple Tes Signed2/srcs/Apple Tes Signed2:
Second simple signed apple for es ing wo differen simple ones parallel
* es s/reproducers/simple/Coun ingApple 1/resources/ParallelApple sTes _1E_x_2s.h ml:
* es s/reproducers/simple/Coun ingApple 1/resources/ParallelApple sTes _1_x_1.h ml:
* es s/reproducers/simple/Coun ingApple 1/resources/ParallelApple sTes _1_x_2.h ml:
* es s/reproducers/simple/Coun ingApple 1/resources/ParallelApple sTes _1_x_2E.h ml:
* es s/reproducers/simple/Coun ingApple 1/resources/ParallelApple sTes _1_x_2e.h ml:
* es s/reproducers/simple/Coun ingApple 1/resources/ParallelApple sTes _1_x_2sk.h ml:
* es s/reproducers/simple/Coun ingApple 1/resources/ParallelApple sTes _1e_x_2s.h ml:
* es s/reproducers/simple/Coun ingApple 1/resources/ParallelApple sTes _1k_x_2.h ml:
* es s/reproducers/simple/Coun ingApple 1/resources/ParallelApple sTes _1s_x_2.h ml:
* es s/reproducers/simple/Coun ingApple 1/resources/ParallelApple sTes _1s_x_2s.h ml:
* es s/reproducers/simple/Coun ingApple 1/resources/ParallelApple sTes _1s_x_2ss.h ml:
Various combina ions of plain, signed, crashing, excep ion hrowing and
exi ing apple s on single web-page
* es s/reproducers/simple/Coun ingApple 1/srcs/Coun ingApple 1.java:
Simple apple pain ing o canvas and periodically prin ing ou coun ed messages
* es s/reproducers/simple/Coun ingApple 1/ es cases/ParallelApple sTes .java:
es cases launching above h ml files.
* es s/reproducers/simple/Coun ingApple 2/srcs/Coun ingApple 2.java:
Second simple apple pain ing o canvas and periodically prin ing ou coun ed messages
* es s/reproducers/simple/simple es 2/srcs/SimpleTes 2.java: Enhanced
excep ion hrowing reproducer.
2012-09-04 Jiri Vanek <Jvanek@redha .com>
Danesh Dadachanji <ddadacha@redha .com>
Single ins ance suppor for jnlp-href and es s
* ne x/ne /sourceforge/jnlp/services/XSingleIns anceService.java:
(ini ializeSingleIns ance) fixed code for ca ching running ins ance
(checkSingleIns anceRunning) Added handling of parame ers.
* ne x/ne /sourceforge/jnlp/Launcher.java: (launchApplica ion),
(launchApple ) Added debug ou pu ha ins ance is already running.
(ge Apple ) added check for services and debug ou pu
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: added
(LSingleIns anceExis s) en ry for excep ion.
es s/reproducers/simple/SingleIns anceServiceTes /resources/SingleIns anceTes .jnlp
* es s/reproducers/simple/SingleIns anceServiceTes /resources/SingleIns anceTes WS.jnlp:
* es s/reproducers/simple/SingleIns anceServiceTes /resources/SingleIns anceTes _clasical.h ml:
* es s/reproducers/simple/SingleIns anceServiceTes /resources/SingleIns anceTes _jnlpHref.h ml:
Apple and applica ion in jnlp or h ml launching files.
* es s/reproducers/simple/SingleIns anceServiceTes /srcs/SingleIns anceChecker.java
SingleIns ance implemen ing apple /applica ion
* es s/reproducers/simple/SingleIns anceServiceTes / es cases/SingleIns anceTes .java
Tes file for launching for above jnlps/h mls as es cases.
2012-08-27 Adam Domurad <adomurad@redha .com>
Fixes PR920, duplica e loading of classes in cer ain cases
* NEWS: Added en ry: Fixes PR920
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: Remove
recursive/non-recursive dis inc ion. Add paren JNLPClassLoader o
paren chain.
2012-08-27 Adam Domurad <adomurad@redha .com>
Reproduces problem behind PR920, class is in a jar is loaded wice when
used by bo h a class wi hin he jar, and also used by a class ou side
he jar ex ending ha class.
* es s/reproducers/cus om/Apple Ex endsFromOu sideJar/README:
Describes es
* es s/reproducers/cus om/Apple Ex endsFromOu sideJar/resources/Apple Ex endsFromOu sideJar.h ml:
Runs apple wi h main class ou side jar
* A es s/reproducers/cus om/Apple Ex endsFromOu sideJar/srcs/Apple ReferenceInSameJar.java:
References class Referenced inside same jar
* es s/reproducers/cus om/Apple Ex endsFromOu sideJar/srcs/Apple ReferenceOu OfJar.java:
References class Referenced ou side he jar
* es s/reproducers/cus om/Apple Ex endsFromOu sideJar/srcs/Makefile:
Packages Reference, Apple ReferenceInSameJar in o a jar,
Apple ReferenceOu OfJar ou side i
* es s/reproducers/cus om/Apple Ex endsFromOu sideJar/srcs/Referenced.java:
Class ha is referenced wice, loaded wice in failing behaviour
* es s/reproducers/cus om/Apple Ex endsFromOu sideJar/ es cases/Apple Ex endsFromOu sideJarTes s.java:
Drives Apple Ex endsFromOu sideJar.h ml
2012-08-27 Adam Domurad <adomurad@redha .com>
Tes s whe her a main class can be found in a jar specified in
META-INF/INDEX.LIST. This es is done wi h bo h signed and unsigned
jars. The failure wi h signed jars encapsula es PR1112.
* es s/reproducers/cus om/Addi ionalJarsInMe aInfIndexLis /resources/Addi ionalJarsInMe aInfIndexLis Signed.jnlp:
* es s/reproducers/cus om/Addi ionalJarsInMe aInfIndexLis /resources/Addi ionalJarsInMe aInfIndexLis Unsigned.jnlp:
JNLP files for he signed and unsigned varions of he es
* es s/reproducers/cus om/Addi ionalJarsInMe aInfIndexLis /srcs/LoadedViaMe aInfIndexLis .java:
Main class ha is wi hin a jar loaded via
* es s/reproducers/cus om/Addi ionalJarsInMe aInfIndexLis /srcs/Makefile:
Prepares a jar wi h INDEX.LIST poin ing o ano her jar ha has he
main-class. Copies of hese jars and made and signed.
* es s/reproducers/cus om/Addi ionalJarsInMe aInfIndexLis / es cases/Addi ionalJarsInMe aInfIndexLis Tes s.java:
Tes driver, es s if main-class has run.
2012-08-27 Adam Domurad <adomurad@redha .com>
Tes s cus om policy defini ion in such a way ha has been known o
cause ClassCirculari yError's. Reproducer for PR1145.
* es s/reproducers/signed/Cus omPolicy/resources/Cus omPolicy.jnlp:
* es s/reproducers/signed/Cus omPolicy/srcs/Cus omPolicy.java:
Se s cus om policy and performs a privileged opera ion wi h no given
privileges.
* es s/reproducers/signed/Cus omPolicy/ es cases/Cus omPolicyTes s.java:
Tes s ha an access con rol excep ion was caugh , and ha he program
exi s correc ly.
2012-08-27 Deepak Bhole <dbhole@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ge AccessCon rolCon ex ForClassLoading): Ca ch ClassCirculari yErrors and
ignore hem ( hus denying permission o caller).
2012-08-27 Jiri Vanek <jvanek@redha .com>
Added es s for PR822 - mul iple signa ures on classpa h
* Makefile.am: lis ed signed2 direc ory
* es s/reproducers/signed2/Mul ipleSigna uresTes /resources/Mul ipleSigna uresTes .h ml:
* es s/reproducers/signed2/Mul ipleSigna uresTes /resources/Mul ipleSigna uresTes 1.jnlp:
* es s/reproducers/signed2/Mul ipleSigna uresTes /resources/Mul ipleSigna uresTes 1_reques ing.jnlp:
* es s/reproducers/signed2/Mul ipleSigna uresTes /resources/Mul ipleSigna uresTes 2.jnlp:
* es s/reproducers/signed2/Mul ipleSigna uresTes SamePackage/resources/Mul ipleSigna uresTes 1_SamePackage.jnlp:
* es s/reproducers/signed2/Mul ipleSigna uresTes SamePackage/resources/Mul ipleSigna uresTes 1_SamePackage_reques ing.jnlp:
* es s/reproducers/signed2/Mul ipleSigna uresTes SamePackage/resources/Mul ipleSigna uresTes 2_SamePackage.jnlp:
* es s/reproducers/signed2/Mul ipleSigna uresTes SamePackage/resources/Mul ipleSigna uresTes _SamePackage.h ml:
various varia ions of mul iple sign arues jnlp/h ml, in/ou package, same/differen / signa ure
* es s/reproducers/signed2/Mul ipleSigna uresTes SamePackage/srcs/Mul ipleSigna uresTes SamePackage.java:
simple class jus wi h call o second jar
* es s/reproducers/signed2/Mul ipleSigna uresTes /srcs/somecrazy es package/Mul ipleSigna uresTes .java:
simple class jus wi h call o second jar, bu in package
* es s/reproducers/signed2/Mul ipleSigna uresTes / es cases/Mul ipleSigna uresTes Tes s.java:
* es s/reproducers/signed2/Mul ipleSigna uresTes SamePackage/ es cases/Mul ipleSigna uresTes Tes sSamePackage.java
various es cases ro above resources
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess.java: "-verbose " fixed o "-verbose"
2012-08-27 Jiri Vanek <jvanek@redha .com>
Fixed long erm failing uni - es , fixed NPE from ClassLoader
* ne x/ne /sourceforge/jnlp/NullJnlpFileExcep ion.java: new class o
dis inguish plain NPE from null jnlp file.
* ne x/ne /sourceforge/jnlp/Securi yDesc.java: (ge SandBoxPermissions)
added hrow of NullJnlpFileExcep ion in case of null jnlp file.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: (findClass)
added Override anno a ion, add ca ch of NullJnlpFileExcep ion and
re- hrow of CNF excep ion.
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/CodeBaseClassLoaderTes .java:
( es ResourceLoadSuccessCaching) ( es ResourceLoadFailureCaching)
( es Paren ClassLoaderIsAskedForClasses) - in ernal JNLPFile's
(ge Securi y) null in Securi yDesc cons ruc orrepalced by his.
( es NullFileSecuri yDesc) new es o ensure NPE in null JNLPFile case.
2012-08-22 Jiri Vanek <jvanek@redha .com>
Added es s for PR905 - parame ers in jnlp/h ml applica ion/apple resources
* es s/reproducers/simple/Parame rizedJarUrl/resources/Parame rizedJarUrl.h ml:
h ml file o launch apple , reques ed archive jar have parame er
* es s/reproducers/simple/Parame rizedJarUrl/resources/Parame rizedJarUrl1.jnlp:
jnlp file o launch applica ion, reques ed archive jar have parame er
* es s/reproducers/simple/Parame rizedJarUrl/resources/Parame rizedJarUrl2.jnlp:
jnlp file o launch applica ion, reques ed jnlp have parame er
* es s/reproducers/simple/Parame rizedJarUrl/resources/Parame rizedJarUrlSigned.h ml:
h ml file o launch signed apple , reques ed archive jar have parame er
* es s/reproducers/simple/Parame rizedJarUrl/resources/Parame rizedJarUrlSigned1.jnlp:
jnlp file o launch signed applica ion, reques ed archive jar have parame er
* es s/reproducers/simple/Parame rizedJarUrl/resources/Parame rizedJarUrlSigned2.jnlp:
jnlp file o launch signed applica ion, reques ed jnlp have parame er
* es s/reproducers/simple/Parame rizedJarUrl/resources/Parame rizedJarApple Url2.jnlp
* es s/reproducers/simple/Parame rizedJarUrl/resources/Parame rizedJarApple Url.jnlp
* es s/reproducers/simple/Parame rizedJarUrl/resources/Parame rizedJarApple UrlSigned2.jnlp
* es s/reproducers/simple/Parame rizedJarUrl/resources/Parame rizedJarApple UrlSigned.jnlp
varia ions launching apple s from jnlp
* es s/reproducers/simple/Parame rizedJarUrl/ es cases/Parame rizedJarUrlTes s.java:
es aceses of above Parame rizedJarUrl/jnlps+h mls namely - (parame rizedApple Tes SignedTes )
, ( es Parame rizedJarUrl2), ( es Parame rizedJarUrlSigned2): passing
calls /par ially/ wi h parame er. Those es are passing.
(parame rizedApple Tes SignedFirefoxTes ) call wi h parame er upon signed
apple in browser, failing and so is represen ing PR905
2012-08-21 Jiri Vanek <jvanek@redha .com>
* es s/ es -ex ensions/ne /sourceforge/jnlp/ProcessAssasin.java:
(sigIn ), (sigKill), (sigTerm) new me hods for various killing of
processes by kill.
(kill) new me hod, launching kill process.
(des royProcess ) is now calling sigIn ins ead of unwrapped sigTerm.
2012-08-21 Jiri Vanek <jvanek@redha .com>
* launcher/javaws.in: java is now launched by exec
2012-08-19 Thomas Meyer < homas@m3y3r.de>
* ne x/ne /sourceforge/jnlp/JNLPFile.java:
* ne x/ne /sourceforge/jnlp/LaunchHandler.java:
* ne x/ne /sourceforge/jnlp/PluginBridge.java:
* ne x/ne /sourceforge/jnlp/cache/ResourceUrlCrea or.java:
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
* ne x/ne /sourceforge/jnlp/run ime/RhinoBasedPacEvalua or.java:
Fix javadoc warnings.
* plugin/iced eanp/java/sun/apple /PluginObjec S ore.java (con ains):
Fix a small bug ha preven s he only user of his me hod
(PluginApple Securi y line 1064) o work correc ly.
2012-08-18 Jiri Vanek <jvanek@redha .com>
added encodings reproducer (PR1108)
* es s/reproducers/simple/encodingTes sĚŠČŘŽÝÁÍÉĚÉŘŤÝÚŮÍÓÁŠĎŽŹŇ: new
reproducer
* es s/reproducers/simple/encodingTes sĚŠČŘŽÝÁÍÉĚÉŘŤÝÚŮÍÓÁŠĎŽŹŇ/srcs/encodingTes .java:
main class/main apple class and me hod of new encodingTes sĚŠČŘŽÝÁÍÉĚÉŘŤÝÚŮÍÓÁŠĎŽŹŇ.jar
* es s/reproducers/simple/encodingTes sĚŠČŘŽÝÁÍÉĚÉŘŤÝÚŮÍÓÁŠĎŽŹŇ/ es cases/encodingTes Tes .java:
es cases for jnlps of his reproducers
* es s/reproducers/simple/encodingTes sĚŠČŘŽÝÁÍÉĚÉŘŤÝÚŮÍÓÁŠĎŽŹŇ/resources:
four u f-8 and four iso-8859-2 jnlp files and one u f-8 and one
iso-8859-2 h ml files
* es s/reproducers/simple/simple es 1/srcs/simple es 1.java: now prin s
i s args ou
* es s/ es -ex ensions- es s/ne /sourceforge/jnlp/ResourcesTes .java:
correc ly swaped error and ou pu lis ener in i s es
2012-08-17 Adam Domurad <adomurad@redha .com>
Fixes PR588, cookies se in he java cookie jar are now s ored properly
* plugin/iced eanp/IcedTeaNPPlugin.cc
(se _cookie_info): New, uses se valueforurl
(consume_plugin_message): Addi ional message added allowing
se _cookie_info o be used from he java side.
* plugin/iced eanp/java/sun/apple /PluginCookieManager.java: Now
overrides pu me hod, resul s in se _cookie_info calls in C++
* plugin/iced eanp/java/sun/apple /PluginMain.java: Passes
PluginS reamHandler o PluginCookieManager o allow C++ side
communica ion
2012-08-17 Adam Domurad <adomurad@redha .com>
Reproducers for PR588, se s persis en and session cookies in he
cookie jar and ries o read hem wi h various means.
* es s/reproducers/signed/SavingCookies/resources/CheckCookie.h ml:
Prin he cookie s ore con en s
* es s/reproducers/signed/SavingCookies/resources/CheckCookieAndGo oClear.h ml:
Prin he cookie s ore con en s, and hen go o
ClearPersis en Cookie.h ml wi h showDocumen
* es s/reproducers/signed/SavingCookies/resources/ClearPersis en Cookie.h ml:
Clear he es cookie so i does no in erfere wi h fur her es s
* es s/reproducers/signed/SavingCookies/resources/SavePersis en Cookie.h ml:
Crea e a persis en cookie
* es s/reproducers/signed/SavingCookies/resources/SavePersis en CookieAndGo oCheck.h ml:
Crea e a persis en cookie and check i wi h showDocumen
* es s/reproducers/signed/SavingCookies/resources/SaveSessionCookie.h ml:
Crea e a session cookie
* es s/reproducers/signed/SavingCookies/resources/SaveSessionCookieAndGo oCheck.h ml:
Crea e a session cookie and check i wi h showDocumen
* es s/reproducers/signed/SavingCookies/srcs/CheckingCookies.java:
Checks he con en s of he cookie s ore.
Depending on he es , his may go o ano her page upon comple ion.
* es s/reproducers/signed/SavingCookies/srcs/SavingCookies.java:
S ore cookies in he java cookie s ore. Depending on he es , his may
go o ano her page upon comple ion.
* es s/reproducers/signed/SavingCookies/ es cases/SavingCookiesTes s.java
Tes driver for es ing persis en and session cookies in differen
ways
2012-08-18 Jiri Vanek <jvanek@redha .com>
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess.java: added
VERBOSE_OPTION cons an wi h -verbose value for javaws launching.
2012-08-17 Jiri Vanek <jvanek@redha .com>
* es s/reproducers/simple/deadlock es / es cases/DeadLockTes Tes .java:
( es DeadLockTes Termina edBody) removed es s for killed-process and
ermina ion of remaining javas pu on correc place.
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess.java:
(execu eBrowser) s ou and s derr lis eners forwarded o nex me hod in
correc order.
2012-08-14 Danesh Dadachanji <ddadacha@redha .com>
Classpa hs in jars' manifes s are only considered when he apple is run
wi hou using jnlp_href and a JNLP file.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java (ac iva eJars):
Add condi ional check for use of jnlp_href.
* es s/reproducers/signed/Classpa h.Manifes .Tes .Helper/srcs/CheckForClasspa h.java:
Apple whose jar is s ored in a subdir under he es engine server.
* es s/reproducers/signed/Classpa hManifes Tes /resources/Classpa hManifes Apple Tes .h ml:
* es s/reproducers/signed/Classpa hManifes Tes /resources/Classpa hManifes Apple Tes .jnlp:
* es s/reproducers/signed/Classpa hManifes Tes /resources/Classpa hManifes Applica ionTes .jnlp:
* es s/reproducers/signed/Classpa hManifes Tes /resources/Classpa hManifes JNLPHrefTes .h ml:
* es s/reproducers/signed/Classpa hManifes Tes /srcs/Classpa hManifes .java:
* es s/reproducers/signed/Classpa hManifes Tes /srcs/META-INF/MANIFEST.MF:
* es s/reproducers/signed/Classpa hManifes Tes / es cases/Classpa hManifes Tes .java:
Tes if manifes en ry is searched for classpa h only when in he plugin
is run wi hou using jnlp_href.
2012-08-14 Adam Domurad <adomurad@redha .com>
Reproducer for allowing unsigned con en in META-INF/ folder.
Derives from ReadProper iesSigned es 's signed jar.
* es s/reproducers/cus om/UnsignedCon en InMETAINF/resources/UnsignedCon en InMETAINF.jnlp:
New, runs a modified version of ReadProper iesSigned.jar (UnsignedCon en InMETAINF.jar)
* es s/reproducers/cus om/UnsignedCon en InMETAINF/srcs/META-INF/unsigned_file_in_me ainf:
New, placed in o a modified version of ReadProper iesSigned.jar
(UnsignedCon en InMETAINF.jar) so ha here is unsigned con en in he
META-INF/ folder.
* es s/reproducers/cus om/UnsignedCon en InMETAINF/srcs/Makefile:
New, crea es a modified version of ReadProper iesSigned.jar, named
UnsignedCon en InMETAINF.jar, and places unsigned con en inside i s
META-INF/ folder
* es s/reproducers/cus om/UnsignedCon en InMETAINF/ es cases/UnsignedCon en InMETAINF.java:
Tes driver for jnlp file
2012-08-14 Adam Domurad <adomurad@redha .com>
Uni es for me hod in JCV, isMe aInfFile()
* ne x/ne /sourceforge/jnlp/ ools/JarCer Verifier.java:
Made isMe aInfFile package-priva e for es ing purposes.
* es s/ne x/uni /ne /sourceforge/jnlp/ ools/JarCer VerifierTes .java:
New, es s isMe aInfFile
2012-08-06 Jiri Vanek <jvanek@redha .com>
Added splashscreen implemen a ion
* ne x/ne /sourceforge/jnlp/GuiLaunchHandler.java: calling JNLPSplashScreen
cons ruc or wi h file ra ehr hen null.
* ne x/ne /sourceforge/jnlp/Informa ionDesc.java: ONE_LINE changed from
"oneline" o "one-line", added ci a ion why. (ge Descrip ionS ric ) new
me hod re urning exac value or null wi hou fall-back.
* ne x/ne /sourceforge/jnlp/JNLPSplashScreen.java: Added header, defaul
values and useless s ring replaced by JnlpFile.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Added SPLASH
family of keys.
* ne x/ne /sourceforge/jnlp/run ime/Apple Environmen .java: (ge SplashCon roler)
new me hod re urning i s SplashCon roler.
* ne x/ne /sourceforge/jnlp/run ime/Boo .java: Cons an s (name) and
(version) made public.
* ne x/ne /sourceforge/jnlp/splashscreen/SplashCon roller.java: New in erface
for each class which wan s i s splasshcreen con rolled by SplashU ils.
* ne x/ne /sourceforge/jnlp/splashscreen/SplashErrorPanel.java: New in erface
for each class which wan s o serve as error-showing splashscreen.
* ne x/ne /sourceforge/jnlp/splashscreen/SplashPanel.java: New in erface
for each class which wan s o serve as splashscreen.
* ne x/ne /sourceforge/jnlp/splashscreen/SplashU ils.java: Fac ory me hods
for simplified splashscreens crea ion.
* ne x/ne /sourceforge/jnlp/splashscreen/impls/Defaul ErrorSplashScreen2012.java:
Full implemen a ion of SplashErrorPanel o be used as defaul error
splashscreen.
* ne x/ne /sourceforge/jnlp/splashscreen/impls/Defaul SplashScreen2012.java:
Full implemen a ion of SplashPanel o be used as defaul splashscreen.
* ne x/ne /sourceforge/jnlp/splashscreen/impls/Defaul SplashScreens2012Commons.java:
Class for ga hering same logic in Defaul ErrorSplashScreen2012 and
Defaul SplashScreen2012.
* ne x/ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/BasePain er.java:
Class responsible for pain main graphic in Defaul SplashScreen2012.
* ne x/ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/Con rolCurve.java:
Pain ing forefa her for primi ives drawing curves.
* ne x/ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/Cubic.java:
Class wi h cubic calcula ion.
* ne x/ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/ErrorPain er.java:
Class responsible for pain main graphic in Defaul ErrorSplashScreen2012.
* ne x/ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/MovingTex .java:
Class responsible for me al-shining web label.
* ne x/ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/Na Cubic.java:
Pain ing primi ive for drawing cubic-splines.
* ne x/ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/Na CubicClosed.java:
Pain ing primi ive for drawing self-closed cubic-splines.
* ne x/ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/Tex Ou lineRenderer.java:
Class for rendering ex from given ex ure,
* ne x/ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/Tex Wi hWa erLevel.java:
Class for rendering Iced label slowly filled wi h wa er
* ne x/ne /sourceforge/jnlp/splashscreen/par s/BasicComponen ErrorSplashScreen.java:
Common forefa her for all error splashscreens which would like o be an
componen oo.
* ne x/ne /sourceforge/jnlp/splashscreen/par s/BasicComponen SplashScreen.java:
Common forefa her for all splashscreens which would like o be an componen oo.
* ne x/ne /sourceforge/jnlp/splashscreen/par s/Descrip ionInfoI em.java:
Descrip ion i em of Informa ionElemen
* ne x/ne /sourceforge/jnlp/splashscreen/par s/InfoI em.java:
Individual i ems in Informa ionElemen
* ne x/ne /sourceforge/jnlp/splashscreen/par s/Informa ionElemen .java:
Wrapper around jnlp's informa ion elemen .
* ne x/ne /sourceforge/jnlp/splashscreen/par s/JEdi orPaneBasedExcep ionDialog.java:
Cus om error dialogue wi h direc access o excep ion and iced ea-web page
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/ErrorSplashScreenTes .java:
Tes for final composi ion of ErrorSplashScreen2012, including main me hod
for manual es ing
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/SplashScreenTes .java:
Tes for final composi ion of SplashScreen2012, including main me hod
for manual es ing
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/ErrorSplashU ilsTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/BasePain erTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/Con rolCurveTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/CubicTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/ErrorPain erTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/MovingTex Tes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/Na CubicClosedTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/Na CubicTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/SplinesDefsTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/Tex Ou lineRendererTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/impls/defaul splashscreen2012/Tex Wi hWa erLevelTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/par s/BasicComponen ErrorSplashScreenTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/par s/BasicComponen SplashScreenTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/par s/Descrip ionInfoI emTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/par s/InfoI emTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/par s/Informa ionElemen Tes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/splashscreen/par s/JEdi orPaneBasedExcep ionDialogTes .java:
Uni - es classes always es ing he class wi h corresponding name
2012-08-13 Jiri Vanek <jvanek@redha .com>
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess.java:
(execu eProcessUponURL)Fixed wrong call in previous commi which was
causing null process name.
* es s/reproducers/simple/Apple Tes / es cases/Apple Tes Tes s.java:
Removed unused impor .
2012-08-13 Jiri Vanek <jvanek@redha .com>
Reproducers of PR955
* es s/reproducers/simple/LocalisedInforma ionElemen /resources/LocalisedInforma ionElemen 1.jnlp:
* es s/reproducers/simple/LocalisedInforma ionElemen /resources/LocalisedInforma ionElemen 2.jnlp:
* es s/reproducers/simple/LocalisedInforma ionElemen /resources/LocalisedInforma ionElemen 3.jnlp:
* es s/reproducers/simple/LocalisedInforma ionElemen /resources/LocalisedInforma ionElemen 4.jnlp:
Tes jnlp files wi h various combina ions of locales, reproducers of PR955.
* es s/reproducers/simple/LocalisedInforma ionElemen /resources/LocalisedInforma ionElemen _noLoc.jnlp
Jnlp file wi h which is no affec ed by PR955 and is helping o ca ch error in LOCALE changing hack
* es s/reproducers/simple/LocalisedInforma ionElemen /srcs/LocalisedInforma ionElemen .java:
Reproducer main class, af er loading prin s ou defaul locale.
* es s/reproducers/simple/LocalisedInforma ionElemen / es cases/LocalisedInforma ionElemen Tes .java:
Tes cases launching above jnlps under various locales.
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess.java:
Added se of me hods allowing passing of cus om variables o ThreadedProcess.
* es s/ es -ex ensions/ne /sourceforge/jnlp/ThreadedProcess.java:
Added processing of cus om variables.
2012-08-10 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/IcedTeaNPPlugin.cc
(consume_plugin_message): New, called by consume_message, handles
cookie and proxy info re rieval, and se ing cookie info
(consume_message): Call consume_plugin_message for "plugin ..."
messages
2012-08-08 Danesh Dadachanji <ddadacha@redha .com>
Fix PR955: regression: Swee Home3D fails o run
* NEWS: Added en ry for PR955
* ne x/ne /sourceforge/jnlp/JNLPFile.java: New enum Ma ch ha represen s
he level of precision o use when ma ching locales.
(localMa ches): Renamed o localeMa ches, added ma chLevel parama er
and upda ed condi ionals o handle he level of precision specified by i .
(ge Vendor): New me hod ha re urns an informa ion's vendor ex .
(ge Informa ion): Added override me hods for ge Ti le and ge Vendor
ha are used by he anonymous class o fil er by locale. All hree
me hods now go hrough all levels of precision o search for he bes
fi ed locale.
(ge Resources), (ge ResourcesDescs): Upda ed o check if any level of
precision ma ches when searching for locales.
(parse): Added call o checkForTi leVendor.
* ne x/ne /sourceforge/jnlp/Parser.java
(checkForTi leVendor): New me hod o check for availabili y of localized
i le and vendor from he informa ion ags. Throws ParseExcep ion.
(ge Info): Replace loop wi h foreach loop.
(ge Informa ionDesc): Remove check for presen i le and vendor.
(ge Locale): Varian re urned can now use every hing af er he eig h
elemen of he locale's s ring.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
Upda e missing i le and vendor messages o men ion localiza ion.
* es s/reproducers/simple/Informa ionTi leVendorParser/ es cases/Informa ionTi leVendorParserTes .java:
Upda e ou pu s ring as per new changes o Messages in erna ionaliza ions.
* es s/ne x/uni /ne /sourceforge/jnlp/JNLPFileTes .java:
New uni es ha checks he localesMa ches me hod in JNLPFile.
* es s/ne x/uni /ne /sourceforge/jnlp/MockJNLPFile.java:
New class used o crea e a mock JNLPFile objec .
* es s/ne x/uni /ne /sourceforge/jnlp/ParserTes .java:
New uni es ha checks ha he re urn of ge Ti le and ge Vendor
have localized informa ion.
2012-08-07 Thomas Meyer < homas@m3y3r.de>
* plugin/iced eanp/IcedTeaNPPlugin.cc: only expor NP_Ge MIMEDescrip ion,
NP_Ge Value, NP_Ini ialize and NP_Shu down. This should fix PR472.
2012-08-07 Saad Mohammad <smohammad@redha .com>
Added license header o files wi hou one.
* ne x/ne /sourceforge/jnlp/Apple Log.java:
* ne x/ne /sourceforge/jnlp/JNLPMa cherExcep ion.java:
* ne x/ne /sourceforge/jnlp/Log.java:
* ne x/ne /sourceforge/jnlp/Node.java:
* ne x/ne /sourceforge/jnlp/Upda eDesc.java:
* ne x/ne /sourceforge/jnlp/cache/IllegalResourceDescrip orExcep ion.java:
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogMessage.java: Added
license header.
2012-08-07 Adam Domurad <adomurad@redha .com>
Fixes PR1106, plugin crashing wi h firefox + archlinux/gen oo
* plugin/iced eanp/IcedTeaNPPlugin.cc
(ini ialize_browser_func ions): Accoun for he fac ha
browserTable->size can be larger han sizeof(NPNe scapeFuncs)
2012-08-01 Saad Mohammad <smohammad@redha .com>
Fix PR1049: Ex ension jnlp's signed jar wi h he con en of only META-INF/*
is considered unsigned.
* NEWS: Added en ry for PR1049.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java (ini ializeResources):
Removes he display of he securi y dialog for loaders wi h only emp y jars.
* ne x/ne /sourceforge/jnlp/ ools/JarCer Verifier.java:
(JarCer Verifier): Tracks whe her all jars verified are emp y jars.
(hasAllEmp yJars): Re urns rue if all jars verified are emp y jars.
(verifyJars): Checks whe her signable en ries and cer ifica es are found and
decides if all jars are emp y jars.
(isFullySignedByASingleCer ): If all jars are emp yJars, re urns rue.
* es s/reproducers/signed/Emp ySignedJar/resources/Emp ySignedJarInLaunchingJnlp.jnlp:
Launching jnlp wi h he resource of an emp y jar and an ex ension jnlp
con aining he main jar.
* es s/reproducers/signed/Emp ySignedJar/resources/Emp ySignedJarInEx ensionJnlp.jnlp:
Launching jnlp wi h he resource of he main jar and an ex ension jnlp
con aining he emp y jar.
* es s/reproducers/signed/Emp ySignedJar/resources/Emp ySignedJarEx ension.jnlp:
Ex ension jnlp con aining only an emp y jar.
* es s/reproducers/signed/Emp ySignedJar/srcs/META-INF/emp y_file:
Emp y file wi hin META-INF; required o crea e Emp ySignedJar.jar
by he es engine.
* es s/reproducers/signed/Emp ySignedJar/ es cases/Emp ySignedJarTes .java:
Tes case ha es s jnlp files wi h emp y jars.
* es s/reproducers/signed/SignedJarResource/resources/SignedJarResource.jnlp:
Launches SignedJarResource class direc ly.
2012-07-31 Danesh Dadachanji <ddadacha@redha .com>
Minor fix o overly res ric ive uni es .
* es s/ne x/uni /ne /sourceforge/jnlp/JNLPMa cherTes .java
( es IsMa chDoesNo HangOnLargeDa a): Increase imeou o 5 seconds.
2012-07-24 Adam Domurad <adomurad@redha .com>
CVE-2012-3422, RH840592: Po en ial read from an unini ialized
memory loca ion.
* plugin/iced eanp/IcedTeaNPPlugin.cc
(ge _cookie_info): Only a emp o perform his opera ion if here is a
valid plugin ins ance
(ge _proxy_info): Only a emp o perform his opera ion if here is a
valid plugin ins ance
2012-07-31 Danesh Dadachanji <ddadacha@redha .com>
* Makefile.am: Fix call o key ool ha is missing i s absolu e pa h.
2012-07-31 Jiri Vanek <jvanek@redha .com>
Pe er Ha ina <pha ina@redha .com>
In roduced configure op ion --wi h-g k=2|3|defaul o be able
o compile agains differen version of GTK+ (2.x or 3.x).
* NEWS: men ioned bug fix
* acinclude.m4: (ITW_GTK_CHECK_VERSION) macro for ge ing GTK+ version
(ITW_GTK_CHECK) macro for checking GTK+ version
2012-07-24 Adam Domurad <adomurad@redha .com>
* plugin/iced eanp/IcedTeaPluginU ils.cc
(IcedTeaPluginU ili ies::s rSpli ): Replace usage of " " wi h proper
delimi er
2012-07-18 Danesh Dadachanji <ddadacha@redha .com>
Fix RH838417, Fix RH838559: Disambigua e signed apple securi y promp
from cer ifica e warning.
* NEWS: Added en ries for RH838417 and RH838559.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
Added SWarnFullPermissionsIgnorePolicy and upda ed SH psUnverified.
* ne x/ne /sourceforge/jnlp/securi y/Cer WarningPane.java: Display
SWarnFullPermissionsIgnorePolicy if he cer is from a jar and is ei her
unverified or has a signing error. Also added warning.png o HTTPS dialogs.
2012-07-18 Thomas Meyer < homas@m3y3r.de>
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java (handleMessage):
Fix possible endless loop while wai ing for he apple objec ins ance o
ge crea ed.
2012-07-11 Jiri Vanek <jvanek@redha .com>
ry o close browser before kill i
* es s/reproducers/signed/Apple Tes Signed/ es cases/Apple Tes SignedTes s.java:
* es s/reproducers/simple/Apple Tes / es cases/Apple Tes Tes s.java:
* es s/reproducers/simple/CheckServices/ es cases/CheckServicesTes s.java
(evalua eSignedApple ) addap ed o properly closed browser
* es s/reproducers/simple/CheckServices/srcs/CheckServices.java:
removed fixme sec ion as i shuld work now
* es s/ es -ex ensions/ne /sourceforge/jnlp/ProcessAssasin.java
(des royProcess) new me hod, launching kill wi h SIGTERM before clasical
process.des roy()
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess.java:
removed Se <Thread> ermina ed, should be removed long ago
2012-07-10 Adam Domurad <adomurad@redha .com>
Refac or JNLPFile#launchType in o i s own in erface ype (as opposed o
Objec ), LaunchDesc.
* ne x/ne /sourceforge/jnlp/Apple Desc.java: Add override anno a ion o
ge MainClass().
* ne x/ne /sourceforge/jnlp/Applica ionDesc.java: Same as above
* ne x/ne /sourceforge/jnlp/Ins allerDesc.java: Same as above
* ne x/ne /sourceforge/jnlp/JNLPFile.java: Make launchType a
LaunchDesc objec . Upda e ge LaunchInfo() accordingly.
* ne x/ne /sourceforge/jnlp/LaunchDesc.java: New launch descrip ion.
* ne x/ne /sourceforge/jnlp/Parser.java
(ge Launcher): Re urn ype changed o LaunchDesc
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: Replace
occurences of ins anceof wi h respec o launchType.
2012-07-09 Deepak Bhole <dbhole@redha .com>
* configure.ac: Bumped release number o 1.4pre
2012-07-09 Saad Mohammad <smohammad@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java (ini ializeEx ensions):
Checks and assigns he main-class name prior o he for loop.
2012-07-09 Mar in Olsson <mar in@minimum.se>
* plugin/iced eanp/IcedTeaPluginU ils.cc: Change calls from g_free
o free when alloca ed wi h calloc.
* plugin/iced eanp/IcedTeaPluginReques Processor.cc
(PluginReques Processor::call): Make sure args_array doesn hold
garbage when freed.
(_loadURL): Change calls from g_free o free when alloca ed wi h
calloc.
2012-07-09 Adam Domurad <adomurad@redha .com>
Ignore invalid jar files in apple s, like he oracle plugin does.
* ne x/ne /sourceforge/jnlp/cache/IllegalResourceDescrip orExcep ion.java:
New excep ion ype for ResourceTracker o hrow ins ead of
IllegalArgumen Excep ion
* ne x/ne /sourceforge/jnlp/cache/IllegalResourceDescrip orExcep ion.java:
Throws IllegalArgumen Descrip orExcep ion ins ead of
IllegalArgumen Excep ion.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
(isInvalidJar): New, checks for ZipExcep ion in new JarFile(...)
(shouldFil erInvalidJars): New, checks if we are in an apple
(ini ializeResources): if 'shouldFil erInvalidJars()' is rue and a jar
is no a valid jar file, he jar is fil ered ou and normal execu ion
con inues.
2012-07-03 Saad Mohammad <smohammad@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
(JNLPClassLoader): New cons ruc or ha accep s an addi ional parame er
con aining he main class name.
(ge Ins ance): Accep s mainName as parame er o override applica ion's
main class name
(ini ializeEx ensions): Passes in he name of he applica ion's main class
when crea ing a new JNLPClassLoader ins ance.
(ini ializeResources): If he loader owns no jars, i will consider
i self as signed if all of he ex ension loaders are signed. Also, if he
ex ension jars have he main class, i will se foundMainJar o rue.
(ini ializeResources): If he main class was no found, check if i was
found wi hin he ex ension jars.
(checkForMain): Uses he overwri en main class name (if se ) when
searching for he main wi hin he jars.
(hasMainJar): Re urns rue if his loader holds he main jar.
(hasMainInEx ensions): Re urns rue if ex ension loaders have he main jar
* es s/jnlp_ es s/signed/Ex ensionJnlp/resources/UsesSignedJarEx ension.jnlp:
* es s/jnlp_ es s/signed/Ex ensionJnlp/resources/UsesSignedJnlpEx ension.jnlp:
* es s/jnlp_ es s/signed/Ex ensionJnlp/resources/UsesSignedJnlpJarAndSignedJarEx ension.jnlp:
Launching jnlps ha use ex ension jnlp as i s resource.
* es s/jnlp_ es s/signed/Ex ensionJnlp/resources/UsesSignedJar.jnlp:
Launching jnlp ha direc ly launches SignedJarResource class.
* es s/jnlp_ es s/signed/Ex ensionJnlp/resources/UsesSignedJnlp.jnlp:
Launching jnlp ha direc ly launches SignedJnlpResource class.
* es s/jnlp_ es s/signed/Ex ensionJnlp/ es cases/Ex ensionJnlpTes .java:
Tes case ha es s he launching of jnlp files con aining ex ension jnlps
as resource.
* es s/jnlp_ es s/signed/SignedJarResource/resources/SignedJarEx ension.jnlp:
Componen jnlp file ha is used as an ex ension resource.
* es s/jnlp_ es s/signed/SignedJarResource/srcs/SignedJarResource.java:
A simple java class ha ou pu s a s ring.
* es s/jnlp_ es s/signed/SignedJnlpResource/resources/Unma chingSignedJnlpEx ension.jnlp:
Componen jnlp file ha is used as an ex ension resource and does no
ma ch he signed jnlp file.
* es s/jnlp_ es s/signed/SignedJnlpResource/resources/Ma chingSignedJnlpEx ension.jnlp:
Componen jnlp file ha is used as an ex ension resource and ma ches he
signed jnlp file.
* es s/jnlp_ es s/signed/SignedJnlpResource/srcs/JNLP-INF/APPLICATION_TEMPLATE.jnlp:
Signed jnlp file.
* es s/jnlp_ es s/signed/SignedJnlpResource/srcs/SignedJnlpResource.java:
A simple java class ha ou pu s a s ring.
2012-07-02 Jiri Vanek <jvanek@redha .com>
Added missing headers
* es s/reproducers/simple/Crea eClassLoader/resources/Crea eClassLoader.jnlp:
* es s/reproducers/simple/ReadEnvironmen /resources/ReadEnvironmen .jnlp:
* es s/reproducers/simple/ReadProper ies/resources/ReadProper ies1.jnlp:
* es s/reproducers/simple/ReadProper ies/resources/ReadProper ies2.jnlp:
* es s/reproducers/simple/Redirec S reams/resources/Redirec S reams.jnlp:
* es s/reproducers/simple/ReplaceSecuri yManager/resources/ReplaceSecuri yManager.jnlp:
* es s/reproducers/simple/Se Con ex ClassLoader/resources/Se Con ex ClassLoader.jnlp:
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/anno a ions/Bug.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/anno a ions/KnownToFail.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/anno a ions/NeedsDisplay.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/anno a ions/Tes InBrowsers.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/Browser.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/BrowserFac ory.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/BrowserTes .java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/BrowserTes Runner.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/Browsers.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/browsers/Chrome.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/browsers/Chromium.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/browsers/Epiphany.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/browsers/Firefox.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/browsers/LinuxBrowser.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/browsers/Midory.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/browsers/MozillaFamilyLinuxBrowser.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/browser es ing/browsers/Opera.java:
added license headers
2012-07-02 Jiri Vanek <jvanek@redha .com>
Makefile adap ed o recen ( hree changelog i ems) refac oring
* Makefile.am: (JNLP_TESTS_ENGINE_SRCDIR) now poin s correc ly o
es -ex ensions. (JNLP_TESTS_ENGINE_TESTS_SRCDIR) new variable for
es -ex ensions- es s. (JNLP_TESTS_SRCDIR) now poin s o reproducers.
(JNLP_TESTS_ENGINE_TESTS_DIR) new variable for buil
JNLP_TESTS_ENGINE_TESTS_SRCDIR
(ne x-dis - es s- es s-source-files. x ) new arge for lis of
con en of JNLP_TESTS_ENGINE_TESTS_SRCDIR.
(s amps/ne x-dis - es s- es s-compile.s amp) new arge for compiling
ne x-dis - es s- es s-source-files. x
(ne x-dis - es s-source-files. x) now depends on
s amps/ne x-dis - es s- es s-compile.s amp
($(REPRODUCERS_CLASS_NAMES)) arge is now working in JNLP_TESTS_ENGINE_TESTS_DIR
ins ead of JNLP_TESTS_ENGINE_DIR
(s amps/run-ne x-dis - es s.s amp): added JNLP_TESTS_ENGINE_TESTS_DIR o classpa h
(s amps/run-uni - es -code-coverage.s amp), (s amps/run-reproducers- es -code-coverage.s amp)
added JNLP_TESTS_ENGINE_TESTS_DIR o classpa h and
JNLP_TESTS_ENGINE_TESTS_SRCDIR o sources pa h
2012-07-02 Jiri Vanek <jvanek@redha .com>
All es s from es -ex ensions ex rac ed o es -ex ensions- es s.
All inner classes in es -ex ensions ex rac ed as ou er classes
* es s/ es -ex ensions/ne /sourceforge/jnlp/ResourcesTes .java:
moved o es -ex ensions- es s
* es s/ es -ex ensions- es s/ne /sourceforge/jnlp/ResourcesTes .java:
new file, copied from es -ex ensions
* es s/ es -ex ensions- es s/ne /sourceforge/jnlp/ServerAccessTes .java:
all es s from original ServerAccess.java
* es s/ es -ex ensions/ne /sourceforge/jnlp/Con en Reader.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/LogI em.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/LoggingBo leneck.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/ProcessAssasin.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/ProcessResul .java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerLauncher.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/Tes sLogs.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/ThreadedProcess.java:
* es s/ es -ex ensions/ne /sourceforge/jnlp/TinyH pdImpl.java:
new files, ex rac ed classes from ServerAccess
* es s/ es -ex ensions/ne /sourceforge/jnlp/ServerAccess.java:
ex rac ed es s and inner classes
2012-07-02 Jiri Vanek <jvanek@redha .com>
hg move es s/ne x/jnlp_ es sengine/ es s/ es -ex ensions
2012-07-02 Jiri Vanek <jvanek@redha .com>
hg move es s/jnlp_ es s/ es s/reproducers
2012-06-29 Jiri Vanek <jvanek@redha .com>
Fixed resource es s and Browsers.none behavior
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/ResourcesTes .java:
Added slash in o all execu eBrowsers urls.
Added midori and epiphany o simple proxies es .
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/browser es ing/BrowserTes Runner.java:
Correc ed handling of Browsers.none oge her wi h -Dmodified.browsers.run swi ch
2012-06-28 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(findClass): Invoke CodeBaseClassLoader.findClass wi h a flag o avoid
infini e recursion.
(CodeBaseClassLoader.findClass(S ring)): Delega e o ...
(CodeBaseClassLoader.findClass(S ring,boolean)): New me hod.
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/CodeBaseClassLoaderTes .java
( es Paren ClassLoaderIsAskedForClasses): New me hod.
2012-06-28 Jiri Vanek <jvanek@redha .com>
Correc ly backup all log files re-wri able by emma during code-coverage
* Makefile.am: (EMMA_MODIFIED_FILES) new variable wi h lis of files o
backup/res ore. (s amps/run-uni - es -code-coverage.s amp) and
(s amps/run-reproducers- es -code-coverage.s amp) are now i era ing over
EMMA_MODIFIED_FILES ins ead of enumera ing hem
2012-06-28 Jiri Vanek <jvanek@redha .com>
Removed repea ed re-runing of es s during coverage, s amped pac es s
* Makefile.am: (check-pac-func ions) moved o arge aliases and replaced
by s amps/check-pac-func ions.s amp.
(clean-ne x-uni - es s) added removing of s amps/check-pac-func ions.s amp
(s amps/expor ed- es -cer s.s amp): no longer depends on
ne x-dis - es s-remove-cer -from-public, logic of i have o be
copy-pas ed from here.
(s amps/run-uni - es -code-coverage.s amp): no longer depends on check,
bu was added direc dependences
2012-06-28 Adam Domurad <adomurad@redha .com>
Allow for folders in archive ag.
* ne x/ne /sourceforge/jnlp/PluginBridge.java:
(PluginBridge) Changes jar -> archive, parse con en s wi h
addArchiveEn ries.
(addArchiveEn ries) New me hod. Adds en ries ending wi h / o he lis
of folders.
(ge CodeBaseFolders) Re urns he folders collec ed by addArchiveEn ries
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
(ini ializeResources) If ran as plugin, add archive ag folders o he
code base loader.
2012-06-27 Adam Domurad <adomurad@redha .com>
Tes s folders in archive ag
* es s/jnlp_ es s/cus om/Apple FolderInArchiveTag/ es cases/Apple FolderInArchiveTagTes s.java:
Runs h ml file in browser
* es s/jnlp_ es s/cus om/Apple FolderInArchiveTag/srcs/Makefile:
packages compiled source files in folder
* es s/jnlp_ es s/cus om/Apple FolderInArchiveTag/srcs/Apple FolderInArchiveTag.java:
Simple ou pu o confirm i is running
* es s/jnlp_ es s/cus om/Apple FolderInArchiveTag/resources/Apple FolderInArchiveTag.h ml:
Has folder in i s archive ag ha con ains a class file
2012-06-26 Jiri Vanek <jvanek@redha .com>
Added slipped midori and epiphany o recognized browsers.
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/browser es ing/BrowserFac ory.java:
(BrowserFac ory) added slipped cases for crea ing Epiphany and Midori single ons
2012-06-26 Jiri Vanek <jvanek@redha .com>
* Makefile.am: Mos crucial variables expor ed o be used by cus om Makefiles
(CUSTOM_REPRODUCERS): new variable o hold cus om name
(ALL_NONCUSTOM_REPRODUCERS): new variable for ga hering all excep cus om reproducers
(ALL_REPRODUCERS): now con ains also cus om ones
(s amps/juni -jnlp-dis -dirs): now depends also on juni -jnlp-dis -cus om. x
(juni -jnlp-dis -cus om. x ): new arge scanning for direc ories in jnlp_ es s/cus om
and saving hem as lis for fu ure purposes.
(s amps/ne x-dis - es s-prepare-reproducers.s amp): and
( s amps/change-do s- o-pa hs.s amp):i era e hrough ALL_NONCUSTOM_REPRODUCERS
ins ead of ALL__REPRODUCERS
(s amps/process-cus om-reproducers.s amp) : new arge for i era ing by
juni -jnlp-dis -cus om. x hrough jnlp_ es s/cus om/srcs* and launching
make prepare-reproducer in each.
(clean-cus om-reproducers): same as above bu launching make clean-reproducer
(run-ne x-dis - es s) now depends on s amps/process-cus om-reproducers.s amp
(clean-ne x-dis - es s): now depends on clean-cus om-reproducers and is removing
s amps/ne x-dis - es s-copy-resources.s amp
(s amps/ne x-dis - es s-copy-resources.s amp): new arge ex rac ing
copying of resources from s amps/ne x-dis - es s-compile- es cases.s amp
* es s/jnlp_ es s/README: described his mechanism a bi
2012-06-26 Jiri Vanek <jvanek@redha .com>
Reproducer for classes which should be loaded before verifica ion bu are no
* es s/jnlp_ es s/signed/In ernalClassloaderWi hDownloadedResource/resources/In ernalClassloaderWi hDownloadedResource-apple -hack.jnlp
jnlp launcher of apple varian wi h injec ing new url o classlaoder
* es s/jnlp_ es s/signed/In ernalClassloaderWi hDownloadedResource/resources/In ernalClassloaderWi hDownloadedResource-apple -new.jnlp
jnlp launcher of apple varian wi h cus om classlaoder
* es s/jnlp_ es s/signed/In ernalClassloaderWi hDownloadedResource/resources/In ernalClassloaderWi hDownloadedResource-hack.h ml
h ml launcher of apple varian wi h injec ing new url o classlaoder
* es s/jnlp_ es s/signed/In ernalClassloaderWi hDownloadedResource/resources/In ernalClassloaderWi hDownloadedResource-hack.jnlp
jnlp launcher of applica ion varian wi h injec ing new url o classlaoder
* es s/jnlp_ es s/signed/In ernalClassloaderWi hDownloadedResource/resources/In ernalClassloaderWi hDownloadedResource-new.h ml
h ml launcher of apple varian wi h cus om classlaoder
* es s/jnlp_ es s/signed/In ernalClassloaderWi hDownloadedResource/resources/In ernalClassloaderWi hDownloadedResource-new.jnlp
jnlp launcher of applica ion varian wi h cus om classlaoder
* es s/jnlp_ es s/signed/In ernalClassloaderWi hDownloadedResource/srcs/In ernalClassloaderWi hDownloadedResource.java:
Bo h applica ion and apple reproducing behavior of his bug
* es s/jnlp_ es s/signed/In ernalClassloaderWi hDownloadedResource/ es cases/In ernalClassloaderWi hDownloadedResourceTes .java:
Tes case launching jnlp applica ion, jnlp apple and h ml apple
2012-06-26 Jiri Vanek <jvanek@redha .com>
Las hope for no downloaded resources o be verified
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
(ge CodeSourceSecuri y): will now ry o download and verify resource
which was downloaded ou side of ne x.
(alreadyTried) se for memory of once ried resources o no ry again
2012-06-25 Adam Domurad <adomurad@redha .com>
Small commen cleanup o classes wi h missing or wrong descrip ions.
* plugin/iced eanp/java/sun/apple /PluginMessageHandlerWorker.java:
Commen a op fixed
* plugin/iced eanp/java/sun/apple /Apple Securi yCon ex Manager.java:
Same
* plugin/iced eanp/java/sun/apple /PluginExcep ion.java: Same
* plugin/iced eanp/java/sun/apple /PluginCallReques Fac ory.java: Same
* ne x/ne /sourceforge/jnlp/PluginBridge.java: Add class descrip ion.
* plugin/iced eanp/java/sun/apple /PluginCallReques .java:
Removed FIXME ha had already been fixed.
2012-06-25 Adam Domurad <adomurad@redha .com>
Allow passing of plugin ables and browser ables in NP_Ini ialize ha
are no he expec ed leng h bu s ill large enough for our purposes.
* plugin/iced eanp/IcedTeaNPPlugin.cc
(ini ialize_browser_func ions): New func ion o check size of passed
browser func ion able, and ini ialize 'browser_func ions' global
variable.
(ini ialize_plugin_ able): New func ion o check size of passed
plugin func ion able, and ini ialize proper plugin callbacks.
(NP_Ini ialize): Make use of ini ializa ion helper func ions, ge
rid of old size es s and error if he helper func ions fail.
2012-06-20 Adam Domurad <adomurad@redha .com>
* ne x/ne /sourceforge/jnlp/ ools/JarCer Verifier.java
(verifyJar): wo for loops made in o for-each loops
2012-06-19 Jiri Vanek <jvanek@redha .com>
various es for browser engine
* es s/jnlp_ es s/simple/Apple Tes /resources/apple Au oTes s.h ml:
fixed missing paren hesis
* es s/jnlp_ es s/simple/Apple Tes /resources/apple Au oTes s2.h ml:
new es excluding XslowX for apple s
* es s/jnlp_ es s/simple/Apple Tes / es cases/Apple Tes Tes s:
(doubleChrome) es for ensuring ha wo chrome browsers launched
behind hemselves will no cause errors as hey were wi hou
cri icalFixes pa ch
(Apple InBrowserTes ) and (Apple InBrowserTes XslowX) es ing me hods
for all browser
* es s/jnlp_ es s/simple/Apple Tes / es cases/Apple BaseURLTes :
* es s/jnlp_ es s/simple/Apple Tes / es cases/CheckServicesTes s:
* es s/jnlp_ es s/simple/Apple Tes / es cases/Apple ReadsInvalidJarTes s:
Included @Tes InBrowser ins ead of plain execu eBrowser
* es s/jnlp_ es s/simple/deadlock es /srcs/DeadlockTes .java: improved
o prin some imes some hing ou
* es s/jnlp_ es s/simple/deadlock es / es cases/DeadLockTes Tes .java:
( es DeadLockTes Termina edBody) enhanced o ensure ha no so much is
los when process is ermina ed, bu showing ha some hing can be los
(which is correc )
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/ResourcesTes .java:
( es NonExisi ngBrowserWillNo Deadlock) es ing ah when no browser is
se , hen no deadlock happens as happen before cri icalFixes's deadlyExcep ion
( es Unexis ingProcessWillFailRecognizedly) is ac ually es ing deadlyExcep ion
( es NonExisi ngBrowserWillNo CauseMess) some bu wi h anno a ion which
was also harming ou pu of ool li le bi wi hou Tes InBrowsersAnno a ion fixed.
( es Browsers2) is es ing all browsers configura ion wi hou anno a ion
and ( es Browser3) do he same configura ion es s anno a ion driven
( es Browser) body of above wo me hods. Is es ing whe her used
browsers are correc ly linked wi h la es build
( es Browsers1) is es ing parsing of -D variable
( es Lis eners) anno a ed ha needs display
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/CodeBaseClassLoaderTes .java:
anno a ed wi h Bug anno a ion
2012-06-19 Jiri Vanek <jvanek@redha .com>
in roduced possibili y o run comfor ably apple s+h ml reproducers
* Makefile.am: used BROWSER_TESTS_MODIFICATION variable o pass global
swi ch from configure
* acinclude.m4: (IT_SET_GLOBAL_BROWSERTESTS_BHAVIOUR) new me hod
handling --wi h-browser- es s
* configure.ac: used IT_SET_GLOBAL_BROWSERTESTS_BHAVIOUR
swi ch and passing BROWSER_TESTS_MODIFICATION variable o Makefile.
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/ServerAccess.java:
(curren Browser) variable holding injec ed browser for ServerAccess ins ance
(loggedBrowser) s a ic variable keeping id of (curren Browser) for s a ic
logging purposes
(modifyMe hodWi hForBrowser) new func ion changing he name of me hod o
"me hod - browser" for logging purposes
(ge BrowserLoca ion) - re urning pa h o process o be launched when
browser reques ed
(ge BrowserParams) - ga hering se defaul 's browser se ings
(se /ge Curren Browsers) - se browser by id/re urn id of se browser
(se /ge Curren Browser) - se browser ins ance /re urns ins ance of
curren browser
(execu eBrowser) family of me hods now coopera e wi h above me hods for
defaul se browser
(execu eBrowser(Browser) family o work wi h implici browser
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/anno a ions/Tes InBrowsers.java:
anno a ion for de ermining which browser(s) o use wi h anno a ed me hod
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/browser es ing/Browser.java:
in erface for dealing wi h various browsers
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/browser es ing/BrowserFac ory.java:
single on for mapping configured browsers x reques ed browser x browsers proxies
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/browser es ing/BrowserTes .java:
Forefa her of all es cases which have me hods o do es s iniside browser.
Is allowing correc anno a ion -> proxy rasnver o Vir ualServer for
selec ed me hod and is reques ing cus om runner from juni framework
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/browser es ing/BrowserTes Runner.java:
cus om es Ruuner which is responsible for ransla ing anno a ion and
run he me hod mu liple imes for each reques ed browser and o name i properly
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/browser es ing/Browsers.java:
enumera ion of abs rac browsers and heirs se s or subse s.
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/browser es ing/browsers/*:
individual browsers proxies and heirs abs rac ions,namely:
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/browser es ing/browsers/Opera.java:
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/browser es ing/browsers/Firefox.java:
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/browser es ing/browsers/Chrome.java:
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/browser es ing/browsers/Chromium.java:
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/browser es ing/browsers/Midori.java:
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/browser es ing/browsers/Epiphany.java:
proxies for browsers as name sugges s
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/browser es ing/browsers/LinuxBrowser.java:
abs rac forefa her for all browsers implemen ing Browser in erface. Is
se ing /usr/bin as bin pa h, libjavaplugin.so as defaul plugin library name,
in orducing s ubs for me hods (eg 32/64 bi libs)
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/browser es ing/browsers/MozillaFamilyLinuxBrowser:
forefa her for all browsers excep Opera. Is unifying .mozilla/plugins direc ories
2012-06-15 Jiri Vanek <jvanek@redha .com>
* es s/jnlp_ es s/simple/Apple Tes /resources/apple Au oTes s.h ml:
Added quo es around parame ers of h ml apple ag.
* es s/jnlp_ es s/simple/deadlock es / es cases/DeadLockTes Tes .java:
Ou pu verifica ion is coun ing wi h repea ed and probably unfinished ou pu s.
* es s/jnlp_ es s/simple/deadlock es /srcs/DeadlockTes .java
Is now prin ing ou sen ence in in ervals o avoid des roy-consume as much as possible
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/CodeBaseClassLoaderTes .java:
Added bug anno a ion wi h hreads on dis ro-pkg-dev
2012-06-15 Adam Domurad <adomurad@redha .com>
Fixed wo memory leaks
* plugin/iced eanp/IcedTeaNPPlugin.cc
(consume_message): Call o g_s rspli ma ched wi h call o g_s rfreev.
* plugin/iced eanp/IcedTeaPluginU ils.cc
(pos ): Removed copy of s ring, which assumed consumer freed s ring
(which was no rue and no always possible)
2012-06-11 Danesh Dadachanji <ddadacha@redha .com>
PR855: Apple S ub ge Documen Base() doesn' re urn full URL
* NEWS: Added PR855 en ry.
* plugin/iced eanp/IcedTeaNPPlugin.cc (plugin_ge _documen base):
Assign documen base_copy direc ly o href's value ins ead of i era ing
hrough he segmen s o remove he file from he pa h.
* es s/jnlp_ es s/simple/Apple BaseURLTes /srcs/Apple BaseURL.java:
* es s/jnlp_ es s/simple/Apple BaseURLTes / es cases/Apple BaseURLTes .java:
* es s/jnlp_ es s/simple/Apple BaseURLTes /resources/Apple BaseURLTes .h ml:
* es s/jnlp_ es s/simple/Apple BaseURLTes /resources/Apple BaseURLTes .jnlp:
* es s/jnlp_ es s/simple/Apple BaseURLTes /resources/Apple JNLPHrefBaseURLTes .h ml:
New reproducer ha checks he URLS ha documen and codebase
poin are correc .
2012-06-13 Danesh Dadachanji <ddadacha@redha .com>
Upda e CheckServices reproducer o handle browser es case.
* es s/jnlp_ es s/simple/CheckServices/ es cases/CheckServicesTes s.java:
Added browser es and anno a ion, refac ored asser s in o helper me hod.
* es s/jnlp_ es s/simple/CheckServices/resources/CheckPluginServices.h ml:
New browser es file ha runs apple using jnlp_href.
2012-06-13 Jiri Vanek <jvanek@redha .com>
* es s/juni -runner/Juni LikeXmlOu pu Lis ener.java:
In roduced TEST_IGNORED_ATTRIBUTE o mark es as ignored if should be.
* es s/repor -s yles/jrepor .xsl: Applied correc ex and s yle for
es s wi h a ribu e ignored.
2012-06-12 Adam Domurad <adomurad@redha .com>
Fixes PR722, javaws failing o run wi h unsigned con en in META-INF/
* NEWS: Added en ry: Fixes PR722
* ne x/ne /sourceforge/jnlp/ ools/JarCer Verifier.java: Changed
isSigna ureRela ed => isMe aInfFile. Now all files under META-INF/ are
disregarded in checking he jar signage.
2012-06-11 Jiri Vanek <jvanek@redha .com>
Implemen ed xml logging backend
* Makefile.am: (s amps/run-ne x-uni - es s.s amp) and
(s amps/run-ne x-dis - es s.s amp) removed redirec ion of s reams as
logging is now done in ServerAccess es s ex ensions
added xsl proc execu ion above genera ed xml log
xsl proc genera ing resul s h ml files is now receiving resul of above
as parame er
* es s/repor -s yles/jrepor .xsl: log parame er is now accep ed, and
if se , hen all es s are linking in o specified file o show he log
* es s/repor -s yles/repor .css: added s yles for new links
* es s/repor -s yles/index.js: new func ions o work for resul of below shee
* es s/repor -s yles/logs.xsl: new file, shee o conver xml log o h ml file
* es s/repor -s yles/ou pu .css: new file, s yles of above h ml file
* es s/jnlp_ es s/simple/deadlock es / es cases/DeadLockTes Tes .java:
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/ResourcesTes .java:
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/ServerAccess.java:
Tes s', server's and ProcessAssasin's logs are now redirec ed o bo leneck
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/ServerAccess.java:
(LOGS_REPRINT) flag for debugging purposes, will enable reprin ing o
s dou /err again
(DEFAULT_LOG_FILE ) defaul name of xml ou pu
(DEFAULT_STDERR_FILE)(DEFAULT_STDOUT_FILE)(DEFAULT_STDLOGS_FILE) defaul
values of plain ex ou pu files
(*ELEMENT) and( (*ATTRIBUTE) variables keeping repea ed names of xml
ou pu par s
(wri eXmlLog) me hod called from Sy sem.hook o save xml log
(addToXmlLog) me hod o record i em o xml s ruc ure
(Tes sLogs) and (LogI em) inner classes o keep logging informa ion
(log) is now reprin ing message wi h id o s d ou /err dependen ly on
(LOGS_REPRINT) bu always o in ernal s reams, possilbe excep ion is hrown
(logExcep ion) new me hod, shor cu o log excep ion in same way as message
(ge Tes Me hod) now can handle me hods inside ServerAccess class oo
2012-06-11 Adam Domurad <adomurad@redha .com>
* NEWS: Added men ion of fixing PR518
2012-06-07 Saad Mohammad <smohammad@redha .com>
Allows he user o configure browser pa hs and/or disable browsers.
* acinclude.m4 (IT_FIND_BROWSER): Checks if he browser is se o be
disabled, or if he pa h provided is valid. O herwise, i loca es he
defaul pa h o he browser if found on he sys em.
* configure.ac: Uses IT_FIND_BROWSER o find/configure browsers.
2012-06-06 Deepak Bhole <dbhole@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ge AccessCon rolCon ex ForClassLoading): I era e over codebase URLs only
if codeBaseLoader is no null.
2012-06-05 Deepak Bhole <dbhole@redha .com>
PR861: Allow loading from non codebase hos s. Allow code o connec o
hos ing server.
* ne x/ne /sourceforge/jnlp/Securi yDesc.java
(ge SandBoxPermissions): Only add hos if i is no emp y.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ge Permissions): Add Socke Permission for code source hos .
(findLoadedClassAll): Call super me hods privileged so ha connec ion o
non codebase hos s can be made.
(findClass): Same.
(findResourcesBySearching): Same. Also use privileged con ex for enum
opera ions because he enum is defined on he fly by URLClassLoader and
checks for hos ing server connec ivi y via nex ().
(ge AccessCon rolCon ex ForClassLoading): New me hod. Re urns a con rol
con ex for classloader opera ions like find/load/e c.
(CodeBaseClassLoader::findClass): Call super me hods privileged so ha
connec ion o non codebase hos s can be made.
(CodeBaseClassLoader::findResource): Same.
2012-06-05 Jiri Vanek <jvanek@redha .com>
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/anno a ions/KnownToFail.java
New file. Anno a ion for marking failing es s.
* es s/repor -s yles/jrepor .xsl:
* es s/juni -runner/LessVerboseTex Lis ener.java:
* es s/juni -runner/Juni LikeXmlOu pu Lis ener.java: Added coun ing
and prin ing of @KnownToFail anno a ions if presen ed.
* es s/jnlp_ es s/simple/Spaces can be everywhere/ es cases/SpacesCanBeEverywhereTes s.java:
(SpacesCanBeEverywhereRemo eTes s1) (SpacesCanBeEverywhereRemo eTes s2)
(SpacesCanBeEverywhereRemo eTes s3)
* es s/ne x/uni /ne /sourceforge/jnlp/JNLPMa cherTes .java: ( es Templa eCDATA)
( es Applica ionCDATA)
* es s/ne x/uni /ne /sourceforge/jnlp/ParserCornerCases.java:
( es CDa aFirs Child) ( es CDa aSecondChild) ( es Commen InA ribu es)
* es s/ne x/uni /ne /sourceforge/jnlp/ParserMalformedXml.java:
( es MalformedArgumen s) ( es TagNo Closed) ( es Unquo edA ribu es)
marked as KnownToFail
2012-06-05 Jiri Vanek <jvanek@redha .com>
isDa eInRange renamed o isDa eInRange_in ernallForIcedTeaWebTes ing
* ne x/ne /sourceforge/jnlp/run ime/pac-funcs.js: and
* es s/ne x/pac/pac-funcs- es .js:
(isDa eInRange): Renamed o isDa eInRange_in ernallForIcedTeaWebTes ing.
(isDa eInRange_in ernallForIcedTeaWebTes ing): New func ion
2012-06-04 Saad Mohammad <smohammad@redha .com>
Added signed jnlp file es s.
* es s/jnlp_ es s/signed/SignedJnlpApplica ion/resources/SignedJnlpApplica ion1.jnlp:
Launching jnlp file ha ma ches he signed jnlp applica ion file.
* es s/jnlp_ es s/signed/SignedJnlpApplica ion/resources/SignedJnlpApplica ion2.jnlp:
* es s/jnlp_ es s/signed/SignedJnlpApplica ion/resources/SignedJnlpApplica ion3.jnlp:
Launching jnlp file ha does no ma ch he signed jnlp applica ion file.
* es s/jnlp_ es s/signed/SignedJnlpApplica ion/srcs/JNLP-INF/APPLICATION.jnlp:
Signed jnlp applica ion file.
* es s/jnlp_ es s/signed/SignedJnlpApplica ion/srcs/SignedJnlpApplica ion.java:
A simple java class ha ou pu s a s ring.
* es s/jnlp_ es s/signed/SignedJnlpApplica ion/ es cases/SignedJnlpApplica ionTes .java:
Tes case ha es s he launching of applica ions wi h a signed jnlp
applica ion file.
* es s/jnlp_ es s/signed/SignedJnlpTempla e/resources/SignedJnlpTempla e1.jnlp:
Launching jnlp file ha ma ches he signed jnlp applica ion empla e file.
* es s/jnlp_ es s/signed/SignedJnlpTempla e/resources/SignedJnlpTempla e2.jnlp:
* es s/jnlp_ es s/signed/SignedJnlpTempla e/resources/SignedJnlpTempla e3.jnlp:
Launching jnlp file ha does no ma ch he signed jnlp applica ion
empla e file.
* es s/jnlp_ es s/signed/SignedJnlpTempla e/srcs/JNLP-INF/APPLICATION_TEMPLATE.jnlp:
Signed jnlp applica ion empla e file.
* es s/jnlp_ es s/signed/SignedJnlpTempla e/srcs/SignedJnlpTempla e.java:
A simple java class ha ou pu s a s ring.
* es s/jnlp_ es s/signed/SignedJnlpTempla e/ es cases/SignedJnlpTempla eTes .java:
Tes case ha es s he launching of applica ions wi h a signed jnlp
applica ion empla e file.
* es s/jnlp_ es s/simple/UnsignedJnlpApplica ion/resources/UnsignedJnlpApplica ion1.jnlp:
Launching jnlp file ha ma ches he unsigned jnlp applica ion file.
* es s/jnlp_ es s/simple/UnsignedJnlpApplica ion/resources/UnsignedJnlpApplica ion2.jnlp:
* es s/jnlp_ es s/simple/UnsignedJnlpApplica ion/resources/UnsignedJnlpApplica ion3.jnlp:
Launching jnlp file ha does no ma ch he unsigned jnlp applica ion file.
* es s/jnlp_ es s/simple/UnsignedJnlpApplica ion/srcs/JNLP-INF/APPLICATION.jnlp:
Unsigned jnlp applica ion file.
* es s/jnlp_ es s/simple/UnsignedJnlpApplica ion/srcs/UnsignedJnlpApplica ion.java:
A simple java class ha ou pu s a s ring.
* es s/jnlp_ es s/simple/UnsignedJnlpApplica ion/ es cases/UnsignedJnlpApplica ionTes .java:
Tes case ha es s he launching of applica ions wi h an unsigned jnlp
applica ion file.
* es s/jnlp_ es s/simple/UnsignedJnlpTempla e/resources/UnsignedJnlpTempla e1.jnlp:
Launching jnlp file ha ma ches he unsigned jnlp applica ion
empla e file.
* es s/jnlp_ es s/simple/UnsignedJnlpTempla e/resources/UnsignedJnlpTempla e2.jnlp:
* es s/jnlp_ es s/simple/UnsignedJnlpTempla e/resources/UnsignedJnlpTempla e3.jnlp:
Launching jnlp file ha does no ma ch he unsigned jnlp applica ion
empla e file.
* es s/jnlp_ es s/simple/UnsignedJnlpTempla e/srcs/JNLP-INF/APPLICATION_TEMPLATE.jnlp:
Unsigned jnlp applica ion empla e file.
* es s/jnlp_ es s/simple/UnsignedJnlpTempla e/srcs/UnsignedJnlpTempla e.java:
A simple java class ha ou pu s a s ring.
* es s/jnlp_ es s/simple/UnsignedJnlpTempla e/ es cases/UnsignedJnlpTempla eTes .java:
Tes case ha es s he launching of applica ions wi h an unsigned jnlp
applica ion empla e file.
* es s/jnlp_ es s/signed/SignedJnlpCaseTes One/resources/SignedJnlpCaseTes One1.jnlp:
Launching jnlp file ha ma ches he signed jnlp applica ion file.
* es s/jnlp_ es s/signed/SignedJnlpCaseTes One/resources/SignedJnlpCaseTes One2.jnlp:
Launching jnlp file ha does no ma ch he signed jnlp applica ion file.
* es s/jnlp_ es s/signed/SignedJnlpCaseTes One/srcs/JNLP-INF/aPpLiCaTioN.jnlp:
Signed jnlp applica ion file.
* es s/jnlp_ es s/signed/SignedJnlpCaseTes One/srcs/SignedJnlpCase.java:
A simple java class ha ou pu s a s ring.
* es s/jnlp_ es s/signed/SignedJnlpCaseTes One/ es cases/SignedJnlpCaseOneTes .java:
Tes case ha es s he case-sensi ivi y of he signed jnlp applica ion's
filename.
* es s/jnlp_ es s/signed/SignedJnlpCaseTes Two/resources/SignedJnlpCaseTes Two1.jnlp:
Launching jnlp file ha ma ches he signed jnlp applica ion empla e file.
* es s/jnlp_ es s/signed/SignedJnlpCaseTes Two/resources/SignedJnlpCaseTes Two2.jnlp:
Launching jnlp file ha does no ma ch he signed jnlp applica ion
empla e file.
* es s/jnlp_ es s/signed/SignedJnlpCaseTes Two/srcs/JNLP-INF/aPpLiCaTiOn_ EmPlA e.jnlp:
Signed jnlp applica ion empla e file.
* es s/jnlp_ es s/signed/SignedJnlpCaseTes Two/srcs/SignedJnlpCase.java:
A simple java class ha ou pu s a s ring.
* es s/jnlp_ es s/signed/SignedJnlpCaseTes Two/ es cases/SignedJnlpCaseTwoTes .java:
Tes case ha es s he case-sensi ivi y of he signed jnlp applica ion
empla e's filename.
2012-06-04 Danesh Dadachanji <ddadacha@redha .com>
Fix o handle absolu e pa hs passed in o jnlp_href's value.
* ne x/ne /sourceforge/jnlp/PluginBridge.java
(PluginBridge): Uses con ex of codebase o evalua e jnlp_href's value.
Uses JNLPCrea or's crea e me hod o make new JNLPFile variables.
New cons ruc or ha wraps around he original one, crea ing a new
JNLPCrea or o use.
* ne x/ne /sourceforge/jnlp/JNLPCrea or.java: New s ra egy pa ern class
o be used o wrap around he crea ion of a JNLPFile. Replace his crea or
when uni es ing o skip running parsing code.
* es s/ne x/uni /ne /sourceforge/jnlp/PluginBridgeTes .java:
New class o uni es ge Evalua edJNLPHref.
2012-06-04 Adam Domurad <adomurad@redha .com>
Added self o AUTHORS.
This pa ch fixes PR518, ensures null ermina ion of s rings based off
of NPVarian resul s.
* plugin/iced eanp/IcedTeaPluginU ils.h: Added declara ion of
NPVarian AsS ring
* plugin/iced eanp/IcedTeaPluginU ils.cc
(NPVarian AsS ring): New. Conver s an NPVarian o a
s d::s ring, assumes i is a valid NPS ring.
(isObjec JSArray): Now uses NPVarian AsS ring, minor cleanup.
* plugin/iced eanp/IcedTeaJavaReques Processor.cc
(plugin_ge _documen base): Now uses NPVarian AsS ring.
* plugin/iced eanp/IcedTeaNPPlugin.cc
(NPVarian ToS ring): Now uses NPVarian AsS ring, minor cleanup.
2012-06-01 Deepak Bhole <dbhole@redha .com>
PR863: Error passing s rings o apple me hods in Chromium
* plugin/iced eanp/IcedTeaJavaReques Processor.cc
(crea eJavaObjec FromVarian ): Accoun for leng h of he charac ers.
* plugin/iced eanp/IcedTeaNPPlugin.cc (plugin_ge _documen base): Same.
* plugin/iced eanp/IcedTeaPluginReques Processor.cc (_eval): Prin he
s ring's c_s r ra her han u f8charac ers.
* plugin/iced eanp/IcedTeaPluginU ils.cc (prin NPVarian ): Accoun for
leng h of he charac ers.
(NPVarian ToS ring): Same.
(isObjec JSArray): Same.
2012-05-30 Jiri Vanek <jvanek@redha .com>
Enabled mul iple cer ifica es and ex rac ed variables
* Makefile.am: EXPORTED_TEST_CERT by EXPORTED_TEST_CERT_PREFIX and
EXPORTED_TEST_CERT_SUFFIX for fur her composi ion
SIGNED_REPRODUCERS new variable for i era ing hrough signed reproducers
SIMPLE_REPRODUCERS new variable for i era ing hrough simple reproducers
ALL_REPRODUCER new variable for i era ing hrough all reproducers
(juni -jnlp-dis -signed. x ) replaced by
(s amps/juni -jnlp-dis -signed.s amp) which genera es
juni -jnlp-dis -signedX. x for each direc ory wi h signed reproducers
(s amps/ne x-dis - es s-prepare-reproducers.s amp)
(s amps/change-do s- o-pa hs.s amp)
(s amps/ne x-dis - es s-compile- es cases.s amp)
(run-ne x-dis -codecoverage): ex rac ed variables
(clean-ne x-dis - es s): i era es hrough all he lis and removes hem
(s amps/ne x-dis - es s-sign-some-reproducers.s amp): now i era e hrough
SIGNED_REPRODUCERS and crea es special cer ifica e for each member. Each
jar from his direc ory is hen signed by corresponding cer ifica e
(ne x-dis - es s-remove-cer -from-public): i era es hrough all cer ifica es
(s amps/ne x-dis - es s-impor -cer - o-public): expor s each cer ifica e
crea ed during es s prepara ions
($(EXPORTED_TEST_CERT)) replaced by s amps/expor ed- es -cer s.s amp which
crea e for each of SIGNED_REPRODUCERS individual cer ifica e
( es s/jnlp_ es s/README): men ioned possibili y of mul iple cer ifica e
2012-05-29 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: (ge Permissions):
New re hrow of excep ions and following condi ion make more accura e.
2012-05-29 Jiri Vanek <jvanek@redha .com>
Ge rid of repea ed sou /serr in reproducers es cases/uni es s and
in roduce bo leneck for loging.
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/ServerAccess.java:
(PROCESS_LOG) s a ic flag for enabling/disabling au oma ic logging of
s a ically execu ed processes.
(logErrorReprin ) (logOu pu Reprin ) (logNoReprin ) new me hods, o call
logging bo leneck.
(log) main logging bo leneck, reprin message o according s ream wi h
calling es -class and es -me hod as suffix.
(ge Tes Me hod) new me hod o analyze calling es -me hod.
(execu eProcess) enhanced for condi ional au oma ic logging of s ar of
process and ou pu s of process.
* es s/jnlp_ es s/signed/Apple Tes Signed/ es cases/Apple Tes SignedTes s.java:
* es s/jnlp_ es s/signed/CacheReproducer/ es cases/CacheReproducerTes .java:
* es s/jnlp_ es s/signed/MissingJar/ es cases/MissingJarTes .java:
* es s/jnlp_ es s/signed/ReadProper iesSigned/ es cases/ReadProper iesSignedTes .java:
* es s/jnlp_ es s/signed/Spaces can be everywhere signed/ es cases/SpacesCanBeEverywhereTes sSigned.java:
* es s/jnlp_ es s/simple/AccessClassInPackage/ es cases/AccessClassInPackageTes .java:
* es s/jnlp_ es s/simple/AddShu downHook/ es cases/AddShu downHookTes .java:
* es s/jnlp_ es s/simple/AllS ackTraces/ es cases/AllS ackTracesTes .java:
* es s/jnlp_ es s/simple/Apple Tes / es cases/Apple Tes Tes s.java:
* es s/jnlp_ es s/simple/CheckServices/ es cases/CheckServicesTes s.java:
* es s/jnlp_ es s/simple/Crea eClassLoader/ es cases/Crea eClassLoaderTes .java:
* es s/jnlp_ es s/simple/Informa ionTi leVendorParser/ es cases/Informa ionTi leVendorParserTes .java:
* es s/jnlp_ es s/simple/Manifes edJar1/ es cases/Manifes edJar1Tes .java:
* es s/jnlp_ es s/simple/ReadEnvironmen / es cases/ReadEnvironmen Tes .java:
* es s/jnlp_ es s/simple/ReadProper ies/ es cases/ReadProper iesTes .java:
* es s/jnlp_ es s/simple/Redirec S reams/ es cases/Redirec S reamsTes .java:
* es s/jnlp_ es s/simple/ReplaceSecuri yManager/ es cases/ReplaceSecuri yManagerTes .java:
* es s/jnlp_ es s/simple/Se Con ex ClassLoader/ es cases/Se Con ex ClassLoaderTes .java:
* es s/jnlp_ es s/simple/Spaces can be everywhere/ es cases/SpacesCanBeEverywhereTes s.java:
* es s/jnlp_ es s/simple/deadlock es / es cases/DeadLockTes Tes .java:
* es s/jnlp_ es s/simple/simple es 1/ es cases/SimpleTes 1Tes .java:
* es s/jnlp_ es s/simple/simple es 2/ es cases/SimpleTes 2Tes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/cache/CacheLRUWrapperTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/CodeBaseClassLoaderTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/u il/replacemen s/BASE64EncoderTes .java:
all Sys em.ou replaced by ServerAccess.logOu pu Reprin
and Sys em.err replaced by ServerAccess.logErrorReprin
2012-05-25 Adam Domurad <adomurad@redha .com>
Changed for-loops over i era ors and indices o for-each loops if hey
were sufficien and clearer.
* ne x/ne /sourceforge/jnlp/JNLPFile.java: Changed for-loops ha could
be expressed more clearly as for-each loops.
* ne x/ne /sourceforge/jnlp/PluginBridge.java: Same
* ne x/ne /sourceforge/jnlp/ResourcesDesc.java: Same
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java: Same
* ne x/ne /sourceforge/jnlp/cache/Defaul DownloadIndica or.java: Same
* ne x/ne /sourceforge/jnlp/cache/Resource.java: Same
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java: Same
* ne x/ne /sourceforge/jnlp/run ime/Apple Environmen .java: Same
* ne x/ne /sourceforge/jnlp/run ime/Applica ionIns ance.java: Same
* plugin/iced eanp/java/ne scape/javascrip /JSObjec .java: Same
* plugin/iced eanp/java/sun/apple /JavaConsole.java: Same
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java: Same
2012-05-23 Adam Domurad <adomurad@redha .com>
Removed ins ances of snprin f where buffer size was no known. Added
buffer size cons an for alloca ing buffers for numeric conversions.
* plugin/iced eanp/IcedTeaNPPlugin.cc: Removed usage of snprin f for
simple blanking of s rings. Buffer size was misguided previously.
Used NUM_STR_BUFFER_SIZE cons an o replace magic numbers/
* plugin/iced eanp/IcedTeaPluginU ils.cc: Made
NPVarian ToS ring(NPVarian varian , s d::s ring* resul ) use wo
space inden a ion. Used NUM_STR_BUFFER_SIZE cons an o replace magic
numbers.
* plugin/iced eanp/IcedTeaPluginU ils.h: Added cons an ,
NUM_STR_BUFFER_SIZE.
2012-05-24 Danesh Dadachanji <ddadacha@redha .com>
Fix use of src dir ins ead of build dir when whi elis ing.
* Makefile.am (REPRODUCERS_CLASS_WHITELIST): Use abs_ op_srcdir
ins ead of abs_ op_builddir.
2012-05-23 Mar in Olsson <mar in@minimum.se>
* plugin/iced eanp/IcedTeaPluginU ils.cc:
Tiny fixup for changese 383; don' do free(s ack_variable).
2012-05-20 Jiri Vanek <jvanek@redha .com>
Reproducers engine enhanced for jars in subdirec ories by "." naming conven ion
* Makefile.am: (s amps/change-do s- o-pa hs.s amp) new arge o copy jars
wi h do s (.jar omi ed) o he java-like package/direc ory s ruc ure in
jnlp_ es _server
(EXPORTED_TEST_CERT) now depends on s amps/change-do s- o-pa hs.s amp
(clean-ne x-dis - es s) removes s amps/change-do s- o-pa hs.s amp oo.
2012-05-24 Jiri Vanek <jvanek@redha .com>
In roduced whi elis for reproducers
* ne x-dis - es s-whi elis : new file, con ains regular expressions
(separa ed by space) for expr o selec es cases which only will be
run. By defaul se o all by expression .*
* Makefile.am: (REPRODUCERS_CLASS_NAMES) When class wi h es cases is
going o be included in lis , i is a firs check for ma ch in whi elis .
If here is no ma ch, will no be included.
2012-05-24 Mar in Olsson <mar in@minimum.se>
* plugin/iced eanp/IcedTeaPluginU ils.cc:
Fix wo ypos.
2012-05-23 Deepak Bhole <dbhole@redha .com>
* AUTHORS: Added Mar in Olsson o lis .
2012-05-23 Mar in Olsson <mar in@minimum.se>
* plugin/iced eanp/IcedTeaNPPlugin.cc:
Use g_mu ex_free ins ead of g_free o free apple viewer_mu ex (fixes
crash).
2012-05-23 Deepak Bhole <dbhole@redha .com>
* ChangeLog: Conver ed spaces o abs in an older en ry
2012-05-23 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: fixed error
in PBadNonrela iveUrl
2012-05-23 Jiri Vanek <jvanek@redha .com>
Added more debugging ou pu s
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
(ge CodeSourceSecuri y): added ou pu message when no Securi yDesc is found
for some url/resource
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: added LNoSecIns ance
and LCer FoundIn values
* ne x/ne /sourceforge/jnlp/securi y/KeyS ores.java: (ge Pa hToKeys ore):
new me hod, able o search for file used for crea ing of KeyS ore if possible
* ne x/ne /sourceforge/jnlp/securi y/Cer ifica eU ils.java: (inKeyS ores)
using ge Pa hToKeys ore for debug ou pu
2012-05-23 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: (ge Permissions):
Any excep ion from his me hod is consumed somewhere. I have cough excep ion,
reprin i in debug mode and re- hrow ( o be los ). Main condi ion in his
me hod had several possible NullPoin er excep ions. Separa ed and hrown before
his condi ion.
2012-05-23 Jiri Vanek <jvanek@redha .com>
Enhanced abou dialog
* ex ra/ne /sourceforge/javaws/abou /Main.java: Main frame and Main ab
renamed from "Abou Ne X" o "Abou IcedTea-Web and Ne X".
* ex ra/ne /sourceforge/javaws/abou /resources/abou .h ml: men ioned
IcedTea-Web.
* ex ra/ne /sourceforge/javaws/abou /resources/no es.h ml: Lis of au hors
synchronized wi h AUTHORS, men ioned classpa h's IcedTea-Web as homepage
of IcedTea-web.
2012-05-23 Jiri Vanek <jvanek@redha .com>
Fixed error in reproducers source prepara ion
* Makefile.am: (s amps/ne x-dis - es s-prepare-reproducers.s amp) removed
inappropria ely used quo es when copying no SrcFiles. Source files now
copied only if src dir exis s in reproducer
2012-05-22 Adam Domurad <adomurad@redha .com>
Changed alloca ion of small, fixed-size buffers o s ack-based
alloca ions. Changed occurences of sprin f o he safer func ion
snprin f, added buffer informa ion. While unlikely o change
func ionali y, snprin f adds an ex ra check o preven buffer
overflows.
* plugin/iced eanp/IcedTeaNPPlugin.cc: Alloca ion of small buffers
using malloc changed o s ack alloca ion & changed sprin f calls o
buffer-size aware snprin f calls.
* plugin/iced eanp/IcedTeaPluginU ils.cc: Same as above.
2012-05-22 Jiri Vanek <jvanek@redha .com>
* es s/jnlp_ es s/signed/ReadProper iesSigned/ es cases/ReadProper iesSignedTes .java:
* es s/jnlp_ es s/simple/AddShu downHook/ es cases/AddShu downHookTes .java:
* es s/jnlp_ es s/simple/AllS ackTraces/ es cases/AllS ackTracesTes .java:
* es s/jnlp_ es s/simple/Crea eClassLoader/ es cases/Crea eClassLoaderTes .java:
* es s/jnlp_ es s/simple/ReadEnvironmen / es cases/ReadEnvironmen Tes .java:
* es s/jnlp_ es s/simple/ReadProper ies/ es cases/ReadProper iesTes .java:
* es s/jnlp_ es s/simple/Redirec S reams/ es cases/Redirec S reamsTes .java:
* es s/jnlp_ es s/simple/ReplaceSecuri yManager/ es cases/ReplaceSecuri yManagerTes .java:
* es s/jnlp_ es s/simple/Se Con ex ClassLoader/ es cases/Se Con ex ClassLoaderTes .java:
All exac ma ches upon AccessCon rolExcep ion replaced by regular expression ma ching bo h jdk7 and jdk6 syn ax
2012-05-21 Jiri Vanek <jvanek@redha .com>
* Makefile.am: mzilla-filesys em linking arge s now coun s also wi h
midori and epiphany. Ex rac ed duplica ed en ries o variables
* configure.ac: added check for midori and epiphany
2012-05-21 Jiri Vanek <jvanek@redha .com>
Added de ec ion of ins alled browsers and added arge s o crea e
symbolic links from ins all dir o browsers' plugin direc ories.
Primarily for es ing purposes
* Makefile.am: (s amps/user-links.s amp) wi h alias (links) - new arge for
crea ing symlinks for all users. One mus be roo o execu e his arge .
(s amps/global-links.s amp) wi h alias (user-links) - new arge
for crea ing symlinks for logged user only. Because opera is missing his fea ure,
qui e useless for es ing or dependence arge s, bu good for live user.
(res ore-global-links): arge for res oring original global links.
One mus be roo again
(res ore-user-links): arge for res oring user's links
* configure.ac: added basic check whe her and which browsers are
ins alled
2012-05-18 Jiri Vanek <jvanek@redha .com>
Fixed behavior when encoded/charac ers needed encoding included in url
* NEWS: men ioned PR811
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java: (urlEquals) Enhanced
o be able compare encoded/decoded urls correc ly.
(no NullUrlEquals) new me hod o separa e comparing of individual par s of
url from null checks
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java: (addResource)
is now encoding url if needed. (normalizeUrl) new me hod o encode pa h in
url of all excep file pro ocol. (normalizeChunk) New me hod for encoding
of a omic piece.
2012-05-18 Jiri Vanek <jvanek@redha .com>
More es s for Spaces and charac ers in urls
* ne x/ne /sourceforge/jnlp/cache/CacheLRUWrapper.java: and
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java: for uni - es s
purposes (cacheDir) make o poin o mp dir when no
Deploymen Configura ion exis s.
* es s/jnlp_ es s/signed/Spaces can be everywhere signed/:
couple of new es doing he same as simple "Spaces can be everywhere"
bu are signed
* es s/jnlp_ es s/simple/Spaces can be everywhere/: added new es -cases
and h ml/jnlp es files o ry more combina ions of encodable charac ers
x launches
* es s/ne x/uni /ne /sourceforge/jnlp/cache/ResourceTrackerTes .java:
uni es for url encoder behavior
* es s/ne x/uni /ne /sourceforge/jnlp/cache/CacheU ilTes .java:
uni es for urlEquals func ion
2012-05-17 Adam Domurad <adomurad@redha .com>
Fixed uses of == o compare S ring objec s o .equals where
appropria e.
No ed a non-obvious use of == o compare a 'magic' S ring reference.
* ne x/ne /sourceforge/jnlp/JNLPFile.java:
Changed calls ha compare S ring con en s from == o .equals
* plugin/iced eanp/java/sun/apple /Ge MemberPluginCallReques .java:
Same
* plugin/iced eanp/java/sun/apple /PluginCallReques Fac ory.java:
Same
* ne x/ne /sourceforge/jnlp/Version.java: Added commen explaining why
== was used vs .equals
2012-05-14 Jiri Vanek <jvanek@redha .com>
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/CodeBaseClassLoaderTes .java:
* es s/ne x/uni /ne /sourceforge/jnlp/cache/CacheLRUWrapperTes .java:
Sys em.ou replaced wi h Sys em.err
2012-05-14 Jiri Vanek <jvanek@redha .com>
* es s/juni -runner/Juni LikeXmlOu pu Lis ener.java: fixed inden a ion
and spacing
2012-05-11 Thomas Meyer < homas@m3y3r.de>
* es s/ne x/uni /ne /sourceforge/jnlp/u il/Proper iesFileTes .java: Add
some uni es s for he Proper iesFile class
* es s/ne x/uni /ne /sourceforge/jnlp/cache/CacheLRUWrapperTes .java: Add
some uni es s for he CacheLRUWrapper class
* ne x/ne /sourceforge/jnlp/u il/Proper iesFile.java: Use las
modifica ion imes amp of he underlying file o lazy load proper ies.
(load): Only reload file, if he file modifica ion imes amp has changed.
(s ore): Ac ually fsync() he file o disk.
* ne x/ne /sourceforge/jnlp/services/XPersis enceService.java (crea e):
Fix coding s yle
* ne x/ne /sourceforge/jnlp/cache/CacheLRUWrapper.java (load): Only check
da a when he recen ly_used file was reloaded.
2012-05-02 Jiri Vanek <jvanek@redha .com>
In roduced new anno a ions Bug ( o connec es /reproducer wi h documen a ion)
and NeedsDisplay which ells he launching engine ha his par icular
es needs Display. Based on p isnovs's ideas and j reg experiences
*Makefile.am: (JUNIT_RUNNER_JAR), (s amps/run-ne x-uni - es s.s amp) and
(s amps/run-uni - es -code-coverage.s amp) are now dependen on (s amps/ne x-dis - es s-compile)
and classpa hs inside hem have been enriched for JNLP_TESTS_ENGINE_DIR
which con ains defini ions of hose anno a ions
* es s/jnlp_ es s/simple/CheckServices/ es cases/CheckServicesTes s.java: and
* es s/jnlp_ es s/simple/Manifes edJar1/ es cases/Manifes edJar1Tes .java: and
* es s/jnlp_ es s/simple/Spaces can be everywhere/ es case/SpacesCanBeEverywhereTes s.java:
filled Bug anno a ions
* es s/juni -runner/Juni LikeXmlOu pu Lis ener.java: made o unders and
Bug anno a ion
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/anno a ions/NeedsDisplay.java:
and
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/anno a ions/Bug.java:
anno a ions defini ions
* es s/repor -s yles/jrepor .xsl: made nice links from bug anno a ion
prepared by Juni LikeXmlOu pu Lis ener
2012-04-24 Omair Majid <omajid@redha .com>
* Makefile.am
(RUNTIME): Add resources.jar.
(s amps/run-uni - es -code-coverage.s amp) [WITH_EMMA]: Add resouces.jar
o classpa h.
(s amps/run-reproducers- es -code-coverage.s amp) [WITH_EMMA]: Include
resources.jar in classpa h.
(s amps/boo s rap-direc ory.s amp): Crea e a link o resources.jar in
BOOT_DIR.
2012-04-19 Omair Majid <omajid@redha .com>
PR918: java apple windows uses a low resulu ion black/whi e icon
* NEWS: Upda e wi h fix.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java: Remove windowIcon.
(ini ialize): Do no call loadWindowIcon.
(ge WindowIcon): Remove.
(se WindowIcon): Remove.
(loadWindowIcon): Remove.
* ne x/ne /sourceforge/jnlp/run ime/JNLPSecuri yManager.java
(checkTopLevelWindow): Do no se he icon for all op level windows. Use
he defaul java icon ins ead.
* ne x/ne /sourceforge/jnlp/u il/ImageResources.java: New file. Provides
access o icons.
* ne x/ne /sourceforge/jnlp/JNLPSplashScreen.java (JNLPSplashScreen),
* ne x/ne /sourceforge/jnlp/cache/Defaul DownloadIndica or.java
(ge Lis ener),
* ne x/ne /sourceforge/jnlp/con rolpanel/AdvancedProxySe ingsDialog.java
(AdvancedProxySe ingsDialog),
* ne x/ne /sourceforge/jnlp/con rolpanel/CacheViewer.java (CacheViewer),
* ne x/ne /sourceforge/jnlp/con rolpanel/Con rolPanel.java (Con rolPanel),
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialog.java (Securi yDialog),
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica eViewer.java
(Cer ifica eViewer),
* ne x/ne /sourceforge/jnlp/u il/BasicExcep ionDialog.java (show),
* plugin/iced eanp/java/sun/apple /JavaConsole.java (ini ialize):
Explici ly load icons.
* es s/ne x/uni /ne /sourceforge/jnlp/u il/ImageResourcesTes .java: Tes
for ImageResources class.
2012-04-18 Jiri Vanek <jvanek@redha .com>
Allowed signed apple s in au oma ic reproducers es s
* es s/jnlp_ es s/signed/Apple Tes Signed/resources/Apple Tes Signed.h ml:
h ml file for launching signed apple . I s s yle is differen from he one for
calling unsigned apple s - red.
* es s/jnlp_ es s/signed/Apple Tes Signed/resources/Apple Tes Signed.jnlp:
jnlp file for launched signed apple
* es s/jnlp_ es s/signed/Apple Tes Signed/srcs/Apple Tes Signed.java
body of signed apple
* es s/jnlp_ es s/signed/Apple Tes Signed/ es cases/Apple Tes SignedTes s.java:
(Apple Tes SignedTes ): es ing me hod o launch signed apple in javaws
(Apple Tes SignedFirefoxTes ): es ing me hod o launch signed apple in
browser
* Makefile.am: PUBLIC_KEYSTORE_PASS, EXPORTED_TEST_CERT, TEST_CERT_ALIAS,
PUBLIC_KEYSTORE PUBLIC_KEYSTORE_PASS: new global variables holding
keys ores' creden ials
(clean-local): clean-boo s rap-direc ory moved o be las one, as key ool
is necessary for removing cer ifica e
(EXPORTED_TEST_CERT): new arge expor ing cer ifica e from es ing keys ore
(s amps/ne x-dis - es s-impor -cer - o-public): new arge o impor
cer ifica e o PUBLIC_KEYSTORE
(ne x-dis - es s-remove-cer -from-public): new arge removing es ing
cer ifica e from PUBLIC_KEYSTORE
(clean-ne x-dis - es s): now depends on ne x-dis - es s-remove-cer -from-public
and is removing EXPORTED_TEST_CERT file
2012-04-17 Jiri Vanek <jvanek@redha .com>
Rewri en DeadLockTes Tes o s op failing in more hen 1/2 of cases
All assassina ed processes were hanging as zombies, killed forcibly by
kill -9 now.
* / es s/jnlp_ es s/simple/deadlock es / es cases/DeadLockTes Tes .java:
(coun JavaIns ances) now re urn pids of found javas.
(killDiff) new me hod killing zombie javas forcibly.
2012-04-11 Jiri Vanek <jvanek@redha .com>
* Makefile.am: EMMA_JAVA_ARGS, new variable for adjus ing emma runs.
Curren ly se o -Xmx2G.
(s amps/run-uni - es -code-coverage.s amp),
(s amps/run-reproducers- es -code-coverage.s amp),
(run- es -code-coverage): Use EMMA_JAVA_ARGS in heirs emma runs.
2012-06-04 Jiri Vanek <jvanek@redha .com>
Thomas Meyer < homas@m3y3r.de>
* makefile.am: (s amps/run-ne x-dis - es s.s amp) and
(run-reproducers- es -code-coverage.s amp)
now using $(javaws) variable ins ead of plain ex javaws
* ne x/ne /sourceforge/jnlp/cache/CacheLRUWrapper.java: (checkDa a) new
me hod checking for sani y of cache en ries
(load) now checks for da a sani y af er loading, and s ores wi hou
corrup ed i ems if necessary
(Compara or.compare) for sor ing lru i ems. Now redundan checking for
sani y removed
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java: (ge CacheFile) don'
call lruHandler.s ore wice for new cache en ries
(ge CacheFileIfExis ) removed i era ion and cleaning mechanism
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: modified
cache messages
* es s/jnlp_ es s/signed/CacheReproducer/ es cases/CacheReproducerTes .java
Added es for checking corrup ed pa h in en ry and all es s adap ed for
excep ion hrown only in debug mode
2012-04-04 Danesh Dadachanji <ddadacha@redha .com>
Change he name of JarSigner o JarCer Verifier o make i more
relevan o he purpose of he file.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
* ne x/ne /sourceforge/jnlp/ ools/KeyS oreU il.java:
Replace all ins ances, parama ers and references of JarSigner
by JarCer Verifier.
* ne x/ne /sourceforge/jnlp/securi y/Cer WarningPane.java
* ne x/ne /sourceforge/jnlp/securi y/Cer sInfoPane.java
* ne x/ne /sourceforge/jnlp/securi y/MoreInfoPane.java
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogs.java:
Replaced all parama ers, references and variable names of JarSigner
o Cer Verifier o ma ch he variable objec ype.
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialog.java (ge JarSigner):
Renamed o ge Cer Verifier as i re urns he cer Verfier ins ance.
* ne x/ne /sourceforge/jnlp/ ools/JarSigner.java:
Renamed o JarCer Verifier.
* ne x/ne /sourceforge/jnlp/ ools/JarCer Verifier.java:
The rename of JarSigner.
2012-04-05 Jiri Vanek <jvanek@redha .com>
Fixing issue when process was no launched a all and when was killed bu
lef behind living/hanging, fixing mime- ypes
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/ServerAccess.java:
(ge Con en OfS ream) his me hod overloaded wi h possibili y o specify
encoding (I needed o se i o ASCII in one es )
(deadlyExcep ion) field in roduced in ThreadedProcess o record excep ion
caused by impassibili y of launching he process. And so process have
been null wi hou any sign why.
(TinyH pdImpl) now correc ly re urns known mime ypes
(ProcessAssasin) can now skip or smoo hly (and finally correc ly)
des roy i s process, and all his logging messages were done null-proof
(as deadlyExcep ion now allows)
Asynchronous (Con en Reader) have been silenced when complaining abou
closed s reams by Assassin.
2012-04-03 Danesh Dadachanji <ddadacha@redha .com>
Change all vendors in JNLP es sui e o IcedTea and homepage href's o
a link o IcedTea-Web's wiki page.
* es s/jnlp_ es s/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedJAVAXJNLP.jnlp
* es s/jnlp_ es s/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedNETSF.jnlp
* es s/jnlp_ es s/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedSELF.jnlp
* es s/jnlp_ es s/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedSUNSEC.jnlp
* es s/jnlp_ es s/signed/CacheReproducer/resources/CacheReproducer1.jnlp
* es s/jnlp_ es s/signed/CacheReproducer/resources/CacheReproducer1_1.jnlp
* es s/jnlp_ es s/signed/CacheReproducer/resources/CacheReproducer2.jnlp
* es s/jnlp_ es s/signed/CacheReproducer/resources/CacheReproducer2_1.jnlp
* es s/jnlp_ es s/signed/MissingJar/resources/MissingJar.jnlp
* es s/jnlp_ es s/signed/MissingJar/resources/MissingJar2.jnlp
* es s/jnlp_ es s/signed/MissingJar/resources/MissingJar3.jnlp
* es s/jnlp_ es s/signed/MissingJar/resources/MissingJar4.jnlp
* es s/jnlp_ es s/signed/ReadProper iesBySignedHack/resources/ReadProper iesBySignedHack.jnlp
* es s/jnlp_ es s/signed/ReadProper iesSigned/resources/ReadProper iesSigned1.jnlp
* es s/jnlp_ es s/signed/ReadProper iesSigned/resources/ReadProper iesSigned2.jnlp
* es s/jnlp_ es s/signed/Simple es Signed1/resources/Simple es Signed1.jnlp
* es s/jnlp_ es s/simple/AccessClassInPackage/resources/AccessClassInPackageJAVAXJNLP.jnlp
* es s/jnlp_ es s/simple/AccessClassInPackage/resources/AccessClassInPackageNETSF.jnlp
* es s/jnlp_ es s/simple/AccessClassInPackage/resources/AccessClassInPackageSELF.jnlp
* es s/jnlp_ es s/simple/AccessClassInPackage/resources/AccessClassInPackageSUNSEC.jnlp
* es s/jnlp_ es s/simple/AddShu downHook/resources/AddShu downHook.jnlp
* es s/jnlp_ es s/simple/AllS ackTraces/resources/AllS ackTraces.jnlp
* es s/jnlp_ es s/simple/Apple Tes /resources/Apple Tes .jnlp
* es s/jnlp_ es s/simple/CheckServices/resources/CheckServices.jnlp
* es s/jnlp_ es s/simple/Crea eClassLoader/resources/Crea eClassLoader.jnlp
* es s/jnlp_ es s/simple/Informa ionTi leVendorParser/resources/Ti leParser.jnlp
* es s/jnlp_ es s/simple/Informa ionTi leVendorParser/resources/Ti leVendorParser.jnlp
* es s/jnlp_ es s/simple/Informa ionTi leVendorParser/resources/VendorParser.jnlp
* es s/jnlp_ es s/simple/Manifes edJar1/resources/Manifes edJar-1main2mainAppDesc.jnlp
* es s/jnlp_ es s/simple/Manifes edJar1/resources/Manifes edJar-1main2mainNoAppDesc.jnlp
* es s/jnlp_ es s/simple/Manifes edJar1/resources/Manifes edJar-1main2no hingNoAppDesc.jnlp
* es s/jnlp_ es s/simple/Manifes edJar1/resources/Manifes edJar-1mainHaveAppDesc.jnlp
* es s/jnlp_ es s/simple/Manifes edJar1/resources/Manifes edJar-1mainNoAppDesc.jnlp
* es s/jnlp_ es s/simple/Manifes edJar1/resources/Manifes edJar-1noAppDesc.jnlp
* es s/jnlp_ es s/simple/Manifes edJar1/resources/Manifes edJar-1noAppDescA All.jnlp
* es s/jnlp_ es s/simple/Manifes edJar1/resources/Manifes edJar-1no hing2no hingAppDesc.jnlp
* es s/jnlp_ es s/simple/Manifes edJar1/resources/Manifes edJar-1no hing2no hingNoAppDesc.jnlp
* es s/jnlp_ es s/simple/ReadEnvironmen /resources/ReadEnvironmen .jnlp
* es s/jnlp_ es s/simple/ReadProper ies/resources/ReadProper ies1.jnlp
* es s/jnlp_ es s/simple/ReadProper ies/resources/ReadProper ies2.jnlp
* es s/jnlp_ es s/simple/Redirec S reams/resources/Redirec S reams.jnlp
* es s/jnlp_ es s/simple/ReplaceSecuri yManager/resources/ReplaceSecuri yManager.jnlp
* es s/jnlp_ es s/simple/Se Con ex ClassLoader/resources/Se Con ex ClassLoader.jnlp
* es s/jnlp_ es s/simple/Spaces can be everywhere/resources/Spaces can be everywhere1.jnlp
* es s/jnlp_ es s/simple/Spaces can be everywhere/resources/Spaces can be everywhere2.jnlp
* es s/jnlp_ es s/simple/Spaces can be everywhere/resources/SpacesCanBeEverywhere1.jnlp
* es s/jnlp_ es s/simple/deadlock es /resources/deadlock es .jnlp
* es s/jnlp_ es s/simple/deadlock es /resources/deadlock es _1.jnlp
* es s/jnlp_ es s/simple/simple es 1/resources/simple es 1.jnlp
* es s/jnlp_ es s/simple/simple es 1/resources/simple es Cus omSplash.jnlp
* es s/jnlp_ es s/simple/simple es 1/resources/simple es MegaSlow.jnlp
* es s/jnlp_ es s/simple/simple es 1/resources/simple es Slow.jnlp
* es s/jnlp_ es s/simple/simple es 1/resources/simple es SlowBrokenCus omSplash.jnlp
* es s/jnlp_ es s/simple/simple es 1/resources/simple es SlowSlowCus omSplash.jnlp
* es s/jnlp_ es s/simple/simple es 2/resources/simple es 2.jnlp:
Replaced he specified vendor wi h IcedTea and homepage wi h a link o
IcedTea-Web's wiki.
2012-04-03 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/pac-funcs.js: Replace incorrec use of
ge Year() wi h ge FullYear().
(inYearMon hDa eRange): Add missing condi ional case.
* es s/ne x/pac/pac-funcs- es .js
(runTes ): New func ion.
(runTes s): Call runTes .
(incDa e): Deal wi h mon h/year wrapping around.
(decDa e): Removed.
( es Da eRange, es Da eRange2, es Da eRange3): Handle wrapping of mon h
and days.
2012-04-03 Jiri Vanek <jvanek@redha .com>
Tes s vir ual server hread marked as daemon by defaul
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/ServerAccess.java:
All (ServerLauncher) ins ances re urned by me hods were marked as daemon
by defaul . Possibili y o change and api were kep .
2012-03-30 Danesh Dadachanji <ddadacha@redha .com>
Cer ifica e s ar da es are no being checked, hey are s ill verified
even if he da e has ye no been reached.
* ne x/ne /sourceforge/jnlp/ ools/JarSigner.java (verifyJar): If he s ar
da e is in he fu ure, se no Ye ValidCer o rue.
2012-03-21 Omair Majid <omajid@redha .com>
* es s/ne x/uni /ne /sourceforge/jnlp/JNLPMa cherTes .java
( es IsMa chDoesNo HangOnLargeDa a): New me hod.
2012-03-21 Lars Herschke <lhersch@dssgmbh.de>
PR898: signed applica ions wi h big jnlp-file doesn' s ar
* ne x/ne /sourceforge/jnlp/JNLPMa cher.java (JNLPMa cher): Handle large
files correc ly.
2012-03-19 Danesh Dadachanji <ddadacha@redha .com>
Fix failing uni es missing i le/vendor ags in he JNLP s ream.
* es s/ne x/uni /ne /sourceforge/jnlp/ParserCornerCases.java
( es Nes edCommen s): Added i le and vendor ags o malformedJnlp.
2012-03-19 Jiri Vanek <jvanek@redha .com>
* es s/jnlp_ es s/signed/CacheReproducer/ es cases/CacheReproducerTes .java:
as javaws have now in egra ed splash, I have changed his es o lunch
javaws -Xclearcache wi h -headless o skip his logo (al hough i is
no fa al fr es run i self)
* es s/jnlp_ es s/simple/Apple Tes /resources/apple Au oTes s.h ml:
his h ml file is lunched during es s run in browser and s dou of
lunched apple is examined. Is lunched wi h slow resources o es
spalshscreen
* es s/jnlp_ es s/simple/Apple Tes /resources/apple ViewTes .h ml: his
es h ml file is dedica ed o manual lunch and le user o look how he
apple (wi h slow loading) is loaded and how looks splashscreen in
small mode and in large mode
* es s/jnlp_ es s/simple/Apple Tes / es cases/Apple Tes Tes s.java:
es is enriched for lunching he h ml file wi h apple in browser and
is examining ou pu of his file. Browser mus be always ermina ed as
here is no way how o close from inside
* es s/jnlp_ es s/simple/simple es 1/resources/ne xPlugin.png:
image o le user observe ha user-defined splashscreen is s ill
working even when in ernal splashscreen is enabled
* es s/jnlp_ es s/simple/simple es 1/resources/simple es Cus omSplash.jnlp:
his and all jnlp files below are jus for manual lunching and for
wa ching various lunches of splash screen - slow loading of resources
and wi h cus om splash
* es s/jnlp_ es s/simple/simple es 1/resources/simple es MegaSlow.jnlp:
slow loading of resource and (XslowX)jnlp also
* es s/jnlp_ es s/simple/simple es 1/resources/simple es Slow.jnlp:
slow loading of resource
* es s/jnlp_ es s/simple/simple es 1/resources/simple es SlowBrokenCus omSplash.jnlp:
slow loading of resource wi h broken user's splash (our in ernal will be used)
* es s/jnlp_ es s/simple/simple es 1/resources/simple es SlowSlowCus omSplash.jnlp:
slow loading of cus om splash screen and resource
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/ServerAccess.java:
Main server launcher was modified o suppor lunching of browser,
s dou lis eners and for slowing download of resources o provide ime
for wa ching splash screen (main) was rewri en o provide free por OR
run server in-D specified direc ory on cus om or defaul por - very
useful for debuging reproducers
(ge Independen Ins ance) can now run also on specified por and (or) direc ory
(USED_BROWSER_COMMAND) new cons an handling value of -D proper y o
se browser = "used.browser.command";
(ge BrowserLoca ion) new me hod o provide specified
(by used.browser.command -D proper y) or defaul browser loca ion (firefox)
(ensureServer) es is es ing wea her XslowXmodifier is working
(execu eBrowser) se of overloaded func ions o lunch browser
(TinyH pdImpl) was enriched for XslowX modifier. When resource s ar s
wi h his, is re urned slowly - spli ed o 10 par s wi h 1s delay
be wen sending each of hem.
Al hough i is hrowing BrokenPipe excep ion, is working fine.
(spli Array) new func ion o spli array of by e o n arrays of by es,
which when conca ed do he same array
(spli ArrayTes N) se of es s for spli Array
(Con en Reader) now can also have ls eners for ca ching ou pu s n run ime.
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/Con en ReaderLis ener.java:
Lis ener for ca ching chars and lines form processes ou pu s
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/ResourcesTes .java:
added ( es Lis eners) o es lis eners behaviour
2012-03-16 Danesh Dadachanji <ddadacha@redha .com>
Applica ions using JNLP files wi hou a i le or vendor sec ion
s ill run, despi e hem being required elemen s.
* ne x/ne /sourceforge/jnlp/Parser.java:
(ge Informa ionDesc): If i le or vendor are no found in info,
a new ParseExcep ion is hrown.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
Added PNoTi leElemen and PNoVendorElemen
* es s/jnlp_ es s/simple/Informa ionTi leVendorParser/resources/Informa ionParser.jnlp,
* es s/jnlp_ es s/simple/Informa ionTi leVendorParser/resources/Ti leParser.jnlp,
* es s/jnlp_ es s/simple/Informa ionTi leVendorParser/resources/Ti leVendorParser.jnlp,
* es s/jnlp_ es s/simple/Informa ionTi leVendorParser/resources/VendorParser.jnlp,
* es s/jnlp_ es s/simple/Informa ionTi leVendorParser/ es cases/Ti leVendorParserTes .java:
New es ha runs JNLPs in a combina ion of missing informa ion, i le
and vendor ags, checking for he appropria e excep ions.
2012-03-14 Deepak Bhole <dbhole@redha .com>
Omair Majid <omajid@redha .com>
PR895: IcedTea-Web searches for missing classes on each loadClass or
findClass
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(CodeBaseClassLoader): Added new map o rack resources ha are no
found.
(findClass): If resource was no found before, re urn immedia ely. If
resource was no found for he firs ime, record i in he new map.
(findResouces): Same.
(findResource): Same.
* es s/ne x/uni /ne /sourceforge/jnlp/run ime/CodeBaseClassLoaderTes .java:
Tes case for PR895 from Omair Majid.
2012-03-14 Omair Majid <omajid@redha .com>
Prin excep ions o erminal when running in gui mode oo.
* ne x/ne /sourceforge/jnlp/Abs rac LaunchHandler.java: New file.
* ne x/ne /sourceforge/jnlp/Defaul LaunchHandler.java: Ex end
Abs rac LaunchHandler.
(Defaul LaunchHandler): New me hod.
(prin Message): Moved o paren class.
* ne x/ne /sourceforge/jnlp/GuiLaunchHandler.java: Ex end
Abs rac LaunchHandler.
(GuiLauchHandler): New me hod.
(launchError): Prin he error oo.
(launchWarning,valida ionError): Call paren 's prin Message.
* ne x/ne /sourceforge/jnlp/LaunchExcep ion.java: Use s andard java
excep ion chaining. This removes compa ibili y wi h pre-java 1.3 class
libraries.
(LaunchExcep ion(JNLPFile,Excep ion,S ring,S ring,S ring,S ring)): Pass
cause o paren so excep ions are chanined properly.
(LaunchExcep ion(S ring,Throwable),LaunchExcep ion(Throwable)): Call
paren 's cons ruc or.
(prin S ackTrace(Prin S ream),prin S ackTrace(Prin Wri er),ge Cause):
Removed. Use paren 's implemen a ion ins ead.
(ge Causes): Removed.
* ne x/ne /sourceforge/jnlp/LaunchHandler.java
(valida ionError): Rename argumen o clarify meaing.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java
(ini ialize): Redirec ou pu of all handlers o Sys em.err.
* plugin/iced eanp/java/sun/apple /PluginApple Securi yCon ex .java
(PluginApple Securi yCon ex ): Likewise.
* es s/ne x/uni /ne /sourceforge/jnlp/Defaul LaunchHandlerTes .java,
* es s/ne x/uni /ne /sourceforge/jnlp/LaunchExcep ionTes .java: New
file. Con ains es s.
2012-03-12 Danesh Dadachanji <ddadacha@redha .com>
Adding es for regression of JNLP API accessibili y in cons ruc or
me hods of apple s.
* Makefile.am: Added classes.jar o classpa h when compiling jnlp_ es s.
* es s/jnlp_ es s/simple/CheckServices/resources/CheckServices.jnlp:
* es s/jnlp_ es s/simple/CheckServices/srcs/CheckServices.java:
* es s/jnlp_ es s/simple/CheckServices/ es cases/CheckServicesTes s.java:
New es file added. Tes s ServiceManager is se up correc ly when called
from apple cons ruc ors.
2012-03-12 Danesh Dadachanji <ddadacha@redha .com>
Upda e es s ha are missing i le/vendor ag in heir JNLPs.
* es s/jnlp_ es s/signed/CacheReproducer/resources/CacheReproducer1.jnlp,
* es s/jnlp_ es s/signed/CacheReproducer/resources/CacheReproducer1_1.jnlp,
* es s/jnlp_ es s/signed/CacheReproducer/resources/CacheReproducer2.jnlp,
* es s/jnlp_ es s/signed/CacheReproducer/resources/CacheReproducer2_1.jnlp,
* es s/jnlp_ es s/signed/MissingJar/resources/MissingJar.jnlp,
* es s/jnlp_ es s/signed/MissingJar/resources/MissingJar2.jnlp,
* es s/jnlp_ es s/signed/MissingJar/resources/MissingJar3.jnlp,
* es s/jnlp_ es s/signed/MissingJar/resources/MissingJar4.jnlp,
* es s/jnlp_ es s/signed/ReadProper iesBySignedHack/resources/ReadProper iesBySignedHack.jnlp,
* es s/jnlp_ es s/signed/ReadProper iesSigned/resources/ReadProper iesSigned1.jnlp,
* es s/jnlp_ es s/signed/ReadProper iesSigned/resources/ReadProper iesSigned2.jnlp,
* es s/jnlp_ es s/simple/AddShu downHook/resources/AddShu downHook.jnlp,
* es s/jnlp_ es s/simple/AllS ackTraces/resources/AllS ackTraces.jnlp
* es s/jnlp_ es s/simple/Crea eClassLoader/resources/Crea eClassLoader.jnlp,
* es s/jnlp_ es s/simple/ReadEnvironmen /resources/ReadEnvironmen .jnlp,
* es s/jnlp_ es s/simple/ReadProper ies/resources/ReadProper ies1.jnlp,
* es s/jnlp_ es s/simple/ReadProper ies/resources/ReadProper ies2.jnlp,
* es s/jnlp_ es s/simple/Redirec S reams/resources/Redirec S reams.jnlp,
* es s/jnlp_ es s/simple/ReplaceSecuri yManager/resources/ReplaceSecuri yManager.jnlp,
* es s/jnlp_ es s/simple/Se Con ex ClassLoader/resources/Se Con ex ClassLoader.jnlp,
* es s/ne x/uni /ne /sourceforge/jnlp/ empla es/ empla e8.jnlp:
Added missing i le/vendor ags ha make hem fail wi h his changese .
2012-03-05 Jiri Vanek <jvanek@redha .com>
Added es for main-class in manifes for jnlp
* Makefile.am: (prepare-reproducers.s amp) fixed manifes handling. Till
now was manifes copied as any o her non java file, and so was rewri en
by jar ool
* es s/jnlp_ es s/simple/Manifes edJar2/srcs: secondary jar file which
should have manifes and so should help Manifes edJar1 wi h es ing
* es s/jnlp_ es s/simple/Manifes edJar2/resources/META-INF/MANIFEST.MF:
manifes for Manifes edJar2.jar
* es s/jnlp_ es s/simple/Manifes edJar1/srcs: main es ing jar
* es s/jnlp_ es s/simple/Manifes edJar2/resources/META-INF/MANIFEST.MF:
manifes for Manifes edJar1.jar
* es s/jnlp_ es s/simple/Manifes edJar1/ es cases/Manifes edJar1Tes .java:
es ing class for his reproducers
* es s/jnlp_ es s/simple/Manifes edJar1/resources/: nine reproducers jnlps
2012-03-06 Jiri Vanek <jvanek@redha .com>
Improved reflec ion es :
* es s/jnlp_ es s/simple/AccessClassInPackage/ es cases/AccessClassInPackageTes .java:
This es case was ex ended for hree more unsigned reflec ion ries and four signed
* es s/jnlp_ es s/simple/AccessClassInPackage/srcs/AccessClassInPackage.java:
now accep ing class o be findByName as argumen . Four new jnlp files in
signed a four in simple are hen passing hose argumen
* es s/jnlp_ es s/simple/AccessClassInPackage/resources/AccessClassInPackageSUNSEC.jnlp:
* es s/jnlp_ es s/simple/AccessClassInPackage/resources/AccessClassInPackageNETSF.jnlp:
* es s/jnlp_ es s/simple/AccessClassInPackage/resources/AccessClassInPackageJAVAXJNLP.jnlp:
* es s/jnlp_ es s/simple/AccessClassInPackage/resources/AccessClassInPackageSELF.jnlp:
* es s/jnlp_ es s/simple/AccessClassInPackage/resources/AccessClassInPackage.jnlp:
removed
* es s/jnlp_ es s/signed/AccessClassInPackageSigned/srcs/AccessClassInPackageSigned.java
signed varia ion of AccessClassInPackage, escase is also in AccessClassInPackage
* es s/jnlp_ es s/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedSELF.jnlp
* es s/jnlp_ es s/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedNETSF.jnlp
* es s/jnlp_ es s/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedSUNSEC.jnlp
* es s/jnlp_ es s/signed/AccessClassInPackageSigned/resources/AccessClassInPackageSignedJAVAXJNLP.jnlp
2012-02-29 Deepak Bhole <dbhole@redha .com>
* configure.ac: Bumped version o 1.3pre
2012-02-29 Deepak Bhole <dbhole@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/Cer ifica eU ils.java
(inKeyS ores): Only check for cer ifica e equali y.
2012-02-28 Deepak Bhole <dbhole@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(checkForMain): Also check manifes file of main jar.
(ge MainClassName): New me hod. Looks in a jar manifes o see if here is
a Main-Class specified.
2012-02-28 Deepak Bhole <dbhole@redha .com>
* plugin/iced eanp/IcedTeaPluginReques Processor.cc
(_eval): Re urn 0 id o Java side if eval fails.
(_call): Re urn 0 id o Java side if call fails.
2012-02-27 Ma hias Klose <doko@ubun u.com>
* acinclude.m4 (IT_CHECK_PLUGIN_DEPENDENCIES): Use he mozilla-plugin
pkgconfig module if he libxul module is no available.
2012-02-27 Ma hias Klose <doko@ubun u.com>
* acinclude.m4 (IT_FIND_JAVA): Se VERSION_DEFS.
* Makefile.am ($(PLUGIN_DIR)/%.o): Pass $(VERSION_DEFS)
* IcedTeaNPPlugin.cc (PLUGIN_MIME_DESC): Define in erms
of HAVE_JAVA7.
2012-02-27 Thomas Meyer < homas@m3y3r.de>
Deepak Bhole <dbhole@redha .com>
PR820: IcedTea-Web 1.1.3 crashing Firefox when loading Ci rix XenApp
* plugin/iced eanp/IcedTeaJavaReques Processor.cc
(crea eJavaObjec FromVarian ): If varian is a generic objec array,
crea e a JSObjec on Java side ins ead of JSObjec array.
* plugin/iced eanp/IcedTeaPluginReques Processor.cc
(newMessageOnBus): Run finalize on main hread.
(eval): Crea e Java objec in _eval
(call): Crea e Java objec in _call.
(se Member): Crea e Java objec in _se Member.
(sendMember): Crea e Java objec in _ge Member.
(sendS ring): Crea e Java objec in _ge S ring.
(_se Member): Process resul and crea e Java objec if needed.
(_ge Member): Same.
(_eval): Same.
(_call): Same.
(_ge S ring): Same.
2012-02-22 Danesh Dadachanji <ddadacha@redha .com>
Add abili y o check for jnlp_href use ou side of PluginBridge.
* ne x/ne /sourceforge/jnlp/PluginBridge.java
(PluginBridge): New boolean useJNLPHref is se if jnlp_href is used.
(useJNLPHref): New ge er me hod, re urns boolean useJNLPHref.
2012-02-10 Danesh Dadachanji <ddadacha@redha .com>
Fix pa h o NEW_LINE_IFS for when one builds ou side of src direc ory.
* Makefile.am: Use op src direc ory ins ead of op build direc ory
for NEW_LINE_IFS
2012-02-06 Danesh Dadachanji <ddadacha@redha .com>
Fixed regression in running webs ar apple s from JNLP files.
* ne x/ne /sourceforge/jnlp/Launcher.java (crea eApple ): Added call o
se apple variable in he Apple Ins ance's Apple Environmen .
* ne x/ne /sourceforge/jnlp/run ime/Apple Environmen .java
(se Apple ): New me hod, se Apple Environmen 's apple variable only once.
2012-02-02 Danesh Dadachanji <ddadacha@redha .com>
* ne x/ne /sourceforge/jnlp/LaunchExcep ion.java: Fix message
o handle null descrip ion
2012-02-01 Danesh Dadachanji <ddadacha@redha .com>
* ne x/ne /sourceforge/jnlp/LaunchExcep ion.java: Add descrip ion
parame er o he message he excep ion s ores.
2012-02-01 Jiri Vanek<jvanek@redha .com>
Fix for PR844
* ne x/ne /sourceforge/jnlp/cache/CacheLRUWrapper.java: (ge LRUSor edEn ries)
ins ead of error hrowing own LRU excep ion. Also ca ches more hen
NumberForma Excep ion
(clearLRUSor edEn ries) new me hod - making sof clearing of cache public
(clearCache) now re urn rue if cache was cleared, false o herwise
(or excep ion)
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java: (ge CacheFileIfExis )
does hree ires o load cache. If ifrs fails, hen recen ly_used file
is emp ied bo h in memory and on disc. When second a emmp fails, hen
LRU cache is forcibly cleared. if clearing fails, hen error is hrown.
If i pass, hen one more ry o load en ries is allowed. When hird
a emp fails, hen error is hrown.
* /ne x/ne /sourceforge/jnlp/cache/LruCacheExcep ion.java:
new file, for purpose of ca ching his par icular excep ion
* ne x/ne /sourceforge/jnlp/u il/Proper iesFile.java: (s ore) ries o
mkdirs o i s pa h. I is be er hen o fail when no cache direc ory exis s.
* es s/jnlp_ es s/signed/CacheReproducer: new reproducr rying severals
way of corup ed cache on several ypes of jnlp files. Is signed because
of reflec ion used.
* es s/jnlp_ es s/signed/Simple es Signed1: signed hello world o be
used in CacheReproducer es s.
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/ServerAccess.java:
imeou for processes doubled, as clear cache me hods some imes ook
more hen original allowed.
2012-01-27 Deepak Bhole <dbhole@redha .com>
PR852: Classloader no being flushed af er las apple from a si e is closed
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: Added variable
o coun usage for a given ClassLoader ins ance.
(ge Ins ance): Decremen use coun for a loader af er i is merged wi h
ano her. Incremen loader use coun before re urning.
(incremen LoaderUseCoun ): New me hod. Incremen s loader use coun .
(decremen LoaderUseCoun ): New me hod. Decremen s loader use coun .
* java/sun/apple /PluginApple Viewer.java (apple Close): Decremen loader
use coun when apple is closed.
2012-01-25 Jiri Vanek <jvanek@redha .com>
Added es for -Xnofork op ion and for apple launching by jnlp
* es s/jnlp_ es s/simple/deadlock es /resources/deadlock es _1.jnlp: new file
By specifying new max heap size, should invoke jvm o fork when launched
* es s/jnlp_ es s/simple/deadlock es /srcs/DeadlockTes .java:
improved inden a ion, added debug ou pu ha main me hod was lunched
* es s/jnlp_ es s/simple/deadlock es / es cases/DeadLockTes Tes .java:
small refac oring, add lunching of deadlock es _1.jnlp wi h and
wi hou -Xnofork, and coun ing java ins ances during run ime
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/ServerAccess.java
(ThreadedProcess.run) fixed si ua ion, when process ended, bu no all
he ou pu was read by i s s dou /s derr readers
(Con en Reader.run) enabled excep ion prin ing o s derr.
* es s/jnlp_ es s/simple/Apple Tes / : es for loading apple s by jnlp file
2012-01-06 Danesh Dadachanji <ddadacha@redha .com>
Use he JNLP file's informa ion sec ion for he Name and
Publisher labels of access dialogs, if available.
* ne x/ne /sourceforge/jnlp/PluginBridge.java:
(PluginBridge): Assigned info variable o JNLP file's informa ion
sec ion (if one is used), o herwise o a new, emp y ArrayLis .
(ge Informa ion): Removed me hod, superclass me hod
should be used ins ead.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
Adding SUnverified.
* a/ne x/ne /sourceforge/jnlp/securi y/AccessWarningPane.java:
(addComponen s): Append unverified no e o he publisher label.
2012-01-09 Deepak Bhole <dbhole@redha .com>
PR838: IcedTea plugin crashes wi h chrome browser when javascrip is execu ed
* plugin/iced eanp/IcedTeaPluginReques Processor.cc (eval): Added a check
o ensure ha he resul poin er is valid before a emp ing o crea e an
NPVarian from i .
2012-01-05 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ini ializeResources): Only hrow excep ions abou he main class no
being found when he jnlp file can have a main class.
(addToCodeBaseLoader): Don ry o process null URLs.
2011-12-15 Jiri Vanek <jvanek@redha .com>
* configure.ac: added search for xsl proc program and se ing
WITH_XSLTPROC variable
* Makefile.am: xsl proc resul is no longer ignored, command
i self is in condi ional block
2011-12-22 Thomas Meyer < homas@m3y3r.de>
* plugin/iced eanp/IcedTeaPluginReques Processor.cc(sendMember): Use
correc response parame er when re urning array member vs member i self.
2011-12-21 Thomas Meyer < homas@m3y3r.de>
RH586194: Unable o connec o connec wi h Juniper VPN clien
* plugin/iced eanp/IcedTeaPluginReques Processor.cc(sendMember): Use
crea eJavaObjec FromVarian o crea e he resul ing objec on Java side,
ra her han always crea ing a JSObjec .
2011-12-21 Jiri Vanek <jvanek@redha .com>
* acinclude.m4: added defini ion of IT_CHECK_XULRUNNER_API_VERSION,
which ries o compile small program agains new xulrunner api
* configure.ac: added call of IT_CHECK_XULRUNNER_API_VERSION
* plugin/iced eanp/IcedTeaNPPlugin.cc: (NP_Ge MIMEDescrip ion)
re urn ype se -up by dependency on defined LEGACY_XULRUNNERAPI.
This one is se by IT_CHECK_XULRUNNER_API_VERSION during configure.
if defined, hen old char* is used. New cons char* is used o herwise.
2011-12-19 Danesh Dadachanji <ddadacha@redha .com>
Fix for BasicService being used in apple cons ruc ors bu no
having access o Applica ionIns ance variable.
* ne x/ne /sourceforge/jnlp/Launcher.java:
(crea eApple ): Moved apple ini ializa ion below loader.se Applica ion,
apple Ins ance is now ini ialized wi h apple param as null.
* ne x/ne /sourceforge/jnlp/run ime/Apple Ins ance.java:
(se Apple ): New me hod, allows se ing of Apple Ins ance's apple
only once.
2011-12-16 Deepak Bhole <dbhole@redha .com>
Pa ch from Thomas Meyer < homas@m3y3r.de>
* plugin/iced eanp/IcedTeaPluginReques Processor.cc: Fixed func ion name
in commen for sendMember.
2011-12-08 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/Launcher.java
(launchApplica ion): Prin argumen s being passed o he applica ion's
main me hod in debug mode.
2011-12-05 Danesh Dadachanji <ddadacha@redha .com>
Upda e UI for AccessWarningPane
* ne x/ne /sourceforge/jnlp/securi y/AccessWarningPane.java:
Use ques ion.png ins ead of warning.png for access dialogs.
2011-11-28 Jiri Vanek <jvanek@redha .com>
Added code-coverage genera ion arge s
* configure.ac: added search for op ional emma.jar
* makefile.am: added UNIT_CLASS_NAMES and REPRODUCERS_CLASS_NAMES variables
o s ore es s clases for reuse in emmarun. Bo h also moved o separa e arge
(run-ne x-uni - es s): made dependen on reused s amped version
(run-ne x-dis - es s): made dependen on reused s amped version
(s amps/run-ne x-dis - es s): s amped rusable version of run-ne x-dis - es s
(run-uni - es -code-coverage) arge s o genera e repor from uni - es s.
Resul binary and xml file and h ml repor in es s.build/ne x/uni
(run-reproducers- es -code-coverage) arge s o genera e repor from
reproducers- es . Resul binary file, xml and h ml repor in
es s.build/ne x/jnlp_ es sengine
(run- es -code-coverage): merges binary resul s from uni and reproducers
(clean-uni - es -code-coverage) condi ionaly removes h ml,xml repor
and es and ec files from es s.build/ne x/uni
(clean-reproducers- es -code-coverage) cond ionlay removes h ml and xml
repor and es file from es s.build/ne x/jnlp_ es sengine
(clean- es -code-coverage) condi ionlay removes merged h ml, xml es and em
files from es s.build
(clean-ne x- es s) now depends also on clean- es -code-coverage
2011-11-11 Jiri Vanek <jvanek@redha .com>
Added reproducer for PR804 and PR8011
* es s/jnlp_ es s/simple/Spaces can be everywhere/resources/Spaces can be everywhere1.jnlp:
new jnlp file wi h space in name and wi h jar in resources which name does no con ain
spaces
* es s/jnlp_ es s/simple/Spaces can be everywhere/resources/Spaces can be everywhere2.jnlp:
new jnlp file wi h space in name and wi h jar in resources which name con ains spaces
* es s/jnlp_ es s/simple/Spaces can be everywhere/resources/SpacesCanBeEverywhere1.jnlp:
jnlp file wi hou space in name bu wi h jar in resources which name con ains spaces
* es s/jnlp_ es s/simple/Spaces can be everywhere/srcs/SpacesCanBeEverywhere.java:
new file con ainig simple main me hod of "Spaces can be everywhere.jar" jar
* es s/jnlp_ es s/simple/Spaces can be everywhere/ es cases/SpacesCanBeEverywhereTes s.java
es case for his reproducer. I is lunching each of his jnlp once locally from filesys em and
once remo ely from server. Please no e ha excep i 's own jar, his reproducer is also
using simple es 1.jar
2011-11-11 Jiri Vanek <jvanek@redha .com>
Fixed reproducers engine o handle spaces in files and in urls
* Makefile.am: (s amps/ne x-dis - es s-prepare-reproducers.s amp)
(s amps/ne x-dis - es s-sign-some-reproducers.s amp)
(s amps/ne x-dis - es s-compile- es cases.s amp):
added call o NEW_LINE_IFS o use line breake emporarily as parame er
separa or while loading files from lis and correc quo ing
* NEW_LINE_IFS: new file, small separa e scrip used in makefile as inline scrip
which backup original IFS variable and hen se i o pure new line. I is in
separa e file because i is reused and I do no know ano her way how o save a new
line variable in makefile. Res ore o original vlaue is handled in Makefile
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/ResourcesTes .java:
( es ResourcesExis s) filename is encoded o correc URL before reques ed from server
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/ServerAccess.java:
"-headless" s ring ex rac ed o variable HEADLES_OPTION
(execu eProcess) and (ThreadedProcess) enhanced for variable dir o specify working
direc ory. Backward compa ibili y kep
(TinyH pdImpl) now expec s url on reques s, so all reques s are now decoded by
java.ne .URLDecoder
2011-11-10 Jiri Vanek <jvanek a redha .com>
Added es s which covers corner cases or rhino suppor func ion da eRange
Enabled es WeekdayRange es
* es s/ne x/pac/pac-funcs- es .js: ( es WeekdayRange) - added mising
runTes s call
(incDa e) (decDa e) (mon hToS r) moved level up from func ion scope
o be shareable
( es Da eRange2) new me hod, es s las days of mon hs.
( es Da eRange3) new me hod, es s firs days of mon hs
* ne x/ne /sourceforge/jnlp/run ime/pac-funcs.js:
(da eRange) logic of his me hod moved o isDa eInRange. This one now serve
jus as api using curren da e
(isDa eInRange) logic of da eRange, can calcula e ranges agains any da e
2011-10-31 Omair Majid <omajid@redha .com>
PR808: javaws is unable o s ar when missing jars are enumera ed before
main jar
* NEWS: Upda e.
* ne x/ne /sourceforge/jnlp/ ools/JarSigner.java (verifyJars): Con inue
wi h o her jars if he firs jar can' be used.
2011-10-28 Deepak Bhole <dbhole@redha .com>
RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and
suffix domain SOP bypass
* NEWS: Upda ed
* ne x/ne /sourceforge/jnlp/run ime/JNLPSecuri yManager.java
(checkPermission): Remove special case for Socke Permission.
2011-10-27 Deepak Bhole <dbhole@redha .com>
PR778: Jar download and server cer ifica e verifica ion deadlock
* ChangeLog: Removed ex ra whi espace from previous en ries
* NEWS: Upda ed
* ne x/ne /sourceforge/jnlp/GuiLaunchHandler.java (launchIni ialized):
Moved as much code as possible ou of he invokeLa er block.
2011-10-25 Omair Majid <omajid@redha .com>
PR804: javaws launcher incorrec ly handles file names wi h spaces
* NEWS: Upda e.
* launcher/javaws.in: Use bash arrays o s ore argumen s o handle
filenames wi h spaces correc ly.
2011-10-24 Jiri Vanek <jvanek@redha .com>
Added reproducer for - PR788: Ellumina e Live! is no working
* es s/jnlp_ es s/signed/MissingJar/resources/MissingJar.jnlp
* es s/jnlp_ es s/signed/MissingJar/resources/MissingJar2.jnlp
* es s/jnlp_ es s/signed/MissingJar/resources/MissingJar3.jnlp
* es s/jnlp_ es s/signed/MissingJar/resources/MissingJar4.jnlp
four es cases's jnlp files. Differs by order and by used resoure ags
* es s/jnlp_ es s/signed/MissingJar/srcs/MissingJar.java
very simple main jar, jus prin ing message when ini ialized
* es s/jnlp_ es s/signed/MissingJar/ es cases/MissingJarTes .java
es ing file of reproducer, launchiing above four jnlp files, each in individual es
2011-10-17 Jiri Vanek <jvanek@redha .com>
PR564: Ne X depends on sun.misc.BASE64Encoder
* configure.ac: removed IT564 commen , removed check for sun.misc.BASE64Encoder
* ne x/ne /sourceforge/jnlp/securi y/Cer ifica eU ils.java : sun.misc.BASE64Encoder;
replaced (jus changed impor ) by in ernal implemen a ion from
ne .sourceforge.jnlp.u il.replacemen s.BASE64Encoder;
* ne x/ne /sourceforge/jnlp/u il/replacemen s/BASE64Encoder.java:
* ne x/ne /sourceforge/jnlp/u il/replacemen s/Charac erEncoder.java:
New files, in ernal implemen a ion of BASE64Encoder, copied from OpenJDK
* es s/ne x/uni /ne /sourceforge/jnlp/u il/replacemen s/BASE64EncoderTes .java
New file, o es in ernal base64encoder implemen a ion
2011-10-03 Jiri Vanek <jvanek@redha .com>
* es s/jnlp_ es s/signed/ReadProper iesBySignedHack/resources/ReadProper iesBySignedHack.jnlp
* es s/jnlp_ es s/signed/ReadProper iesBySignedHack/srcs/ReadProper iesBySignedHack.java
* es s/jnlp_ es s/signed/ReadProper iesBySignedHack/ es cases/ReadProper iesBySignedHackTes .java
* es s/jnlp_ es s/signed/ReadProper iesSigned/resources/ReadProper iesSigned1.jnlp
* es s/jnlp_ es s/signed/ReadProper iesSigned/resources/ReadProper iesSigned2.jnlp
* es s/jnlp_ es s/signed/ReadProper iesSigned/srcs/ReadProper iesSigned.java
* es s/jnlp_ es s/signed/ReadProper iesSigned/ es cases/ReadProper iesSignedTes .java
Direcory signed was somehow missing from my commi from 2011-09-22.
Now i have been added wi h all i s original files
2011-09-29 Omair Majid <omajid@redha .com>
PR618: Can' ins all OpenDJ, JavaWebS ar fails wi h Inpu s ream is null
error.
* NEWS: Upda e.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ge Resource): Rename o ...
(findResource): New me hod.
(findResources): If resource can no be found, search in lazy resources.
(findResourcesBySearching): New me hod.
2011-09-28 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/Apple Desc.java (ge MainClass): Clarify he
re urn value in javadoc.
* ne x/ne /sourceforge/jnlp/Launcher.java
(crea eApple , crea eApple Objec ): Do no replace '/' wi h '.'.
* ne x/ne /sourceforge/jnlp/PluginBridge.java (PluginBridge): Ensure ha
he class name is in he do -separa ed from.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(checkForMain): Ensure ha he name is an exac ma ch.
2011-09-28 Deepak Bhole <dbhole@redha .com>
PR794: IcedTea-Web does no work if a Web S ar app jar has a Class-Pa h
elemen in he manifes .
* ne x/ne /sourceforge/jnlp/run ime/CachedJarFileCallback.java
(re rieve): Blank ou he Class-Pa h elemen s in manifes .
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ac iva eJars): Only load Class-Pa h elemen s if his is an apple .
(addNewJar): Add he righ permissions for he cached jar file and verify
signa ures.
2011-09-26 Lars Herschke <lhersch@dssgmbh.de>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Add
CVExpor PasswordMessage, CVImpor PasswordMessage and
CVPasswordTi le.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java (ini ialize):
Ini ialize SSLCon ex wi h he user's clien cer ifica es.
* ne x/ne /sourceforge/jnlp/securi y/Cer ifica eU ils.java
(addPKCS12ToKeyS ore, addPKCS12ToKeyS ore, dumpPKCS12): New me hods.
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica ePane.java
(ge Passwords): New me hod.
(Impor Bu onLis ener.ac ionPerformed): Impor clien cer ifica es
in PKCS12 forma .
(Expor Bu onLis ener.ac ionPerformed): Expor clien cer ifica es
in PKCS12 forma .
2011-09-23 Omair Majid <omajid@redha .com>
RH738814: Access denied a ssl handshake
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogs.java
(showCer WarningDialog): Add a javadoc commen .
* ne x/ne /sourceforge/jnlp/securi y/VariableX509Trus Manager.java
(askUser): Wrap he call o showCer WarningDialog in a doPrivileged
block.
2011-09-22 Omair Majid <omajid@redha .com>
PR788: Ellumina e Live! is no working
* NEWS: Upda e.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(checkForMain): If localFile is null (JAR couldn' be downloaded), ry o
con inue, ra her han allowing he excep ion o cause an abor .
2011-09-21 Omair Majid <omajid@redha .com>
PR766: javaws fails o parse an <argumen > node ha con ains CDATA
* ne x/ne /sourceforge/nanoxml/XMLElemen .java
(sani izeInpu ): Do no remove CDATA sec ions along wi h commen s.
2011-09-20 Omair Majid <omajid@redha .com>
* es s/ne x/uni /ne /sourceforge/jnlp/ParserCornerCases.java
( es Cda a, es Cda aNes ed, es CDa aFirs Child, es CDa aSecondChild)
( es Commen InElemen s2, es DoubleDashesInCommen s): New me hods
* es s/ne x/uni /ne /sourceforge/jnlp/applica ion/applica ion0.jnlp,
* es s/ne x/uni /ne /sourceforge/jnlp/ empla es/ empla e0.jnlp:
Change <!CDATA[ o <![CDATA[.
2011-09-22 Lars Herschke <lhersch@dssgmbh.de>
PR789: ypo in jrunscrip .sh
* jrunscrip .in: Use = ins ead of ==.
2011-09-22 Jiri Vanek <jvanek@redha .com>
* es s/jnlp_ es s/signed/ReadProper iesBySignedHack/resources/ReadProper iesBySignedHack.jnlp:
jnlp file o lunch ReadProper iesBySignedHack, no ice please dependenci
on ReadProper ies.jar from simple reproducers
* es s/jnlp_ es s/signed/ReadProper iesBySignedHack/srcs/ReadProper iesBySignedHack.java:
his reproducers verify, ha even reflec ion-by enabled
X rus All will no allow o lunch unsigned code
* es s/jnlp_ es s/signed/ReadProper iesBySignedHack/ es cases/ReadProper iesBySignedHackTes .java:
es case for his reproducer
2011-09-22 Jiri Vanek <jvanek@redha .com>
* es s/jnlp_ es s/signed/ReadProper iesSigned/resources/ReadProper iesSigned1.jnlp:
* es s/jnlp_ es s/signed/ReadProper iesSigned/resources/ReadProper iesSigned2.jnlp:
* es s/jnlp_ es s/signed/ReadProper iesSigned/ es cases/ReadProper iesSignedTes .java:
* es s/jnlp_ es s/signed/ReadProper iesSigned/srcs/ReadProper iesSigned.java:
hose four files are example of signed reproducer
* es s/jnlp_ es s/simple/ReadProper ies/srcs/ReadProper ies.java: now prin s ou go
variable for comparsion wi h above crea ed signed example
2011-09-22 Jiri Vanek <jvanek@redha .com>
Added signed reproducers engine
* Makefile.am: added variable KEYSTORE_NAME
(s amps/juni -jnlp-dis -dirs): crea es s amp and depend on nex wo arge s
(juni -jnlp-dis -simple. x ): crea es lis of simple reproducers, ex rac ed
from s amps/juni -jnlp-dis -dirs
(juni -jnlp-dis -signed. x ): crea es lis of signed reproducers
(s amps/ne x-dis - es s-prepare-reproducers.s amp): now raverse over
signed and simple
(s amps/ne x-dis - es s-sign-some-reproducers.s amp): depends
on ne x-dis - es s-prepare-reproducers, raverse hrough signed
reproducers and sign hem
(s amps/ne x-dis - es s-compile- es cases.s amp): now raverse over
signed and simple
(s amps/boo s rap-direc ory.s amp): crea es symlinks/s ubs o
jarsigner and key ool
(clean-ne x-dis - es s):remove new s amps, signed and simple lis and keyss ore
* acinclude.m4: declared o proceed IT_FIND_KEYTOOL and IT_FIND_JARSIGNER macro
* configure.ac: declared macros o check for key ool and jarsigner
* es s/jnlp_ es s/README: men ioned signed direc ory
2011-09-22 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/Boo .java: (main): added logic o
handle -X rus all op ion
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java: declared priva e s a ic boolean
rus All=false; wi h public ge er and pkg.priva e se er
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: (checkTrus Wi hUser): modified,
when X rus All declared, hen user is no asked and cer ifica e is rus ed
* ne x/ne /sourceforge/jnlp/securi y/VariableX509Trus Manager.java: (askUser): modified,
when X rus All declared, hen user is no asked and cer ifica e is rus ed
2011-09-15 Jiri Vanek <jvanek@redha .com>
* es s/jnlp_ es s/: all curren reproducers (AccessClassInPackage
AddShu downHook AllS ackTraces Crea eClassLoader deadlock es
ReadEnvironmen ReadProper ies Redirec S reams ReplaceSecuri yManager
Se Con ex ClassLoader simple es 1 simple es 2) juni 's asser s are enchan ed
for reason, so juni asser ion excep ion message is much clearer.
2011-09-13 Deepak Bhole <dbhole@redha .com>
PR782: Suppor building agains npapi-sdk as well
Pa ch from Michał Górny < mgorny a gen oo do org >
* acinclude.m4: Build agains npapi-sdk.
2011-09-13 Deepak Bhole <dbhole@redha .com>
* ChangeLog: Fixed forma ing issues in previous en ry.
2011-09-01 Jiri Vanek<jvanek@redha .com>
Added func ionali y o allow iced ea web o be buildable wi h
rhel5 libraries.
* configure.ac: added IT_CHECK_GLIB_VERSION check.
* acinclude.m4: added IT_CHECK_GLIB_VERSION defini ion block o es .
version of glib ins alled and add LEGACY_GLIB define macro in o
variable DEFS if version is <2.16.
* plugin/iced eanp/IcedTeaNPPlugin.cc: added replacemen s for incompa ible
func ions (g_s rcmp0 and find_firs _i em_in_hash_ able)if LEGACY_GLIB
is defined. Added define sec ions for use his func ion ins ead of glib ones.
Duplica ed code moved in o func ion ge Firs InTableIns ance(GHashTble* able).
* Makefile.am: ($(PLUGIN_DIR)/%.o): using DEFS se ed by configure for compila ion
2011-08-29 Deepak Bhole <dbhole@redha .com>
RH734081: Javaws canno use proxy se ings from Firefox
Based on pa ch from Lukas Zachar <lzachar a redha do com>
* ne x/ne /sourceforge/jnlp/browser/FirefoxPreferencesFinder.java
(find): Only process Profile sec ions. Do no hrow an excep ion if a
Defaul = line is no found since i is no guaran eed o exis .
2011-08-24 Deepak Bhole <dbhole@redha .com>
RH718693: MindTerm SSH Apple doesn' work
* plugin/iced eanp/java/ne scape/securi y/PrivilegeManager.java: New
file. S ub class, no needed wi h IcedTea-Web.
2011-08-23 Deepak Bhole <dbhole@redha .com>
PR769: IcedTea-Web plugin does no work wi h some ssl si es wi h OpenJDK7
* ne x/ne /sourceforge/jnlp/securi y/VariableX509Trus Manager.java
(checkServerTrus ed): Accoun for a null hos name ha he
overloaded implemen a ion may pass.
2011-08-23 Omair Majid <omajid@redha .com>
* configure.ac: Add check for new non-s andard classes
sun.ne .www.pro ocol.jar.URLJarFile and
sun.ne .www.pro ocol.jar.URLJarFileCallBack.
2011-08-23 Omair Majid <omajid@redha .com>
* Makefile.am: Remove JRE. Replace uses wi h SYSTEM_JRE_DIR ins ead. Also
replace uses of SYSTEM_JDK_DIR/jre wi h SYSTEM_JRE_DIR.
* acinclude.m4
(IT_CHECK_FOR_JRE): New macro.
(IT_FIND_JAVA): Require IT_CHECK_FOR_JRE. Use java binary from wi hin he
JRE.
2011-08-22 Saad Mohammad <smohammad@redha .com>
* ne x/ne /sourceforge/jnlp/JNLPFile.java:
(parse): Af er he file has been parsed, i calls
checkForSpecialProper ies() o check if he resources con ain any special
proper ies.
(checkForSpecialProper ies): Scans hrough resources and checks if i
con ains any special proper ies.
(requiresSignedJNLPWarning): Re urns a boolean af er de ermining if a signed
JNLP warning should be displayed.
(se SignedJNLPAsMissing): Informs JNLPFile ha a signed JNLP file is
missing in he main jar.
* ne x/ne /sourceforge/jnlp/Securi yDesc.java:
(ge JnlpRIAPermissions): Re urns all he names of he basic JNLP sys em
proper ies accessible by RIAs.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
Added LSignedJNLPFileDidNo Ma ch and SJNLPFileIsNo Signed.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
(ini ializeResources): Loca es he jar file ha con ains he main class
and verifies if a signed JNLP file is also loca ed in ha jar. This also
checks 'lazy' jars if he he main class was no found in 'eager' jars.
If he main jar was no found, a LaunchExcep ion is hrown which ermina es
he launch of he applica ion.
(checkForMain): A me hod ha goes hrough each jar and checks o see
if i has he main class. If he main class is found, i calls
verifySignedJNLP() o verify if a valid signed JNLP file is also found in
he jar.
(verifySignedJNLP): A me hod ha checks if he jar file con ains a valid
signed JNLP file.
(closeS ream): Closes a s ream.
(loadClassEx ): Added a ry/ca ch block when addNex Resource() is called.
(addNex Resource): If he main jar has no been found, checkForMain() is
called o check if he jar con ains he main class, and verifies if a signed
JNLP file is also loca ed.
* ne x/ne /sourceforge/jnlp/securi y/MoreInfoPane.java:
(addComponen s): Displays he signed JNLP warning message if necessary.
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialog.java:
(Securi yDialog): S ores he value of whe her a signed JNLP warning should
be displayed.
(showMoreInfoDialog): Passes in he associa ed JNLP file when crea ing a
Securi yDialog objec .
(requiresSignedJNLPWarning): Re urns a boolean af er de ermining if a signed
JNLP warning should be displayed.
2011-08-17 Danesh Dadachanji <ddadacha@redha .com>
Upda e UI for Securi yDialog
* ne x/ne /sourceforge/jnlp/resources/ques ion.png: New icon added.
* ne x/ne /sourceforge/jnlp/securi y/Cer WarningPane.java:
(addComponen s): When cer s are verified, ques ion.png is used as he icon
and SAlwaysTrus Publisher is au oma ically selec ed.
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialog.java:
(ini Dialog): Changed he i le of a CERT_WARNING dialog.
2011-08-17 Danesh Dadachanji <ddadacha@redha .com>
AUTHORS: Adding myself and Denis Lila. Removing he ex ra email from
Andrew Hughes.
2011-08-11 Danesh Dadachanji <ddadacha@redha .com>
PR742: IcedTea-Web checks cer s only up o 1 level deep before declaring
hem un rus ed.
* NEWS: Upda ed.
* ne x/ne /sourceforge/jnlp/ ools/JarSigner.java:
(checkTrus edCer s): All cer s along cer Pa h are now checked for rus .
2011-08-09 Deepak Bhole <dbhole@redha .com>
PR771: IcedTea-Web cer ifica e verifica ion code does no use he righ
API
* ne x/ne /sourceforge/jnlp/securi y/Cer ifica eU ils.java
(inKeyS ores): Use Cer ifica e.verify o correc ly verify a cer ifica e
agains a public key in he s ore.
2011-08-09 Saad Mohammad <smohammad@redha .com>
PR765: JNLP file wi h all resource jars marked as 'lazy' fails o valida e
signa ure and s ops he launch of applica ion
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
(ini ializeResources): Ini ializes he firs jar file if all resources
are marked as lazy jars
2011-08-03 Saad Mohammad <smohammad@redha .com>
* ne x/ne /sourceforge/jnlp/JNLPMa cher.java:
(JNLPMa cher): Removed NullPoin erExcep ion from being hrown, caugh and
hen hrown again via JNLPMa cherExcep ion. This was replaced by hrowing
a checked excep ion [JNLPMa cherExcep ion] direc ly.
(JNLPMa cher): Removed unused code [ge ers]
(JNLPMa cher): Closed Inpu /Ou pu s reams ha were opened.
(isMa ch): Removed caching of re urn value
(closeInpu S ream): Added his me hod o close inpu s reams
(closeOu pu S ream): Added his me hod o close ou pu s reams
* ne x/ne /sourceforge/jnlp/Node.java:
Removed ge A ribu eNames() me hod from he commen ed sec ion
2011-08-03 Deepak Bhole <dbhole@redha .com>
PR768: Signed apple s/Web S ar apps don' work wi h OpenJDK7 and up
* ne x/ne /sourceforge/jnlp/ ools/JarSigner.java (verifyJar): Pu en ry in
cer hash able only if he en ry is expec ed o be signed.
2011-08-02 Jiri Vanek <jvanek@redha .com>
*Makefile.am: (s amps/ne x-dis - es s-prepare-reproducers.s amp):
now are compiled files correc ly compiled from direc ory s ruc ure.
Also no java files are copied wi h expec ed direc ory s ruc ure and
jarred oge her wi h classes.
2011-07-26 Jiri Vanek <jvanek@redha .com>
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/ServerAccess.java: S ring
con aining "localhos " have been declared as final cons an .
(SERVER_NAME) have been moved ins an Server ins ance so each server can
have i name wi hou affec ing o hers
(ge Url()) added - can re urn URL of server single on. Implemen a ion of
his me hod is inside server, so each server can re urn i s own useful URL.
(saveFile()) is now public.
Added iden ifica ion for ThreadedProcess based on commandlineArgs and i s
run is now slowed by Thread.sleep
(ServerLuncher) inner class is now public (i was bug o no be as we have
ge Independen Ins ance of i me hod ) and renamed o ServerLauncher
Enchan ed wrapping of execu eProcess
2011-07-21 Deepak Bhole <dbhole@redha .com>
PR749: sun.apple .PluginS reamHandler#handleMessage(S ring) really slow
Original pa ch from: Ricardo Mar ín Camarero <rickyepoderi a yahoo do es>
* plugin/iced eanp/java/sun/apple /PluginS reamHandler.java
(readPair): New func ion.
(handleMessage): Use readPair o incremen ally okenize message, ra her
han using S ring.spli ().
2011-07-19 Saad Mohammad <smohammad@redha .com>
* ne x/ne /sourceforge/jnlp/JNLPMa cher.java:
Crea ed his class o compare signed JNLP file wi h he launching
JNLP file. When comparing, i has suppor for bo h me hod of signing
of a JNLP file: APPLICATION_TEMPLATE.JNLP and APPLICATION.JNLP.
* ne x/ne /sourceforge/jnlp/JNLPMa cherExcep ion.java:
Added a cus om excep ion: JNLPMa cherExcep ion. Thrown if verifying
signed JNLP files fails.
* ne x/ne /sourceforge/jnlp/Node.java:
Crea ed a me hod ha re rieves he a ribu e names of he Node and
s ores i in priva e s ring [] member. The me hod re urns he
a ribu e names.
* es s/ne x/uni /ne /sourceforge/jnlp/JNLPMa cherTes .java:
This is a es case ha es s he func ionali y of JNLPMa cher.
I es s he algori hm wi h a varie y of empla e and applica ion
JNLP files.
* es s/ne x/uni /ne /sourceforge/jnlp/launchApp.jnlp:
Launching JNLP file: This is he launching JNLP file used o compare
wi h empla es and applica ion JNLP files in JNLPMa cherTes .java
* es s/ne x/uni /ne /sourceforge/jnlp/ empla es/ empla e0.jnlp:
Tes Templa e JNLP file: Con ains CDATA.
* es s/ne x/uni /ne /sourceforge/jnlp/ empla es/ empla e1.jnlp:
Tes Templa e JNLP file: An exac duplica e of he launching
JNLP file.
* es s/ne x/uni /ne /sourceforge/jnlp/ empla es/ empla e2.jnlp:
Tes Templa e JNLP file: Con ains wildchars as a ribu e/elemen
values.
* es s/ne x/uni /ne /sourceforge/jnlp/ empla es/ empla e3.jnlp:
Tes Templa e JNLP file: Differen order of elemen s/a ribu es
(same value)
* es s/ne x/uni /ne /sourceforge/jnlp/ empla es/ empla e4.jnlp:
Tes Templa e JNLP file: Con ains wildchars as values of ALL elemen s
and a ribu e.
* es s/ne x/uni /ne /sourceforge/jnlp/ empla es/ empla e5.jnlp:
Tes Templa e JNLP file: Con ains commen s.
* es s/ne x/uni /ne /sourceforge/jnlp/ empla es/ empla e6.jnlp:
Tes Templa e JNLP file: Con ains differen a ribu e and elemen
values.
* es s/ne x/uni /ne /sourceforge/jnlp/ empla es/ empla e7.jnlp:
Tes Templa e JNLP file: Con ains addi ional children in elemen .
* es s/ne x/uni /ne /sourceforge/jnlp/ empla es/ empla e8.jnlp:
Tes Templa e JNLP file: Con ains fewer children in elemen .
* es s/ne x/uni /ne /sourceforge/jnlp/ empla es/ empla e9.jnlp:
Tes Templa e JNLP file: All values are differen from he launching
JNLP file.
* es s/ne x/uni /ne /sourceforge/jnlp/applica ion/applica ion0.jnlp:
Tes Applica ion JNLP file: Con ains CDATA.
* es s/ne x/uni /ne /sourceforge/jnlp/applica ion/applica ion1.jnlp:
Tes Applica ion JNLP file: An exac duplica e of he launching
JNLP file.
* es s/ne x/uni /ne /sourceforge/jnlp/applica ion/applica ion2.jnlp:
Tes Applica ion JNLP file: Differen order of elemen /a ribu es
(same value).
* es s/ne x/uni /ne /sourceforge/jnlp/applica ion/applica ion3.jnlp:
Tes Applica ion JNLP file: Con ains commen s.
* es s/ne x/uni /ne /sourceforge/jnlp/applica ion/applica ion4.jnlp:
Tes Applica ion JNLP file: Con ains wildchars as a ribu e/elemen
values.
* es s/ne x/uni /ne /sourceforge/jnlp/applica ion/applica ion5.jnlp:
Tes Applica ion JNLP file: Con ains a differen a ribu e (codebase)
value.
* es s/ne x/uni /ne /sourceforge/jnlp/applica ion/applica ion6.jnlp:
Tes Applica ion JNLP file: Con ains addi ional children in elemen .
* es s/ne x/uni /ne /sourceforge/jnlp/applica ion/applica ion7.jnlp:
Tes Applica ion JNLP file: Con ains fewer children in elemen .
* es s/ne x/uni /ne /sourceforge/jnlp/applica ion/applica ion8.jnlp:
Tes Applica ion JNLP file: All values are differen from he
launching JNLP file.
* Makefile.am:
(run-ne x-uni - es s): Copies resources(non java files) o es .build
before running he uni es s.
2011-06-22 Jiri Vanek <jvanek@redha .com>
* es s/repor -s yles/jrepor .xsl: par wi h classes s a is ics is now collapsable
2011-06-21 Jiri Vanek <jvanek@redha .com>
* es s/jnlp_ es s/simple: AccessClassInPackage, ReplaceSecuri yManager,
AddShu downHook, ReadEnvironmen , Se Con ex ClassLoader,
AllS ackTraces, ReadProper ies, Crea eClassLoader, Redirec S reams es s
2011-06-21 Jiri Vanek <jvanek@redha .com>
*Makefile.am: (run-ne x-dis - es s): no depends on copying of s yles
(clean-ne x-dis - es s): depends also on removing of s yles
2011-06-17 Jiri Vanek <jvanek@redha .com>
* es s/jnlp_ es s: direc ory for reproducers
* es s/jnlp_ es s/advanced: reproducers which mus care abou
deploying and compiling hmselves
* es s/jnlp_ es s/simple: reproducers compiled, jared and deployed
au oma ically
* es s/jnlp_ es s/simple/name/srcs| es cases|resources/: sourcefiles,
resources and es aces for simple reproducers
* es s/jnlp_ es s/simple/deadlock es : es for racing no -killable
javaws
* es s/jnlp_ es s/simple/simple es 1: u orial es
* es s/jnlp_ es s/simple/simple es 2: u orial es wi h excep ion
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/ResourcesTes .java:
es s for server basic func ionali y
* es s/ne x/jnlp_ es sengine/ne /sourceforge/jnlp/ServerAccess.java:
implemen a ion of server o produce jnlps and resources. Implemen a ion
of helpers o run javaws process.
*Makefile.am: new variables poin ing o s ruc ure above;
(juni -jnlp-dis -dirs. x ): prepare des ina ion direc ory s ruc ure
(s amps/ne x-dis - es s-prepare-reproducers.s amp):compile escascases of simple reproducers
(ne x-dis - es s-source-files. x ): lookup for server and helping classes
(s amps/ne x-dis - es s-compile.s amp): compile server and helping classes
(s amps/ne x-dis - es s-compile- es cases.s amp): compile, jar and deploy all simple es cases and heir resources
(run-ne x-dis - es s): af er make ins all run juni es sui e upon reproducers on vir ual server
(clean-ne x- es s): added dependence on clean-ne x-dis - es s
(clean-ne x-dis - es s): dele ing of reproducers
2011-06-16 Jiri Vanek <jvanek@redha .com>
* es s/repor -s yles/index.js: fas naviga ion func ions
* es s/repor -s yles/repor .css: s yles for ransformed resul
* es s/repor -s yles/jrepor .xsl: empla e for human-readable
xml->h ml ransforma ion.
* Makefile.am: New variable for repor -s yles direc ory;
($(TESTS_DIR)/$(REPORT_STYLES_DIRNAME)): goal for copying s yles and
javascrip s; (run-ne x-uni - es s): added nonfaling xsl proc
ransforma ion of shee and uni - es s' xml repor o index_uni .h ml;
(clean-ne x-uni - es s): now depends also on clean_ es s_repor s;
(clean_ es s_repor s): new goal o remove repor s yles direc ory and
indexs h ml files.
2011-07-14 Omair Majid <omajid@redha .com>
RH718170, CVE-2011-2514: Java Web S ar securi y warning dialog
manipula ion
* ne x/ne /sourceforge/jnlp/services/XEx endedService.java
(openFile): Crea e XCon en s based on a copy of he File objec o preven
overloaded File classes from mangling he name.
(XFileCon en s): Crea e a separa e copy of File objec for local use.
2011-07-14 Omair Majid <omajid@redha .com>
RH718164, CVE-2011-2513: Home direc ory pa h disclosure o un rus ed
applica ions
* ne x/ne /sourceforge/jnlp/run ime/CachedJarFileCallback.java: New file.
* ne x/ne /sourceforge/jnlp/u il/UrlU ils.java: New file.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
jarLoca ionSecuri yMap now con ains origina ing urls, no cache urls.
(ini ializeResources): Add remo e url o map ins ead of local url.
(ac iva eJars): Add remo e url o he classloader's urls. Add mapping for
remo e o local url. Pu remo e url in jarLoca ionSecuri yMap.
(loadClass): Add remo e url o he classloader's urls. Add mapping for
remo e o local url.
(ge CodeSourceSecuri y): Upda e javadoc o no e ha he url mus be
remo e.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java
(ini ialize): Se he callback for URLJarFile.
2011-06-14 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/Con rolPanel.java:
(Con rolPanel): Removed line ha preven s resizing.
(crea eMainSe ingsPanel): De ec he minimum size of panels ins ead
of fixed size.
* ne x/ne /sourceforge/jnlp/con rolpanel/Ne workSe ingsPanel.java:
(addComponen s): Changed o upda e size when ool is being resized.
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica ePane.java
addComponen s): Changed o a layou ha will resize i self.
2011-06-10 Denis Lila <dlila@redha .com>
* ne x/ne /sourceforge/jnlp/GuiLaunchHandler.java:
(mu ex): New mu ex for synchronizing splashScreen.
(closeSplashScreen): New me hod o hide and dispose
splashScreen.
(launchS ar ing): Call closeSplashScreen ins ead of doing i
inline.
(launchIni ialized): Sync splashScreen crea ion.
(valida ionError, launchError): Call closeSplashScreen.
2011-06-10 Denis Lila <dlila@redha .com>
* ne x/ne /sourceforge/jnlp/cache/Defaul DownloadIndica or.java:
(frameMu ex): New mu ex o synchronize accesses o "frame".
(ge Lis ener): Make almos all of i synchronized on frameMu ex.
(disposeLis ener): Sync hider's body around frameMu ex and call
dispose on he frame so ha he aw hreads die when hey should.
(addProgressPanel): Sync "frame" usage.
2011-06-08 Saad Mohammad <smohammad@redha .com>
* AUTHORS: Upda ed
* ne x/ne /sourceforge/jnlp/services/ServiceU il.java
(checkAccess): Moved he process of checking if he applica ion is a rus ed
applica ion o a new me hod called isSigned().
* ne x/ne /sourceforge/jnlp/services/XPersis enceService.java
(checkLoca ion): Allows rus ed applica ion o have access o
Persis enceService da a from differen hos s. I uses ServiceU il.isSigned()
o de ermine if he curren applica ion is a rus ed applica ion.
2011-06-08 Andrew Su <asu@redha .com>
* NEWS: Upda ed.
* ne x/ne /sourceforge/jnlp/JNLPFile.java:
(JNLPFile): Calls new cons ruc or.
(JNLPFile): New cons ruc or o ake an op ion for forcing a codebase.
(JNLPFile): Call parse wi h ex ra parame er.
(parse): Use he given codebase passed in if we did no find one.
* ne x/ne /sourceforge/jnlp/Parser.java:
(Parser): Calls new cons ruc or.
(Parser): New cons ruc or which akes in a codebase as a las op ion.
* ne x/ne /sourceforge/jnlp/PluginBridge.java:
(PluginBridge): Calls new JNLPFile's cons ruc or wi h curren codebase
2011-06-08 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/PluginBridge.java:
(jars): Changed o use HashSe ins ead of S ring[].
(PluginBridge): Upda ed o work wi h HashSe ins ead of S ring[]
(ge Resources): Likewise.
2011-06-08 Deepak Bhole <dbhole@redha .com>
PR721: IcedTeaPlugin.so canno run g_main_con ex _i era ion on a differen
hread unless a differen GMainCon ex *con ex is used
* plugin/iced eanp/IcedTeaJavaReques Processor.cc
(pos AndWai ForResponse): Added logic for racking when he processor is
running from a plugin main hread, and logic o process main hread
specific messages queued hereaf er un il func ion exi .
* plugin/iced eanp/IcedTeaNPPlugin.cc:
(i np_plugin_ hread_id): New variable. Tracks plugin main hread ID.
(pluginAsyncCallMu ex): New variable. Mu ex o lock async call queue.
(NP_Ini ialize): Ini ialize he i np_plugin_ hread_id variable and make
i he make pluginAsyncCallMu ex recursive.
(NP_Shu down): Des roy pluginAsyncCallMu ex.
* plugin/iced eanp/IcedTeaNPPlugin.h:
(CHROMIUM_WORKAROUND): Remove macro.
(i np_plugin_ hread_id): New variable. Tracks plugin main hread ID.
(pluginAsyncCallMu ex): New variable. Mu ex o lock async call queue.
* plugin/iced eanp/IcedTeaPluginReques Processor.cc
(eval): Remove chromium workaround.
(call): Same.
(sendS ring): Same.
(se Member): Same.
(sendMember): Same.
(loadURL): Same.
* plugin/iced eanp/IcedTeaPluginReques Processor.h: Moved
async_call_ hread_da a o IcedTeaPluginU ils.h.
* plugin/iced eanp/IcedTeaPluginU ils.cc
(pendingPluginThreadReques s): New variable. Queue o rack even s wai ing
for async execu ion on plug-in hread.
(callAndWai ForResul ): New func ion. Calls a me hod on plug-in hread and
wai s for he execu ion o comple e.
(pos PluginThreadAsyncCall): New func ion. Pos s a me hod call o he
async execu ion queue and calls NPN_PluginThreadAsynCall.
(processAsyncCallQueue): New func ion. Called from he plug-in hread,
his func ion emp ies he even queue of func ions wai ing for plug-in
hread execu ion.
* plugin/iced eanp/IcedTeaPluginU ils.h
(plugin_ hread_call): New s ruc o hold async call da a.
(async_call_ hread_da a): S ruc moved from IcedTeaPluginReques Processor.
(processAsyncCallQueue): New func ion.
(pos PluginThreadAsyncCall): Same.
(callAndWai ForResul ): Same.
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .cc
(ge _scrip able_java_objec ): Use
IcedTeaPluginU ili ies::callAndWai ForResul o pos async callback for
_crea eAndRe ainJavaObjec .
2011-05-31 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/JNLPSplashScreen.java: Subclass JDialog, no
JFrame.
2011-05-30 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/TemporaryIn erne FilesPanel.java:
(addComponen ): Add check o see if specified cache direc ory is
wri able.
2011-05-30 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java:
(downloadResource): Check whe her file o be downloaded is curren .
2011-05-30 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/DebuggingPanel.java:
(proper ies): Removed proper y.
(addComponen s): Removed checkbox.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
Removed ransla ion s ring for DPLifeCycleExcep ions.
2011-05-27 Deepak Bhole <dbhole@redha .com>
PR723: AccessCon rolExcep ion while downloading resource
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java
(Downloader): Make class priva e.
(Downloader::run): Call processResource via doPrivileged since
resources may ge added a run ime from applica ion code via
JNLPClassLoader::addNewJar().
2011-05-27 Deepak Bhole <dbhole@redha .com>
PR735: Firefox 4 some imes freezes if he apple calls showDocumen ()
* plugin/iced eanp/IcedTeaNPPlugin.cc (consume_message): Defer handling o
url load reques o he queue processor.
* plugin/iced eanp/IcedTeaPluginReques Processor.cc
(PluginReques Processor::newMessageOnBus): Handle new LoadURL command.
(PluginReques Processor::loadURL): New me hod. Loads he specified url in
he given arge .
(queue_processor): Process he LoadURL command.
(_loadURL): New async callback func ion o handle LoadURL commands.
* plugin/iced eanp/IcedTeaPluginReques Processor.h: Add _loadURL and
loadURL me hod declera ions.
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java (showDocumen ):
Send he url load command in he s andard "ins ance X reference Y
<command> <args>" forma .
2011-05-27 Deepak Bhole <dbhole@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
(apple Close): Call dispose from he swing hread. Also, don' ry o s op
he hreadgroup.
2011-05-27 Deepak Bhole <dbhole@redha .com>
* Backed ou 0256de6a4bf6
2011-05-27 Omair Majid <omajid@redha .com>
* NEWS: Upda e.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ge ClassPa hsFromManifes ): Check for possible nulls and emp y s rings.
2011-05-26 Andrew Su <asu@redha .com>
* NEWS: Upda e.
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java:
(cleanCache): Spli condi ional for dele e.
2011-05-20 Andrew Su <asu@redha .com>
* NEWS: Upda e.
2011-05-20 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/cache/CacheLRUWrapper.java:
(CacheLRUWrapper): New cons ruc or o crea e file.
(lock): Removed crea ion of file here.
2011-05-17 Jiri Vanek <jvanek@redha .com>
* es s/juni -runner/Juni LikeXmlOu pu Lis ener: This lis ener expor s
resul s of juni in xml which "follows juni -ou pu schema". Ex ended
for da e, dura ion and some s a is is ics for fu ure purpose
* Makefile.am (run-ne x-uni - es s): backuping s dou /s derr of es s
* es s/juni -runner/CommandLine.java: regis ered
Juni LikeXmlOu pu Lis ener
2011-05-10 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/CachePane.java:
(addComponen s):Crea ed a new compara or for sor ing by file size and
da e.
2011-05-09 Jiri Vanek <jvanek@redha .com>
* es s/juni -runner/CommandLine.java:r added skipping of inner
classes and one jnlp file from sources package.
2011-05-03 Denis Lila <dlila@redha .com>
* ne x/ne /sourceforge/jnlp/Ne xPanel.java:
Add impor s.
(uKeyToTG): Change o HashMap.
(TGMapMu ex): New mu ex o synchronize uKeyToTG.
(ge ThreadGroup): Synchronize on TGMapMu ex.
(Ne xPanel): Only crea e a new hread group if one doesn' already
exis for he compu ed uKey.
2011-05-02 Deepak Bhole <dbhole@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
(apple Close): Do no ry o s op hreads, now ha he loader is shared
and he hread group for apple s on a page is iden ical. Call dispose from
invokeAndWai .
(apple Sys emExi ): Exi he VM when called.
2011-04-28 Denis Lila <dlila@redha .com>
* ne x/ne /sourceforge/jnlp/Ne xPanel.java:
Remove unused impor ; add impor s.
(uKey, uKeyToTG, appCon ex Crea ed): New members.
(ge ThreadGroup, crea eNewAppCon ex ): New me hods.
(runLoader): Pass uKey o PluginBridge's cons ruc or.
(run): Remove. No longer needed.
(Ne xPanel): Ini ialize uKey. If i is a new key, make a new hread
group for i and save i in he hash map.
(crea eApple Thread): Use ge Fu ureTG ins ead of crea ing a hread
group on he spo .
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java:
(crea ePanel): Ini ialize and frame he panel in a separa e hread.
* ne x/ne /sourceforge/jnlp/Launcher.java:
Remove unused impor .
(crea eApple , crea eApplica ion, crea eThreadGroup): Replace
AppThreadGroup wi h ThreadGroup. Remove all calls o se Applica ion.
* ne x/ne /sourceforge/jnlp/PluginBridge.java:
(PluginBridge): Remove he uniqueKey ini ializa ion logic. Se
uniqueKey o he uKey parame er.
* ne x/ne /sourceforge/jnlp/run ime/AppThreadGroup.java:
Remove file.
2011-04-28 Omair Majid <omajid@redha .com>
* Makefile.am (javaws, i web_se ings): New variables.
(edi _launcher_scrip , all-local, ins all-exe-local)
(unins all-local, clean-launchers, javaws.desk op)
(i web-se ings.desk op): Replace all uses of javaws and
i web-se ings wi h he new variables.
(launcher.build/javaws): Replace wi h ...
(launcher.build/$(javaws)): New arge .
(launcher.build/i web-se ings): Replace wi h...
(launcher.build/$(i web-se ings)): New arge .
2011-04-21 Deepak Bhole <dbhole@redha .com>
* configure.ac: Bumped version o 1.2pre
2011-04-21 Deepak Bhole <dbhole@redha .com>
* plugin/iced eanp/IcedTeaNPPlugin.cc (consume_message): Use
NPN_Ge URLNo ify (non-blocking) ins ead of NPN_Ge URL (blocking) so ha
he plugin is free o process addi ional reques s.
* ChangeLog: Fixed spacing issues in previous en ry.
2011-04-20 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/CachePane.java:
(crea eBu onPanel): Changed o upda e he recen ly_used file o
reflec he dele ion. Added me hod upda eRecen lyUsed o anonymous
Ac ionLis ener class which will do he ac ual upda ing.
2011-04-20 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: Add new priva e
variable classpa hsInManifes .
(ac iva eJars): When adding jar index, also add Class-Pa h en ries from he
Manifes file in he jar.
(loadClass): Search for jars specified in classpa hs before looking for
en ries in jar index.
(addNewJar): New me hod refac ored from loadClass.
2011-04-20 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPSecuri yManager.java
(ge Applica ion(Class[],in )): Renamed o ...
(ge Applica ion(Thread,Class[],in )): New me hod. Check he hread's
con ex ClassLoader as well as paren s of he classloader.
(ge JnlpClassLoader): New me hod.
(ge Applica ion, checkExi ): Upda e o work wi h new me hod signa ures.
2011-04-20 Omair Majid <omajid@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Securi yCon ex .java
(PluginApple Securi yCon ex ): Se he launch handler o he s dou /s derr
based one.
2011-04-20 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/CachePane.java:
(genera eDa a): Skip hrough he iden ifier for cached i em.
2011-04-20 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/CachePane.java:
(crea eBu onPanel): Added check o dele e bu on for whe her plugin
or javaws is no running before proceeding wi h dele e.
2011-04-20 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java:
(cleanCache): Added check for removing files ha are over se max
limi .
(removeUn rackedDirec ories): Removed me hod. Replaced by
removeSe OfDirec ories.
(removeSe OfDirec ories): New me hod. Removes a given se of
direc ories.
2011-04-20 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/TemporaryIn erne FilesPanel.java:
(addComponen s): Uncommen ed lines of code o rein roduce componen s
o handle se ing cache size limi .
2011-04-20 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java:
(ge CacheFile): S ore lru af er modifying.
2011-04-18 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/cache/CacheEn ry.java:
(markForDele e): New me hod. Adds an en ry o info file specifying
ha his file should be dele e.
(lock): New me hod. Locks he info file.
(unlock): New me hod. Unlocks he info file.
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java:
(cacheDir, lruHandler, proper iesLockPool): New priva e s a ic fields.
(clearCache): Changed o use s a ic field.
(ge CacheFile): Changed o call ge CacheFileIfExis and
makeNewCacheFile where appropria e.
(ge CacheFileIfExis ): New me hod. Ge he file of reques ed i em.
(makeNewCacheFile): New me hod. Crea e a new loca ion o s ore cache
file.
(pa hToURLPa h): New me hod. Conver he file pa h o he url pa h.
(cleanCache): New me hod. Search for redundan en ries and remove
hem.
(removeUn rackedDirec ories): New me hod. Remove all un racked
direc ories.
(lockFile): New me hod. Locks he given proper y file.
(unlockFile): New me hod. Unlocks he proper y file if we locked
before.
* ne x/ne /sourceforge/jnlp/cache/CacheLRUWrapper.java: New class.
Provides wrappers for handling cache's LRU.
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java:
(downloadResource): Ensure ha we only allow downloading he
specified file once.
(ini ializeResource): Added crea ion of new loca ion o s ore an
upda ed or new file.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
(JNLPClassLoader): Reordered he calls since we should check
permission af er we have he files ready.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java:
(markNe xRunning): Added call o CacheU il.cleanCache() when adding
shu down hooks.
* ne x/ne /sourceforge/jnlp/u il/FileU ils.java:
(ge FileLock): New me hod.
* ne x/ne /sourceforge/jnlp/u il/XDesk opEn ry.java:
(ge Con en sAsReader): Changed call from using urlToPa h o
ge CacheFile, since he direc ories are no longer in ha loca ion.
2011-04-18 Denis Lila <dlila@redha .com>
* ne x/ne /sourceforge/jnlp/Launcher.java:
Remove unused impor .
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
Add anno a ion o suppress warning.
(loadClass): Make synchronized.
2010-04-14 Andrew John Hughes <ahughes@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java,
(PluginApple PanelFac ory.crea ePanel(PluginS reamHandler,
in ,long,in ,in ,URL,Hash able)): Remove duplica ion of wai
for panel.isAlive().
(PluginApple Viewer.panelLock): New lock used o rack panel
crea ion.
(PluginApple Viewer.panelLive): Condi ion queue for panel crea ion.
(PluginApple Viewer.apple sLock): New lock used o rack addi ions
o he apple s map.
(PluginApple Viewer.apple Added): Condi ion queue for apple addi ion.
(PluginApple Viewer.s a usLock): New lock for s a us changes.
(PluginApple Viewer.ini Comple e): Condi ion queue for ini ialisa ion
comple ion.
(PluginApple Viewer.framePanel(in ,long,Ne xPanel)):
Replace synchronized block wi h use of apple sLock and no ifica ion
on apple Added condi ion queue.
(Apple Even Lis ener.apple S a eChanged(Apple Even )): Signal he
panelLive condi ion queue ha he panel is live.
(PluginApple Viewer.handleMessage(in ,in ,S ring)): Wai on apple Added
condi ion queue for apple o be added o he apple s map.
(PluginApple Viewer.upda eS a us(In ,PAV_INIT_STATUS)): Signal when a
s a us change occurs using he ini Comple e condi ion queue.
(PluginApple Viewer.wai ForApple Ini (Ne xPanel)): Wai on he panelLive
condi ion queue un il he panel is crea ed.
(PluginApple Viewer.handleMessage(in ,S ring)): Wai on he ini Comple e
condi ion queue un il ini ialisa ion is comple e. Wai on he panelLive
signal un il panel is crea ed.
(wai TillTimeou (Reen ran Lock,Condi ion,long)): Conver o use
Reen ran Lock and Condi ion. Add asser ion o check he lock is held.
Avoid conversion be ween milliseconds and nanoseconds.
2011-04-18 Deepak Bhole <dbhole@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
(PluginApple PanelFac ory::crea ePanel): Make he Ne xPanel variable
final. Resize frame o work around problem whereby Apple ViewerPanel
doesn' always se he righ size ini ially.
2011-04-18 Deepak Bhole <dbhole@redha .com>
RH691259: Midori sends a SIGSEGV wi h he IcedTea NP Plugin
* plugin/iced eanp/IcedTeaNPPlugin.cc (NP_Ini ialize): Ra her han
re urning immedia ely if already ini ialized, re urn af er func ion ables
are rese .
2010-04-11 Andrew John Hughes <ahughes@redha .com>
* configure.ac:
Check Gen oo ins all loca ion for JUni 4.
2011-04-13 Deepak Bhole <dbhole@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java (crea ePanel):
use Objec .wai () o wai , ra her han pariodic sleep.
(APPLET_TIMEOUT): Upda ed o be in nanoseconds.
(framePanel): Synchronize pu and no ify hreads wai ing on he apple s
map ins ance.
(apple S a eChanged): No ify all hreads wai ing on he panel ha jus
changed s a e.
(handleMessage): Use he new wai TillTimeou func ion o wai , ra her han
periodically waking up. Improved imeou error s ring sen back.
(upda eS a us): Synchronize pu and no ify all hreads wai ing on s a us
map.
(wai ForApple Ini ): Use he new wai TillTimeou func ion o wai , ra her
han periodically waking up.
(wai TillTimeou ): New func ion. For a given non-null objec , wai s un il
he specified imeou , or, if an in errup was hrown during wai , re urns
immedia ely.
2011-04-14 Denis Lila <dlila@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
Remove unused impor s, added various SuppressWarnings anno a ions.
(crea ePanel): Re urn Ne xPanel from doPriviledged. Remove dead code.
(PluginParseReques ): Remove - unused.
(defaul SaveFile, label, s a usMsgS ream, reques s, handle): Remove unused.
(panel): Make Ne xPanel.
(iden ifier, apple Panels): Priva ize.
(apple Panels): Change ype o Ne xPanel.
(apple s, s a us): Use Concurren HashMaps.
(framePanel, PluginApple Viewer): Remove unused Prin S ream argumen .
(forceredraw): Remove - unused.
(ge Apple s): Use generics.
(apple Close): Fix s yle o ma ch our conven ion.
(des royApple ): Use pav ins ead of calling ge many imes.
(spli Separa or): Remove. Replace uses by S ring.spli ().
2011-04-13 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/cache/CacheDirec ory.java:
Added final modifier o class declara ion.
(CacheDirec ory): New priva e cons ruc or.
2011-04-12 Denis Lila <dlila@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
(apple s, s a us): Make concurren .
(PluginApple Viewer): Synchronize apple Panels addElemen .
(des royApple ): Remove apple s.con ainsKey because i and he
ge ha followed i were no a omic.
(apple Panels): Priva ize.
(ge Apple , ge Apple s): Synchronize i era ion.
2011-04-08 Omair Majid <omajid@redha .com>
* README: Upda e o add no es on rhino and juni .
2011-04-07 Deepak Bhole <dbhole@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
(cons ruc or): Make window close even call des roy apple which can be
safely called mul iple imes, unlike apple Close.
2011-04-06 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/AdvancedProxySe ingsPane.java:
(addComponen s): Changed all por fields o use documen which
preven s inpu of non-valid por numbers.
* ne x/ne /sourceforge/jnlp/con rolpanel/Ne workSe ingsPanel.java:
(addComponen s): likewise.
(ge Por NumberDocumen ): New me hod.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
Added CPInvalidPor and CPInvalidPor Ti le.
2011-04-05 Denis Lila <dlila@redha .com>
* plugin/iced eanp/java/ne scape/javascrip /JSObjec .java:
Replaced every ins ance of PluginDebug.debug(a + b + c...)
wi h PluginDebug.debug(a, b, c...).
2011-04-05 Denis Lila <dlila@redha .com>
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java:
Remove unused impor s, add impor .
(downloadOp ions): Make Concurren HashMap.
2011-04-05 Denis Lila <dlila@redha .com>
* plugin/iced eanp/IcedTeaNPPlugin.cc
(plugin_s ar _apple viewer): Replace hardcoded indices
wi h a variable; roll up free calls in a loop; fix whi espace;
se classpa h o ICEDTEA_WEB_JRE/lib/r .jar.
* launcher/javaws.in:
Se class pa h o JRE/lib/r .jar.
* Makefile.am:
Replace @JRE@ wi h $(JRE) in edi _launcher_scrip .
2011-04-01 Denis Lila <dlila@redha .com>
* plugin/iced eanp/java/sun/apple /PluginDebug.java:
(debug): Use S ringBuilder o build he s ring.
2011-03-31 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/Launcher.java: Add parserSe ings and ex ra.
(se ParserSe ings): New me hod.
(se Informa ionToMerge): New me hod.
(launch(JNLPFile,Con ainer)): Call mergeEx raInforma ion.
(launch(URL,boolean)): New me hod.
(mergeEx raInforma ion): New me hod.
(addProper ies, addParame ers, addArgumen s): Moved here from Boo .java
(fromUrl): New me hod.
* ne x/ne /sourceforge/jnlp/ParserSe ings.java: New file.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Remove BArgNA,
BParamNA.
* ne x/ne /sourceforge/jnlp/run ime/Boo .java
(run): Do no parse JNLP file. Pass ParserSe ings and o her command line
addi ions o launcher.
(ge File): Rename o...
(ge FileLoca ion): New me hod.
(addProper ies, addParame ers, addArgumen s): Move o Launcher.java.
2011-03-31 Denis Lila <dlila@redha .com>
* plugin/iced eanp/java/ne scape/javascrip /JSObjec .java:
Fix commen s, remove unused impor s.
(equals): Remove. I was breaking he reflexivi y in he
equals con rac .
2011-03-31 Denis Lila <dlila@redha .com>
* plugin/iced eanp/java/sun/apple /PluginObjec S ore.java:
Add ci a ion of Effec ive Java, 2nd edi ion.
2011-03-31 Denis Lila <dlila@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Securi yCon ex .java
(s ore): Make priva e and remove fixme o make priva e.
* plugin/iced eanp/java/sun/apple /PluginObjec S ore.java
(PluginObjec S ore): Make i a single on using enum.
(objec s, coun s, iden ifiers, lock, wrapped, nex UniqueIden ifier,
checkNeg): Made ins ance me hods/members.
(ge Ins ance): New s a ic me hod.
2011-03-31 Denis Lila <dlila@redha .com>
* plugin/iced eanp/java/sun/apple /Apple Securi yCon ex Manager.java
* plugin/iced eanp/java/sun/apple /Ge MemberPluginCallReques .java
* plugin/iced eanp/java/sun/apple /Ge WindowPluginCallReques .java
* plugin/iced eanp/java/sun/apple /PluginApple Securi yCon ex .java
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
* plugin/iced eanp/java/sun/apple /PluginCookieInfoReques .java
* plugin/iced eanp/java/sun/apple /PluginMessageConsumer.java
* plugin/iced eanp/java/sun/apple /PluginMessageHandlerWorker.java
* plugin/iced eanp/java/sun/apple /PluginObjec S ore.java
* plugin/iced eanp/java/sun/apple /PluginProxyInfoReques .java
* plugin/iced eanp/java/sun/apple /PluginProxySelec or.java
* plugin/iced eanp/java/sun/apple /PluginS reamHandler.java
* plugin/iced eanp/java/sun/apple /Reques Queue.java
* plugin/iced eanp/java/sun/apple /VoidPluginCallReques .java:
Change all ins ances of PluginDebug.debug(arg1 + arg2 + ...)
o PluginDebug.debug(arg1, arg2, ...).
* plugin/iced eanp/java/sun/apple /PluginDebug.java:
Change debug from "void debug(S ring)" o "void debug(Objec ...)".
2011-03-31 Denis Lila <dlila@redha .com>
* plugin/iced eanp/java/sun/apple /PluginObjec S ore.java
(wrapped, lock): New s a ic variables.
(ge Nex ID, checkNeg): New func ions.
(reference): Using ge Nex ID and synchronized.
(dump): Improve i era ion and synchronized.
(unreference, ge Objec , ge Iden ifier, con ains(Objec ),
con ains(in )): Synchronized.
2011-03-31 Omair Majid <omajid@redha .com>
Add uni es s for he parser
* Makefile.am: Add TESTS_DIR,TESTS_SRCDIR, NETX_UNIT_TEST_DIR,
and NETX_UNIT_TEST_SRCDIR, JUNIT_RUNNER_DIR, JUNIT_RUNNER_SRCDIR, and
JUNIT_RUNNER_JAR. Condi ionally define RHINO_TESTS and UNIT_TESTS.
(clean-local): Use RHINO_TESTS and UNIT_TESTS.
(clean- es s): Depend on clean-ne x- es s. Dele e direc ory.
(juni -runner-source-files. x , $(JUNIT_RUNNER_JAR)),
(nex -uni - es s-sources-files. x s amps/ne x-uni - es s-compile.s amp),
(run-ne x-uni - es s, clean-ne x- es s, clean-juni -runner)
(clean-ne x-uni - es s): New arge s.
* configure.ac: Add new op ional dependency on juni .
* es s/juni -runner/CommandLine.java,
* es s/juni -runner/LessVerboseTex Lis ener.java,
* es s/juni -runner/README,
* es s/ne x/uni /ne /sourceforge/jnlp/ParserBasicTes s.java,
* es s/ne x/uni /ne /sourceforge/jnlp/ParserCornerCaseTes s.java,
* es s/ne x/uni /ne /sourceforge/jnlp/ParserMalformedXmlTes s.java,
* es s/ne x/uni /ne /sourceforge/jnlp/basic.jnlp: New files.
2011-03-30 Omair Majid <omajid@redha .com>
* Makefile.am: Fix commen explaining reasons for se ing
JDK_UPDATE_VERSION.
2011-03-30 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Fix ypo in
RCan Rename.
2011-03-30 Omair Majid <omajid@redha .com>
* Makefile.am: Documen reason for using boo classpa h.
2011-03-30 Omair Majid <omajid@redha .com>
* ne x/javaws.1: Fix FILES sec ion o poin o
~/.iced ea/deploymen .proper ies.
2011-03-30 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/LaunchHandler.java
(launchIni ialized, launchS ar ing): New me hods.
* ne x/ne /sourceforge/jnlp/Defaul LaunchHandler.java
(launchIni ialized, launchS ar ing): New me hods. No-op
implemen a ion.
(prin Message): Make i s a ic.
* ne x/ne /sourceforge/jnlp/GuiLaunchHandler.java: New file.
(launchComple ed, launchError, launchS ar ing, launchIni ialized),
(launchWarning, valida ionError): New me hods.
* ne x/ne /sourceforge/jnlp/Launcher.java (launchApplica ion):
Invoke handler.launchIni ialized and handler.launchS ar ing ins ead
of showing a splash screen direc ly.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Add
Bu ShowDe ails, Bu HideDe ails and Error.
* ne x/ne /sourceforge/jnlp/run ime/Boo .java (run): Do no exi on
error.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java
(ini ialize): Se handler o GuiLaunchHandler if no running in
headless mode.
* ne x/ne /sourceforge/jnlp/u il/BasicExcep ionDialog.java: New
file.
(excep ionToS ring, show): New me hods.
2011-03-29 Denis Lila <dlila@redha .com>
* ne x/ne /sourceforge/jnlp/JNLPFile.java
(ge Informa ion): Remove redundan if.
2010-03-29 Andrew John Hughes <ahughes@redha .com>
* plugin/docs/npplugin_liveconnec _design.h ml:
Replace binary PDF documen a ion wi h edi able HTML.
* plugin/docs/npplugin_liveconnec _design.pdf: Removed.
2011-03-28 Omair Majid <omajid@redha .com>
* launcher/javaws.in: Spli ou -J argumen s and pass i o he JVM.
2011-03-28 Deepak Bhole <dbhole@redha .com>
* ne x/ne /sourceforge/jnlp/PluginBridge.java
(PluginBridge): Cons ruc unique key based on a combina ion of
codebase, cache_archive, java_archive, and archive. This au oma ically
ensures are loaders are shared only when appropria e.
2011-03-25 Denis Lila <dlila@redha .com>
* ne x/ne /sourceforge/jnlp/PluginBridge.java
(codeBaseLookup): new member and ge er for i .
(PluginBridge): se codeBaseLookup.
* ne x/ne /sourceforge/jnlp/Launcher.java:
(crea eApple , crea eApple Objec ): call enableCodeBase() if and
only if he enableCodeBase argumen is rue.
2011-03-24 Omair Majid <omajid@redha .com>
* Makefile.am (EXTRA_DIST): Add $( op_srcdir)/ es s.
2011-03-24 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Add
RBrowserLoca ionPromp Ti le, RBrowserLoca ionPromp Message and
RBrowserLoca ionPromp MessageWi hReason.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java
(isWindows): New me hod. Moved from XBasicService.
(isUnix): New me hod.
* ne x/ne /sourceforge/jnlp/services/XBasicService
(ini ialize): Call ini ializeBrowserCommand.
(ini ializeBrowserCommand): New me hod.
(posixCommandExis s): New me hod.
(isWindows): Moved o JNLPRun ime.
2011-03-23 Denis Lila <dlila@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(findResource, findResources): New func ions. Re urn no hing
if name.s ar sWi h("META-INF"). O herwise delega e o superclass.
2011-03-21 Ma hias Klose <doko@ubun u.com>
* launcher/i web-se ings.in: Use /bin/sh as in erpre er.
* launcher/javaws.in: Likewise.
2011-03-14 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java:
(markNe xRunning): Handle case for when shared locks are no allowed
on he sys em.
2011-03-14 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/Launcher.java:
(fileLock): Removed priva e s a ic field.
(launch): Mark Ne X as running before launching apps.
(launchApplica ion): Removed call o markNe xRunning() and removed
shu down hook for calling markNe xS opped().
(markNe xRunning): Removed me hod.
(markNe xS opped): Removed me hod.
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java:
(okToClearCache): Removed closing of channel.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java:
(fileLock): New priva e s a ic field.
(markNe xRunning): New me hod o indica e Ne X is running.
(markNe xS opped): New me hod o indica e Ne X has s opped.
2011-03-16 Jiri Vanek <jvanek@redha .com>
* ex ras/ne /sourceforge/jnlp/abou /Main.java: removed hyperlinkUpda e
and HyperlinkLis ener, as i can no work wi hou all-permissions.
Also all crea eAndShowGUI was shor en for call from
ne .sourceforge.jnlp package. H ml resources were redirec ed o javaws
* ne x/ne /sourceforge/jnlp/resources/abou .jnlp: removed
<all-permissions>
2011-03-16 Jiri Vanek <jvanek@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/Boo .java: ge Abou File changed o
re urn pa h o local abou .jnlp ins ead o inner-from-jar
* ex ras/ne /sourceforge/jnlp/: refac ored o
ex ras/ne /sourceforge/javaws/, as /ne /sourceforge/jnlp/ package
mus be run wi h all-permissions.
* ne x/ne /sourceforge/jnlp/resources/abou .jnlp: codebase changed
o "."
2011-03-15 Denis Lila <dlila@redha .com>
* ne x/ne /sourceforge/jnlp/Launcher.java
(markNe xRunning): Throw excep ion if direc ories can' be crea ed.
* ne x/ne /sourceforge/jnlp/cache/CacheDirec ory.java
(cleanParen ): Prin error message if file can' be dele ed.
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java
(ge CacheFile): Throw excep ion if direc ories can' be crea ed.
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java
(save): Throw excep ion if direc ories can' be crea ed.
* ne x/ne /sourceforge/jnlp/con rolpanel/CachePane.java
(crea eBu onPanel): Prin error message if file can' be dele ed.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies
Added messages.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java
(ini ializeS reams): Throw excep ion if direc ories can' be crea ed.
* ne x/ne /sourceforge/jnlp/services/XPersis enceService.java
(crea e, ge ): Throw excep ion if direc ories can' be crea ed.
(dele e): Prin error message if file can' be dele ed.
* ne x/ne /sourceforge/jnlp/u il/FileU ils.java
(crea eRes ric edFile): Throw excep ion if file permissions can' be
changed.
(crea eParen Dir, dele eWi hErrMesg): new func ions.
2011-03-15 Omair Majid <omajid@redha .com>
* Makefile.am (LAUNCHER_BOOTCLASSPATH, PLUGIN_BOOTCLASSPATH)
(javaws.desk op, i web-se ings.desk op): Remove DESTDIR.
2011-03-10 Mark Wielaard <mark@klomp.org>
* es s/ne x/pac/pac-funcs- es .js ( es IsResolvable):
Change single hos name iced ea o No IcedTeaHos
o make sure i really isn' resolvable.
2011-03-10 Omair Majid <omajid@redha .com>
Replace na ive launchers wi h shell scrip s
* NEWS: Upda e.
* Makefile.am
(LAUNCHER_BOOTCLASSPATH): Remove leading -J.
(LAUNCHER_SRCDIR),
(LAUNCHER_OBJECTS),
(NETX_LAUNCHER_OBJECTS),
(CONTROLPANEL_LAUNCHER_OBJECTS),
(LAUNCHER_FLAGS),
(LAUNCHER_LINK): Remove.
(edi _launcher_scrip ): New func ion.
(all-local): Depend on new launcher arge s.
(clean-local): Depend on clean-launchers.
(.PHONY): Add clean-launchers.
(ins all-exec-local): Use new launcher pa hs.
(clean-launchers): New arge .
($(NETX_DIR)/launcher/%.o),
($(NETX_DIR)/launcher/con rolpanel/%.o),
($(NETX_DIR)/launcher/javaws),
($(NETX_DIR)/launcher/con rolpanel/i web-se ings): Remove.
(launcher.build/javaws): New launcher.
(launcher.build/i web-se ings): Likewise.
* launcher/i web-se ings.in,
* launcher/javaws.in: New file.
* ne x/ne /sourceforge/jnlp/Launcher.java (launchEx ernal),
* ne x/ne /sourceforge/jnlp/con rolpanel/CommandLine.java (CommandLine):
Use new sys em proper ies o find pa hs and program names.
2011-03-10 Omair Majid <omajid@redha .com>
* acinclude.m4 (IT_FIND_RHINO_JAR): Remove.
2011-03-10 Omair Majid <omajid@redha .com>
* es s/ne x/pac/pac-funcs- es .js
(main): Make es summary ou pu more j reg-like.
(runTes s): Change es ou pu forma o be more j reg-like.
2011-03-09 Denis Lila <dlila@redha .com>
* ne x/ne /sourceforge/jnlp/Parser.java
(ge JAR): Remove unused variable.
* ne x/ne /sourceforge/jnlp/cache/Resource.java
(connec ion): Remove unused member.
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java
(lock): Ini ialize o Objec () ins ead of In eger(0). Also,
make final.
* ne x/ne /sourceforge/jnlp/con rolpanel/Con rolPanel.java
(Se ingsPanel): Make s a ic class.
* ne x/ne /sourceforge/jnlp/even /Applica ionEven .java
(applica ion): Make member ransien .
* ne x/ne /sourceforge/jnlp/even /DownloadEven .java
( racker, resource): Make members ransien .
* ne x/ne /sourceforge/jnlp/run ime/Apple Environmen .java
(apple Ins ance): Remove unused member.
(parame ers): Add parame ers o i s ype (a map).
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
Remove unused impor .
(ge Na iveDir): Improve random in compu a ion.
(CodeBaseClassLoader): Make i a s a ic class.
* ne x/ne /sourceforge/jnlp/JNLPFile.java
(JNLPFile): Improve random posi ive in compu a ion.
* ne x/ne /sourceforge/jnlp/run ime/JNLPSecuri yManager.java
(ac iveApplica ion): Remove unused member.
(checkExi ): Remove dead code resul ing from ac iveApplica ion
always being null.
* ne x/ne /sourceforge/jnlp/securi y/No AllSignedWarningPane.java
Remove unused impor .
(addComponen s): Remove unused variable.
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogPanel.java
(Se ValueHandler): Make i a s a ic class.
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica ePane.java
(Cer ifica eType): Make i a s a ic class.
* ne x/ne /sourceforge/jnlp/services/ServiceU il.java
(checkAccess): Replace new Boolean wi h Boolean.valueOf.
* ne x/ne /sourceforge/jnlp/ ools/JarSigner.java
(s oreHash): Remove unused member.
* ne x/ne /sourceforge/jnlp/u il/XDesk opEn ry.java
(ge Con en sAsReader): Remove unused variable pa hToJavaws.
2011-03-09 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/Securi ySe ingsPanel.java:
(addComponen s): Fix ypo.
2011-03-08 Omair Majid <omajid@redha .com>
* acinclude.m4 (IT_FIND_OPTIONAL_JAR): New macro.
* configure.ac: Do no call IT_FIND_RHINO. Use IT_FIND_OPTIONAL_JAR
ins ead.
2011-03-08 Denis Lila <dlila@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/RhinoBasedPacEvalua or.java
(ge Proxies): Add resul o cache, no cachedResul .
2011-03-08 Denis Lila <dlila@redha .com>
* ne x/ne /sourceforge/jnlp/browser/FirefoxPreferencesFinder.java
(find): Close inpu s ream.
* ne x/ne /sourceforge/jnlp/browser/FirefoxPreferencesParser.java
(parse): Close inpu s ream.
* ne x/ne /sourceforge/jnlp/run ime/RhinoBasedPacEvalua or.java
(ge PacCon en s, ge HelperFunc ionCon en s): Close inpu s ream.
* ne x/ne /sourceforge/jnlp/securi y/Cer WarningPane.java
(CheckBoxLis ener.ac ionPerformed): Close ou pu s ream.
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica ePane.java
(Impor Bu onLis ener.ac ionPerformed): Close ou pu s ream.
2011-03-08 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/u il/Proper iesFile.java:
(load): Closed s reams af er opening hem.
(s ore): Likewise.
2011-03-08 Denis Lila <dlila@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
(ge Reques Iden ifier): Fix race condi ion by synchronizing
on mu ex.
(reques Iden i yCoun er): Now a long.
2011-03-07 Omair Majid <omajid@redha .com>
* acinclude.m4 (IT_FIND_RHINO_JAR): Se RHINO_AVAILABLE o rue or false
appropria ely.
* build.proper ies.in: New file.
* jrunscrip .in: New file.
* configure.ac: Add build.proper ies and jrunscrip o AC_CONFIG_FILES.
* Makefile.am
(.PHONY): Remove clean-jrunscrip .
(build.proper ies): Remove arge .
(s amps/ne x.s amp): Remove dependency on build.proper ies.
(clean-ne x): Do no dele e build.proper ies.
(jrunscrip ): Remove arge .
(check-pac-func ions): Remove dependency on jrunscrip .
(clean- es s): Remove dependency on clean-jrunscrip .
(clean-jrunscrip ): Remove arge .
2011-03-07 Omair Majid <omajid@redha .com>
* NEWS: Upda e.
* acinclude.m4 (IT_OBTAIN_HG_REVISIONS): Use hg id ins ead of hg ip.
2011-03-07 Omair Majid <omajid@redha .com>
* plugin/iced eanp/IcedTeaNPPlugin.cc: Add plugin_debug_suspend.
(plugin_s ar _apple viewer): If plugin_debug_suspend is rue, s ar jvm in
suspend mode.
2011-03-07 Omair Majid <omajid@redha .com>
* NEWS: Upda e.
* Makefile.am
(RHINO_RUNTIME): Define o poin o rhino jars, or emp y.
(RUNTIME, LAUNCHER_BOOTCLASSPATH, PLUGIN_BOOTCLASSPATH): Include
RHINO_RUNTIME.
(PHONY): Add check-pac-func ions, clean-jrunscrip and clean- es s.
(check-local): New arge . Depends on check-pac-func ions.
(check-pac-func ions): New arge .
(jrunscrip ): New arge .
(clean- es s): New arge .
(clean-jrunscrip ): New arge .
(ne x-source-files. x ): Remove rhino rela ed files if no building wi h
rhino.
(build.proper ies): New arge .
(s amps/ne x.s amp): Depend on build.proper ies and copy new files o
build loca ion.
(clean-ne x): Remove build.proper ies.
(s amps/boo s rap-direc ory.s amp): Add java o boo s rap programs.
* acinclude.m4 (IT_FIND_RHINO_JAR): New macro.
* configure.ac: Invoke IT_FIND_RHINO_JAR.
* ne x/ne /sourceforge/jnlp/browser/BrowserAwareProxySelec or.java: Add
browserProxyAu oConfig.
(ini FromBrowserConfig): Ini ialize browserProxyAu oConfig if needed.
(ge FromBrowserPAC): Use browserProxyAu oConfig o find proxies.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Replace
RPRoxyPacNo Implemen ed wi h RPRoxyPacNo Suppor ed.
* ne x/ne /sourceforge/jnlp/run ime/JNLPProxySelec or.java: Add
pacEvalua or.
(parseConfigura ion): Ini ialize pacEvalua or if needed.
(ge FromPAC): Use pacEvaula or o find proxies.
(ge ProxiesFromPacResul ): New me hod. Conver s a proxy s ring o a lis
or proxies.
* ne x/ne /sourceforge/jnlp/run ime/PacEvalua or.java: New file. Defines a
Java in erface for a PAC evalua or.
* ne x/ne /sourceforge/jnlp/run ime/FakePacEvalua or.java: New file. Dummy
implemen a ion of a PAC evalua or.
* ne x/ne /sourceforge/jnlp/run ime/RhinoBasedPacEvalua or.java: New file.
A rhino-based PAC evalua or.
* ne x/ne /sourceforge/jnlp/run ime/PacEvalua orFac ory.java: New file. A
fac ory for crea ing he righ PAC evaula or.
* ne x/ne /sourceforge/jnlp/run ime/pac-funcs.js: New file. Defines helper
func ions needed while evalua ing PAC files.
* es s/ne x/pac/pac-funcs- es .js: New file. Tes s he PAC helper
func ions.
2011-03-07 Denis Lila <dlila@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Securi yCon ex .java:
(prepopula eMe hod) removed unused objec o.
* plugin/iced eanp/java/sun/apple /PluginCallReques .java:
Made all he members priva e.
* plugin/iced eanp/java/sun/apple /PluginMessageConsumer.java:
Removed unused impor s.
(MAX_PARALLEL_INITS, MAX_WORKERS, PRIORITY_WORKERS, readQueue,
workers, s reamHandler, consumerThread,
regis erPriori yWai (S ring), unRegis erPriori yWai (S ring)):
made priva e.
(ini Workers, as, processedIds, unRegis erPriori yWai (Long),
addToIni Workers): removed - unused.
(ge Priori yS rIfPriori y): made s a ic; replaced while wi h for-each.
(no ifyWorkerIsFree): removed synchronized sec ion - useless.
(ConsumerThread.run): removed call o addToIni Workers.
* plugin/iced eanp/java/sun/apple /PluginMessageHandlerWorker.java:
Removed explici member ini ializa ions o he defaul values; fixed ypo.
(PluginMessageHandlerWorker): Removed Securi yManager argumen - unused.
* plugin/iced eanp/java/sun/apple /PluginS reamHandler.java:
Removed unused impor s.
(consumer, shu ingDown): made priva e.
(pav, wri eQueue, ge Message, messageAvailable): removed - unused.
(PluginS reamHandler): removed pav ini ializa ion.
* plugin/iced eanp/java/sun/apple /Apple Securi yCon ex Manager.java:
Removed FIXME commen .
2011-03-07 Denis Lila <dlila@redha .com>
* ne x/ne /sourceforge/jnlp/JNLPFile.java:
(ge ResourcesDescs): added commen .
(ge DownloadOp ionsForJar): removed commen ed ou code.
* ne x/ne /sourceforge/jnlp/PluginBridge.java
(ge ResourcesDescs): added commen .
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java
(downloadResource): added commen .
2011-03-04 Denis Lila <dlila@redha .com>
* ne x/ne /sourceforge/jnlp/JNLPFile.java:
(ge DownloadOp ionsForJar): Moved here from JNLPClassLoader.java.
* ne x/ne /sourceforge/jnlp/PluginBridge.java
(usePack, useVersion): added.
(PluginBridge): ini ializing usePack and useVersion.
(ge DownloadOp ionsForJar): re urn he download op ions.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ge DownloadOp ionsForJar): logic moved o JNLPFile.java and i s
subclasses. Now jus calling file.ge DownloadOp ionsForJar.
* NEWS: Upda ed wi h fix of PR658.
2011-03-04 Denis Lila <dlila@redha .com>
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java
(downloadResource): changed he order in which pack200+gz compression
and gzip compression are checked.
* ne x/ne /sourceforge/jnlp/cache/ResourceUrlCrea or.java
(ge Url): if usePack is rue, append ".pack.gz" o he file name,
ins ead of replacing ".jar" wi h ".pack.gz".
2011-03-04 Deepak Bhole <dbhole@redha .com>
* NEWS: Upda ed.
* ne x/ne /sourceforge/jnlp/PluginBridge.java (PluginBridge): Use
documen base as a uniquekey so ha he classloader may be shared by
apple s from he same page.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: Added new
CodeBaseClassLoader class o load codebase (from pa h ins ead of a file)
classes.
(ge Ins ance): Try o ma ch file loca ions only for Web S ar apps. For
plugin, merge he new loader in o curren one.
(enableCodeBase): Use he new addToCodeBaseLoader me hod.
(findLoadedClassAll): Search he codebase loader if he class was no
found in he file loaders.
(findClass): Likewise.
(ge Resource): Likewise.
(findResources): Likewise.
(merge): Merge codebase loaders.
(addToCodeBaseLoader): New me hod. Adds a given url o he codebase loader
if i is a pa h.
(CodeBaseClassLoader): New inner class. Ex ends URLClassLoader o expose
i s pro ec ed me hods like addURL.
* ne x/ne /sourceforge/jnlp/run ime/JNLPSecuri yManager.java
(ge Applica ion): Accomoda e he fac ha he classloader for a class may
be a CodeBaseClassLoader.
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java (run):
Likewise.
2011-03-03 Deepak Bhole <dbhole@redha .com>
* plugin/iced eanp/IcedTeaNPPlugin.cc
(plugin_send_ini ializa ion_message): New me hod. Sends ini ializa ion
informa ion o he Java side.
(ITNP_Se Window): Call he new plugin_send_ini ializa ion_message
func ion.
(ge _scrip able_objec ): Same.
2011-03-03 Deepak Bhole <dbhole@redha .com>
* plugin/iced eanp/IcedTeaPluginReques Processor.cc
(eval): Proceed wi h _eval only if ins ance is valid.
(call): Proceed wi h _call only if ins ance is valid. Moved declara ion
of resul _varian _jniid, resul _varian args_array and hread_da a o
he op.
(sendS ring): Proceed wi h _ge S ring only if ins ance is valid. Remove
hread coun incremen er.
(se Member): Proceed wi h _se Member only if ins ance is valid. Remove
hread coun incremen er.
(sendMember): Proceed wi h _ge Member only if ins ance is valid.
2011-03-03 Deepak Bhole <dbhole@redha .com>
* plugin/iced eanp/IcedTeaPluginReques Processor.cc
(PluginReques Processor): Remove ini ializa ion of c_mu ex
(~PluginReques Processor): Remove des ruc ion of c_mu ex
(sendS ring): Removed hread coun incremen er code.
(se Member): Same.
(sendMember): Same.
* plugin/iced eanp/IcedTeaPluginReques Processor.h: Removed c_mu ex and
hread_coun variables.
2011-03-02 Omair Majid <omajid@redha .com>
Fix PR612.
* NEWS: Upda e wi h fix.
* ne x/ne /sourceforge/jnlp/Securi yDesc.java: Add Proper yPermissions for
browser and browser.* o sandboxPermissions.
2011-03-02 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/CommandLine.java
(handleSe Command): Fix warning message.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Add
CLWarningUnknownProper y.
2011-03-01 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPPolicy.java (isSys emJar): Check
for nulls.
2011-03-01 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/Con rolPanel.java
(crea eMainSe ingsPanel): Commen ed ou unimplemen ed fea ure.
* ne x/ne /sourceforge/jnlp/con rolpanel/TemporaryIn erne FilesPanel.java
(addComponen s): Commen ed ou unimplemen ed fea ure.
2011-02-28 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/CommandLine.java
(prin Rese Help): Indica e ha "all" is a valid argumen .
(handleRese Command): Deal wi h "all" ins ead of a proper y name by
rese ing all proper ies.
2011-02-28 Denis Lila <dlila@redha .com>
* plugin/iced eanp/java/sun/apple /PluginMain.java
(redirec S reams, s reamHandler, securi yCon ex ) make hem local.
( heVersion): make i priva e.
(PluginMain): make i priva e. Emp y he body.
(main): Do all he work ha used o be in PluginMain.
(connec ): make i s a ic, and now i re urns a PluginS reamHandler
ins ead of se ing a s a ic variable.
(messageAvailable, ge Message): Remove.
2011-02-28 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Add Password,
Username and SAu hen ica ionPromp .
* ne x/ne /sourceforge/jnlp/securi y/JNLPAu hen ica or.java
(ge PasswordAu hen ica ion): Show password promp using he secure hread.
* ne x/ne /sourceforge/jnlp/securi y/PasswordAu hen ica ionPane.java
(PasswordAu hen ica ionPane): Ini ialize variables.
(ini ialize): For consis ency, rename o..
(addComponen s): New me hod. Se he appropria e re urn value when user
akes an ac ion.
(askUser): Remove.
(main): Remove.
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialog.java
(ini Dialog): Add ex ra case for AUTHENTICATION dialog ype.
(ins allPanel): Likewise.
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogs.java
(DialogType): Add AUTHENTICATION.
(showAu henica ionPromp ): New me hod. Shows a password au hen ica ion
promp .
2011-02-28 Omair Majid <omajid@redha .com>
Rename files
* ne x/ne /sourceforge/jnlp/securi y/PasswordAu hen ica ionDialog.java:
Rename o ...
* ne x/ne /sourceforge/jnlp/securi y/PasswordAu hen ica ionPane.java: New
file.
* ne x/ne /sourceforge/jnlp/securi y/Securi yWarningDialog.java: Rename
o...
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialog.java: New file.
* ne x/ne /sourceforge/jnlp/securi y/Securi yWarning.java: Rename o...
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogs.java: New file.
* ne x/ne /sourceforge/jnlp/run ime/Applica ionIns ance.java,
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java,
* ne x/ne /sourceforge/jnlp/run ime/JNLPSecuri yManager.java,
* ne x/ne /sourceforge/jnlp/securi y/AccessWarningPane.java,
* ne x/ne /sourceforge/jnlp/securi y/Apple WarningPane.java,
* ne x/ne /sourceforge/jnlp/securi y/Cer WarningPane.java,
* ne x/ne /sourceforge/jnlp/securi y/Cer sInfoPane.java,
* ne x/ne /sourceforge/jnlp/securi y/JNLPAu hen ica or.java,
* ne x/ne /sourceforge/jnlp/securi y/MoreInfoPane.java,
* ne x/ne /sourceforge/jnlp/securi y/No AllSignedWarningPane.java,
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogMessage.java,
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogMessageHandler.java,
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogPanel.java,
* ne x/ne /sourceforge/jnlp/securi y/SingleCer InfoPane.java,
* ne x/ne /sourceforge/jnlp/securi y/VariableX509Trus Manager.java,
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica ePane.java,
* ne x/ne /sourceforge/jnlp/services/ServiceU il.java,
* ne x/ne /sourceforge/jnlp/services/XClipboardService.java,
* ne x/ne /sourceforge/jnlp/services/XEx endedService.java,
* ne x/ne /sourceforge/jnlp/services/XFileOpenService.java,
* ne x/ne /sourceforge/jnlp/services/XFileSaveService.java: Upda e class
names o he new classes.
2011-02-25 Omair Majid <omajid@redha .com>
* Makefile.am (s amps/ne x-dis .s amp): Do no add ex ra files o
classes.jar.
2011-02-25 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Manifes .mf: Remove unused file.
2011-02-23 Omair Majid <omajid@redha .com>
* Makefile.am: Add missing slash o JRE.
2011-02-23 Omair Majid <omajid@redha .com>
RH677772: NoSuchAlgori hmExcep ion using SSL/TLS in javaws
* NEWS: Upda e wi h bugfix.
* ne x/ne /sourceforge/jnlp/run ime/JNLPPolicy.java: Add new field
jreEx Dir.
(JNLPPolicy): Ini ialize jreEx Dir.
(ge Permissions): Gran AllPermissions if he CodeSourse is a sys em jar.
(isSys emJar): New me hod.
* ne x/ne /sourceforge/jnlp/run ime/JNLPSecuri yManager.java
(checkPermission): Remove special casing of
Securi yPermission("pu ProviderProper y.SunJCE") and
Securi yPermission("accessClassInPackage.sun.securi y.in ernal.spec").
(inTrus edCallChain): Remove.
2011-02-22 Omair Majid <omajid@redha .com>
Mark Greenwood <mark@dcs.shef.ac.uk>
Fix PR638
* NEWS: Upda e wi h fix.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java (loadClass): Throw
ClassNo FoundExcep ion ins ead of re urning null.
* AUTHORS: Upda e.
2011-02-22 Omair Majid <omajid@redha .com>
* Makefile.am (unins all-local): Fix ypo in PACKAGE_NAME.
2011-02-22 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Add
RNoAbou Jnlp.
* ne x/ne /sourceforge/jnlp/run ime/Boo .java: Remove NETX_ABOUT_FILE.
(ge Abou File): Look for abou .jnlp using he classloader.
(ge File): Use localized error message s ring.
2011-02-22 Omair Majid <omajid@redha .com>
DJ Lucas <dj@lucasi .com>
* Makefile.am
(ins all-da a-local): Use $(mandir) for man page dir.
(unins all-local): Use $(mandir) for man page dir.
* AUTHORS: Upda e.
2011-02-22 Omair Majid <omajid@redha .com>
Ins all iced ea-web in o a FHS-complian loca ion
* Makefile.am: Add new vars JRE, LAUNCHER_BOOTCLASSPATH and
PLUGIN_BOOTCLASSPATH.
(ins all-exec-local): Ins all files o FHS-complian loca ion; do no
crea e links.
(ins all-da a-local): Likewise.
(unins all-local): Upda e file pa hs o dele e.
($(PLUGIN_DIR)/%.o): Pass PLUGIN_BOOTCLASSPATH and ICEDTEA_WEB_JRE.
($(NETX_DIR)/launcher/%.o): Pass LAUNCHER_BOOTCLASSPATH and
ICEDTEA_WEB_JRE.
($(NETX_DIR)/launcher/con rolpanel/%.o): Likewise.
* launcher/java_md.c
(Ge IcedTeaWebJREPa h): New me hod.
(Crea eExecu ionEnvironmen ): Call Ge IcedTeaWebJREPa h.
* plugin/iced eanp/IcedTeaNPPlugin.cc
(plugin_s ar _apple viewer): Add PLUGIN_BOOTCLASSPATH o he command.
(NP_Ini ialize): Use ICEDTEA_WEB_JRE o ini ialize filename.
2011-02-18 Omair Majid <omajid@redha .com>
Remove pluginapple viewer binary
* Makefile.am
(ICEDTEAPLUGIN_TARGET): Remove dependency on pluginapple viewer.
(PLUGIN_LAUNCHER_OBJECTS): Remove.
(ins all-exec-local): Do no ins all pluginapple viewer.
(unins all-local): Do no remove pluginapple viewer.
($(PLUGIN_DIR)/launcher/%.o): Remove.
($(PLUGIN_DIR)/launcher/pluginapple viewer): Remove.
(clean-IcedTeaPlugin): Don clean plugin launcher files.
2011-02-15 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/u il/TimedHashMap.java: Do no ex end HashMap
o provide a more ype-safe and consis en in erface. Use Sys em.nanoTime
for a more mono onic clock.
2011-02-15 Omair Majid <omajid@redha .com>
* plugin/iced eanp/java/sun/apple /PluginProxySelec or.java
(TimedHashMap): Moved o...
* ne x/ne /sourceforge/jnlp/u il/TimedHashMap.java: New file.
2011-02-11 Omair Majid <omajid@redha .com>
RH677332, CVE-2011-0706: IcedTea mul iple signers privilege escala ion
* NEWS: Upda ed.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ini ializeResources): Assign appropria e securi y descrip or based on
code signing.
2011-02-11 Deepak Bhole <dbhole@redha .com>
Fix S6983554, CVE-2010-4450: Launcher incorrec processing of emp y
library pa h en ries
* NEWS: Upda ed.
* launcher/java_md.c: Ignore emp y LD_LIBRARY_PATH.
2011-02-11 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/PluginBridge.java
(ge ResourcesDescs): New me hod implemen ed o override behaviour in
JNLPFile class.
2011-02-11 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/JNLPFile.java
(ge ResourceDescs): Renamed o...
(ge ResourcesDescs): New me hod.
(ge ResourceDescs): Renamed o...
(ge ResourcesDescs): New me hod.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ge DownloadOp ionsForJar): Call renamed me hod.
2011-02-10 Omair Majid <omajid@redha .com>
Fix RH669942; Add suppor for packEnabled and versionEnabled.
* NEWS: Upda e wi h bugfix.
* ne x/ne /sourceforge/jnlp/DownloadOp ions.java: New file.
* ne x/ne /sourceforge/jnlp/JNLPFile.java
(openURL): Use null for DownloadOp ions.
(ge ResourceDescs): New me hod.
(ge ResourceDescs(Locale,S ring,S ring)): New me hod.
* ne x/ne /sourceforge/jnlp/Launcher.java
(launchApplica ion): Add image o downloader wi h null DownloadOp ions.
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java
(ge CachedResource): Add resource wi h null DownloadOp ions.
* ne x/ne /sourceforge/jnlp/cache/Resource.java: Add new field
downloadLoca ion.
(Resource): Ini ialize downloadLoca ion.
(ge DownloadLoca ion): New me hod.
(se DownloadLoca ion): New me hod.
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java: Add new field
downloadOp ions.
(addResource(URL,Version,Upda ePolicy)): Renamed o...
(addResource(URL,Version,DownloadOp ions,Upda ePolicy)): New me hod.
(downloadResource): Add suppor for explici downloading of packed jars as
well as con en -encoded packed jars.
(ini ializeResource): Invokde findBes Url o find he bes url. Se ha
as he download loca ion for he resource.
(ge VersionedResourceURL): Remove.
(findBes Url): New me hod. Use ResourceUrlCrea or o ge a lis of all
possible urls ha can be used o download his resource. Try hem one by
one un il one works and re urn ha .
* ne x/ne /sourceforge/jnlp/cache/ResourceUrlCrea or.java: New file.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ini ializeResources): Add resource wi h appropria e download op ions.
(ac iva eJars): Likewise.
(loadClass): Likewise.
(ge DownloadOp ionsForJar): New me hod.
2011-02-10 Deepak Bhole <dbhole@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java (ini ialize):
Res ric access o ne .sourceforge.jnlp.* classes by un rus ed
classes.
2011-02-09 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/Ne workSe ingsPanel.java
(addComponen s): Fix he lis ener a ached o he por field o upda e he
righ config op ion.
2011-02-08 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/browser/BrowserAwareProxySelec or.java
(ini FromBrowserConfig): Do no ry o crea e a URL from null.
(ge FromBrowser): Only prin informa ional messages in debug mode.
2011-02-01 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ac iva eJars): Add he nes ed jar o ResourceTracker. Use
JarSigner.verifyJars ins ead of JarSigner.verifyJar.
* ne x/ne /sourceforge/jnlp/ ools/JarSigner.java
(verifyJar): Make priva e o indica e no hing should be using his
direc ly.
2011-01-24 Deepak Bhole <dbhole@redha .com>
RH672262, CVE-2011-0025: IcedTea jarfile signa ure verifica ion bypass
* r /ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ini ializeResources): Promp user only if here is a single cer ifica e
ha signs all jars in he jnlp file, o herwise rea as unsigned.
* r /ne /sourceforge/jnlp/securi y/Cer Verifier.java: Rename ge Cer s o
ge Cer Pa h and make i re urn a Cer Pa h.
* r /ne /sourceforge/jnlp/securi y/Cer sInfoPane.java: Rename cer s
variable o cer Pa h and change i s ype o Cer Pa h.
(buildTree): Use new cer Pa h variable.
(popula eTable): Same.
* r /ne /sourceforge/jnlp/securi y/H psCer Verifier.java: Rename ge Cer s
o ge Cer Pa h and make i re urn a Cer Pa h.
* r /ne /sourceforge/jnlp/ ools/JarSigner.java: Change ype for cer s
variable o be a hashmap ha s ores cer s and he number of en ries hey
have signed.
( o alSignableEn ries): New variable o rack how many signable en ries
have been encoun ered.
(ge Cer s): Upda ed me hod o re urn cer s from new hashmap.
(isFullySignedByASingleCer ): New me hod. Re urns if here is a single
cer ha signs all he en ries in he jars specified in he jnlp file.
(verifyJars): Move verifiedJars and unverifiedJars ou of he for loop so
ha he da a is no los when he nex jar is processed. Af er verifying
each jar, see if here is a single signer, and promp he user if here is
such an un rus ed signer.
(verifyJar): Incremen o alSignableEn ries for each signable en ry
encoun ered and he coun for each cer when i signs an en ry. Move
checkTrus edCer s() ou of he func ion in o verifyJars().
2011-01-28 Omair Majid <omajid@redha .com>
* Makefile.am: Move ICEDTEA_REV, ICEDTEA_PKG o acinclude.m4. Use
FULL_VERSION.
(s amps/ne x-dis .s amp): Depend on ne x.manifes . Use his file as he
jar file manifes .
* acinclude.m4 (IT_SET_VERSION): New macro. Defines FULL_VERSION.
* configure.ac: Add ne x.manifes o AC_CONFIG_FILES. Invoke
IT_SET_VERSION.
* ne x.manifes .in: New file.
* ne x/ne /sourceforge/jnlp/run ime/Boo .java: Se name and version using
informa ion from he manifes file.
2011-01-27 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Add
RPRoxyPacNo Implemen ed, RProxyFirefoxNo Found, and
RProxyFirefoxOp ionNo Implemen ed.
* ne x/ne /sourceforge/jnlp/run ime/JNLPProxySelec or.java: Make abs rac .
(ge FromBrowser): Remove implemen a ion; make abs rac .
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java
(ini ialize): Se BrowserAwareProxySelec or as he proxy selec or.
* ne x/ne /sourceforge/jnlp/browser/BrowserAwareProxySelec or.java: New
file. This class ex ends JNLPProxySelec or and searches he browser's
configura ion o load addi ional proxy se ings from.
* ne x/ne /sourceforge/jnlp/browser/FirefoxPreferencesFinder.java: New
file. This class looks in o he browser configra ion o find he
preferences file for he defaul firefox profile.
* ne x/ne /sourceforge/jnlp/browser/FirefoxPreferencesParser.java: New
file. Parses he browser's preferences and makes i available hrough a
simpler in erface.
2011-01-27 Omair Majid <omajid@redha .com>
* AUTHORS: Upda e o include Jon A Maxwell.
* ex ra/ne /sourceforge/jnlp/abou /resources/no es.h ml: Include everyone
from AUTHORS.
2011-01-25 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/resources/defaul .jnlp: Remove.
2011-01-24 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/Launcher.java: Exi wi h error code
* ne x/ne /sourceforge/jnlp/Ne xPanel.java: Likewise.
2011-01-20 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/Apple Log.java: Res ric log files o
owner accessible only.
2011-01-20 Andrew Su <asu@redha .com>
Removing dead/commen ed/unused code.
* plugin/iced eanp/java/sun/apple /Ge WindowPluginCallReques .java:
Removed unused impor s.
* plugin/iced eanp/java/sun/apple /Me hodOverloadResolver.java:
(ge Ma chingMe hod): Removed unused variable.
(ge Ma chingCons ruc or): Removed unused variable.
* plugin/iced eanp/java/sun/apple /PluginApple Securi yCon ex .java:
Removed unused impor s.
(Signa ure): Removed commen ed code.
(handleMessage): Removed commen ed code.
(ge AccessCon rolCon ex ): Remove commen ed code.
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java:
(ge CachedImage): Removed commen ed code.
(makeReader): Removed unused me hod.
(parse): Removed unused variables. Removed dead code.
* plugin/iced eanp/java/sun/apple /PluginCallReques .java: Removed
unused impor s.
* plugin/iced eanp/java/sun/apple /PluginDebug.java: Removed unused
impor s.
* plugin/iced eanp/java/sun/apple /PluginMessageConsumer.java: Removed
unused impor s.
(ge Reference): Removed unused me hod.
(isInIni ): Removed unused me hod.
(dumpWorkerS a us): Removed unused me hod.
* plugin/iced eanp/java/sun/apple /PluginMessageHandlerWorker.java:
Removed unused variable.
(PluginMessageHandlerWorker): Removed unused variable.
(plugin/iced eanp/java/sun/apple /PluginObjec S ore.java): Removed
unused impor s.
(reference): Removed commen ed code.
(unreference): Removed commen ed code.
* plugin/iced eanp/java/sun/apple /PluginProxyInfoReques .java:
Removed unused impor .
* plugin/iced eanp/java/sun/apple /PluginS reamHandler.java: Removed
unused impor s. Removed unused variable.
(PluginS reamHandler): Removed unnecessary commen s. Removed commen ed
code.
(s ar Processing): Removed unused variables. Removed commen ed code.
(wri e): Removed commen ed code.
2011-01-20 Deepak Bhole <dbhole@redha .com>
PR619: Improper finaliza ion by he plugin can crash he browser
* plugin/iced eanp/java/ne scape/javascrip /JSObjec .java (finalize):
Proceed wi h finaliza ion only if JSObjec is valid.
2011-01-17 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/Ne xPanel.java:
(showApple Excep ion): Override, adds logging o file hen proceed
wi h showApple Excep ion in sun.apple .Apple Panel.
* ne x/ne /sourceforge/jnlp/Apple Log.java: New class.
* ne x/ne /sourceforge/jnlp/Log.java: New class.
2011-01-14 Andrew Su <asu@redha .com>
* Makefile.am: Added ne .sourceforge.jnlp.config and
ne .sourceforge.jnlp.run ime o NETX_PKGS.
2011-01-12 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/Con rolPanel.java
(main): Se look and feel. Se config objec o use wi h KeyS ores.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java
(ini ialize): Se config objec o use wi h KeyS ores.
* ne x/ne /sourceforge/jnlp/securi y/KeyS ores.java: Add new member
config.
(se Configura ion): New me hod. Se s he value of config af er securi y
check.
(ge KeyS oreLoca ion): Use config objec ins ead of querying JNLPRun ime.
2011-01-12 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/JNLPFile: Add missing generic ype o info.
(ge Informa ion): Remove redundan cas .
2011-01-12 Omair Majid <omajid@redha .com>
* ne x/javax/jnlp/UnavailableServiceExcep ion.java: Remove unused
impor s.
* ne x/ne /sourceforge/jnlp/Apple Desc.java: Likewise.
* ne x/ne /sourceforge/jnlp/Applica ionDesc.java: Likewise.
* ne x/ne /sourceforge/jnlp/Componen Desc.java: Likewise.
* ne x/ne /sourceforge/jnlp/Defaul LaunchHandler.java: Likewise.
* ne x/ne /sourceforge/jnlp/IconDesc.java: Likewise.
* ne x/ne /sourceforge/jnlp/Informa ionDesc.java: Likewise.
* ne x/ne /sourceforge/jnlp/Ins allerDesc.java: Likewise.
* ne x/ne /sourceforge/jnlp/JARDesc.java: Likewise.
* ne x/ne /sourceforge/jnlp/JREDesc.java: Likewise.
* ne x/ne /sourceforge/jnlp/Launcher.java: Likewise.
* ne x/ne /sourceforge/jnlp/PackageDesc.java: Likewise.
* ne x/ne /sourceforge/jnlp/ParseExcep ion.java: Likewise.
* ne x/ne /sourceforge/jnlp/PluginBridge.java: Likewise.
* ne x/ne /sourceforge/jnlp/Proper yDesc.java: Likewise.
* ne x/ne /sourceforge/jnlp/ResourcesDesc.java: Likewise.
* ne x/ne /sourceforge/jnlp/Version.java: Likewise.
* ne x/ne /sourceforge/jnlp/cache/CacheEn ry.java: Likewise.
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java: Likewise.
* ne x/ne /sourceforge/jnlp/cache/Defaul DownloadIndica or.java:
Likewise.
* ne x/ne /sourceforge/jnlp/cache/DownloadIndica or.java: Likewise.
* ne x/ne /sourceforge/jnlp/cache/Upda ePolicy.java: Likewise.
* ne x/ne /sourceforge/jnlp/con rolpanel
/AdvancedProxySe ingsDialog.java: Likewise.
* ne x/ne /sourceforge/jnlp/con rolpanel
/AdvancedProxySe ingsPane.java: Likewise.
* ne x/ne /sourceforge/jnlp/con rolpanel/Ne workSe ingsPanel.java:
Likewise.
* ne x/ne /sourceforge/jnlp/con rolpanel
/TemporaryIn erne FilesPanel.java: Likewise.
* ne x/ne /sourceforge/jnlp/even /Applica ionEven .java: Likewise.
* ne x/ne /sourceforge/jnlp/even /DownloadEven .java: Likewise.
* ne x/ne /sourceforge/jnlp/run ime/AppThreadGroup.java: Likewise.
* ne x/ne /sourceforge/jnlp/run ime/Apple AudioClip.java: Likewise.
* ne x/ne /sourceforge/jnlp/run ime/Apple Ins ance.java: Likewise.
* ne x/ne /sourceforge/jnlp/run ime/Applica ionIns ance.java:
Likewise.
* ne x/ne /sourceforge/jnlp/run ime/Boo 13.java: Likewise.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java: Likewise.
* ne x/ne /sourceforge/jnlp/run ime/JNLPSecuri yManager.java:
Likewise.
* ne x/ne /sourceforge/jnlp/securi y/Cer sInfoPane.java: Likewise.
* ne x/ne /sourceforge/jnlp/securi y/Securi yU il.java: Likewise.
* ne x/ne /sourceforge/jnlp/services/XBasicService.java: Likewise.
* ne x/ne /sourceforge/jnlp/services/XDownloadService.java: Likewise.
* ne x/ne /sourceforge/jnlp/services/XEx ensionIns allerService.java:
Likewise.
* ne x/ne /sourceforge/jnlp/services/XFileCon en s.java: Likewise.
* ne x/ne /sourceforge/jnlp/services/XFileOpenService.java: Likewise.
* ne x/ne /sourceforge/jnlp/services/XFileSaveService.java: Likewise.
* ne x/ne /sourceforge/jnlp/services/XPersis enceService.java:
Likewise.
* ne x/ne /sourceforge/jnlp/u il/Proper iesFile.java: Likewise.
* ne x/ne /sourceforge/jnlp/u il/Reflec .java: Likewise.
2011-01-04 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/KeyS ores.java
(ge KeyS oreLoca ion): Fix ypo. Re urn he user-level cer ifica e
s ore correc ly.
2011-01-04 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPPolicy.java: Add
sys emJnlpPolicy and userJnlpPolicy.
(JNLPPolicy): Ini ialize he new policies.
(ge Permissions): Consul he ex ra policies as well o de ermine he
resul ing permissions o be gran ed.
(ge PolicyFromConfig): New me hod. Crea e a new Policy ins ance o
delega e o for sys em- and user-level policies.
2011-01-04 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/Securi yDesc.java: Add
cus omTrus edPolicy.
(Securi yDesc): Ini ialize cus omTrus edPolicy.
(ge Cus omTrus edPolicy): New me hod. Ge cus om policy file from
configura ion and use i o ini ialize a cus om configura ion.
(ge Permissions): If rus ed applica ion and cus omTrus edPolicy is
no null, delega e o o herwise re urn AllPermissions.
* ne x/ne /sourceforge/jnlp/config/Defaul s.java
(ge Defaul s): Use cons an for proper y.
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java:
Add new cons an KEY_SECURITY_TRUSTED_POLICY.
* ne x/ne /sourceforge/jnlp/run ime/Applica ionIns ance.java
(ins allEnvironmen ): Pass cs as a parame er o
Securi yDesc.ge Permissions.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ge Permissions): Likewise.
2011-01-04 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/Con rolPanel.java: Remove
JNLPRun ime impor . Remove configBrowserCommand.
(crea eMainSe ingsPanel): Remove call o loadConfigura ion.
(loadConfigura ion): Remove me hod. Se ing he browser command
should be handled by he appropria e panel.
(main): Remove call o JNLPRun ime.ini ialize and jus crea e a new
Deploymen Configura ion objec . Clarify TODO commen .
2011-01-04 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ins allShu downHooks): Only prin when no null.
2011-01-04 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/Securi ySe ingsPanel.java:
(addComponen s): Hide unsuppor ed op ions.
2010-12-23 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/AdvancedProxySe ingsDialog.java:
(showAdvancedProxySe ingsDialog): Removed call o se Sys emLookAndFeel().
(se Sys emLookAndFeel): Me hod removed.
2010-12-23 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/AdvancedProxySe ingsDialog.java:
(showAdvancedProxySe ingsDialog): Removed crea ion of swing hread.
* ne x/ne /sourceforge/jnlp/con rolpanel/CacheViewer.java:
(showCacheDialog): Removed hrowing of excep ion.
* ne x/ne /sourceforge/jnlp/con rolpanel/Ne workSe ingsPanel.java:
(addComponen s): Removed ry ca ch block.
* /ne x/ne /sourceforge/jnlp/con rolpanel/TemporaryIn erne FilesPanel.java:
(addComponen s): Removed crea ion of swing hread and ry ca ch block.
2010-12-22 Deepak Bhole <dbhole@redha .com>
RH665104: OpenJDK Firefox Java plugin loses a cookie
* plugin/iced eanp/java/sun/apple /PluginCookieInfoReques .java
(parseRe urn): Skip one less space so ha he firs cookie is no
skipped.
* NEWS: Upda ed.
2010-12-21 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/AdvancedProxySe ingsPane.java,
ne x/ne /sourceforge/jnlp/con rolpanel/Ne workSe ingsPanel.java:
(addComponen s): Replaced key lis eners and mouse lis eners for ex
fields wi h documen adap er.
* ne x/ne /sourceforge/jnlp/con rolpanel/Documen Adap er.java: New class.
* ne x/ne /sourceforge/jnlp/con rolpanel/MiddleClickLis ener.java:
Removed.
2010-12-20 Andrew Su <asu@redha .com>
Added a cache viewer for he con rol panel.
* ne x/ne /sourceforge/jnlp/con rolpanel/TemporaryIn erne FilesPanel.java:
(addComponen s): Changed bu ons o open cache viewer.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Added ex
used by he cache viewer.
* ne x/ne /sourceforge/jnlp/cache/CacheDirec ory.java,
ne x/ne /sourceforge/jnlp/cache/Direc oryNode.java,
ne x/ne /sourceforge/jnlp/con rolpanel/CachePane.java,
ne x/ne /sourceforge/jnlp/con rolpanel/CacheViewer.java: New classes.
2010-12-20 Omair Majid <omajid@redha .com>
* Makefile.am
($(NETX_DIR)/launcher/con rolpanel/%.o): Se program name, and launch
ne .sourceforge.jnlp.con rolpanel.CommandLine.
* ne x/ne /sourceforge/jnlp/config/Defaul s.java
(ge Defaul s): Se descrip ions o Unknown ra her han he name.
Se source o localized form of in ernal.
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java
(ge Proper y): Check for nulls.
(se Proper y): Add unknown as descrip ion and source for new
proper ies.
(checkAndFixConfigura ion): Fix ransla ion cons an s.
(parseProper iesFile): Use unknown as descrip ion.
* ne x/ne /sourceforge/jnlp/con rolpanel/CommandLine.java: New file
(CommandLine): New me hod.
(handleHelpCommand): Likewise.
(prin Lis Help): Likewise.
(handleLis Command): Likewise.
(prin Ge Help): Likewise.
(handleGe Command): Likewise.
(prin Se Help): Likewise.
(handleSe Command): Likewise.
(prin Rese Help): Likewise.
(handleRese Command): Likewise.
(prin InfoHelp): Likewise.
(handleInfoCommand): Likewise.
(prin CheckHelp): Likewise.
(handleCheckCommand): Likewise.
(handle): Likewise.
(main): Likewise.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Add
Usage, Unknown, RConfigura ionFa al, DCIncorrec Value,
DCSourceIn ernal, DCUnknownSe ingWi hName, VVPossibleValues,
CLNoInfo, CLValue, CLValueSource, CLDescrip ion, CLUnknownCommand
CLUnknownProper y, CLNoIssuesFound, CLIncorrec Value,
CLLis Descrip ion, CLGe Descrip ion, CLSe Descrip ion,
CLRese Descrip ion, CLInfoDescrip ion, CLCheckDescrip ion and
CLHelpDescrip ion. Remove DCErrorInSe ing and
DCUnknownSe ingWi hVal.
2010-12-17 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/con rolpanel/Con rolPanel.java
(Con rolPanel): Crea e and add he opPanel.
(crea eTopPanel): New me hod. Crea es a JPanel o display he
descrip ion on op of he Con rol Panel.
(crea eNo Implemen edPanel): Use he same way o load resource
as crea eTopPanel o avoid null poin er excep ions.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Add
CPMainDescrip ionShor and CPMainDescrip ionLong.
2010-12-17 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/Securi yWarning.java
(shouldPromp User): Use full privileges when checking configura ion. This
value is no securi y-sensi ive and he me hod is priva e.
* ne x/ne /sourceforge/jnlp/services/ServiceU il.java
(shouldPromp User): Likewise.
2010-12-16 Omair Majid <omajid@redha .com>
RH663680, CVE-2010-4351:
* NEWS: Lis issue.
* ne x/ne /sourceforge/jnlp/run ime/JNLPSecuri yManager.java:
Make sure Securi yExcep ion is hrown if necessary.
2010-12-15 Omair Majid <omajid@redha .com>
* Makefile.am
(ins all-exec-local): Ins all plugin.jar as da a. If $(prefix)/jre/bin
exis s, hen ins all symlinks o real javaws and i web-se ings binaries
under i .
($(NETX_DIR)/launcher/%.o): Se sys em proper y java.iced ea-web.bin o
poin o he ins alled loca ion of he javaws binary.
* ne x/ne /sourceforge/jnlp/Launcher.java (launchEx ernal): Use he sys em
proper y java.iced ea-web.bin o loca e javaws binary.
2010-12-15 Andrew Su <asu@redha .com>
* /ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Changed
messages for abou and JRE.
2010-12-14 Andrew John Hughes <ahughes@redha .com>
* Makefile.am:
(LAUNCHER_OBJECTS): Add jli_u il.o, parse_manifes .o,
version_comp.o, wildcard.o.
(LAUNCEHR_FLAGS): Add -DEXPAND_CLASSPATH_WILDCARDS
as used in build of libjli in OpenJDK.
(LAUNCHER_LINK): Don' link o libjli.
* launcher/jli_u il.c,
* launcher/parse_manifes .c,
* launcher/version_comp.c,
* launcher/wildcard.c:
Add source files from OpenJDK6 o ma ch header files
already used.
2010-12-13 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/config/ValueValida or.java: New file.
* ne x/ne /sourceforge/jnlp/config/BasicValueValida ors.java: New
file. Provides me hods o ge some common valida ors.
* ne x/ne /sourceforge/jnlp/config/Configura onValida or.java: New
file. Provides me hods o valida e a configura ion.
* ne x/ne /sourceforge/jnlp/run ime/Deploymen Configura ion.java:
Moved o config subpackage ins ead and spli off in o Se ing.java,
Deploymen Configura ion.java and Defaul s.java.
* ne x/ne /sourceforge/jnlp/config/Deploymen Configura ion.java:
Renamed version of original Deploymen Configura ion.
(load): Delega e o load.
(load(boolean)): Load configura ion and op ionally fix any issues
found.
(checkAndFixConfigura ion): New me hod. Valida e all se ings and
se hem o defaul values if problems found.
* ne x/ne /sourceforge/jnlp/config/Se ing.java: New file. Based on
ConfigValue which was originally a par of Deploymen Configura ion.
* ne x/ne /sourceforge/jnlp/config/Defaul s.java: New file.
Con ains he defaul configura ion se ings. Originally from
Deploymen Configura ion.java's loadDefaul Proper ies.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Add new
messages.
* ne x/ne /sourceforge/jnlp/Launcher.java: Fix impor s.
* ne x/ne /sourceforge/jnlp/Securi yDesc.java: Likewise.
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java: Likewise.
* ne x/ne /sourceforge/jnlp/con rolpanel
/AdvancedProxySe ingsDialog.java: Likewise
* ne x/ne /sourceforge/jnlp/con rolpanel
/AdvancedProxySe ingsPane.java: Likewise.
* ne x/ne /sourceforge/jnlp/con rolpanel/Con rolPanel.java: Likewise
* ne x/ne /sourceforge/jnlp/con rolpanel/DebuggingPanel.java:
Likewise.
* ne x/ne /sourceforge/jnlp/con rolpanel/Desk opShor cu Panel.java:
Likewise.
* ne x/ne /sourceforge/jnlp/con rolpanel/MiddleClickLis ener.java:
Likewise
* ne x/ne /sourceforge/jnlp/con rolpanel/Ne workSe ingsPanel.java:
Likewise.
* ne x/ne /sourceforge/jnlp/con rolpanel/Securi ySe ingsPanel.java:
Likewise.
* ne x/ne /sourceforge/jnlp/con rolpanel
/TemporaryIn erne FilesPanel.java:Likewise.
* ne x/ne /sourceforge/jnlp/run ime/Applica ionIns ance.java:
Likewise.
* ne x/ne /sourceforge/jnlp/run ime/JNLPProxySelec or.java:
Likewise.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java: Likewise.
* ne x/ne /sourceforge/jnlp/securi y/KeyS ores.java: Likewise.
* ne x/ne /sourceforge/jnlp/securi y/Securi yWarning.java: Likewise.
* ne x/ne /sourceforge/jnlp/services/ServiceU il.java: Likewise.
* ne x/ne /sourceforge/jnlp/services/SingleIns anceLock.java:
Likewise.
* ne x/ne /sourceforge/jnlp/services/XBasicService.java: Likewise
* ne x/ne /sourceforge/jnlp/services/XPersis enceService.java:
Likewise.
* ne x/ne /sourceforge/jnlp/u il/XDesk opEn ry.java: Likewise.
* plugin/iced eanp/java/sun/apple /JavaConsole.java: Likewise.
* plugin/iced eanp/java/sun/apple /PluginMain.java: Likewise.
2010-12-13 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/Parser.java
(ge Informa ionDesc): Fix whi espace in i le, vendor and descrip ion
elemen s.
(ge Rela edCon en ): Fix whi espace in i le and descrip ion elemen s.
(ge SpanTex (Node)): Delega e o ...
(ge SpanTex (Node,boolean)): New me hod. Re urn he ex in an elemen ,
op ionally fixing whi espace.
2010-12-10 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/ ools/JarSigner.java: Remove unused variables
colla or, VERSION, IN_KEYSTORE, IN_SCOPE, priva eKey, s ore, keys ore,
nullS ream, oken, jarfile, alias, s orepass, pro ec edPa h, s ore ype,
providerName, providers, providerArgs, keypass, sigfile, sigalg,
diges alg, signedjar, saUrl, saAlias, verify, debug, signManifes and
ex ernalSF.
(ge Publisher): Remove unnecessary cas .
(ge Roo ): Likewise.
2010-12-08 Deepak Bhole <dbhole@redha .com>
PR597: En i ies are parsed incorrec ly in PARAM ag in apple plugin
* plugin/iced eanp/IcedTeaNPPlugin.cc
(encode_s ring): New func ion. Takes a s ring and replaces cer ain special
charac ers wi h h ml escapes.
(plugin_crea e_apple _ ag): Use he new encode_s ring func ion o encode
argn and argv righ away, ra her han encoding he whole ag.
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
(handleMessage): Move decoding ou so ha i is done af er parsing.
(decodeS ring): New func ion. Decodes he given s ring such ha h ml
escapes are replaced by he original special charac ers.
(scanTag): Decode parame er name and value before adding i o a ribu e
array.
* NEWS: Upda ed.
2010-12-08 Omair Majid <omajid@redha .com>
* configure.ac: Add check for sun.misc.HexDumpEncoder
* ne x/ne /sourceforge/jnlp/securi y/Cer sInfoPane.java: Impor
sun.misc.HexDumpEncoder. Remove impor of ne .sourceforge.jnlp. ools.*
* ne x/ne /sourceforge/jnlp/ ools/Charac erEncoder.java: Remove file.
* ne x/ne /sourceforge/jnlp/ ools/HexDumpEncoder.java: Remove file.
2010-12-08 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/JNLPFile.java
(ge Suppor edVersions): Remove me hod.
* ne x/ne /sourceforge/jnlp/Parser.java: Remove suppor edVersions.
(Parser(JNLPFile,URL,Node,boolean,boolean)): Remove check for suppor ed
version.
(ge Suppor edVersions): Remove me hod.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
Remove PSpecUnsuppor ed.
2010-12-08 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/ ools/JarRunner.java: Remove unused class.
* ne x/ne /sourceforge/jnlp/ ools/JarSignerResources.java: Remove unused
class.
2010-12-07 Andrew John Hughes <ahughes@redha .com>
* ne x/ne /sourceforge/jnlp/Informa ionDesc.java,
(Informa ionDesc(JNLPFile,Locale)): Correc @param ag.
* ne x/ne /sourceforge/jnlp/JARDesc.java:
(JARDesc(URL,Version,S ring,boolean,boolean,boolean,boolean)):
Correc ypo and add missing @param ag for cacheable.
* ne x/ne /sourceforge/jnlp/JREDesc.java:
(JREDesc(Version,URL,S ring,S ring,S ring,Lis )): Correc ypo
in @param ag.
* ne x/ne /sourceforge/jnlp/Launcher.java:
(Launcher(boolean)): Correc broken @param ag.
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java:
(addDownloadLis ener(DownloadLis ener)): Remove broken @param ags.
Add correc one.
(removeDownloadLis ener(DownloadLis ener)): Add missing @param ag.
* ne x/ne /sourceforge/jnlp/securi y/KeyS ores.java:
(ge KeyS oreLoca ion(Level,Type)): Add con en o @param and @re urn ags.
( oTransla ableS ring(Level,Type)): Likewise.
* ne x/ne /sourceforge/jnlp/securi y/PasswordAu hen ica ionDialog.java:
(askUser(S ring,in ,S ring,S ring)): Correc ypo in @param ag.
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogPanel.java:
(crea eSe ValueLis ener(Securi yWarningDialog,in )): Add con en o @re urn ag.
* ne x/ne /sourceforge/jnlp/securi y/Securi yWarningDialog.java:
(showCer InfoDialog(Cer Verifier,Securi yWarningDialog)): Remove broken
@param ag and add correc ones.
(showSingleCer InfoDialog(X509Cer ifica e,JDialog)): Add con en o @param ags.
* ne x/ne /sourceforge/jnlp/ ools/Charac erEncoder.java:
Remove broken @see ags from impor from OpenJDK.
* ne x/ne /sourceforge/jnlp/u il/FileU ils.java:
Fix bad whi espace.
(sani izeFileName(S ring)): Fix @param ag.
* ne x/ne /sourceforge/nanoxml/XMLElemen .java:
Fix example in class documen a ion.
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java,
(wai ForApple Ini (Ne xPanel)): Fix @param ag.
2010-12-08 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/ ools/KeyTool.java: Remove unused class.
2010-12-07 Andrew Su <asu@redha .com>
* MiddleClickLis ener.java: Added copyrigh header. Correc ed ypo in
javadoc.
2010-12-07 Omair Majid <omajid@redha .com>
* Makefile.am
(PLUGIN_VERSION): Change o IcedTea-Web
($(PLUGIN_DIR)/%.o): Define PLUGIN_NAME and PACKAGE_URL.
* configure.ac
(AC_INTIT): Add url.
* plugin/iced eanp/IcedTeaNPPlugin.cc
(PLUGIN_NAME): Removed.
(PLUGIN_FULL_NAME): New defini ion.
(PLUGIN_DESC): Add link o IcedTea-Web wiki page.
(NP_Ge Value): Re urn PLUGIN_FULL_NAME ins ead of PLUGIN_NAME.
2010-12-06 Deepak Bhole <dbhole@redha .com>
Fixed inden a ion and spacing for all .java files
* .se ings/org.eclipse.jd .core.prefs: New file. Con ains code s yle
preference se ings for Eclipse.
* .se ings/org.eclipse.jd .ui.prefs: Same.
2010-12-03 Andrew John Hughes <ahughes@redha .com>
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java,
(ge CachedResource(URL,Version,Upda ePolicy)):
Rever change o use oURI() for now.
See h p://mail.openjdk.java.ne /pipermail/dis ro-pkg-dev/2010-December/011270.h ml
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java,
(ge CacheURL(URL)): Likewise.
* ne x/ne /sourceforge/jnlp/run ime/Boo .java,
(ge File()): Use oURI. oURL() o avoid broken escaping.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
(ini ializeResources()): Likewise.
2010-12-01 Andrew John Hughes <ahughes@redha .com>
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java:
(ge CachedResource(URL,Version,Upda ePolicy)): Use
oURI(). oURL() o avoid broken escaping.
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java:
(ge CacheURL(URL)): Likewise.
* ne x/ne /sourceforge/jnlp/run ime/Applica ionIns ance.java:
(des roy()): Suppress depreca ed warning from use of hread.s op().
Only use when in errup () has already been ried.
* ne x/ne /sourceforge/jnlp/run ime/Boo .java:
(ge File()): Use oURI. oURL() o avoid broken escaping.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
(ini ializeResources()): Likewise.
* ne x/ne /sourceforge/jnlp/securi y/PasswordAu hen ica ionDialog.java:
(askUser(S ring,in ,S ring,S ring)): Use ge Password() o re rieve
a charac er array direc ly. Fix overrunning line.
* ne x/ne /sourceforge/jnlp/ ools/JarSigner.java:
Remove unused Iden i yScope variable, scope.
* ne x/ne /sourceforge/nanoxml/XMLElemen .java:
(scanWhi espace(S ringBuffer)): Don' fall hrough.
* plugin/iced eanp/IcedTeaPluginReques Processor.cc:
Fix warnings where s d::s ring is used in prin f
ra her han char* by invoking c_s r on hese s rings.
* plugin/iced eanp/java/ne scape/javascrip /JSExcep ion.java:
(JSExcep ion()): Mark wi h @Depreca ed anno a ion.
(JSExcep ion(S ring)): Likewise.
(JSExcep ion(S ring,S ring,in ,S ring,in )): Likewise.
* plugin/iced eanp/java/ne scape/javascrip /JSObjec .java:
(JSObjec (S ring)): Remove redundan cas .
(ge Window(Apple )): Likewise.
* plugin/iced eanp/java/sun/apple /Apple Securi yCon ex Manager.java:
(con ex s): Ini ialise properly wi h generic yping.
* plugin/iced eanp/java/sun/apple /Me hodOverloadResolver.java:
(ge Ma chingMe hod(Objec []): Add missing generic ype o Class
ins ances.
(ge Ma chingCons ruc or(Objec [])): Likewise.
(ge Cos AndCas edObjec (Objec ,Class<?>)): Likewise.
(ge Ma chingMe hods(Class<?>,S ring,in )): Likewise.
(ge Ma chingCons ruc ors(Class<?>,in )): Likewise.
(ge Num(S ring,Class<?>)): Likewise.
* plugin/iced eanp/java/sun/apple /PluginApple Securi yCon ex .java:
(parseCall(S ring,ClassLoader,Class<V>)): Use c.cas ra her han (V).
(handleMessage(in ,S ring,AccessCon rolCon ex ,S ring)): Add
missing generic ype o Class ins ances. Remove redundan cas s.
(prepopula eField(in ,S ring)): Add missing generic ype o Class ins ance.
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java:
(crea ePanel(PluginS reamHandler,in ,long,URL,Hash able<S ring,S ring>)):
Add missing generic ypes on Hash able and PrivilegedAc ion.
(ini Even Queue(Apple Panel)): Add missing generic ype o PrivilegedAc ion.
(spli Separa or(S ring,S ring)): Use an ArrayLis ra her han Vec or
o avoid locking and use generic ypes.
(reques s): Ini ialise properly wi h generic yping.
(apple s): Likewise.
(apple S a eChanged(Apple Even )): Use se Size and ge PreferredSize.
(handleMessage(in ,S ring)): Remove redundan cas s.
(audioClips): Add generic ypes.
(ge AudioClip): Remove redundan cas .
(imageRefs): Add generic ypes.
(ge CachedImageRef(URL)): Remove redundan cas .
(apple Panels): Add generic ypes.
(ge Apple s()): Likewise.
(ge S ream(S ring)): Mark wi h @Override.
(ge S reamKeys()): Likewise.
(sys emParam): Add generic ypes.
(prin Tag(Prin S ream,Hash able<S ring,S ring>)): Likewise.
Remove redundan cas s.
(upda eA s()): Use ge Size() and ge Inse s(). Use In eger.valueOf().
(apple Reload()): Add generic ypes o PrivilegedAc ion.
(scanIden ifier(in [],Reader)): Use S ringBuilder o avoid unnecessary
locking.
(skipCommen (in [],Reader)): Likewise.
(scanTag(in [],Reader)): Likewise. Add generic ypes.
(parse(in ,long,S ring,S ring,Reader,URL)): Use PrivilegedExcep ionAc ion
o avoid ca ching and re hrowing he excep ion manually. Add generic ypes.
(parse(in ,long,S ring,S ring,Reader,URL,Prin S ream,PluginApple PanelFac ory)):
Add generic ypes. Remove unnecessary cas s. Fix overlong lines.
* plugin/iced eanp/java/sun/apple /PluginMain.java:
(ini ()): Add generic ypes. Remove unnecessary cas .
* plugin/iced eanp/java/sun/apple /PluginObjec S ore.java:
(objec s): Ini ialise properly wi h generic yping.
(coun s): Likewise.
(iden ifiers): Likewise.
* plugin/iced eanp/java/sun/apple /PluginProxySelec or.java:
(ge (Objec )): Suppress unchecked warning arising from cas o K.
2010-12-02 Omair Majid <omajid@redha .com>
* Makefile.am (EXTRA_DIST): Add i web-se ings.desk op.in.
(all-local): Add i web-se ings.desk op.
(clean-desk op-files): Remove i web-se ings.desk op.
(i web-se ings.desk op): New arge .
* i web-se ings.desk op.in: New file.
2010-12-01 Andrew John Hughes <ahughes@redha .com>
* acinclude.m4:
(IT_CHECK_FOR_APPLETVIEWERPANEL_HOLE):
New check o ensure sun.apple .Apple ViewerPanel
is public (via he pa ch in IcedTea, apple _hole.pa ch).
* configure.ac: Invoke he above macro. Don' call
IT_CHECK_FOR_CLASS for he same class ( he above macro
handles his oo).
* README: Men ion his limi a ion.
2010-12-01 Andrew Su <asu@redha .com>
* NEWS: Added con rolpanel for modifying deploymen s.proper ies
* Makefile.am:
(CONTROLPANEL_LAUNCHER_OBJECTS): Objec s used o compile binary
con rol panel.
(all-local): Add $(NETX_DIR)/launcher/con rolpanel/i w-se ings.
(ins all-exec-local): Ins all he con rol panel binary.
(unins all-local): Removes he compiled con rol panel binary.
($(NETX_DIR)/launcher/con rolpanel/%.o): Crea e he launcher objec s.
($(NETX_DIR)/launcher/con rolpanel/i w-se ings): Link he objec s o
make he launcher.
* ne x/ne /sourceforge/jnlp/con rolpanel/Abou Panel.java,
* ne x/ne /sourceforge/jnlp/con rolpanel/ComboI em.java,
* ne x/ne /sourceforge/jnlp/con rolpanel/Con rolPanel.java,
* ne x/ne /sourceforge/jnlp/con rolpanel/DebuggingPanel.java,
* ne x/ne /sourceforge/jnlp/con rolpanel/Desk opShor cu Panel.java,
* ne x/ne /sourceforge/jnlp/con rolpanel/JREPanel.java,
* ne x/ne /sourceforge/jnlp/con rolpanel/NamedBorderPanel.java,
* ne x/ne /sourceforge/jnlp/con rolpanel/MiddleClickLis ener.java,
* ne x/ne /sourceforge/jnlp/con rolpanel/Securi ySe ingsPanel.java,
* ne x/ne /sourceforge/jnlp/con rolpanel/TemporaryIn erne FilesPanel.java,
* ne x/ne /sourceforge/jnlp/con rolpanel/AdvancedProxySe ingsDialog.java,
* ne x/ne /sourceforge/jnlp/con rolpanel/AdvancedProxySe ingsPane.java,
* ne x/ne /sourceforge/jnlp/con rolpanel/Ne workSe ingsPanel.java,:
New classes. All me hods are new as well.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Added
messages used by con rol panel.
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica ePane.java:
Changed o no display a close bu on if null paren frame.
2010-11-30 Andrew John Hughes <ahughes@redha .com>
* Makefile.am:
(liveconnec ): Add NETX_DIR firs on he boo classpa h
so he plugin can be buil agains 1.7 and 1.8
branch releases of IcedTea6.
2010-11-26 Andrew John Hughes <ahughes@redha .com>
Make dis check work.
* Makefile.am:
(EXTRA_DIST): Use rela ive pa hs for ne x
and he plugin.
(clean-local): Remove emp y s amps direc ory.
(ins all-exec-local): Use ins all o ins all
programs and da a wi h he correc permissions.
(ins all-da a-local): Likewise.
(unins all-local): Remove documen a ion.
(ne x): Use ${INSTALL_DATA} o add resources so
ha read-only files aren' copied.
(ex ra-files): Likewise.
($(NETX_DIR)/launcher/javaws): Don' crea e emp y launcher
direc ory.
(clean-docs): Remove emp y docs direc ory.
(clean-boo s rap-direc ory): Remove emp y boo s rap
direc ory.
2010-11-29 Deepak Bhole <dbhole@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java
(crea ePanel): Call he new framePanel() me hod wi h he proper handle.
(framePanel): New me hod, renamed from reFrame. Changed o now do one- ime
framing of panel in o he plugin.
(handleMessage): Don' re-frame he panel. Panel is now framed only once.
(des royApple ): Dispose he frame righ away, and ry o remove he panel
if possible. If no , handleMessage() will do i when he panel is
ready/removable.
2010-11-25 Andrew John Hughes <ahughes@redha .com>
* Makefile.am:
(JDK_UPDATE_VERSION): Documen .
(NETX_PKGS): Ne X packages for documen a ion.
(PLUGIN_PKGS): Same for he plugin.
(JAVADOC_OPTS): Common op ions passed o javadoc.
(JAVADOC_MEM_OPTS): Memory op ions passed o JVM
if possible ( aken from he previous OpenJDK build).
(all-local): Depend on docs.s amp.
(clean-local): Add clean-docs.
(.PHONY): Add clean-docs, clean-plugin-docs, clean-ne x-docs.
(ins all-exec-local): Ins all he documen a ion if enabled.
(docs): Me a-dependency for ne x-docs and plugin-docs.
(clean-docs): Likewise bu for clean arge s.
(ne x-docs): Build documen a ion for he Ne X API.
(clean-ne x-docs): Remove he Ne X docs.
(plugin-docs): Build documen a ion for he plugin API.
(clean-plugin-docs): Likewise.
(boo s rap-direc ory): Link o javadoc binary.
* acinclude.m4:
(IT_FIND_JAVADOC): Find a javadoc binary, firs checking
user inpu , hen he JDK and he pa h for 'javadoc' and
'gjdoc'. Also se s JAVADOC_SUPPORTS_J_OPTIONS if i does.
* configure.ac:
Call IT_FIND_JAVADOC.
2010-11-25 Omair Majid <omajid@redha .com>
* Makefile.am (s amps/liveconnec .s amp): Se a boo classpa h o
avoid using an older ne x.jar during compila ion.
2010-11-24 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/u il/FileU ils.java
(crea eRes ric edDirec ory): New me hod. Crea es a direc ory wi h reduced
permissions.
(crea eRes ric edFile(File,boolean)): New me hod. Crea es a file wi h reduced
permissions.
(crea eRes ric edFile(File,boolean,boolean): New me hod. Crea es a file or
a direc ory wi h reduced permissions.
* ne x/ne /sourceforge/jnlp/Launcher.java
(markNe xRunning): Do no gran unnecessary file permissions.
* ne x/ne /sourceforge/jnlp/run ime/Boo .java: Remove umask from
help message.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ac iva eNa ive): Crea e file wi h proper permissions.
(ge Na iveDir): Crea e direc ory wi h proper permissions.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java
(ini ializeS reams): Crea e files wi h proper permissions.
* ne x/ne /sourceforge/jnlp/securi y/Cer WarningPane.java
(CheckBoxLis ener.ac ionPerformed): Likewise.
* ne x/ne /sourceforge/jnlp/securi y/KeyS ores.java
(crea eKeyS oreFromFile): Likewise.
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica ePane.java
(Impor Bu onLis ener.ac ionPerformed): Likewise.
(RemoveBu onLis ener.ac ionPerformed): Likewise.
* ne x/ne /sourceforge/jnlp/services/SingleIns anceLock.java
(crea eWi hPor ): Likewise.
(ge LockFile): Likewise.
* ne x/ne /sourceforge/jnlp/services/XEx endedService.java
(openFile): Likewise.
* ne x/ne /sourceforge/jnlp/services/XPersis enceService.java
(crea e): Likewise.
* ne x/ne /sourceforge/jnlp/u il/XDesk opEn ry.java
(ins allDesk opLauncher): Likewise.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Add
Can Crea eFile, RCan Crea eDir and RCan Rename. Remove BNoBase and
BOUmask.
2010-11-24 Deepak Bhole <dbhole@redha .com>
Fix PR593: Incremen of invalida ed i era or in IcedTeaPluginU ils (pa ch
from barbara.xxx1975@libero.i )
* plugin/iced eanp/IcedTeaPluginU ils.cc
(invalida eIns ance): Ac on he poin er direc ly, ra her han via
members.
* NEWS: Upda ed.
2010-11-24 Deepak Bhole <dbhole@redha .com>
Fix PR552: Suppor for FreeBSD's p hread implemen a ion (pa ch from
jkim@freebsd.org)
* plugin/iced eanp/IcedTeaNPPlugin.cc
(NP_Shu down): Do p hread_join af er cancel o avoid des roying mu exes
or condi ion variables in use.
* plugin/iced eanp/IcedTeaPluginReques Processor.cc
(PluginReques Processor): Ini ialize mu exes dynamically.
(queue_cleanup): New me hod. Des roy dynamically crea ed my exes.
(queue_processor): Ini ialize wai _mu ex and push cleanup on exi . Clean
up af er processing s ops.
2010-11-24 Andrew John Hughes <ahughes@redha .com>
* NEWS: Bring in changes from IcedTea6 1.10
NEWS (now redundan here) and apply same s ruc ure
as in IcedTea6.
2010-11-24 Omair Majid <omajid@redha .com>
CVE-2010-3860 IcedTea Sys em proper y informa ion leak via public s a ic
* ne x/ne /sourceforge/jnlp/run ime/Boo .java: Remove basedir
op ion. Add NETX_ABOUT_FILE.
(run): Remove call o JNLPRun ime.se BaseDir.
(ge Abou File): Use he cons an in his file, no JNLPRun ime.
(ge BaseDir): Remove obsole e me hod.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java: Remove
baseDir, USER, HOME_DIR, NETXRC_FILE, NETX_DIR, SECURITY_DIR,
CERTFICIATES_FILE, JAVA_HOME_DIR, NETX_ABOUT_FILE.
(ini ialize): Do no se baseDir.
(ge BaseDir): Remove me hod.
(se BaseDir): Likewise.
(ge Defaul BaseDir): Likewise.
(ge Proper ies): Likewise.
* ne x/ne /sourceforge/jnlp/securi y/Securi yU il.java
(ge Trus edCer sFilename): Delega e o
KeyS ores.ge KeyS oreLoca ion.
* plugin/iced eanp/java/sun/apple /PluginApple Securi yCon ex .java
(PluginApple Securi yCon ex ): Remove call o obsole e me hod.
2010-11-24 Omair Majid <omajid@redha .com>
Fix PR592.
* ne x/ne /sourceforge/jnlp/u il/XDesk opEn ry.java
(ge Con en sAsReader): Sani ize informa ion before adding o desk op file.
(sani ize): New me hod. Ensure ha here are no newlines in inpu .
2010-11-24 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Add
CVCer ifica eType.
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica ePane.java: Use
CVCer ifica eType ins ead of hardcoded s ring.
2010-11-24 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/Securi yDesc.java: Add gran Aw Permissions.
(Securi yDesc): Se gran Aw Permissions.
(ge SandboxPermissions): Use gran Aw Permissions o de ermine whe her o
gran permissions.
2010-11-24 Ma hias Klose <doko@ubun u.com>
* Makefile.am (javaws.desk op): Search javaws.desk op.in in $(srcdir).
2010-11-24 Ma hias Klose <doko@ubun u.com>
* Makefile.am (LAUNCHER_LINK): Don' explici ely link wi h -lc,
link wi h -p hread ins ead of -lp hread.
(LAUNCHER_FLAGS): Add -p hread.
2010-11-24 Chris Coulson <chris.coulson@canonical.com>
* Makefile.am (pluginapple viewer, javaws):
Fix linking wi h --as-needed.
2010-11-23 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/Deploymen Configura ion.java:
Add KEY_PROXY_TYPE, KEY_PROXY_SAME, KEY_PROXY_AUTO_CONFIG_URL,
KEY_PROXY_BYPASS_LIST, KEY_PROXY_BYPASS_LOCAL, KEY_PROXY_HTTP_HOST,
KEY_PROXY_HTTP_PORT, KEY_PROXY_HTTPS_HOST, KEY_PROXY_HTTPS_PORT,
KEY_PROXY_FTP_HOST, KEY_PROXY_FTP_PORT, KEY_PROXY_SOCKS4_HOST,
KEY_PROXY_SOCKS4_PORT, and KEY_PROXY_OVERRIDE_HOSTS.
(loadDefaul Proper ies): Use he new cons an s.
* ne x/ne /sourceforge/jnlp/run ime/JNLPProxySelec or.java: New
class.
(JNLPProxySelec or): New me hod.
(parseConfigura ion): New me hod. Ini ializes his objec by
querying he configura ion.
(ge Hos ): New me hod.
(ge Por ): New me hod.
(connec Failed): New me hod.
(selec ): New me hod. Re urns a lis of appropria e proxies o use
for a given uri.
(inBypassLis ): New me hod. Re urn rue if he hos in he URI
should be bypassed for proxy purposes.
(isLocalHos ): New me hod.
(ge FromConfigura ion): New me hod. Finds a proxy based on
configura ion.
(ge FromPAC): New me hod.
(ge FromBrowser): New me hod.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java
(ini ialize): Ins all proxy selec or and au hen ica or.
* plugin/iced eanp/java/sun/apple /PluginMain.java
(ini ): Do no ins all au hen ica or.
(Cus omAu hen ica or): Moved o...
* ne x/ne /sourceforge/jnlp/securi y/JNLPAu hen ica or.java: Here.
* plugin/iced eanp/java/sun/apple /PasswordAu hen ica ionDialog.java
Moved o...
* ne x/ne /sourceforge/jnlp/securi y
/PasswordAu hen ica ionDialog.java: Here.
* plugin/iced eanp/java/sun/apple /PluginProxySelec or.java: Ex end
JNLPProxySelec or.
(selec ): Renamed o...
(ge FromBrowser): New me hod.
2010-11-19 Omair Majid <omajid@redha .com>
* Makefile.am (EXTRA_DIST): Replace javaws.desk op wi h
javaws.desk op.in. (all-local): Add javaws.desk op. (clean-local):
Add dependency on clean-desk op-files. (.PHONY): Add clean-desk op-
files. (clean-desk op-files): New arge . (javaws.desk op): New
arge . Use he absolu e pa h o javaws binary in he Exec= line o
crea e he javaws.desk op file.
* javaws.desk op: Renamed o...
* javaws.desk op.in: New file. Does no con ain Encoding key. Value
for Icon does no con ain ex ension.
* ne x/ne /sourceforge/jnlp/u il/XDesk opEn ry.java
(JAVA_ICON_NAME): Se o icon name wi hou he ex ension.
2010-11-18 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/Securi yDesc.java: Remove window banner
permissions from sandboxPermissions and j2eePermissions.
(ge SandBoxPermissions): Dynamically add window banner permissions
if allowed by configura ion.
* ne x/ne /sourceforge/jnlp/run ime/Deploymen Configura ion.java:
Add KEY_SECURITY_PROMPT_USER,
KEY_SECURITY_ALLOW_HIDE_WINDOW_WARNING,
KEY_SECURITY_PROMPT_USER_FOR_JNLP, and
KEY_SECURITY_INSTALL_AUTHENTICATOR.
(loadDefaul Proper ies): Use he new cons an s.
* ne x/ne /sourceforge/jnlp/securi y/Securi yWarning.java
(showAccessWarningDialog): Check if he user should be promp ed
before promp ing he user.
(showNo AllSignedWarningDialog): Likewise.
(showCer WarningDialog): Likewise.
(showApple Warning): Likewise.
(shouldPromp User): New me hod. Check if configura ion allows
showing user promp s.
* ne x/ne /sourceforge/jnlp/services/ServiceU il.java
(checkAccess(AccessType,Objec ...)): Clarify javadocs.
(checkAccess(Applica ionIns ance,AccessType,Objec ...)): Clarify
javadocs. Only promp he user if showing JNLP promp s is ok.
(shouldPromp User): New me hod. Re urns rue if configura ion allows
for showing JNLP api promp s.
* plugin/iced eanp/java/sun/apple /PluginMain.java
(ini ): Only ins all cus om au hen ica or if allowed by
configura ion.
2010-11-18 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/Deploymen Configura ion.java:
Add KEY_ENABLE_LOGGING.
(loadDefaul Proper ies): Use KEY_ENABLE_LOGGING.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java: Add
redirec S reams, STDERR_FILE and STDOUT_FILE.
(ini ialize): Call ini ializeS reams.
(ini ializeS reams): New me hod. Redirec s or duplica es s dou and
s derr o he logging files as required.
(se Redirec S reams): New me hod. Se s whe her s dou /s derr s reams
should be redirec ed.
* plugin/iced eanp/java/sun/apple /PluginMain.java:
(PluginMain): Move code for crea ing logging files in o JNLPRun ime.
Call JNLPRun ime.se Redirec S reams o redirec s reams.
(TeeOu pu S ream): Move o i s own class.
* ne x/ne /sourceforge/jnlp/u il/TeeOu pu S ream.java: Moved from
PluginMain in o his new class.
2010-11-18 Omair Majid <omajid@redha .com>
* NEWS: Upda e wi h new in erfaces
* ne x/javax/jnlp/DownloadService2.java: New in erface.
(ResourceSpec): New class.
(ResourceSpec.ResourceSpec): New me hod.
(ResourceSpec.ge Expira ionDa e): New me hod.
(ResourceSpec.ge Las Modified): New me hod.
(ResourceSpec.ge Size): New me hod.
(ResourceSpec.ge Type): New me hod.
(ResourceSpec.ge Url): New me hod.
(ResourceSpec.ge Version): New me hod.
(ge CachedResources): New me hod.
(ge Upda eAvaiableReosurces): New me hod.
* ne x/javax/jnlp/In egra ionService.java: New in erface.
(hasAssocia ion): New me hod.
(hasDesk opShor cu ): New me hod.
(hasMenuShor cu ): New me hod.
(removeAssocia ion): New me hod.
(removeShor cu s): New me hod.
(reques Associa ion): New me hod.
(reques Shor cu ): New me hod.
2010-11-16 Andrew Su <asu@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/Deploymen Configura ion.java:
Correc ed ypo in one of he defaul values.
2010-11-11 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/Boo .java (main): Move rus
manager ini ializa ion code in o JNLPRun ime.ini ialize.
* plugin/iced eanp/java/sun/apple /PluginMain.java
(ini ): Likewise.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java (ini ialize):
Se he defaul SSL Trus Manager here.
* ne x/ne /sourceforge/jnlp/securi y/Cer WarningPane.java
(CheckBoxLis ener.ac ionPerformed): Add his cer ifica e in o
user's rus ed cer ifica e s ore.
* ne x/ne /sourceforge/jnlp/ ools/KeyTool.java
(addToKeyS ore(File,KeyS ore)): Move o Cer ifica eU ils.
(addToKeyS ore(X509Cer ifica e,KeyS ore)): Likewise.
(dumpCer ): Likewise.
* ne x/ne /sourceforge/jnlp/securi y/Cer ifica eU ils.java: New
class.
(addToKeyS ore(File,KeyS ore)): Moved from KeyTool.
(addToKeyS ore(X509Cer ifica e,KeyS ore)): Likewise.
(dumpCer ): Likewise.
(inKeyS ores): New me hod.
* ne x/ne /sourceforge/jnlp/securi y/H psCer Verifier.java
(ge Roo InCacer s): Check all available CA s ore o check if
roo is in CA cer ifica es.
* ne x/ne /sourceforge/jnlp/securi y/KeyS ores.java
(ge KeyS ore(Level,Type,boolean)): Add securi y check.
(ge Clien KeyS ores): New me hod.
* ne x/ne /sourceforge/jnlp/securi y/VariableX509Trus Manager.java
(VariableX509Trus Manager): Ini ialize mul iple CA, cer ifica e and
clien rus managers.
(checkClien Trus ed): Check all he clien Trus Managers if
cer ifica e is rus ed.
(checkAllManagers): Check mul iple CA cer ifica es and rus ed
cer ifica es o de ermine if he cer ifica e chain can be rus ed.
(isExplici lyTrus ed): Check wi h mul iple Trus Managers.
(ge Accep edIssuers): Ga her resul s from mul iple Trus Managers.
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica ePane.java
(Impor Bu onLis ener): Use Cer ifica eU ils ins ead of KeyTool.
* ne x/ne /sourceforge/jnlp/ ools/JarSigner.java
(checkTrus edCer s): Use mul iple key s ores o check if cer ifica e
is direc ly rus ed and if he roo is rus ed.
2010-11-09 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies: Add
Bu Allow, Bu Close, Bu Copy, Bu MoreInforma ion, Bu Proceed,
Bu Run, AlwaysAllowAc ion, Con inue, Field, From, Name, Publisher,
Value, Version, SNoAssocia edCer ifica e, SAlwaysTrus Publisher,
SH psUnverified, SNo AllSignedSummary, SNo AllSignedDe ail,
SNo AllSignedQues ion, SCer ifica eDe ails, SIssuer, SSerial,
SMD5Fingerprin , SSHA1Fingerprin , SSigna ure, SSigna ureAlgori hm,
SSubjec , SValidi y, CVCer ifica eViewer, CVDe ails, CVIssuedTo,
CVExpor , CVImpor , CVIssuedBy, IssuedTo, CVRemove,
CVRemoveConfirmMessage,CVRemoveConfirmTi le, CVUser, CVSys em,
KS, KSCer s, KSJsseCer s, KSCaCer s, KSJsseCaCer s, and
KSClien Cer s.
* ne x/ne /sourceforge/jnlp/securi y/AccessWarningPane.java
(addComponen s): Use localized s rings.
* ne x/ne /sourceforge/jnlp/securi y/Cer WarningPane.java
(addComponen s): Likewise.
* ne x/ne /sourceforge/jnlp/securi y/Cer sInfoPane.java
(parseCer ): Likewise.
(addComponen s): Likewise.
* ne x/ne /sourceforge/jnlp/securi y/MoreInfoPane.java
(addComponen s): Likewise.
* ne x/ne /sourceforge/jnlp/securi y/No AllSignedWarningPane.java
(addComponen s): Likewise.
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica ePane.java:
Likewise.
(addComponen s): Likewise.
(Cer ifica eType. oS ring): Likewise.
(RemoveBu onLis ener.ac ionPerformed): Likewise.
2010-11-05 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/Deploymen Configura ion.java:
Add KEY_BROWSER_PATH.
(loadDefaul Proper ies): Use KEY_BROWSER_PATH.
* ne x/ne /sourceforge/jnlp/services/XBasicService.java
(ini ialize): Use he browser command from he configura ion.
Save upda es o configura ion as well.
2010-11-05 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/Shor cu Desc.java: Change prefixes from
SHORTCUT_ o CREATE_.
* ne x/ne /sourceforge/jnlp/run ime/Applica ionIns ance.java
(addMenuAndDesk opEn ries): Call shouldCrea eShor cu o find ou
if shor cu should be crea ed. Remove call o checkAccess which
does no hing as he en ire s ack con ains rus ed classes.
(shouldCrea eShor cu ): New me hod. Use he configura ion o find
ou if a shorcu should be crea ed, and possibly promp he user.
* ne x/ne /sourceforge/jnlp/run ime/Deploymen Configura ion.java:
Add KEY_CREATE_DESKTOP_SHORTCUT.
(loadDefaul Proper ies): Use KEY_CREATE_DESKTOP_SHORTCUT.
2010-11-08 Omair Majid <omajid@redha .com>
* Makefile.am (JDK_UPDATE_VERSION): Define variable.
2010-11-04 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/Deploymen Configura ion.java:
Add KEY_USER_TRUSTED_CA_CERTS, KEY_USER_TRUSTED_JSSE_CA_CERTS,
KEY_USER_TRUSTED_CERTS, KEY_USER_TRUSTED_JSSE_CERTS,
KEY_USER_TRUSTED_CLIENT_CERTS, KEY_SYSTEM_TRUSTED_CA_CERTS,
KEY_SYSTEM_TRUSTED_JSSE_CA_CERTS, KEY_SYSTEM_TRUSTED_CERTS,
KEY_SYSTEM_TRUSTED_JSSE_CERTS, KEY_SYSTEM_TRUSTED_CLIENT_CERTS
(loadDefaul Proper ies): Use he defined cons an s.
* ne x/ne /sourceforge/jnlp/securi y/KeyS ores.java: New class.
(ge Password): New me hod. Re urn he defaul password used for
KeyS ores.
(ge KeyS ore(Level,Type)): New me hod. Re urns he appropria e
KeyS ore.
(ge KeyS ore(Level,Type,S ring)): Likewise.
(ge Cer KeyS ores): New me hod. Re urn all he rus ed cer ifica e
KeyS ores.
(ge CAKeyS ores): New me hod. Re urn all he rus ed CA cer ifica e
KeyS ores.
(ge KeyS oreLoca ion): New me hod. Re urn he loca ion of he
appropria e KeyS ore.
( oTransla ableS ring): New me hod. Re urn a s ring ha can be
used o crea e a human-readable name for he KeyS ore.
( oDisplayableS ring): New me hod. Re urn a human-readable name
for he KeyS ore.
(crea eKeyS oreFromFile): New me hod. Crea es a new KeyS ore objec ,
ini ializing i from he given file if possible.
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica ePane.java
(Cer ifica ePane): Crea e wo JTables. Popula e he ables when
done crea ing he user in erface.
(ini ializeKeyS ore): Use he correc keys ore.
(addComponen s): Do no read KeyS ore. Crea e more in erface
elemen s o show he new possible KeyS ores. Mark some bu ons o
be disabled when needed.
(repopula eTable): Renamed o...
(repopula eTables): New me hod. Read KeyS ore and use he con en s
o crea e he user and sys em ables.
(Cer ifica eType): New class.
(Cer ifica eTypeLis ener): New class. Lis ens o JComboBox change
even s.
(TabChangeLis ener): New class. Lis ens o new ab selec ions.
(Impor Bu onLis ener): Impor cer ifica es o he appropria e
KeyS ore.
(Expor Bu onLis ener): Find he cer ifica e from he righ able.
(RemoveBu onLis ener): Find he cer ifica e from he righ able
and righ he KeyS ore.
(De ailsBu onLis ener): Find he cer ifica e from he righ able.
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica eViewer.java
(showCer ficai eViewer): Ini ialize he JNLPRun ime so he
configura ion ge s loaded.
* ne x/ne /sourceforge/jnlp/ ools/KeyTool.java
(addToKeyS ore(File,KeyS ore)): New me hod. Adds cer ifica e from
he file o he KeyS ore.
(addToKeyS ore(X509Cer ifica e,KeyS ore)): New me hod. Adds a
cer ifica e o a KeyS ore.
2010-11-04 Deepak Bhole <dbhole@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java (upda e):
Override me hod and implemen double-buffering.
2010-10-28 Andrew John Hughes <ahughes@redha .com>
* Makefile.am:
(NETX_BOOTSTRAP_CLASSES): Removed.
(PLUGIN_BOOTSTRAP_CLASSES): Likewise.
(NETX_SUN_CLASSES): Likewise.
(PLUGIN_SUN_CLASSES): Likewise.
* acinclude.m4:
(IT_CHECK_FOR_CLASS): Require de ec ion
of javac and java. Pu es class in
sun.apple o ge access o some in ernal
classes. Change es o use forName for
he same reason. I expec o be able o
rever his when usage of sun.apple is fixed.
(IT_FIND_JAVA): Por ed from IcedTea6. Change
o priori ise 'java' over 'gij'.
* configure.ac:
Add IT_CHECK_FOR_CLASS checks for classes which
are required bu no found in JDKs o her han
Oracle-based ones. Also check for java.* classes
missing from curren versions of gcj bu which
may appear here in fu ure.
2010-11-03 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/Launcher.java
(markNe xRunning): Ge file name from configura ion.
(markNe xS opped): Likewise.
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java
(clearCache): Ge cache direc ory from configura ion.
(okToClearCache): Ge ne x_running file from configura ion.
(ge CacheFile): Ge cache direc ory from configura ion.
(urlToPa h): Change seman ics o ake in he full pa h of he
direc ory ins ead of a direc ory under run ime.
* ne x/ne /sourceforge/jnlp/run ime/Deploymen Configura ion.java:
Change DEPLOYMENT_DIR o ".iced ea". Add cons an s
KEY_USER_CACHE_DIR, KEY_USER_PERSISTENCE_CACHE_DIR,
KEY_SYSTEM_CACHE_DIR, KEY_USER_LOG_DIR, KEY_USER_TMP_DIR,
KEY_USER_LOCKS_DIR, and KEY_USER_NETX_RUNNING_FILE.
(load): Use DEPLOYMENT_DIR ins ead of hardcoded s ring.
(loadDefaul Proper ies): Add LOCKS_DIR. Replace s rings wi h
cons an s. Add new defaul values for persis ence cache direc ory,
single ins ance locks direc ory and he ne x_running file.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java: Remove
unneeded TMP_DIR, LOCKS_DIR and NETX_RUNNING_FILE
* ne x/ne /sourceforge/jnlp/services/SingleIns anceLock.java
(ge LockFile): Ge locks direc ory from configura ion.
* ne x/ne /sourceforge/jnlp/services/XPersis enceService.java
( oCacheFile): Ge persis ence cache direc ory from configura ion.
* ne x/ne /sourceforge/jnlp/u il/XDesk opEn ry.java
(ge Con en sAsReader): Ge cache direc ory from configura ion.
(ins allDesk opLauncher): Ge emporary direc ory from
configura ion. Make paren direc ories if required.
* plugin/iced eanp/java/sun/apple /JavaConsole.java
(ini ialize): Ge log direc ory from configura ion and crea e he
error and ou pu files under i .
* plugin/iced eanp/java/sun/apple /PluginMain.java:
PLUGIN_STDERR_FILE and PLUGIN_STDOUT_FILE are now jus filesnames.
(PluginMain): Use configura ion for finding he log direc ory.
Ini ialize JNLPRun ime before crea ing he s derr and s dou logs.
2010-11-01 Omair Majid <omajid@redha .com>
* Makefile.am (clean-IcedTeaPlugin): Only dele e launcher direc ory if i
exis s.
2010-11-01 Deepak Bhole <dbhole@redha .com>
PR542: Plugin fails wi h NPE on
h p://www.openprocessing.org/visuals/iframe.php?visualID=2615
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ini ializeResources): If cacheFile is null (JAR couldn' be downloaded),
ry o con inue, ra her han allowing he excep ion o cause an abor .
* NEWS: Upda ed.
2010-11-01 Deepak Bhole <dbhole@redha .com>
* plugin/docs: Added new docs folder ha con ains plugin documen a ion.
* plugin/docs/MessageBusArchi ec ure.png: Diagram of he JS <-> Java
message handling archi ec rure.
* plugin/docs/OverallArchi ec ure.png: Diagram of he overall plugin
archi ec ure.
* plugin/docs/java-js-wf.png: Sequence diagram showing an example
LiveConnec call from an apple o JavaScrip /Browser.
* plugin/docs/js-java-wf.png: Sequence diagram showing an example
LiveConnec call from JavaScrip /Browser o an apple .
* plugin/docs/npplugin_liveconnec _design.pdf: Slides wi h no es on he
above diagrams.
2010-10-29 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/JNLPFile.java: Add componen .
(ge LaunchInfo): Modify javadoc o indica e ha i does no re urn
he Componen Desc.
(ge Componen ): Re urn componen ins ead of launchType.
(isComponen ): Check if componen is no null.
(parse): Find and se componen descrip or.
* ne x/ne /sourceforge/jnlp/Parser.java
(ge Launcher): Remove all checks for componen -desc. Allow having
none of applica ion-desc, apple -desc and ins aller-desc.
(ge Componen ): Check for more han one componen -desc elemen .
Read and parse he componen -desc.
2010-10-28 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/securi y/Securi yWarningDialog.java
(showMoreInfoDialog): Make dialog modal.
(showCer InfoDialog): Likewise.
(showSingleCer InfoDialog): Likewise.
(ini Dialog): Use se Modali y ins ead of se Modal.
2010-10-27 Deepak Bhole <dbhole@redha .com>
* plugin/iced eanp/IcedTeaNPPlugin.cc (plugin_crea e_apple _ ag): Escape
he en ire apple ag, no jus he params.
2010-10-27 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/Deploymen Configura ion.java
(load): Do a securi y check a s ar . A securi y excep ion la er on may
acciden ally reveal a filename or a sys em proper y.
(save): Likewise.
2010-10-26 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/Launcher.java
(doPerApplica ionAppCon ex Hacks): New me hod. Crea e a new ParserDelega e
o in ialize he per AppCon ex d d used by Swing HTML con rols.
(TgThread.run): Call doPerApplica ionAppCon ex Hacks.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java
(ini ialize): Call doMainAppCon ex Hacks.
(doMainAppCon ex Hacks): New me hod. Crea e a new ParserDelega e o
ini ialize he per AppCon ex d d used by Swing HTML con rols.
2010-10-26 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/Launcher.java
(launchApplica ion): Mark main me hod as accessible before
invoking i .
2010-10-26 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/Parser.java: Add 1.1, 1.2, 1.3 and
1.4 o suppor edVersions.
2010-10-26 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/Transla or.java
(R(S ring)): New me hod.
2010-10-26 Deepak Bhole <dbhole@redha .com>
* ne x/ne /sourceforge/jnlp/PluginBridge.java: Trim whi espace from jar
names in he cons ruc or.
2010-10-26 Deepak Bhole <dbhole@redha .com>
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java:
Replace all s a us.pu calls wi h calls o upda eS a us().
(crea ePanel): Crea e a frame wi h a 0 handle. Use he new
wai ForApple Ini func ion o wai un il apple is ready.
(reFrame): Re-order code so ha he panel is never paren less.
(handleMessage): Re-wro e message processing o handle des roy calls
correc ly, checking for hem more of en o preven a frame from popping up
if he ab/page is closed before loading finishes. Decode special
charac ers in he message.
(upda eS a us): New func ion. Upda es he s a us for he given ins ance if
applicable.
(des royApple ): New func ion. Des roys a given apple and frees rela ed
resources.
(wai ForApple Ini ): New func ion. Blocks un il apple is ini ialized.
(parse): Remove par ha decoded he params. Decoding is now done earlier
in handleMessage().
* plugin/iced eanp/java/sun/apple /PluginMessageConsumer.java:
(ge Priori yS rIfPriori y): Mark des roy messages as priori y.
(bringPriori yMessagesToFron ): Scans he queue for priori y messages and
brings hem o he fron .
(run): If he queue is no emp y and here are no workers lef , run
bringPriori yMessagesToFron () and re ry.
2010-10-26 Andrew Su <asu@redha .com>
* Makefile.am: Spli rm -rf in o rm -f and rmdir for launcher
direc ory.
2010-10-25 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/Shor cu Desc.java:
Add SHORTCUT_NEVER, SHORTCUT_ALWAYS, SHORTCUT_ASK_USER,
SHORTCUT_ASK_USER_IF_HINTED, SHORTCUT_ALWAYS_IF_HINTED,
SHORTCUT_DEFAULT.
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies:
Add RConfigura ionError.
* ne x/ne /sourceforge/jnlp/run ime/Deploymen Configura ion.java:
New file.
(ConfigValue): New class. Holds a configura ion value.
(Deploymen Configura ion): New me hod.
(load): New me hod.
(ge Proper y): Likewise.
(ge AllProper yNames): Likewise.
(se Proper y): Likewise.
(loadDefaul Proper ies): Likewise.
(findSys emConfigFile): Likewise.
(loadSys emConfigura ion): Likewise.
(loadProper ies): Likewise.
(save): Likewise.
(parseProper iesFile): Likewise.
(mergeMaps): Likewise.
(dumpConfigura ion): Likewise.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java:
(ini ialize): Load configura ion.
(ge Configura ion): Re urn he configura ion.
2010-10-25 Omair Majid <omajid@redha .com>
* ne /sourceforge/jnlp/Ex ensionDesc.java: Impor Transla or.R and use
ha .
* ne /sourceforge/jnlp/JNLPFile.java: Impor Transla or.R.
(R): Remove.
* ne /sourceforge/jnlp/JREDesc.java: Impor Transla or.R.
(checkHeapSize): Use R ins ead of JNLPRun ime.ge Message.
* ne /sourceforge/jnlp/Launcher.java: Impor Transla or.R.
(R): Remove.
* ne /sourceforge/jnlp/Parser.java: Impor Transla or.R
(R(S ring)): Remove.
(R(S ring,Objec )): Remove.
(R(S ring,Objec ,Objec )): Remove.
(R(S ring,Objec ,Objec ,Objec )): Remove.
* ne /sourceforge/jnlp/cache/CacheEn ry.java: Impor Transla or.R
(CacheEn ry): Use R ins ead of JNLPRun ime.ge Message.
* ne /sourceforge/jnlp/cache/CacheU il.java: Impor Transla or.R
(R(S ring)): Remove.
(R(S ring,Objec )): Remove.
* ne /sourceforge/jnlp/cache/Defaul DownloadIndica or.java: Impor
Transla or.R and use ha ins ead of JNLPRun ime.ge Message.
* ne /sourceforge/jnlp/run ime/Boo .java: Impor Transla or.R.
(R(S ring)): Remove.
(R(S ring, Objec )): Remove.
(run): Use R ins ead of JNLPRun ime.ge Message.
* ne /sourceforge/jnlp/run ime/JNLPClassLoader.java: Impor Transla or.R.
(R): Remove.
* ne /sourceforge/jnlp/run ime/JNLPSecuri yManager.java: Impor
Transla or.R. Use i ins ead of JNLPRun ime.ge Meesage.
(R): Remove.
* ne /sourceforge/jnlp/securi y/AccessWarningPane.java: Impor
Transla or.R.
* ne /sourceforge/jnlp/securi y/Cer WarningPane.java: Likewise.
* ne /sourceforge/jnlp/securi y/H psCer Verifier.java: Impor
Transla or.R.
(R(S ring)): Remove.
(R(S ring,S ring,S ring)): Remove.
* ne /sourceforge/jnlp/securi y/MoreInfoPane.java: Impor Transla or.R.
* ne /sourceforge/jnlp/securi y/Securi yDialogPanel.java
(R(S ring)): Remove.
(R(S ring,Objec )): Remove.
* ne /sourceforge/jnlp/services/ServiceU il.java
(R): Remove.
* ne /sourceforge/jnlp/services/SingleIns anceLock.java: Impor
Transla or.R
(R(S ring)): Remove.
(R(S ring,Objec )): Remove.
* ne /sourceforge/jnlp/ ools/JarSigner.java: Impor Transla or.R.
(R): Remove.
* ne /sourceforge/jnlp/run ime/Transla or.java: New file
(R(S ring,Objec ...)): New me hod.
2010-10-25 Andrew Su <asu@redha .com>
* Makefile.am:
(clean-IcedTeaPlugin): Remove launcher folder firs .
(clean-plugin): Removed called o remove launcher folder
2010-10-22 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/Ne xPanel.java
(runLoader): Do no ini ialize JNLPRun ime here.
(crea eApple Threads): Ini ialize JNLPRun im here.
* ne x/ne /sourceforge/jnlp/run ime/Applica ionIns ance.java:
Swi ch from Securi yWarningDialog.AccessType o
Securi yWarning.AccessType.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ge Ins ance(JNLPFile,Upda ePolicy)): Swi ch o Securi yWarning.
(ini ializeResources): Likewise.
(checkTrus Wi hUser): Likewise.
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java:
Add securi yDialogMesasgeHandler.
(ini ialize): Se Sys em look and feel. S ar securi y hread.
(s ar Securi yThread): New me hod. S ar s a hread o show securi y
dialogs.
(ge Securi yDialogHandler): Re urns he securi yDialogMessageHandler.
* ne x/ne /sourceforge/jnlp/run ime/JNLPSecuri yManager.java:
Swi ch from Securi yWarningDialog.AccessType o
Securi yWarning.AccessType.
(checkAw Even QueueAccess): New me hod. Skele on code for allowing
Even Queue acccess o apple s.
* ne x/ne /sourceforge/jnlp/securi y/AccessWarningPane.java:
Swi ch from Securi yWarningDialog.AccessType o
Securi yWarning.AccessType.
* ne x/ne /sourceforge/jnlp/securi y/Cer WarningPane.java:
Likewise.
* ne x/ne /sourceforge/jnlp/securi y/Securi yWarningDialog.java:
Move DialogType and AccessType o Securi yWarning.
(Securi yWarningDialog(DialogType,AccessType,JNLPFile,Cer Verifier,
X509Cer ifica e,Objec [])): New me hod. The ca ch-all cons ruc ion.
(Securi yWarningDialog(DialogType,AccessType,JNLPFile): Delega e o
he new cons ruc or.
(Securi yWarningDialog(DialogType,AccessType,JNLPFile,Cer Verifier)):
Likewise.
(Securi yWarningDialog(DialogType,AccessType,Cer Verifier)): Likewise.
(Securi yWarningDialog(DialogType,AccessType,JNLPFile,Objec [])):
Likewise.
(Securi yWarningDialog(DialogType,X509Cer ifica e)): Likewise.
(showAccessWarningDialog(AccessType,JNLPFile)): Move o Securi yWarning
class.
(showAccessWarningDialog(AccessType,JNLPFile,Objec [])): Likewise.
(showNo AllSignedWarningDialog(JNLPFile)): Likewise.
(showCer WarningDialog(AccessType,JNLPFile,Cer Verifier)): Likewise.
(showApple Warning): Likewise.
(ini Dialog): Make dialog non modal and remove window closing lis ener.
(ge Value): Make public.
(dispose): New me hod. No ify lis eners.
(no ifySelec ionMade): New me hod. No ify lis eners ha user has made
a decision.
(addAc ionLis ener): New me hod. Add a lis ener o be no ified when
user makes a decision abou his securi y warning.
* ne x/ne /sourceforge/jnlp/securi y/VariableX509Trus Manager.java:
Swi ch from Securi yWarningDialog.AccessType o
Securi yWarning.AccessType.
* ne x/ne /sourceforge/jnlp/services/ServiceU il.java: Likewise.
* ne x/ne /sourceforge/jnlp/services/XClipboardService.java: Likewise.
* ne x/ne /sourceforge/jnlp/services/XEx endedService.java: Likewise.
* ne x/ne /sourceforge/jnlp/services/XFileOpenService.java: Likewise.
* ne x/ne /sourceforge/jnlp/services/XFileSaveService.java: Likewise.
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogMessage.java:
New class.
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogMessageHandler.java:
New class.
(run): New me hod. Runs he securi y message loop.
(handleMessage): New me hod. Handles a Securi yDialogMessage o show a
securi y warning.
(pos Message): New me hod. Pos s a message o s he securi y message
queue.
* ne x/ne /sourceforge/jnlp/securi y/Securi yWarning.java: New class.
Move AccessType and DialogType from Securi yWarningDialog o here.
(showAccessWarningDialog): Moved from Securi yWarningDialog o here.
(showAccessWarningDialog): Moved from Securi yWarningDialog o here.
Modified o pos messages o he securi y queue ins ead of showing a
Securi yWarningDialog direc ly.
(showNo AllSignedWarningDialog): Likewise.
(showCer WarningDialog): Likewise.
(showApple Warning): Likewise.
(ge UserReponse): New me hod. Pos s a message o he securi y hread and
blocks un il i ge s a response from he user.
2010-10-20 Andrew John Hughes <ahughes@redha .com>
* ne x/javax/jnlp/ServiceManager.java:
(lookupTable): Add generic ypes.
* ne x/ne /sourceforge/jnlp/Apple Desc.java:
(parame ers): Likewise.
(Apple Desc(S ring,S ring,URL,in ,in ,Map)): Likewise.
(ge Parame ers()): Likewise.
* ne x/ne /sourceforge/jnlp/Applica ionDesc.java:
(ge Argumen s()): Remove redundan cas .
(addArgumen (S ring)): Add generic yping.
* ne x/ne /sourceforge/jnlp/Ex ensionDesc.java:
(ex ToPar ): Add generic ypes.
(eagerEx Par s): Likewise.
* ne x/ne /sourceforge/jnlp/Informa ionDesc.java:
(info): Likewise.
(ge Icons(Objec )): Add generic yping.
(ge Associa ions()): Likewise.
(ge Rela edCon en s()): Likewise.
(ge I em(Objec )): Likewise.
(ge I ems(Objec )): Likewise.
(addI em(S ring,Objec )): Likewise.
* ne x/ne /sourceforge/jnlp/JNLPFile.java:
(resources): Likewise.
(Informa ionDesc.ge I ems(Objec )): Likewise.
(ge Resources(Class)): Likewise.
* ne x/ne /sourceforge/jnlp/LaunchExcep ion.java:
(ge Causes()): Likewise.
* ne x/ne /sourceforge/jnlp/Launcher.java:
(launchApplica ion(JNLPFile)): Likewise.
* ne x/ne /sourceforge/jnlp/Ne xPanel.java:
(Ne xPanel(URL,Hash able)): Likewise.
(Ne xPanel(URL,Hash able,boolean)): Likewise.
* ne x/ne /sourceforge/jnlp/Node.java:
(ge ChildNodes()): Likewise.
* ne x/ne /sourceforge/jnlp/Parser.java:
(ge Resources(Node,boolean)): Likewise.
(ge Info(Node)): Likewise.
(ge Informa ionDesc(Node)): Likewise.
(ge Apple (Node)): Likewise.
(ge Applica ion(Node)): Likewise.
(spli S ring(S ring)): Likewise.
(ge Locales(Node)): Likewise.
(ge ChildNodes(Node,S ring)): Likewise.
* ne x/ne /sourceforge/jnlp/PluginBridge.java:
Fix variable naming and add generic ypes.
(cacheJars): Changed from cache_jars.
(cacheExJars): Changed from cache_ex-jars.
(a s): Add generic yping.
(PluginBridge(URL,URL,S ring,S ring,in ,in ,Hash able)): Likewise.
(ge Informa ion(Locale)): Likewise.
(ge Resources(Locale,S ring,S ring)): Likewise.
(ge JARs()): Avoid excessive copying; fil ering already performed
by ge Resources in JNLPFile.
* ne x/ne /sourceforge/jnlp/ResourcesDesc.java:
(resources): Add generic yping.
(ge JREs()): Likewise.
(ge JARs()): Likewise.
(ge JARs(S ring)): Likewise.
(ge Ex ensions()): Likewise.
(ge Packages()): Likewise.
(ge Packages(S ring)): Likewise.
(ge Proper ies()): Likewise.
(ge Proper iesMap()): Likewise.
(ge Resources(Class)): Make generic.
* ne x/ne /sourceforge/jnlp/Version.java:
(ma ches(Version)): Add generic ypes.
(ma chesAny(Version)): Likewise.
(ma chesSingle(S ring)): Likewise.
(ma ches(S ring,S ring)): Likewise.
(equal(Lis ,Lis )): Likewise.
(grea er(Lis ,Lis )): Likewise.
(compare(S ring,S ring)): Use In eger.valueOf.
(normalize(Lis ,in )): Add generic ypes, using
a Lis of lis s ra her han an array of lis s.
(ge VersionS rings()): Add generic ypes.
(ge Par s()): Likewise.
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java:
(wai ForResources(Applica ionIns ance,ResourceTracker,
URL,S ring)): Likewise.
* ne x/ne /sourceforge/jnlp/cache/Defaul DownloadIndica or.java:
(ge Lis ener(Applica onIns ance,S ring,URL)): Use se Visible ins ead
of show().
(disposeLis ener(DownloadServiceLis ener)): Use se Visible ins ead
of hide().
(DownloadPanel.urls): Add generic yping.
(DownloadPanel.panels): Likewise.
(DownloadPanel.upda e(URL,S ring,long,long,in )): Fix forma ing.
Add generic ypes.
* ne x/ne /sourceforge/jnlp/cache/Resource.java:
(resources): Add generic yping.
( rackers): Likewise.
(ge Resource(URL,Version,Upda ePolicy)): Use generic ypes.
(ge Tracker()): Likewise.
(addTracker(ResourceTracker)): Likewise.
(fireDownloadEven ()): Likewise.
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java:
(prefe chTrackers): Add generic yping.
(queue): Likewise.
(ac ive): Likewise.
(resources): Likewise.
(lis eners): Likewise.
(fireDownloadEven (Resource)): Remove unneeded cas .
(ge Prefe ch()): Use generic yping.
(selec ByFlag(Lis ,in ,in )): Likewise.
(ge Resource(URL)): Likewise.
* ne x/ne /sourceforge/jnlp/run ime/Apple Environmen .java:
(weakClips): Add generic ypes.
(des roy()): Use generic yping.
(ge Apple s()): Likewise.
(ge S reamKeys()): Likewise.
* ne x/ne /sourceforge/jnlp/run ime/Applica ionIns ance.java:
(weakWindows): Add generic ypes.
(ins allEnvironmen ()): Likewise.
(des roy()): Remove redundan cas .
* ne x/ne /sourceforge/jnlp/run ime/Boo .java:
Ex end PrivilegedAc ion<Void>.
(run()): Add generic yping.
(ge Op ions(S ring)): Likewise.
* ne x/ne /sourceforge/jnlp/run ime/Boo 13.java:
(main(S ring[]): Likewise.
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java:
Fix forma ing.
(urlToLoader): Add generic ypes.
(resourcePermissions): Likewise.
(available): Likewise.
(jarEn ries): Likewise.
(ge Ins ance(JNLPFile,Upda ePolicy)): Remove redundan cas .
(ge Ins ance(URL,S ring,Version,Upda ePolicy)): Likewise.
(ini ializeEx ensions()): Add generic ypes.
(ini ializePermissions()): Likewise.
(ini ializeResources()): Likewise.
(ge Permissions(CodeSource)): Likewise.
(fillInPar Jars(Lis )): Likewise.
(ac iva eJars(Lis )): Likewise.
(loadClass(S ring)): Likewise. Suppress warnings due o
sun.misc.JarIndex usage.
(findResources(S ring)): Mark as overriding. Add generic
ypes.
(ge Ex ensionName()): Add @Depreca ed anno a ion.
(ge Ex ensionHREF()): Likewise.
* ne x/ne /sourceforge/jnlp/run ime/JNLPSecuri yManager.java:
(weakWindows): Add generic yping.
(weakApplica ions): Likewise.
(ge Applica ion(Window)): Remove redundan cas s. Add w,
which is window cas o Window.
* ne x/ne /sourceforge/jnlp/services/ServiceU il.java:
(invoke(Objec ,Me hod,Objec [])): Use generic ypes.
* ne x/ne /sourceforge/jnlp/services/XPersis enceService.java:
(ge Names(URL)): Likewise.
* ne x/ne /sourceforge/jnlp/ ools/JarSigner.java:
(verifyJars(Lis ,ResourceTracker)): Remove redundan cas .
* ne x/ne /sourceforge/jnlp/u il/WeakLis .java:
Redesign as a generic ype.
(refs): Add generic ypes.
(deref(WeakReference)): Likewise.
(ge (in )): Likewise.
(se (in ,Objec )): Likewise.
(add(in ,E)): Likewise.
(remove()): Likewise.
(hardLis ()): Likewise.
* ne x/ne /sourceforge/nanoxml/XMLElemen .java:
(a ribu es): Add generic yping.
(children): Likewise.
(en i ies): Likewise.
(XMLElemen ()): Use generic ypes.
(XMLElemen (Hash able): Likewise.
(resolveEn i y(S ringBuffer)): Remove redundan cas .
2010-10-20 Omair Majid <omajid@redha .com>
* AUTHORS: Add Francis Kung, Andrew Su, Joshua Sumali, Mark Wielaard and
Man Lung Wong. Add link o forked Ne x projec .
2010-10-20 Ma hias Klose <doko@ubun u.com>
* AUTHORS: Add myself.
2010-10-20 Andrew Su <asu@redha .com>
* PluginBridge.java:
(PluginBridge): Added parsing for jnlp_href, and reading he jnlp file
for apple parame ers.
2010-10-20 Ma hias Klose <doko@ubun u.com>
* Makefile.am (s amps/ex ra-class-files.s amp): Fix -sourcepa h.
2010-10-20 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(ini ializeResources): Do no perform url encoding on he file url. S ay
consis en wi h he unencoded urls used in ge Permissions.
2010-10-20 Omair Majid <omajid@redha .com>
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java
(JNLPClassLoader): Call ins allShu downHooks.
(ins allShu downHooks): New me hod. Ins alls a shu down hook o
recursively dele e he con en s of na iveDir.
(ac iva eNa ive): Only crea e a na iveDir if here are na ive
libraries.
2010-10-19 Deepak Bhole <dbhole@redha .com>
* Makefile.am:
($(NETX_DIR)/launcher/javaws): Use $(NETX_DIR).
2010-10-19 Deepak Bhole <dbhole@redha .com>
* Makefile.am:
(NETX_DIR): New variable represen ing he Ne X build dir.
(NETX_LAUNCHER_OBJECTS): Prefix wi h $(NETX_DIR).
(LAUNCHER_LINK): Fixed escaping of ORIGIN o he rpa h argumen .
(all-local): Fix javaws launcher pa h.
(ins all-exec-local): Likewise, and use $(NETX_DIR) for Ne X classes.jar.
(clean-plugin): Remove launcher.
(liveconnec ): Use NETX_DIR in classpa h.
(ne x): Use NETX_DIR hroughou .
(ne x-dis ): Likewise.
(clean-ne x): Likewise.
($(NETX_DIR)/launcher/%.o)): Likewise.
* launcher/jni_md.h: Impor ed from OpenJDK.
2010-10-20 Ma hias Klose <doko@ubun u.com>
* Makefile.am: Fix build wi h builddir != srcdir.
2010-10-19 Andrew John Hughes <ahughes@redha .com>
* Makefile.am:
(PLUGIN_LAUNCHER_OBJECTS): Do prefixing once.
(NETX_LAUNCHER_OBJECTS): Likewise for Ne X.
(pluginapple viewer): Use PLUGIN_LAUNCHER_OBJECTS.
(javaws): Use NETX_LAUNCHER_OBJECTS.
* configure.ac: Re-enable foreign (I wan o use
GNU make!)
* README: Use gmake no make.
2010-10-19 Andrew John Hughes <ahughes@redha .com>
* .hgignore,
* Makefile.am,
* acinclude.m4,
* au ogen.sh,
* configure.ac,
* ex ra/ne /sourceforge/jnlp/abou /HTMLPanel.java,
* ex ra/ne /sourceforge/jnlp/abou /Main.java,
* ex ra/ne /sourceforge/jnlp/abou /resources/abou .h ml,
* ex ra/ne /sourceforge/jnlp/abou /resources/applica ions.h ml,
* ex ra/ne /sourceforge/jnlp/abou /resources/no es.h ml,
* javac.in,
* javaws.desk op: Impor ed from IcedTea6.
* launcher/java.c,
* launcher/java.h,
* launcher/java_md.c,
* launcher/java_md.h,
* launcher/jli_u il.h,
* launcher/jni.h,
* launcher/jvm.h,
* launcher/jvm_md.h,
* launcher/manifes _info.h,
* launcher/splashscreen.h,
* launcher/splashscreen_s ubs.c,
* launcher/version_comp.h,
* launcher/wildcard.h: Impor ed from OpenJDK.
* ne x/javaws.1,
* ne x/javax/jnlp/BasicService.java,
* ne x/javax/jnlp/ClipboardService.java,
* ne x/javax/jnlp/DownloadService.java,
* ne x/javax/jnlp/DownloadServiceLis ener.java,
* ne x/javax/jnlp/Ex endedService.java,
* ne x/javax/jnlp/Ex ensionIns allerService.java,
* ne x/javax/jnlp/FileCon en s.java,
* ne x/javax/jnlp/FileOpenService.java,
* ne x/javax/jnlp/FileSaveService.java,
* ne x/javax/jnlp/JNLPRandomAccessFile.java,
* ne x/javax/jnlp/Persis enceService.java,
* ne x/javax/jnlp/Prin Service.java,
* ne x/javax/jnlp/ServiceManager.java,
* ne x/javax/jnlp/ServiceManagerS ub.java,
* ne x/javax/jnlp/SingleIns anceLis ener.java,
* ne x/javax/jnlp/SingleIns anceService.java,
* ne x/javax/jnlp/UnavailableServiceExcep ion.java,
* ne x/ne /sourceforge/jnlp/Apple Desc.java,
* ne x/ne /sourceforge/jnlp/Applica ionDesc.java,
* ne x/ne /sourceforge/jnlp/Associa ionDesc.java,
* ne x/ne /sourceforge/jnlp/Componen Desc.java,
* ne x/ne /sourceforge/jnlp/Defaul LaunchHandler.java,
* ne x/ne /sourceforge/jnlp/Ex ensionDesc.java,
* ne x/ne /sourceforge/jnlp/IconDesc.java,
* ne x/ne /sourceforge/jnlp/Informa ionDesc.java,
* ne x/ne /sourceforge/jnlp/Ins allerDesc.java,
* ne x/ne /sourceforge/jnlp/JARDesc.java,
* ne x/ne /sourceforge/jnlp/JNLPFile.java,
* ne x/ne /sourceforge/jnlp/JNLPSplashScreen.java,
* ne x/ne /sourceforge/jnlp/JREDesc.java,
* ne x/ne /sourceforge/jnlp/LaunchExcep ion.java,
* ne x/ne /sourceforge/jnlp/LaunchHandler.java,
* ne x/ne /sourceforge/jnlp/Launcher.java,
* ne x/ne /sourceforge/jnlp/MenuDesc.java,
* ne x/ne /sourceforge/jnlp/Ne xPanel.java,
* ne x/ne /sourceforge/jnlp/Node.java,
* ne x/ne /sourceforge/jnlp/PackageDesc.java,
* ne x/ne /sourceforge/jnlp/ParseExcep ion.java,
* ne x/ne /sourceforge/jnlp/Parser.java,
* ne x/ne /sourceforge/jnlp/PluginBridge.java,
* ne x/ne /sourceforge/jnlp/Proper yDesc.java,
* ne x/ne /sourceforge/jnlp/Rela edCon en Desc.java,
* ne x/ne /sourceforge/jnlp/ResourcesDesc.java,
* ne x/ne /sourceforge/jnlp/Securi yDesc.java,
* ne x/ne /sourceforge/jnlp/Shor cu Desc.java,
* ne x/ne /sourceforge/jnlp/S reamEa er.java,
* ne x/ne /sourceforge/jnlp/Upda eDesc.java,
* ne x/ne /sourceforge/jnlp/Version.java,
* ne x/ne /sourceforge/jnlp/cache/CacheEn ry.java,
* ne x/ne /sourceforge/jnlp/cache/CacheU il.java,
* ne x/ne /sourceforge/jnlp/cache/Defaul DownloadIndica or.java,
* ne x/ne /sourceforge/jnlp/cache/DownloadIndica or.java,
* ne x/ne /sourceforge/jnlp/cache/Resource.java,
* ne x/ne /sourceforge/jnlp/cache/ResourceTracker.java,
* ne x/ne /sourceforge/jnlp/cache/Upda ePolicy.java,
* ne x/ne /sourceforge/jnlp/cache/package.h ml,
* ne x/ne /sourceforge/jnlp/even /Applica ionEven .java,
* ne x/ne /sourceforge/jnlp/even /Applica ionLis ener.java,
* ne x/ne /sourceforge/jnlp/even /DownloadEven .java,
* ne x/ne /sourceforge/jnlp/even /DownloadLis ener.java,
* ne x/ne /sourceforge/jnlp/even /package.h ml,
* ne x/ne /sourceforge/jnlp/package.h ml,
* ne x/ne /sourceforge/jnlp/resources/Manifes .mf,
* ne x/ne /sourceforge/jnlp/resources/Messages.proper ies,
* ne x/ne /sourceforge/jnlp/resources/abou .jnlp,
* ne x/ne /sourceforge/jnlp/resources/defaul .jnlp,
* ne x/ne /sourceforge/jnlp/run ime/AppThreadGroup.java,
* ne x/ne /sourceforge/jnlp/run ime/Apple AudioClip.java,
* ne x/ne /sourceforge/jnlp/run ime/Apple Environmen .java,
* ne x/ne /sourceforge/jnlp/run ime/Apple Ins ance.java,
* ne x/ne /sourceforge/jnlp/run ime/Applica ionIns ance.java,
* ne x/ne /sourceforge/jnlp/run ime/Boo .java,
* ne x/ne /sourceforge/jnlp/run ime/Boo 13.java,
* ne x/ne /sourceforge/jnlp/run ime/JNLPClassLoader.java,
* ne x/ne /sourceforge/jnlp/run ime/JNLPPolicy.java,
* ne x/ne /sourceforge/jnlp/run ime/JNLPRun ime.java,
* ne x/ne /sourceforge/jnlp/run ime/JNLPSecuri yManager.java,
* ne x/ne /sourceforge/jnlp/run ime/package.h ml,
* ne x/ne /sourceforge/jnlp/securi y/AccessWarningPane.java,
* ne x/ne /sourceforge/jnlp/securi y/Apple WarningPane.java,
* ne x/ne /sourceforge/jnlp/securi y/Cer Verifier.java,
* ne x/ne /sourceforge/jnlp/securi y/Cer WarningPane.java,
* ne x/ne /sourceforge/jnlp/securi y/Cer sInfoPane.java,
* ne x/ne /sourceforge/jnlp/securi y/H psCer Verifier.java,
* ne x/ne /sourceforge/jnlp/securi y/MoreInfoPane.java,
* ne x/ne /sourceforge/jnlp/securi y/No AllSignedWarningPane.java,
* ne x/ne /sourceforge/jnlp/securi y/Securi yDialogPanel.java,
* ne x/ne /sourceforge/jnlp/securi y/Securi yU il.java,
* ne x/ne /sourceforge/jnlp/securi y/Securi yWarningDialog.java,
* ne x/ne /sourceforge/jnlp/securi y/SingleCer InfoPane.java,
* ne x/ne /sourceforge/jnlp/securi y/VariableX509Trus Manager.java,
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica ePane.java,
* ne x/ne /sourceforge/jnlp/securi y/viewer/Cer ifica eViewer.java,
* ne x/ne /sourceforge/jnlp/services/Ex endedSingleIns anceService.java,
* ne x/ne /sourceforge/jnlp/services/Ins anceExis sExcep ion.java,
* ne x/ne /sourceforge/jnlp/services/ServiceU il.java,
* ne x/ne /sourceforge/jnlp/services/SingleIns anceLock.java,
* ne x/ne /sourceforge/jnlp/services/XBasicService.java,
* ne x/ne /sourceforge/jnlp/services/XClipboardService.java,
* ne x/ne /sourceforge/jnlp/services/XDownloadService.java,
* ne x/ne /sourceforge/jnlp/services/XEx endedService.java,
* ne x/ne /sourceforge/jnlp/services/XEx ensionIns allerService.java,
* ne x/ne /sourceforge/jnlp/services/XFileCon en s.java,
* ne x/ne /sourceforge/jnlp/services/XFileOpenService.java,
* ne x/ne /sourceforge/jnlp/services/XFileSaveService.java,
* ne x/ne /sourceforge/jnlp/services/XJNLPRandomAccessFile.java,
* ne x/ne /sourceforge/jnlp/services/XPersis enceService.java,
* ne x/ne /sourceforge/jnlp/services/XPrin Service.java,
* ne x/ne /sourceforge/jnlp/services/XServiceManagerS ub.java,
* ne x/ne /sourceforge/jnlp/services/XSingleIns anceService.java,
* ne x/ne /sourceforge/jnlp/services/package.h ml,
* ne x/ne /sourceforge/jnlp/ ools/Charac erEncoder.java,
* ne x/ne /sourceforge/jnlp/ ools/HexDumpEncoder.java,
* ne x/ne /sourceforge/jnlp/ ools/JarRunner.java,
* ne x/ne /sourceforge/jnlp/ ools/JarSigner.java,
* ne x/ne /sourceforge/jnlp/ ools/JarSignerResources.java,
* ne x/ne /sourceforge/jnlp/ ools/KeyS oreU il.java,
* ne x/ne /sourceforge/jnlp/ ools/KeyTool.java,
* ne x/ne /sourceforge/jnlp/u il/FileU ils.java,
* ne x/ne /sourceforge/jnlp/u il/Proper iesFile.java,
* ne x/ne /sourceforge/jnlp/u il/Reflec .java,
* ne x/ne /sourceforge/jnlp/u il/WeakLis .java,
* ne x/ne /sourceforge/jnlp/u il/XDesk opEn ry.java,
* ne x/ne /sourceforge/nanoxml/XMLElemen .java,
* ne x/ne /sourceforge/nanoxml/XMLParseExcep ion.java,
* plugin/iced eanp/IcedTeaJavaReques Processor.cc,
* plugin/iced eanp/IcedTeaJavaReques Processor.h,
* plugin/iced eanp/IcedTeaNPPlugin.cc,
* plugin/iced eanp/IcedTeaNPPlugin.h,
* plugin/iced eanp/IcedTeaPluginReques Processor.cc,
* plugin/iced eanp/IcedTeaPluginReques Processor.h,
* plugin/iced eanp/IcedTeaPluginU ils.cc,
* plugin/iced eanp/IcedTeaPluginU ils.h,
* plugin/iced eanp/IcedTeaRunnable.cc,
* plugin/iced eanp/IcedTeaRunnable.h,
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .cc,
* plugin/iced eanp/IcedTeaScrip ablePluginObjec .h,
* plugin/iced eanp/java/ne scape/javascrip /JSExcep ion.java,
* plugin/iced eanp/java/ne scape/javascrip /JSObjec .java,
* plugin/iced eanp/java/ne scape/javascrip /JSObjec Crea ePermission.java,
* plugin/iced eanp/java/ne scape/javascrip /JSProxy.java,
* plugin/iced eanp/java/ne scape/javascrip /JSRunnable.java,
* plugin/iced eanp/java/ne scape/javascrip /JSU il.java,
* plugin/iced eanp/java/ne scape/securi y/ForbiddenTarge Excep ion.java,
* plugin/iced eanp/java/sun/apple /Apple Securi yCon ex Manager.java,
* plugin/iced eanp/java/sun/apple /Ge MemberPluginCallReques .java,
* plugin/iced eanp/java/sun/apple /Ge WindowPluginCallReques .java,
* plugin/iced eanp/java/sun/apple /JavaConsole.java,
* plugin/iced eanp/java/sun/apple /Me hodOverloadResolver.java,
* plugin/iced eanp/java/sun/apple /PasswordAu hen ica ionDialog.java,
* plugin/iced eanp/java/sun/apple /PluginApple Securi yCon ex .java,
* plugin/iced eanp/java/sun/apple /PluginApple Viewer.java,
* plugin/iced eanp/java/sun/apple /PluginCallReques .java,
* plugin/iced eanp/java/sun/apple /PluginCallReques Fac ory.java,
* plugin/iced eanp/java/sun/apple /PluginClassLoader.java,
* plugin/iced eanp/java/sun/apple /PluginCookieInfoReques .java,
* plugin/iced eanp/java/sun/apple /PluginCookieManager.java,
* plugin/iced eanp/java/sun/apple /PluginDebug.java,
* plugin/iced eanp/java/sun/apple /PluginExcep ion.java,
* plugin/iced eanp/java/sun/apple /PluginMain.java,
* plugin/iced eanp/java/sun/apple /PluginMessageConsumer.java,
* plugin/iced eanp/java/sun/apple /PluginMessageHandlerWorker.java,
* plugin/iced eanp/java/sun/apple /PluginObjec S ore.java,
* plugin/iced eanp/java/sun/apple /PluginProxyInfoReques .java,
* plugin/iced eanp/java/sun/apple /PluginProxySelec or.java,
* plugin/iced eanp/java/sun/apple /PluginS reamHandler.java,
* plugin/iced eanp/java/sun/apple /Reques Queue.java,
* plugin/iced eanp/java/sun/apple /Tes Env.java,
* plugin/iced eanp/java/sun/apple /VoidPluginCallReques .java,
* plugin/ es s/LiveConnec /DummyObjec .java,
* plugin/ es s/LiveConnec /OverloadTes Helper1.java,
* plugin/ es s/LiveConnec /OverloadTes Helper2.java,
* plugin/ es s/LiveConnec /OverloadTes Helper3.java,
* plugin/ es s/LiveConnec /PluginTes .java,
* plugin/ es s/LiveConnec /build,
* plugin/ es s/LiveConnec /common.js,
* plugin/ es s/LiveConnec /index.h ml,
* plugin/ es s/LiveConnec /jjs_eval_ es .js,
* plugin/ es s/LiveConnec /jjs_func_parame ers_ es s.js,
* plugin/ es s/LiveConnec /jjs_func_re ype_ es s.js,
* plugin/ es s/LiveConnec /jjs_ge _ es s.js,
* plugin/ es s/LiveConnec /jjs_se _ es s.js,
* plugin/ es s/LiveConnec /jsj_func_overload_ es s.js,
* plugin/ es s/LiveConnec /jsj_func_parame ers_ es s.js,
* plugin/ es s/LiveConnec /jsj_func_re ype_ es s.js,
* plugin/ es s/LiveConnec /jsj_ge _ es s.js,
* plugin/ es s/LiveConnec /jsj_se _ es s.js,
* plugin/ es s/LiveConnec /jsj_ ype_cas ing_ es s.js,
* plugin/ es s/LiveConnec /jsj_ ype_conversion_ es s.js:
Ini ial impor from IcedTea6.
* AUTHORS,
* COPYING
* INSTALL,
* NEWS,
* README: New documen a ion.