| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
2009-02-05 Andrew Haley <aph@redhat.com>
PR libgcj/38861
* native/plugin/gcjwebplugin.cc: Cope with the changed header file
format. https://bugzilla.mozilla.org/show_bug.cgi?id=455458
(GCJ_GetJavaClass): Likewise.
(NP_Initialize): Likewise.
|
|
|
|
|
| |
* native/plugin/Makefile.am (libgcjwebplugin_la_LDFLAGS):
Added AM_LDFLAGS for automake 1.10.
|
|
|
|
|
|
| |
* native/plugin/gcjwebplugin.cc (GCJ_New): Move GThread
initialization to NP_Initialize.
(NP_Initialize): Initialize GThread library.
|
|
|
|
|
|
| |
PR classpath/28537
* native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
Transform gappletviewer name using program_transform_name.
|
|
|
|
|
|
| |
* native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
from lib_LTLIBRARIES.
(install-plugin): Depend on nativeexeclib_LTLIBRARIES.
|
|
|
|
|
| |
* native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
APPLETVIEWER_EXECUTABLE to gappletviewer.
|
|
|
|
|
|
|
| |
* native/plugin/gcjwebplugin.cc
(NP_Initialize): Removed code to create whitelist file.
(GCJ_New): Added code to create whitelist file.
(plugin_user_trusts_documentbase): Fixed error message.
|
|
|
|
|
| |
* native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
(NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
|
|
|
|
|
| |
* native/plugin/gcjwebplugin.cc:
(NP_Shutdown): Freed whitelist_filename.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* native/plugin/Makefile.am:
Removed DATA_DIRECTORY.
* native/plugin/gcjwebplugin.cc:
Added new global fields for whitelist_file
and data_directory. Removed WHITELIST_FILE.
(NP_Initialize): Initialized new fields. Also,
Changed to use new fields.
(NP_Shutdown): Freed data_directory.
(GCJ_New): Changed to use new fields.
(plugin_ask_user_about_documentbase): Likewise.
|
|
|
|
|
|
|
|
| |
* native/plugin/Makefile.am:
Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
* native/plugin/gcjwebplugin.cc:
Changed all instances of PLUGIN_DATA_DIRECTORY
to DATA_DIRECTORY.
|
|
|
|
|
| |
* native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
message.
|
|
|
|
|
|
|
|
| |
Lillian Angel <langel@redhat.com>
* native/plugin/gcjwebplugin.cc
(NP_Shutdown): Added code to free plugin mutex and whitelist file.
Also, reset initialized field.
|
| |
|
|
|
|
|
|
| |
* native/plugin/gcjwebplugin.cc:
Fixed failure message and commenting.
(NP_Initialize): Added more comments.
|
|
|
|
|
|
|
|
|
|
|
| |
* native/plugin/gcjwebplugin.cc:
Added new field to keep track of initialization.
(plugin_start_appletviewer): Fixed to return an error value, if
an error was encountered when loading the appletviewer.
(GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
has failed.
(plugin_failed): New helper function. Shows a warning if the appletviewer
has not been installed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* native/plugin/Makefile.am:
Fixed to use a set plugin directory in the .mozilla directory.
All applet logs are now stored here, instead of /tmp.
* native/plugin/gcjwebplugin.cc:
Added new fields for security warning.
(GCJ_NEW): Added code to generate a security warning for all pages
that spawn an appletviewer. This warning asks the user if they trust
the applet and if they would like to add it to a 'whitelist'. This
whitelist keeps track of all the addresses the user would like
to trust indefinitely.
(plugin_user_trusts_documentbase): New helper function.
(plugin_add_documentbase_to_whitelist): New helper function.
(plugin_ask_user_about_documentbase): New helper function.
(plugin_in_pipe_callback): Fixed check to determine if channel_error
has been set.
(plugin_start_appletviewer): Likewise.
(plugin_create_applet_tag): Reset all fields to null after they have been
freed.
(plugin_send_message_to_appletviewer): Fixed all error checks to determine
if channel_error has been set.
(plugin_stop_appletviewer): Likewise.
(NP_Initialize): Likewise. Also, added code to determine if directory and file
should be created.
|
| |
|
|
* configure.ac: Add --disable-plugin and --with-vm options. Check
for plugin support headers and libraries.
* native/Makefile.am: Recurse into plugin directory.
* native/plugin/.cvsignore: New file.
* native/plugin/Makefile.am: New file.
* native/plugin/gcjwebplugin.cc: New file.
* tools/Makefile.am: Install appletviewer wrapper script.
* tools/appletviewer.in: Replace VM location heuristic with
VM_BINARY configure substitution.
|