aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-01-29 06:25:02 +0800
committerChristian Persch <chpe@src.gnome.org>2005-01-29 06:25:02 +0800
commit8ed0c8f6318e7800ad3968f6e3cd19a53dcd5c8c (patch)
tree2669f7f999cfef2ab9e0b734fb088cd5566c04ab /embed
parentc26b22ca2c21d169b135115abc9e26d0176640d0 (diff)
downloadgsoc2013-epiphany-8ed0c8f6318e7800ad3968f6e3cd19a53dcd5c8c.tar
gsoc2013-epiphany-8ed0c8f6318e7800ad3968f6e3cd19a53dcd5c8c.tar.gz
gsoc2013-epiphany-8ed0c8f6318e7800ad3968f6e3cd19a53dcd5c8c.tar.bz2
gsoc2013-epiphany-8ed0c8f6318e7800ad3968f6e3cd19a53dcd5c8c.tar.lz
gsoc2013-epiphany-8ed0c8f6318e7800ad3968f6e3cd19a53dcd5c8c.tar.xz
gsoc2013-epiphany-8ed0c8f6318e7800ad3968f6e3cd19a53dcd5c8c.tar.zst
gsoc2013-epiphany-8ed0c8f6318e7800ad3968f6e3cd19a53dcd5c8c.zip
Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargs
2005-01-28 Christian Persch <chpe@cvs.gnome.org> * doc/reference/tmpl/ephy-embed.sgml: * embed/ephy-embed-persist.c: (ephy_embed_persist_init), (ephy_embed_persist_finalize): * embed/ephy-embed-shell.c: (ephy_embed_shell_finalize): * embed/ephy-encodings.c: (ephy_encodings_finalize), (ephy_encodings_init): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize), (favicon_download_completed_cb), (favicon_download_cancelled_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/ephy-history.c: (ephy_history_set_enabled), (ephy_history_save), (ephy_history_finalize), (ephy_history_host_visited), (ephy_history_set_page_title), (ephy_history_set_icon), (ephy_history_clear): * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphySidebar.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * lib/ephy-dbus.c: (session_filter_func), (system_filter_func), (ephy_dbus_connect_to_system_bus), (ephy_dbus_connect_to_session_bus), (path_message_func), (ephy_dbus_startup), (ephy_dbus_shutdown), (ephy_dbus_init), (ephy_dbus_finalize): * lib/ephy-debug.h: * lib/ephy-file-chooser.c: (ephy_file_chooser_finalize): * lib/ephy-file-helpers.c: (ephy_file_helpers_shutdown): * lib/ephy-langs.c: (load_iso_entries): * lib/ephy-module.c: (ephy_module_load), (ephy_module_unload), (ephy_module_new_object), (ephy_module_init), (ephy_module_finalize): * lib/ephy-node-db.c: (ephy_node_db_load_from_file), (ephy_node_db_write_to_xml_valist): * lib/ephy-shlib-loader.c: (ephy_shlib_loader_init), (ephy_shlib_loader_finalize): * lib/widgets/ephy-location-entry.c: (entry_style_set_cb), (entry_realize_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_init): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_load), (ephy_spinner_cache_get_images), (ephy_spinner_cache_init), (ephy_spinner_cache_finalize): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_update_node): * lib/widgets/ephy-tree-model-sort.c: (each_property_get_data_binder): * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (connect_proxy), (ephy_bookmark_action_finalize): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_set_bookmark), (set_window_icon): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu), (provide_favicon): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf), (ephy_bookmarks_export_mozilla): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_rebuild), (do_update_cb), (bookmarks_tree_changed_cb), (topics_added_cb), (topics_removed_cb), (topic_child_changed_cb), (bookmark_added_cb), (bookmark_removed_cb), (activate_cb), (ephy_bookmarks_menu_finalize): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_toolbars_model), (ephy_bookmarks_save), (ephy_bookmarks_finalize), (ephy_bookmarks_find_keyword), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword): * src/bookmarks/ephy-bookmarksbar-model.c: (save_changes_idle), (load_toolbars), (ephy_bookmarksbar_model_init), (ephy_bookmarksbar_model_dispose), (ephy_bookmarksbar_model_finalize): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_action_request), (ephy_bookmarksbar_finalize): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_set_title): * src/bookmarks/ephy-topic-action.c: (connect_proxy): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_set_bookmark): * src/ephy-encoding-menu.c: (add_action): * src/ephy-extensions-manager.c: (ephy_extensions_manager_load), (ephy_extensions_manager_unload), (ephy_extensions_manager_load_string), (get_loader_for_type), (load_extension), (unload_extension), (sync_loaded_extensions), (ephy_extensions_manager_load_dir), (ephy_extensions_manager_init), (ephy_extensions_manager_startup), (ephy_extensions_manager_finalize), (impl_attach_window), (impl_detach_window), (impl_attach_tab), (impl_detach_tab): * src/ephy-history-window.c: (setup_filters), (provide_favicon): * src/ephy-link.c: (ephy_link_open): * src/ephy-location-action.c: (user_changed_cb), (sync_address), (ephy_location_action_set_address): * src/ephy-navigation-action.c: (menu_activated_cb), (connect_proxy): * src/ephy-notebook.c: (ephy_notebook_finalize): * src/ephy-session.c: (window_focus_in_event_cb), (impl_attach_window), (impl_detach_window), (ephy_session_init), (ephy_session_dispose), (ephy_session_finalize), (ephy_session_autoresume), (ephy_session_close), (ephy_session_save), (ephy_session_load), (ephy_session_add_window), (ephy_session_remove_window): * src/ephy-shell.c: (save_yourself_cb), (die_cb), (ephy_shell_finalize), (ephy_shell_new_tab), (ephy_shell_get_toolbars_model), (toolwindow_show_cb), (toolwindow_hide_cb): * src/ephy-tab.c: (popups_manager_add), (popups_manager_add_window), (ephy_tab_get_popups_allowed), (popups_manager_show_all), (popups_manager_hide_all), (ephy_tab_finalize), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (ephy_tab_new_window_cb), (ephy_tab_visibility_cb), (ephy_tab_destroy_brsr_cb), (ephy_tab_size_to_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_update): * src/ephy-toolbar.c: (sync_user_input_cb): * src/ephy-toolbars-model.c: (save_changes_idle), (ephy_toolbars_model_load): * src/ephy-window.c: (ephy_window_destroy), (show_embed_popup), (ephy_window_init), (ephy_window_finalize): * src/pdm-dialog.c: (pdm_dialog_cookies_construct), (cookie_added_cb), (cookie_changed_cb), (cookie_deleted_cb), (cookies_cleared_cb), (pdm_dialog_passwords_construct), (passwords_changed_cb): * src/prefs-dialog.c: (fonts_language_changed_cb): Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargs case.
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed-persist.c4
-rw-r--r--embed/ephy-embed-shell.c10
-rw-r--r--embed/ephy-encodings.c4
-rw-r--r--embed/ephy-favicon-cache.c10
-rw-r--r--embed/ephy-history.c12
-rw-r--r--embed/mozilla/ContentHandler.cpp6
-rw-r--r--embed/mozilla/EphyBrowser.cpp12
-rw-r--r--embed/mozilla/EphyContentPolicy.cpp6
-rw-r--r--embed/mozilla/EphyHeaderSniffer.cpp6
-rw-r--r--embed/mozilla/EphyHistoryListener.cpp4
-rw-r--r--embed/mozilla/EphySingle.cpp22
-rw-r--r--embed/mozilla/FilePicker.cpp36
-rw-r--r--embed/mozilla/GtkNSSClientAuthDialogs.cpp4
-rw-r--r--embed/mozilla/GtkNSSKeyPairDialogs.cpp4
-rw-r--r--embed/mozilla/MozDownload.cpp4
-rw-r--r--embed/mozilla/PrintingPromptService.cpp4
-rw-r--r--embed/mozilla/mozilla-download.cpp4
-rw-r--r--embed/mozilla/mozilla-embed-event.cpp4
18 files changed, 78 insertions, 78 deletions
diff --git a/embed/ephy-embed-persist.c b/embed/ephy-embed-persist.c
index 45bcc209f..5b02a10cc 100644
--- a/embed/ephy-embed-persist.c
+++ b/embed/ephy-embed-persist.c
@@ -438,7 +438,7 @@ ephy_embed_persist_init (EphyEmbedPersist *persist)
{
persist->priv = EPHY_EMBED_PERSIST_GET_PRIVATE (persist);
- LOG ("EphyEmbedPersist initialising %p", persist)
+ LOG ("EphyEmbedPersist initialising %p", persist);
persist->priv->max_size = -1;
}
@@ -453,7 +453,7 @@ ephy_embed_persist_finalize (GObject *object)
g_free (persist->priv->fc_title);
g_free (persist->priv->persist_key);
- LOG ("EphyEmbedPersist finalised %p", object)
+ LOG ("EphyEmbedPersist finalised %p", object);
G_OBJECT_CLASS (parent_class)->finalize (object);
}
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 0dbb568af..8067bf0ea 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -83,13 +83,13 @@ ephy_embed_shell_finalize (GObject *object)
{
EphyEmbedShell *shell = EPHY_EMBED_SHELL (object);
- LOG ("Unref history")
+ LOG ("Unref history");
if (shell->priv->global_history)
{
g_object_unref (shell->priv->global_history);
}
- LOG ("Unref downloader")
+ LOG ("Unref downloader");
if (shell->priv->downloader_view)
{
g_object_remove_weak_pointer
@@ -98,19 +98,19 @@ ephy_embed_shell_finalize (GObject *object)
g_object_unref (shell->priv->downloader_view);
}
- LOG ("Unref favicon cache")
+ LOG ("Unref favicon cache");
if (shell->priv->favicon_cache)
{
g_object_unref (G_OBJECT (shell->priv->favicon_cache));
}
- LOG ("Unref encodings")
+ LOG ("Unref encodings");
if (shell->priv->encodings)
{
g_object_unref (G_OBJECT (shell->priv->encodings));
}
- LOG ("Unref embed single")
+ LOG ("Unref embed single");
if (shell->priv->embed_single)
{
g_object_unref (G_OBJECT (shell->priv->embed_single));
diff --git a/embed/ephy-encodings.c b/embed/ephy-encodings.c
index d4e1168bc..27d700b79 100644
--- a/embed/ephy-encodings.c
+++ b/embed/ephy-encodings.c
@@ -232,7 +232,7 @@ ephy_encodings_finalize (GObject *object)
g_object_unref (encodings->priv->db);
- LOG ("EphyEncodings finalised")
+ LOG ("EphyEncodings finalised");
G_OBJECT_CLASS (parent_class)->finalize (object);
}
@@ -481,7 +481,7 @@ ephy_encodings_init (EphyEncodings *encodings)
encodings->priv = EPHY_ENCODINGS_GET_PRIVATE (encodings);
- LOG ("EphyEncodings initialising")
+ LOG ("EphyEncodings initialising");
db = ephy_node_db_new ("EncodingsDB");
encodings->priv->db = db;
diff --git a/embed/ephy-favicon-cache.c b/embed/ephy-favicon-cache.c
index d38425cb6..7012191e0 100644
--- a/embed/ephy-favicon-cache.c
+++ b/embed/ephy-favicon-cache.c
@@ -279,7 +279,7 @@ ephy_favicon_cache_finalize (GObject *object)
{
EphyFaviconCache *cache = EPHY_FAVICON_CACHE (object);
- LOG ("EphyFaviconCache finalising")
+ LOG ("EphyFaviconCache finalising");
g_hash_table_foreach_remove (cache->priv->downloads_hash,
(GHRFunc) kill_download, cache);
@@ -326,7 +326,7 @@ favicon_download_completed_cb (EphyEmbedPersist *persist,
url = ephy_embed_persist_get_source (persist);
g_return_if_fail (url != NULL);
- LOG ("Favicon cache download completed for %s", url)
+ LOG ("Favicon cache download completed for %s", url);
g_hash_table_remove (cache->priv->downloads_hash, url);
@@ -344,7 +344,7 @@ favicon_download_cancelled_cb (EphyEmbedPersist *persist,
url = ephy_embed_persist_get_source (persist);
g_return_if_fail (url != NULL);
- LOG ("Favicon cache download cancelled %s", url)
+ LOG ("Favicon cache download cancelled %s", url);
g_hash_table_remove (cache->priv->downloads_hash, url);
@@ -365,7 +365,7 @@ ephy_favicon_cache_download (EphyFaviconCache *cache,
EphyEmbedPersist *persist;
char *dest;
- LOG ("Download favicon: %s", favicon_url)
+ LOG ("Download favicon: %s", favicon_url);
g_return_if_fail (EPHY_IS_FAVICON_CACHE (cache));
g_return_if_fail (favicon_url != NULL);
@@ -458,7 +458,7 @@ ephy_favicon_cache_get (EphyFaviconCache *cache,
ephy_node_get_property_string (icon, EPHY_NODE_FAVICON_PROP_FILENAME),
NULL);
- LOG ("Create pixbuf for %s", pix_file)
+ LOG ("Create pixbuf for %s", pix_file);
pixbuf = gdk_pixbuf_new_from_file (pix_file, NULL);
diff --git a/embed/ephy-history.c b/embed/ephy-history.c
index 6b54adaaf..5c87a9f8f 100644
--- a/embed/ephy-history.c
+++ b/embed/ephy-history.c
@@ -115,7 +115,7 @@ static void
ephy_history_set_enabled (EphyHistory *history,
gboolean enabled)
{
- LOG ("ephy_history_set_enabled %d", enabled)
+ LOG ("ephy_history_set_enabled %d", enabled);
history->priv->enabled = enabled;
@@ -267,7 +267,7 @@ ephy_history_save (EphyHistory *eb)
return;
}
- LOG ("Saving history db")
+ LOG ("Saving history db");
ret = ephy_node_db_write_to_xml_safe
(eb->priv->db, eb->priv->xml_file,
@@ -629,7 +629,7 @@ ephy_history_host_visited (EphyHistory *eh,
GValue value = { 0, };
int visits;
- LOG ("Host visited")
+ LOG ("Host visited");
visits = ephy_node_get_property_int
(host, EPHY_NODE_PAGE_PROP_VISITS);
@@ -918,7 +918,7 @@ ephy_history_set_page_title (EphyHistory *gh,
EphyNode *node;
GValue value = { 0, };
- LOG ("Set page title")
+ LOG ("Set page title");
if (title == NULL || title[0] == '\0') return;
@@ -959,7 +959,7 @@ ephy_history_set_icon (EphyHistory *gh,
{
EphyNode *host;
- LOG ("Set host icon")
+ LOG ("Set host icon");
host = g_hash_table_lookup (gh->priv->hosts_hash, url);
if (host)
@@ -979,7 +979,7 @@ ephy_history_clear (EphyHistory *gh)
{
EphyNode *node;
- LOG ("clearing history")
+ LOG ("clearing history");
ephy_node_db_set_immutable (gh->priv->db, FALSE);
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp
index 0b7f2f653..91c9d081d 100644
--- a/embed/mozilla/ContentHandler.cpp
+++ b/embed/mozilla/ContentHandler.cpp
@@ -62,18 +62,18 @@
#ifdef MOZ_NSIMIMEINFO_NSACSTRING_
GContentHandler::GContentHandler()
{
- LOG ("GContentHandler ctor (%p)", this)
+ LOG ("GContentHandler ctor (%p)", this);
}
#else
GContentHandler::GContentHandler() : mMimeType(nsnull)
{
- LOG ("GContentHandler ctor (%p)", this)
+ LOG ("GContentHandler ctor (%p)", this);
}
#endif
GContentHandler::~GContentHandler()
{
- LOG ("GContentHandler dtor (%p)", this)
+ LOG ("GContentHandler dtor (%p)", this);
#ifndef MOZ_NSIMIMEINFO_NSACSTRING_
if (mMimeType)
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp
index 86d6b6073..21f6872ff 100644
--- a/embed/mozilla/EphyBrowser.cpp
+++ b/embed/mozilla/EphyBrowser.cpp
@@ -117,12 +117,12 @@ static PRUnichar DOMModalDialogClosed[] = { 'D', 'O', 'M', 'M', 'o', 'd', 'a',
EphyEventListener::EphyEventListener()
: mOwner(nsnull)
{
- LOG ("EphyEventListener ctor (%p)", this)
+ LOG ("EphyEventListener ctor (%p)", this);
}
EphyEventListener::~EphyEventListener()
{
- LOG ("EphyEventListener dtor (%p)", this)
+ LOG ("EphyEventListener dtor (%p)", this);
}
NS_IMPL_ISUPPORTS1(EphyEventListener, nsIDOMEventListener)
@@ -341,12 +341,12 @@ EphyModalAlertEventListener::HandleEvent (nsIDOMEvent * aDOMEvent)
EphyContextMenuListener::EphyContextMenuListener()
: mOwner(nsnull)
{
- LOG ("EphyContextMenuListener ctor (%p)", this)
+ LOG ("EphyContextMenuListener ctor (%p)", this);
}
EphyContextMenuListener::~EphyContextMenuListener()
{
- LOG ("EphyContextMenuListener dtor (%p)", this)
+ LOG ("EphyContextMenuListener dtor (%p)", this);
}
NS_IMPL_ISUPPORTS1(EphyContextMenuListener, nsIDOMContextMenuListener)
@@ -438,12 +438,12 @@ EphyBrowser::EphyBrowser ()
, mContextMenuListener(nsnull)
, mInitialized(PR_FALSE)
{
- LOG ("EphyBrowser ctor (%p)", this)
+ LOG ("EphyBrowser ctor (%p)", this);
}
EphyBrowser::~EphyBrowser ()
{
- LOG ("EphyBrowser dtor (%p)", this)
+ LOG ("EphyBrowser dtor (%p)", this);
}
nsresult EphyBrowser::Init (GtkMozEmbed *mozembed)
diff --git a/embed/mozilla/EphyContentPolicy.cpp b/embed/mozilla/EphyContentPolicy.cpp
index 98f5f3afd..9679c0f2a 100644
--- a/embed/mozilla/EphyContentPolicy.cpp
+++ b/embed/mozilla/EphyContentPolicy.cpp
@@ -43,7 +43,7 @@ NS_IMPL_ISUPPORTS1(EphyContentPolicy, nsIContentPolicy)
EphyContentPolicy::EphyContentPolicy()
{
- LOG ("EphyContentPolicy ctor (%p)", this)
+ LOG ("EphyContentPolicy ctor (%p)", this);
mLocked = eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_UNSAFE_PROTOCOLS);
@@ -57,7 +57,7 @@ EphyContentPolicy::EphyContentPolicy()
EphyContentPolicy::~EphyContentPolicy()
{
- LOG ("EphyContentPolicy dtor (%p)", this)
+ LOG ("EphyContentPolicy dtor (%p)", this);
g_slist_foreach (mSafeProtocols, (GFunc) g_free, NULL);
g_slist_free (mSafeProtocols);
@@ -208,7 +208,7 @@ NS_IMETHODIMP EphyContentPolicy::ShouldProcess(PRInt32 contentType,
PRBool *_retval)
{
/* This is never called. */
- LOG ("ShouldProcess: this is quite unexpected!")
+ LOG ("ShouldProcess: this is quite unexpected!");
*_retval = PR_TRUE;
return NS_OK;
diff --git a/embed/mozilla/EphyHeaderSniffer.cpp b/embed/mozilla/EphyHeaderSniffer.cpp
index cde2fa1d2..293416b28 100644
--- a/embed/mozilla/EphyHeaderSniffer.cpp
+++ b/embed/mozilla/EphyHeaderSniffer.cpp
@@ -77,7 +77,7 @@ EphyHeaderSniffer::EphyHeaderSniffer (nsIWebBrowserPersist* aPersist, MozillaEmb
, mDocument(aDocument)
, mPostData(aPostData)
{
- LOG ("EphyHeaderSniffer ctor (%p)", this)
+ LOG ("EphyHeaderSniffer ctor (%p)", this);
nsCOMPtr<nsIWindowWatcher> watcher
(do_GetService("@mozilla.org/embedcomp/window-watcher;1"));
@@ -92,7 +92,7 @@ EphyHeaderSniffer::EphyHeaderSniffer (nsIWebBrowserPersist* aPersist, MozillaEmb
EphyHeaderSniffer::~EphyHeaderSniffer()
{
- LOG ("EphyHeaderSniffer dtor (%p)", this)
+ LOG ("EphyHeaderSniffer dtor (%p)", this);
if (mSingle)
{
@@ -384,7 +384,7 @@ nsresult EphyHeaderSniffer::PerformSave (nsIURI* inOriginalURI)
nsresult EphyHeaderSniffer::InitiateDownload (nsILocalFile *aDestFile)
{
- LOG ("Initiating download")
+ LOG ("Initiating download");
return InitiateMozillaDownload (mDocument, mURL, aDestFile,
mContentType.get(), mOriginalURI, mEmbedPersist,
diff --git a/embed/mozilla/EphyHistoryListener.cpp b/embed/mozilla/EphyHistoryListener.cpp
index dc916cc8d..1fcacd198 100644
--- a/embed/mozilla/EphyHistoryListener.cpp
+++ b/embed/mozilla/EphyHistoryListener.cpp
@@ -45,12 +45,12 @@
EphyHistoryListener::EphyHistoryListener ()
{
- LOG ("EphyHistoryListener ctor")
+ LOG ("EphyHistoryListener ctor");
}
EphyHistoryListener::~EphyHistoryListener ()
{
- LOG ("EphyHistoryListener dtor")
+ LOG ("EphyHistoryListener dtor");
}
nsresult
diff --git a/embed/mozilla/EphySingle.cpp b/embed/mozilla/EphySingle.cpp
index 5a1f558a4..2d17a6baf 100644
--- a/embed/mozilla/EphySingle.cpp
+++ b/embed/mozilla/EphySingle.cpp
@@ -46,7 +46,7 @@ NS_IMPL_ISUPPORTS1(EphySingle, nsIObserver)
EphySingle::EphySingle()
: mOwner(nsnull)
{
- LOG ("EphySingle ctor")
+ LOG ("EphySingle ctor");
}
nsresult
@@ -65,7 +65,7 @@ EphySingle::Init (EphyEmbedSingle *aOwner)
mOwner = aOwner;
- LOG ("EphySingle::Init")
+ LOG ("EphySingle::Init");
return NS_OK;
}
@@ -73,7 +73,7 @@ EphySingle::Init (EphyEmbedSingle *aOwner)
nsresult
EphySingle::Detach ()
{
- LOG ("EphySingle::Detach")
+ LOG ("EphySingle::Detach");
if (mObserverService)
{
@@ -89,7 +89,7 @@ EphySingle::Detach ()
EphySingle::~EphySingle()
{
- LOG ("EphySingle dtor")
+ LOG ("EphySingle dtor");
mOwner = nsnull;
}
@@ -98,7 +98,7 @@ nsresult
EphySingle::EmitCookieNotification (const char *name,
nsISupports *aSubject)
{
- LOG ("EmitCookieNotification %s", name)
+ LOG ("EmitCookieNotification %s", name);
nsCOMPtr<nsICookie> cookie = do_QueryInterface (aSubject);
NS_ENSURE_TRUE (cookie, NS_ERROR_FAILURE);
@@ -116,7 +116,7 @@ nsresult
EphySingle::EmitPermissionNotification (const char *name,
nsISupports *aSubject)
{
- LOG ("EmitPermissionNotification %s", name)
+ LOG ("EmitPermissionNotification %s", name);
nsCOMPtr<nsIPermission> perm = do_QueryInterface (aSubject);
NS_ENSURE_TRUE (perm, NS_ERROR_FAILURE);
@@ -138,7 +138,7 @@ NS_IMETHODIMP EphySingle::Observe(nsISupports *aSubject,
{
nsresult rv = NS_OK;
- LOG ("EphySingle::Observe topic %s", aTopic)
+ LOG ("EphySingle::Observe topic %s", aTopic);
if (strcmp (aTopic, "cookie-changed") == 0)
{
@@ -160,7 +160,7 @@ NS_IMETHODIMP EphySingle::Observe(nsISupports *aSubject,
/* "cleared" */
else if (aData[0] == 'c' && aData[1] == 'l')
{
- LOG ("EphySingle::cookie-changed::cleared")
+ LOG ("EphySingle::cookie-changed::cleared");
g_signal_emit_by_name (EPHY_COOKIE_MANAGER (mOwner), "cookies-cleared");
}
@@ -172,7 +172,7 @@ NS_IMETHODIMP EphySingle::Observe(nsISupports *aSubject,
}
else if (strcmp (aTopic, "cookie-rejected") == 0)
{
- LOG ("EphySingle::cookie-rejected")
+ LOG ("EphySingle::cookie-rejected");
nsCOMPtr<nsIURI> uri = do_QueryInterface (aSubject);
if (uri)
@@ -207,7 +207,7 @@ NS_IMETHODIMP EphySingle::Observe(nsISupports *aSubject,
/* "cleared" */
else if (aData[0] == 'c' && aData[1] == 'l')
{
- LOG ("EphySingle::perm-changed::cleared")
+ LOG ("EphySingle::perm-changed::cleared");
g_signal_emit_by_name (EPHY_PERMISSION_MANAGER (mOwner), "permissions-cleared");
}
@@ -240,7 +240,7 @@ NS_IMETHODIMP EphySingle::Observe(nsISupports *aSubject,
rv = NS_ERROR_FAILURE;
}
- LOG ("EphySingle::Observe %s", NS_SUCCEEDED (rv) ? "success" : "FAILURE")
+ LOG ("EphySingle::Observe %s", NS_SUCCEEDED (rv) ? "success" : "FAILURE");
return rv;
}
diff --git a/embed/mozilla/FilePicker.cpp b/embed/mozilla/FilePicker.cpp
index 122df5aff..e4b4e75fb 100644
--- a/embed/mozilla/FilePicker.cpp
+++ b/embed/mozilla/FilePicker.cpp
@@ -58,12 +58,12 @@ GFilePicker::GFilePicker()
: mDialog(nsnull)
, mMode(nsIFilePicker::modeOpen)
{
- LOG ("GFilePicker ctor (%p)", this)
+ LOG ("GFilePicker ctor (%p)", this);
}
GFilePicker::~GFilePicker()
{
- LOG ("GFilePicker dtor (%p)", this)
+ LOG ("GFilePicker dtor (%p)", this);
if (mDialog)
{
@@ -79,7 +79,7 @@ NS_IMETHODIMP GFilePicker::Init(nsIDOMWindow *parent, const nsAString& title, PR
NS_IMETHODIMP GFilePicker::Init(nsIDOMWindowInternal *parent, const PRUnichar *title, PRInt16 mode)
#endif
{
- LOG ("GFilePicker::Init")
+ LOG ("GFilePicker::Init");
GtkWidget *gtkparent = EphyUtils::FindGtkParent (parent);
#if defined(MOZ_NSIFILEPICKER_NSASTRING_)
@@ -138,7 +138,7 @@ NS_IMETHODIMP GFilePicker::AppendFilters(PRInt32 filterMask)
{
NS_ENSURE_TRUE (mDialog, NS_ERROR_FAILURE);
- LOG ("GFilePicker::AppendFilters mask=%d", filterMask)
+ LOG ("GFilePicker::AppendFilters mask=%d", filterMask);
// http://lxr.mozilla.org/seamonkey/source/xpfe/components/filepicker/res/locale/en-US/filepicker.properties
// http://lxr.mozilla.org/seamonkey/source/xpfe/components/filepicker/src/nsFilePicker.js line 131 ff
@@ -192,7 +192,7 @@ NS_IMETHODIMP GFilePicker::AppendFilter(const PRUnichar *title, const PRUnichar
{
NS_ENSURE_TRUE (mDialog, NS_ERROR_FAILURE);
- LOG ("GFilePicker::AppendFilter")
+ LOG ("GFilePicker::AppendFilter");
#ifdef MOZ_NSIFILEPICKER_NSASTRING_
if (!filter.Length()) return NS_ERROR_FAILURE;
@@ -244,7 +244,7 @@ NS_IMETHODIMP GFilePicker::GetDefaultString(PRUnichar **aDefaultString)
{
NS_ENSURE_TRUE (mDialog, NS_ERROR_FAILURE);
- LOG ("GFilePicker::GetDefaultString")
+ LOG ("GFilePicker::GetDefaultString");
#ifdef MOZ_NSIFILEPICKER_NSASTRING_
aDefaultString = mDefaultString;
@@ -271,7 +271,7 @@ NS_IMETHODIMP GFilePicker::SetDefaultString(const PRUnichar *aDefaultString)
NS_UTF16ToCString (mDefaultString, NS_CSTRING_ENCODING_UTF8,
defaultString);
- LOG ("GFilePicker::SetDefaultString %s", defaultString.get())
+ LOG ("GFilePicker::SetDefaultString %s", defaultString.get());
if (!defaultString.Length()) return NS_ERROR_FAILURE;
@@ -290,7 +290,7 @@ NS_IMETHODIMP GFilePicker::GetDefaultExtension(nsAString& aDefaultExtension)
NS_IMETHODIMP GFilePicker::GetDefaultExtension(PRUnichar **aDefaultExtension)
#endif
{
- LOG ("GFilePicker::GetDefaultExtension")
+ LOG ("GFilePicker::GetDefaultExtension");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -301,7 +301,7 @@ NS_IMETHODIMP GFilePicker::SetDefaultExtension(const nsAString& aDefaultExtensio
NS_IMETHODIMP GFilePicker::SetDefaultExtension(const PRUnichar *aDefaultExtension)
#endif
{
- LOG ("GFilePicker::SetDefaultExtension")
+ LOG ("GFilePicker::SetDefaultExtension");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -309,14 +309,14 @@ NS_IMETHODIMP GFilePicker::SetDefaultExtension(const PRUnichar *aDefaultExtensio
/* attribute long filterIndex; */
NS_IMETHODIMP GFilePicker::GetFilterIndex(PRInt32 *aFilterIndex)
{
- LOG ("GFilePicker::GetFilterIndex")
+ LOG ("GFilePicker::GetFilterIndex");
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP GFilePicker::SetFilterIndex(PRInt32 aFilterIndex)
{
- LOG ("GFilePicker::SetFilterIndex index=%d", aFilterIndex)
+ LOG ("GFilePicker::SetFilterIndex index=%d", aFilterIndex);
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -326,7 +326,7 @@ NS_IMETHODIMP GFilePicker::GetDisplayDirectory(nsILocalFile **aDisplayDirectory)
{
NS_ENSURE_TRUE (mDialog, NS_ERROR_FAILURE);
- LOG ("GFilePicker::GetDisplayDirectory")
+ LOG ("GFilePicker::GetDisplayDirectory");
char *dir = gtk_file_chooser_get_current_folder (GTK_FILE_CHOOSER (mDialog));
@@ -349,7 +349,7 @@ NS_IMETHODIMP GFilePicker::SetDisplayDirectory(nsILocalFile *aDisplayDirectory)
nsEmbedCString dir;
aDisplayDirectory->GetNativePath (dir);
- LOG ("GFilePicker::SetDisplayDirectory to %s", dir.get())
+ LOG ("GFilePicker::SetDisplayDirectory to %s", dir.get());
if (mDefaultString.Length() && mMode != nsIFilePicker::modeSave)
{
@@ -378,7 +378,7 @@ NS_IMETHODIMP GFilePicker::GetFile(nsILocalFile **aFile)
char *filename;
- LOG ("GFilePicker::GetFile")
+ LOG ("GFilePicker::GetFile");
filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (mDialog));
@@ -399,7 +399,7 @@ NS_IMETHODIMP GFilePicker::GetFileURL(nsIFileURL **aFileURL)
{
NS_ENSURE_TRUE (mDialog, NS_ERROR_FAILURE);
- LOG ("GFilePicker::GetFileURL")
+ LOG ("GFilePicker::GetFileURL");
nsCOMPtr<nsILocalFile> file;
GetFile (getter_AddRefs(file));
@@ -418,7 +418,7 @@ NS_IMETHODIMP GFilePicker::GetFiles(nsISimpleEnumerator * *aFiles)
// Not sure if we need to implement it at all, it's used nowhere
// in mozilla, but I guess a javascript might call it?
- LOG ("GFilePicker::GetFiles")
+ LOG ("GFilePicker::GetFiles");
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -426,7 +426,7 @@ NS_IMETHODIMP GFilePicker::GetFiles(nsISimpleEnumerator * *aFiles)
/* short show (); */
NS_IMETHODIMP GFilePicker::Show(PRInt16 *_retval)
{
- LOG ("GFilePicker::Show")
+ LOG ("GFilePicker::Show");
gtk_window_set_modal (GTK_WINDOW (mDialog), TRUE);
gtk_window_set_destroy_with_parent (GTK_WINDOW (mDialog), FALSE);
@@ -443,7 +443,7 @@ NS_IMETHODIMP GFilePicker::Show(PRInt16 *_retval)
g_free (filename);
filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (mDialog));
- LOG ("GFilePicker::Show response=%d, filename=%s", response, filename)
+ LOG ("GFilePicker::Show response=%d, filename=%s", response, filename);
}
while (response == GTK_RESPONSE_ACCEPT &&
mMode == nsIFilePicker::modeSave &&
diff --git a/embed/mozilla/GtkNSSClientAuthDialogs.cpp b/embed/mozilla/GtkNSSClientAuthDialogs.cpp
index 3abc7d276..cbfa4b2c1 100644
--- a/embed/mozilla/GtkNSSClientAuthDialogs.cpp
+++ b/embed/mozilla/GtkNSSClientAuthDialogs.cpp
@@ -63,13 +63,13 @@
GtkNSSClientAuthDialogs::GtkNSSClientAuthDialogs()
{
- LOG ("GtkNSSClientAuthDialogs ctor (%p)", this)
+ LOG ("GtkNSSClientAuthDialogs ctor (%p)", this);
}
GtkNSSClientAuthDialogs::~GtkNSSClientAuthDialogs()
{
- LOG ("GtkNSSClientAuthDialogs dtor (%p)", this)
+ LOG ("GtkNSSClientAuthDialogs dtor (%p)", this);
}
NS_IMPL_THREADSAFE_ISUPPORTS1 (GtkNSSClientAuthDialogs,
diff --git a/embed/mozilla/GtkNSSKeyPairDialogs.cpp b/embed/mozilla/GtkNSSKeyPairDialogs.cpp
index ed987b105..47d0eb840 100644
--- a/embed/mozilla/GtkNSSKeyPairDialogs.cpp
+++ b/embed/mozilla/GtkNSSKeyPairDialogs.cpp
@@ -71,12 +71,12 @@
GtkNSSKeyPairDialogs::GtkNSSKeyPairDialogs ()
{
- LOG ("GtkNSSKeyPairDialogs ctor (%p)", this)
+ LOG ("GtkNSSKeyPairDialogs ctor (%p)", this);
}
GtkNSSKeyPairDialogs::~GtkNSSKeyPairDialogs ()
{
- LOG ("GtkNSSKeyPairDialogs dtor (%p)", this)
+ LOG ("GtkNSSKeyPairDialogs dtor (%p)", this);
}
NS_IMPL_ISUPPORTS1 (GtkNSSKeyPairDialogs,
diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp
index 31051822c..05ede417e 100644
--- a/embed/mozilla/MozDownload.cpp
+++ b/embed/mozilla/MozDownload.cpp
@@ -69,12 +69,12 @@ MozDownload::MozDownload() :
mEmbedPersist(nsnull),
mDownloadState(EPHY_DOWNLOAD_INITIALISING)
{
- LOG ("MozDownload ctor (%p)", (void *) this)
+ LOG ("MozDownload ctor (%p)", (void *) this);
}
MozDownload::~MozDownload()
{
- LOG ("MozDownload dtor (%p)", (void *) this)
+ LOG ("MozDownload dtor (%p)", (void *) this);
NS_ASSERTION (!mEphyDownload, "MozillaDownload still alive!");
}
diff --git a/embed/mozilla/PrintingPromptService.cpp b/embed/mozilla/PrintingPromptService.cpp
index dd97c9de6..d7e14fabf 100644
--- a/embed/mozilla/PrintingPromptService.cpp
+++ b/embed/mozilla/PrintingPromptService.cpp
@@ -43,12 +43,12 @@ NS_IMPL_ISUPPORTS1(GPrintingPromptService, nsIPrintingPromptService)
GPrintingPromptService::GPrintingPromptService()
{
- LOG ("GPrintingPromptService ctor (%p)", this)
+ LOG ("GPrintingPromptService ctor (%p)", this);
}
GPrintingPromptService::~GPrintingPromptService()
{
- LOG ("GPrintingPromptService dtor (%p)", this)
+ LOG ("GPrintingPromptService dtor (%p)", this);
}
/* void showPrintDialog (in nsIDOMWindow parent, in nsIWebBrowserPrint webBrowserPrint, in nsIPrintSettings printSettings); */
diff --git a/embed/mozilla/mozilla-download.cpp b/embed/mozilla/mozilla-download.cpp
index 5db2a74f7..f7e9cf78b 100644
--- a/embed/mozilla/mozilla-download.cpp
+++ b/embed/mozilla/mozilla-download.cpp
@@ -226,7 +226,7 @@ mozilla_download_finalize (GObject *object)
NS_RELEASE (download->priv->moz_download);
- LOG ("MozillaDownload %p finalised", object)
+ LOG ("MozillaDownload %p finalised", object);
G_OBJECT_CLASS (parent_class)->finalize (object);
}
@@ -306,7 +306,7 @@ mozilla_download_class_init (MozillaDownloadClass *klass)
static void
mozilla_download_init (MozillaDownload *download)
{
- LOG ("MozillaDownload %p initialising", download)
+ LOG ("MozillaDownload %p initialising", download);
download->priv = MOZILLA_DOWNLOAD_GET_PRIVATE (download);
}
diff --git a/embed/mozilla/mozilla-embed-event.cpp b/embed/mozilla/mozilla-embed-event.cpp
index 685fa6f6a..cbd2802d4 100644
--- a/embed/mozilla/mozilla-embed-event.cpp
+++ b/embed/mozilla/mozilla-embed-event.cpp
@@ -177,7 +177,7 @@ mozilla_embed_event_init (MozillaEmbedEvent *event)
{
event->priv = MOZILLA_EMBED_EVENT_GET_PRIVATE (event);
- LOG ("MozillaEmbedEvent %p initialising", event)
+ LOG ("MozillaEmbedEvent %p initialising", event);
event->priv->dom_event = nsnull;
event->priv->props = g_hash_table_new_full (g_str_hash, g_str_equal,
@@ -194,7 +194,7 @@ mozilla_embed_event_finalize (GObject *object)
NS_IF_RELEASE (event->priv->dom_event);
event->priv->dom_event = nsnull;
- LOG ("MozillaEmbedEvent %p finalised", object)
+ LOG ("MozillaEmbedEvent %p finalised", object);
G_OBJECT_CLASS (parent_class)->finalize (object);
}