From b734ac62fbdbdaa855983ebea07f7b92d0a02c33 Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Fri, 29 Nov 2013 11:44:11 +0100 Subject: Enabled file logging in plugin, user enabled to choose logs dir --- ChangeLog | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index d29b310..269414f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,33 @@ +2013-11-29 Jiri Vanek + + Enabled file logging in plugin, user enabled to choose logs dir. + * netx/net/sourceforge/jnlp/controlpanel/DebuggingPanel.java: added + text-field to show/edit logs' destination. Added reset to default button. + * netx/net/sourceforge/jnlp/resources/Messages.propertie: added proper + keys for new controls (CPFilesLogsDestDir) and (CPFilesLogsDestDirResert). + (DPEnableLogging) changed to "Enable debugging", as it is better. + * netx/net/sourceforge/jnlp/util/logging/FileLog.java: Filename of logs + changed to be human readable and to distinguish between c/java + * plugin/icedteanp/IcedTeaNPPlugin.cc: made aware of console (plugin_debug_to_console) + added stream to log into file (plugin_file_log) and holder of name (plugin_file_log_name) + Added various new lines to end of erorr/debug messages. Stream flushed, + not closed on plugin shutdown. + * plugin/icedteanp/IcedTeaNPPlugin.h: extern above three fields. + * plugin/icedteanp/IcedTeaParseProperties.cc: added functionality to provide + set or default log dir (get_log_dir), added (is_java_console_enabled) + to determine logging to console + * plugin/icedteanp/IcedTeaParseProperties.h: used glib.h, declared above functions + * plugin/icedteanp/IcedTeaPluginUtils.cc: added (initFileLog) function to open + correctly named, in proper palce and with correct permissions file for logging + (generateLogFileName) generate human readable file name, as java do. + (printDebugStatus) to debug status of logging + * plugin/icedteanp/IcedTeaPluginUtils.h: headers generated once, and reused + declared above functions. + * plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java: + commented out useless "woken" debug message + * tests/cpp-unit-tests/IcedTeaPluginUtilsTest.cc: made plugin_debug_to_console + aware. + 2013-11-27 Andrew Azores Made JNLPClassLoaderDeadlock reproducer more reliable -- cgit v1.2.3