[RFC][icedtea-web]: Adding control panel to icedtea-web

Omair Majid omajid at redhat.com
Fri Nov 26 13:58:02 PST 2010


On 11/26/2010 04:56 PM, Deepak Bhole wrote:
> * Omair Majid<omajid at redhat.com>  [2010-11-26 16:51]:
>> On 11/26/2010 04:11 PM, Andrew Su wrote:
>>> Hello,
>>>
>>> I have attached a patch to add a control panel for icedtea-web. This can be used to modify deployments.properties.
>>>
>>> Current features:
>>>   - Enable/Disable caching.
>>>   - Set cache location.
>>>   - Set max space cache may use. (in MB)
>>>   - Set compression level of jar files.
>>>   - Import/View/Export/Remove certificates.
>>>   - Turn tracing on/off.
>>>   - Turn debugging on/off.
>>>   - Set behaviour of Java Console.
>>>   - Set whether to create desktop shortcut for javaws or not.
>>>   - Set proxy settings.
>>>   - Set how security warning behaviours.
>>>
>>> ChangeLog:
>>>
>>> 	* Makefile.am:
>>> 	(CONTROLPANEL_DIR): Build directory for control panel.
>>> 	(CONTROLPANEL_SRCDIR): Source directory for control panel.
>>> 	(CONTROLPANEL_LAUNCHER_OBJECTS): Objects used to compile binary
>>> 	control panel.
>>> 	(all-local): Add stamps/controlpanel-dist.stamp
>>> 	stamps/controlpanel.stamp $(CONTROLPANEL_DIR)/launcher/controlpanel.
>>> 	(clean-local): Add clean-controlpanel.
>>> 	(install-exec-local): Install the control panel jar file and control
>>> 	panel binary.
>>> 	(uninstall-local): Delete controlpanel.jar and controlpanel binary
>>> 	from installed location.
>>> 	(controlpanel-source-files.txt): Get the list of source files for
>>> 	control panel.
>>> 	(stamps/controlpanel.stamp): Compile the java files for control panel.
>>> 	(stamps/controlpanel-dist.stamp): Depend on stamps/controlpanel.stamp.
>>> 	Create the jar file for control panel.
>>> 	($(CONTROLPANEL_DIR)/launcher/%.o): Create the launcher objects.
>>> 	($(CONTROLPANEL_DIR)/launcher/controlpanel): Link the objects to make
>>> 	the launcher.
>>> 	(clean-controlpanel): Remove the compiled control panel.
>>> 	(controlpanel): Calls stamps/controlpanel.stamp.
>>> 	(controlpanel-dist): Calls stamps/controlpanel-dist.stamp.
>>> 	* controlpanel/org/classpath/controlpanel/AboutPanel.java,
>>> 	* controlpanel/org/classpath/controlpanel/ComboItem.java,
>>> 	* controlpanel/org/classpath/controlpanel/ControlPanel.java,
>>> 	* controlpanel/org/classpath/controlpanel/DebuggingPanel.java,
>>> 	* controlpanel/org/classpath/controlpanel/DesktopShortcutPanel.java,
>>> 	* controlpanel/org/classpath/controlpanel/JREPanel.java,
>>> 	* controlpanel/org/classpath/controlpanel/NamedBorderPanel.java,
>>> 	* controlpanel/org/classpath/controlpanel/SecuritySettingsPanel.java,
>>> 	* controlpanel/org/classpath/controlpanel/TemporaryInternetFilesPanel.java,
>>> 	* controlpanel/org/classpath/controlpanel/network/AdvancedProxySettingsDialog.java,
>>> 	* controlpanel/org/classpath/controlpanel/network/AdvancedProxySettingsPane.java,
>>> 	* controlpanel/org/classpath/controlpanel/network/NetworkSettingsPanel.java,
>>> 	* controlpanel/org/classpath/controlpanel/security/viewer/CertificatePane.java,
>>> 	* controlpanel/org/classpath/controlpanel/security/viewer/CertificateViewer.java,
>>> 	* controlpanel/org/classpath/controlpanel/translator/Translator.java:
>>> 	New classes. All methods are new as well.
>>> 	* netx/net/sourceforge/jnlp/resources/Messages.properties: Added
>>> 	messages for control panel.
>>>
>>> Comments? Question? Concerns?
>>>
>>
>> A few quick thoughts are listed below. Please dont let any of that
>> discourage you. These are all thing that should be improved. But
>> what you have so far is great work. It's just not perfect yet ;) We
>> really needed something like this in netx/plugin though. Thanks for
>> doing this!
>>
>> 1. Some of these settings dont do anything yet, right? I am looking
>> at the cache stuff here. Perhaps you might want to leave it out for
>> now, or clearly indicate that it does not do anything.
>>
>> 2. Why does the binary have the name controlpanel? I dont really
>> care about the name itself, but if you are going to make it so close
>> to the one used by proprietary JDK, why not just call it
>> ControlPanel?
>>
>
> Good point. Are there any other name suggestions? I will start off with
> my terrible suggestion :) .. "icedtea-settings"
>

Certainly you meant icedtea-web-settings ;)

Cheers,
Omair




More information about the distro-pkg-dev mailing list