anjuta r4407 - in trunk: . libanjuta manuals/reference/libanjuta plugins/gdb src
- From: sgranjoux svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4407 - in trunk: . libanjuta manuals/reference/libanjuta plugins/gdb src
- Date: Sat, 29 Nov 2008 18:05:45 +0000 (UTC)
Author: sgranjoux
Date: Sat Nov 29 18:05:45 2008
New Revision: 4407
URL: http://svn.gnome.org/viewvc/anjuta?rev=4407&view=rev
Log:
* (added) libanjuta/anjuta-debug.c,
libanjuta/anjuta-debug.h,
libanjuta/Makefile.am,
plugins/gdb/Makefile.am,
src/main.c,
src/Makefile.am:
Use gcc extension to allow using DEBUG_PRINT without a format string
Allow to filter g_debug message using ANJUTA_LOG_DOMAINS environment
variable
* manuals/reference/libanjuta/libanjuta-sections.txt,
libanjuta/anjuta-plugin-manager.c,
libanjuta/anjuta-profile.c:
Update libanjuta documerntation
Added:
trunk/libanjuta/anjuta-debug.c (contents, props changed)
Modified:
trunk/ChangeLog
trunk/libanjuta/Makefile.am
trunk/libanjuta/anjuta-debug.h
trunk/libanjuta/anjuta-plugin-manager.c
trunk/libanjuta/anjuta-profile.c
trunk/manuals/reference/libanjuta/libanjuta-sections.txt
trunk/plugins/gdb/Makefile.am
trunk/src/Makefile.am
trunk/src/main.c
Modified: trunk/libanjuta/Makefile.am
==============================================================================
--- trunk/libanjuta/Makefile.am (original)
+++ trunk/libanjuta/Makefile.am Sat Nov 29 18:05:45 2008
@@ -70,8 +70,11 @@
anjuta-async-command.c \
anjuta-async-command.h \
anjuta-sync-command.c \
- anjuta-sync-command.h
- anjuta-message-area.h
+ anjuta-sync-command.h \
+ anjuta-message-area.h \
+ anjuta-debug.c \
+ anjuta-debug.h
+
if HAVE_PLUGIN_GLADE
Added: trunk/libanjuta/anjuta-debug.c
==============================================================================
--- (empty file)
+++ trunk/libanjuta/anjuta-debug.c Sat Nov 29 18:05:45 2008
@@ -0,0 +1,109 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
+/*
+ anjuta-debug.c
+ Copyright (C) 2008 SÃbastien Granjoux <seb sfo free fr>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+*/
+
+#include "anjuta-debug.h"
+
+#include <glib.h>
+
+#include <string.h>
+
+static gchar **anjuta_log_modules = NULL;
+
+static void
+anjuta_log_handler (const char *log_domain,
+ GLogLevelFlags log_level,
+ const char *message,
+ gpointer user_data)
+{
+
+ if (log_level & G_LOG_LEVEL_DEBUG)
+ {
+ /* Filter only debugging messages */
+ gint i;
+ const gchar *domain;
+
+ /* Do not display anything if anjuta_log_modules is empty
+ * (happens only in non debugging mode) */
+ if (anjuta_log_modules == NULL) return;
+
+ /* log_domain can be NULL*/
+ domain = (log_domain == NULL) || (*log_domain == '\0') ? "NULL" : log_domain;
+
+ for (i = 0; anjuta_log_modules[i] != NULL; i++)
+ {
+ if (strcmp(domain, anjuta_log_modules[i]) == 0)
+ {
+ /* Display message */
+ g_log_default_handler (log_domain, log_level, message, user_data);
+ return;
+ }
+ }
+
+ return;
+ }
+
+ g_log_default_handler (log_domain, log_level, message, user_data);
+}
+
+/**
+ * anjuta_debug_init :
+ *
+ * Initialize filtering of debug messages.
+ */
+void
+anjuta_debug_init (void)
+{
+ const gchar *log;
+ gboolean all = FALSE;
+
+ log = g_getenv ("ANJUTA_LOG_DOMAINS");
+ if (log != NULL)
+ {
+ anjuta_log_modules = g_strsplit_set (log, ": ", -1);
+
+ if (anjuta_log_modules != NULL)
+ {
+ gint i;
+
+ for (i = 0; anjuta_log_modules[i] != NULL; i++)
+ {
+ if (strcmp("all", anjuta_log_modules[i]) == 0)
+ {
+ all = TRUE;
+ break;
+ }
+ }
+ }
+ }
+
+#ifdef DEBUG
+ if ((anjuta_log_modules != NULL) && (anjuta_log_modules[0] != NULL) && !all)
+ {
+ /* Display selected message in debugging mode if environment
+ * variable is no set to all */
+#else
+ if (!all)
+ {
+ /* Display selected message in non debugging mode if the
+ * environment variable doesn't exist or if not set to all */
+#endif
+ g_log_set_default_handler (anjuta_log_handler, NULL);
+ }
+}
Modified: trunk/libanjuta/anjuta-debug.h
==============================================================================
--- trunk/libanjuta/anjuta-debug.h (original)
+++ trunk/libanjuta/anjuta-debug.h Sat Nov 29 18:05:45 2008
@@ -1,6 +1,6 @@
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
- anjuta-utils.h
+ anjuta-debug.h
Copyright (C) 2003 Naba Kumar <naba gnome org>
This program is free software; you can redistribute it and/or modify
@@ -26,6 +26,21 @@
* @stability: Unstable
* @include: libanjuta/anjuta-debug.h
*
+ * Anjuta debug messages displayed with g_debug() can be filtered based on their
+ * domain. By default if DEBUG is defiled, all message are displayed. If DEBUG is not
+ * defined, all messages are hidden.
+ *
+ * This behavior can be changed using the ANJUTA_LOG_DOMAINS environment
+ * variable. If this variable is set to "all", all message are displayed whatever is the
+ * value of DEBUG. Else you can set it to a list of domains separated by space to
+ * display messages from these selected domains only.
+ * If G_LOG_DOMAIN is undefined, it will match a domain named "NULL".
+ *
+ * By example
+ *<programlisting>
+ * ANJUTA_LOG_DOMAINS=Gtk Anjuta libanjuta-gdb
+ *</programlisting>
+ * will display debug messages from Gtk, Anjuta and gdb plugin only.
*/
#ifndef __ANJUTA_DEBUG__
@@ -38,10 +53,16 @@
* except it has only effect when DEBUG is defined. Used for printing debug
* messages.
*/
-#if defined (DEBUG) && defined (__GNUC__) && __GNUC__ >= 3
-# define DEBUG_PRINT(format, ...) g_debug ("%s:%d (%s) " format, __FILE__, __LINE__, G_STRFUNC, __VA_ARGS__)
+#if defined (DEBUG)
+ #if defined (__GNUC__) && (__GNUC__ >= 3) && !defined(__STRICT_ANSI__)
+ #define DEBUG_PRINT(format, ...) g_debug ("%s:%d (%s) " format, __FILE__, __LINE__, G_STRFUNC, ##__VA_ARGS__)
+ #else
+ #define DEBUG_PRINT g_debug
+ #endif
#else
-# define DEBUG_PRINT(...)
+ #define DEBUG_PRINT(...)
#endif
-#endif
+void anjuta_debug_init (void);
+
+#endif /* _ANJUTA_DEBUG_H_ */
Modified: trunk/libanjuta/anjuta-plugin-manager.c
==============================================================================
--- trunk/libanjuta/anjuta-plugin-manager.c (original)
+++ trunk/libanjuta/anjuta-plugin-manager.c Sat Nov 29 18:05:45 2008
@@ -2509,6 +2509,19 @@
g_free (id);
}
+/**
+ * anjuta_plugin_manager_get_remembered_plugins:
+ * @plugin_manager: A #AnjutaPluginManager object
+ *
+ * Get the list of plugins loaded when there is a choice between several
+ * ones without asking the user.
+ *
+ * The list format is returned as a string with the format detailed in
+ * anjuta_plugin_manager_set_remembered_plugins().
+ *
+ * Return value: a newly-allocated string that must be freed with g_free().
+ */
+
gchar*
anjuta_plugin_manager_get_remembered_plugins (AnjutaPluginManager *plugin_manager)
{
@@ -2529,6 +2542,24 @@
return TRUE;
}
+/**
+ * anjuta_plugin_manager_set_remembered_plugins:
+ * @plugin_manager: A #AnjutaPluginManager object
+ * @remembered_plugins: A list of prefered plugins
+ *
+ * Set the list of plugins loaded when there is a choice between several
+ * ones without asking the user.
+ * The list is a string composed of elements separated by ';'. Each element
+ * is defined with "key=value", where key is the list of possible plugins and
+ * the value is the choosen plugin.
+ *
+ * By the example the following element
+ * <programlisting>
+ * anjuta-symbol-browser:SymbolBrowserPlugin,anjuta-symbol-db:SymbolDBPlugin,=anjuta-symbol-db:SymbolDBPlugin;
+ * </programlisting>
+ * means if Anjuta has to choose between SymbolBrowserPlugin and
+ * SymbolDBPlugin, it will choose SymbolDBPlugin.
+ */
void
anjuta_plugin_manager_set_remembered_plugins (AnjutaPluginManager *plugin_manager,
const gchar *remembered_plugins)
Modified: trunk/libanjuta/anjuta-profile.c
==============================================================================
--- trunk/libanjuta/anjuta-profile.c (original)
+++ trunk/libanjuta/anjuta-profile.c Sat Nov 29 18:05:45 2008
@@ -659,6 +659,14 @@
return descs_list != NULL;
}
+/**
+ * anjuta_profile_to_xml :
+ * @profile: A #AnjutaProfile object
+ *
+ * Return a string in xml format containing the list of saved plugins.
+ *
+ * Return value: a newly-allocated string that must be freed with g_free().
+ */
gchar*
anjuta_profile_to_xml (AnjutaProfile *profile)
{
@@ -732,6 +740,14 @@
return g_string_free (str, FALSE);
}
+/**
+ * anjuta_profile_set_sync_file:
+ * @profile: A #AnjutaProfile object
+ * @sync_file: File used to save profile
+ *
+ * Define the file used to save plugins list.
+ */
+
void
anjuta_profile_set_sync_file (AnjutaProfile *profile, GFile *sync_file)
{
@@ -748,6 +764,15 @@
g_object_ref (priv->sync_file);
}
+/**
+ * anjuta_profile_sync:
+ * @profile: A #AnjutaProfile object
+ * @error: Error propagation and reporting
+ *
+ * Save the current plugins list in the xml file set with anjuta_profile_set_sync_file().
+ *
+ * Return value: TRUE on success, FALSE otherwise
+ */
gboolean
anjuta_profile_sync (AnjutaProfile *profile, GError **error)
{
Modified: trunk/manuals/reference/libanjuta/libanjuta-sections.txt
==============================================================================
--- trunk/manuals/reference/libanjuta/libanjuta-sections.txt (original)
+++ trunk/manuals/reference/libanjuta/libanjuta-sections.txt Sat Nov 29 18:05:45 2008
@@ -89,42 +89,6 @@
</SECTION>
<SECTION>
-<FILE>anjuta-plugin-handle</FILE>
-AnjutaPluginHandlePriv
-<TITLE>AnjutaPluginHandle</TITLE>
-AnjutaPluginHandle
-anjuta_plugin_handle_new
-anjuta_plugin_handle_get_id
-anjuta_plugin_handle_get_name
-anjuta_plugin_handle_get_about
-anjuta_plugin_handle_get_icon_path
-anjuta_plugin_handle_get_path
-anjuta_plugin_handle_get_user_activatable
-anjuta_plugin_handle_get_resident
-anjuta_plugin_handle_get_language
-anjuta_plugin_handle_get_description
-anjuta_plugin_handle_get_dependency_names
-anjuta_plugin_handle_get_dependencies
-anjuta_plugin_handle_get_dependents
-anjuta_plugin_handle_get_interfaces
-anjuta_plugin_handle_get_can_load
-anjuta_plugin_handle_get_checked
-anjuta_plugin_handle_get_resolve_pass
-anjuta_plugin_handle_set_can_load
-anjuta_plugin_handle_set_checked
-anjuta_plugin_handle_set_resolve_pass
-anjuta_plugin_handle_unresolve_dependencies
-<SUBSECTION Standard>
-ANJUTA_PLUGIN_HANDLE
-ANJUTA_IS_PLUGIN_HANDLE
-ANJUTA_TYPE_PLUGIN_HANDLE
-anjuta_plugin_handle_get_type
-ANJUTA_PLUGIN_HANDLE_CLASS
-ANJUTA_IS_PLUGIN_HANDLE_CLASS
-ANJUTA_PLUGIN_HANDLE_GET_CLASS
-</SECTION>
-
-<SECTION>
<FILE>cell-renderer-captioned-image</FILE>
<TITLE>AnjutaCellRendererCaptionedImage</TITLE>
AnjutaCellRendererCaptionedImage
@@ -157,34 +121,6 @@
</SECTION>
<SECTION>
-<FILE>anjuta-plugin</FILE>
-AnjutaGluePlugin
-AnjutaPluginPrivate
-AnjutaPluginValueAdded
-AnjutaPluginValueRemoved
-<TITLE>AnjutaPlugin</TITLE>
-AnjutaPlugin
-anjuta_plugin_activate
-anjuta_plugin_deactivate
-anjuta_plugin_is_active
-anjuta_plugin_add_watch
-anjuta_plugin_remove_watch
-ANJUTA_PLUGIN_BEGIN
-ANJUTA_PLUGIN_END
-ANJUTA_PLUGIN_ADD_INTERFACE
-ANJUTA_PLUGIN_BOILERPLATE
-ANJUTA_SIMPLE_PLUGIN
-<SUBSECTION Standard>
-ANJUTA_PLUGIN
-ANJUTA_IS_PLUGIN
-ANJUTA_TYPE_PLUGIN
-anjuta_plugin_get_type
-ANJUTA_PLUGIN_CLASS
-ANJUTA_IS_PLUGIN_CLASS
-ANJUTA_PLUGIN_GET_CLASS
-</SECTION>
-
-<SECTION>
<FILE>anjuta-preferences-dialog</FILE>
AnjutaPreferencesDialogPrivate
<TITLE>AnjutaPreferencesDialog</TITLE>
@@ -202,42 +138,6 @@
</SECTION>
<SECTION>
-<FILE>anjuta-plugin-manager</FILE>
-ANJUTA_PLUGIN_MANAGER_ERROR
-AnjutaPluginManagerError
-AnjutaPluginManagerPriv
-<TITLE>AnjutaPluginManager</TITLE>
-AnjutaPluginManager
-anjuta_plugin_manager_error_quark
-anjuta_plugin_manager_new
-anjuta_plugin_manager_is_active_plugin
-anjuta_plugin_manager_get_plugin
-anjuta_plugin_manager_get_plugin_by_id
-anjuta_plugin_manager_unload_plugin
-anjuta_plugin_manager_unload_plugin_by_id
-anjuta_plugin_manager_get_active_plugins
-anjuta_plugin_manager_get_active_plugin_objects
-anjuta_plugin_manager_get_plugins_page
-anjuta_plugin_manager_get_remembered_plugins_page
-anjuta_plugin_manager_query
-anjuta_plugin_manager_select
-anjuta_plugin_manager_select_and_activate
-anjuta_plugin_manager_activate_plugins
-anjuta_plugin_manager_unload_all_plugins
-anjuta_plugin_manager_get_remembered_plugins
-anjuta_plugin_manager_set_remembered_plugins
-anjuta_plugin_manager_get_interface
-<SUBSECTION Standard>
-ANJUTA_PLUGIN_MANAGER
-ANJUTA_IS_PLUGIN_MANAGER
-ANJUTA_TYPE_PLUGIN_MANAGER
-anjuta_plugin_manager_get_type
-ANJUTA_PLUGIN_MANAGER_CLASS
-ANJUTA_IS_PLUGIN_MANAGER_CLASS
-ANJUTA_PLUGIN_MANAGER_GET_CLASS
-</SECTION>
-
-<SECTION>
<FILE>anjuta-shell</FILE>
ANJUTA_SHELL_ERROR
AnjutaShell
@@ -327,49 +227,6 @@
</SECTION>
<SECTION>
-<FILE>anjuta-c-module</FILE>
-AnjutaCModule
-anjuta_c_module_new
-anjuta_c_module_get_last_error
-<SUBSECTION Standard>
-ANJUTA_C_MODULE
-ANJUTA_IS_C_MODULE
-ANJUTA_TYPE_C_MODULE
-anjuta_c_module_get_type
-ANJUTA_C_MODULE_CLASS
-ANJUTA_IS_C_MODULE_CLASS
-ANJUTA_C_MODULE_GET_CLASS
-</SECTION>
-
-<SECTION>
-<FILE>anjuta-profile</FILE>
-ANJUTA_PROFILE_ERROR
-AnjutaProfileError
-AnjutaProfilePriv
-<TITLE>AnjutaProfile</TITLE>
-AnjutaProfile
-anjuta_profile_error_quark
-anjuta_profile_new
-anjuta_profile_get_name
-anjuta_profile_add_plugin
-anjuta_profile_remove_plugin
-anjuta_profile_add_plugins_from_xml
-anjuta_profile_has_plugin
-anjuta_profile_get_plugins
-anjuta_profile_to_xml
-anjuta_profile_set_sync_uri
-anjuta_profile_sync
-<SUBSECTION Standard>
-ANJUTA_PROFILE
-ANJUTA_IS_PROFILE
-ANJUTA_TYPE_PROFILE
-anjuta_profile_get_type
-ANJUTA_PROFILE_CLASS
-ANJUTA_IS_PROFILE_CLASS
-ANJUTA_PROFILE_GET_CLASS
-</SECTION>
-
-<SECTION>
<FILE>anjuta-preferences</FILE>
AnjutaPropertyObjectType
AnjutaPropertyDataType
@@ -454,6 +311,87 @@
</SECTION>
<SECTION>
+<FILE>anjuta-c-module</FILE>
+AnjutaCModule
+AnjutaCModuleClass
+anjuta_c_module_new
+anjuta_c_module_get_last_error
+<SUBSECTION Standard>
+ANJUTA_C_MODULE
+ANJUTA_IS_C_MODULE
+ANJUTA_TYPE_C_MODULE
+anjuta_c_module_get_type
+ANJUTA_C_MODULE_CLASS
+ANJUTA_IS_C_MODULE_CLASS
+ANJUTA_C_MODULE_GET_CLASS
+</SECTION>
+
+<SECTION>
+<FILE>anjuta-plugin</FILE>
+AnjutaGluePlugin
+AnjutaPluginPrivate
+AnjutaPluginValueAdded
+AnjutaPluginValueRemoved
+<TITLE>AnjutaPlugin</TITLE>
+AnjutaPlugin
+anjuta_plugin_activate
+anjuta_plugin_deactivate
+anjuta_plugin_is_active
+anjuta_plugin_add_watch
+anjuta_plugin_remove_watch
+ANJUTA_PLUGIN_BEGIN
+ANJUTA_PLUGIN_END
+ANJUTA_PLUGIN_ADD_INTERFACE
+ANJUTA_PLUGIN_BOILERPLATE
+ANJUTA_SIMPLE_PLUGIN
+<SUBSECTION Standard>
+ANJUTA_PLUGIN
+ANJUTA_IS_PLUGIN
+ANJUTA_TYPE_PLUGIN
+anjuta_plugin_get_type
+ANJUTA_PLUGIN_CLASS
+ANJUTA_IS_PLUGIN_CLASS
+ANJUTA_PLUGIN_GET_CLASS
+</SECTION>
+
+<SECTION>
+<FILE>anjuta-plugin-manager</FILE>
+ANJUTA_PLUGIN_MANAGER_ERROR
+AnjutaPluginManagerError
+AnjutaPluginManagerPriv
+<TITLE>AnjutaPluginManager</TITLE>
+AnjutaPluginManager
+anjuta_plugin_manager_error_quark
+anjuta_plugin_manager_new
+anjuta_plugin_manager_is_active_plugin
+anjuta_plugin_manager_get_plugin
+anjuta_plugin_manager_get_plugin_by_id
+anjuta_plugin_manager_unload_plugin
+anjuta_plugin_manager_unload_plugin_by_id
+anjuta_plugin_manager_get_active_plugins
+anjuta_plugin_manager_get_active_plugin_objects
+anjuta_plugin_manager_get_plugins_page
+anjuta_plugin_manager_get_remembered_plugins_page
+anjuta_plugin_manager_query
+anjuta_plugin_manager_list_query
+anjuta_plugin_manager_select
+anjuta_plugin_manager_select_and_activate
+anjuta_plugin_manager_activate_plugins
+anjuta_plugin_manager_unload_all_plugins
+anjuta_plugin_manager_get_remembered_plugins
+anjuta_plugin_manager_set_remembered_plugins
+anjuta_plugin_manager_get_interface
+<SUBSECTION Standard>
+ANJUTA_PLUGIN_MANAGER
+ANJUTA_IS_PLUGIN_MANAGER
+ANJUTA_TYPE_PLUGIN_MANAGER
+anjuta_plugin_manager_get_type
+ANJUTA_PLUGIN_MANAGER_CLASS
+ANJUTA_IS_PLUGIN_MANAGER_CLASS
+ANJUTA_PLUGIN_MANAGER_GET_CLASS
+</SECTION>
+
+<SECTION>
<FILE>anjuta-command</FILE>
AnjutaCommandPriv
<TITLE>AnjutaCommand</TITLE>
@@ -475,6 +413,70 @@
</SECTION>
<SECTION>
+<FILE>anjuta-plugin-handle</FILE>
+AnjutaPluginHandlePriv
+<TITLE>AnjutaPluginHandle</TITLE>
+AnjutaPluginHandle
+anjuta_plugin_handle_new
+anjuta_plugin_handle_get_id
+anjuta_plugin_handle_get_name
+anjuta_plugin_handle_get_about
+anjuta_plugin_handle_get_icon_path
+anjuta_plugin_handle_get_path
+anjuta_plugin_handle_get_user_activatable
+anjuta_plugin_handle_get_resident
+anjuta_plugin_handle_get_language
+anjuta_plugin_handle_get_description
+anjuta_plugin_handle_get_dependency_names
+anjuta_plugin_handle_get_dependencies
+anjuta_plugin_handle_get_dependents
+anjuta_plugin_handle_get_interfaces
+anjuta_plugin_handle_get_can_load
+anjuta_plugin_handle_get_checked
+anjuta_plugin_handle_get_resolve_pass
+anjuta_plugin_handle_set_can_load
+anjuta_plugin_handle_set_checked
+anjuta_plugin_handle_set_resolve_pass
+anjuta_plugin_handle_unresolve_dependencies
+<SUBSECTION Standard>
+ANJUTA_PLUGIN_HANDLE
+ANJUTA_IS_PLUGIN_HANDLE
+ANJUTA_TYPE_PLUGIN_HANDLE
+anjuta_plugin_handle_get_type
+ANJUTA_PLUGIN_HANDLE_CLASS
+ANJUTA_IS_PLUGIN_HANDLE_CLASS
+ANJUTA_PLUGIN_HANDLE_GET_CLASS
+</SECTION>
+
+<SECTION>
+<FILE>anjuta-profile</FILE>
+ANJUTA_PROFILE_ERROR
+AnjutaProfileError
+AnjutaProfilePriv
+<TITLE>AnjutaProfile</TITLE>
+AnjutaProfile
+anjuta_profile_error_quark
+anjuta_profile_new
+anjuta_profile_get_name
+anjuta_profile_add_plugin
+anjuta_profile_remove_plugin
+anjuta_profile_add_plugins_from_xml
+anjuta_profile_has_plugin
+anjuta_profile_get_plugins
+anjuta_profile_to_xml
+anjuta_profile_set_sync_file
+anjuta_profile_sync
+<SUBSECTION Standard>
+ANJUTA_PROFILE
+ANJUTA_IS_PROFILE
+ANJUTA_TYPE_PROFILE
+anjuta_profile_get_type
+ANJUTA_PROFILE_CLASS
+ANJUTA_IS_PROFILE_CLASS
+ANJUTA_PROFILE_GET_CLASS
+</SECTION>
+
+<SECTION>
<FILE>anjuta-profile-manager</FILE>
AnjutaProfileManagerPriv
<TITLE>AnjutaProfileManager</TITLE>
@@ -496,18 +498,18 @@
</SECTION>
<SECTION>
-<FILE>anjuta-c-plugin-factory</FILE>
-AnjutaCPluginFactory
-anjuta_c_plugin_factory_new
-anjuta_c_plugin_factory_free
-<SUBSECTION Standard>
-ANJUTA_C_PLUGIN_FACTORY
-ANJUTA_IS_C_PLUGIN_FACTORY
-ANJUTA_TYPE_C_PLUGIN_FACTORY
-anjuta_c_plugin_factory_get_type
-ANJUTA_C_PLUGIN_FACTORY_CLASS
-ANJUTA_IS_C_PLUGIN_FACTORY_CLASS
-ANJUTA_C_PLUGIN_FACTORY_GET_CLASS
+<FILE>anjuta-glue-code</FILE>
+<TITLE>AnjutaGlueCPlugin</TITLE>
+AnjutaGlueCPlugin
+anjuta_glue_c_plugin_new
+<SUBSECTION Standard>
+ANJUTA_GLUE_C_PLUGIN
+ANJUTA_GLUE_IS_C_PLUGIN
+ANJUTA_GLUE_TYPE_C_PLUGIN
+anjuta_glue_c_plugin_get_type
+ANJUTA_GLUE_C_PLUGIN_CLASS
+ANJUTA_GLUE_IS_C_PLUGIN_CLASS
+ANJUTA_GLUE_C_PLUGIN_GET_CLASS
</SECTION>
<SECTION>
@@ -516,7 +518,6 @@
AnjutaVcsStatusTreeViewPriv
<TITLE>AnjutaVcsStatusTreeView</TITLE>
AnjutaVcsStatusTreeView
-AnjutaVcsStatus
anjuta_vcs_status_tree_view_new
anjuta_vcs_status_tree_view_destroy
anjuta_vcs_status_tree_view_add
@@ -534,6 +535,22 @@
</SECTION>
<SECTION>
+<FILE>anjuta-c-plugin-factory</FILE>
+AnjutaCPluginFactory
+AnjutaCPluginFactoryClass
+anjuta_c_plugin_factory_new
+anjuta_c_plugin_factory_free
+<SUBSECTION Standard>
+ANJUTA_C_PLUGIN_FACTORY
+ANJUTA_IS_C_PLUGIN_FACTORY
+ANJUTA_TYPE_C_PLUGIN_FACTORY
+anjuta_c_plugin_factory_get_type
+ANJUTA_C_PLUGIN_FACTORY_CLASS
+ANJUTA_IS_C_PLUGIN_FACTORY_CLASS
+ANJUTA_C_PLUGIN_FACTORY_GET_CLASS
+</SECTION>
+
+<SECTION>
<FILE>anjuta-message-area</FILE>
AnjutaMessageAreaPrivate
<TITLE>AnjutaMessageArea</TITLE>
@@ -692,6 +709,9 @@
IAnjutaDebugManager
IAnjutaDebugManagerIface
ianjuta_debug_manager_error_quark
+ianjuta_debug_manager_quit
+ianjuta_debug_manager_start
+ianjuta_debug_manager_start_remote
<SUBSECTION Standard>
IANJUTA_DEBUG_MANAGER
IANJUTA_IS_DEBUG_MANAGER
@@ -727,6 +747,7 @@
ianjuta_debugger_abort
ianjuta_debugger_attach
ianjuta_debugger_callback
+ianjuta_debugger_connect
ianjuta_debugger_disable_log
ianjuta_debugger_enable_log
ianjuta_debugger_evaluate
@@ -1196,22 +1217,6 @@
</SECTION>
<SECTION>
-<FILE>ianjuta-environment</FILE>
-IANJUTA_ENVIRONMENT_ERROR
-IAnjutaEnvironment
-IAnjutaEnvironmentIface
-ianjuta_environment_error_quark
-ianjuta_environment_get_real_directory
-ianjuta_environment_override
-<SUBSECTION Standard>
-IANJUTA_ENVIRONMENT
-IANJUTA_IS_ENVIRONMENT
-IANJUTA_TYPE_ENVIRONMENT
-ianjuta_environment_get_type
-IANJUTA_ENVIRONMENT_GET_IFACE
-</SECTION>
-
-<SECTION>
<FILE>ianjuta-file</FILE>
IANJUTA_FILE_ERROR
IAnjutaFile
@@ -1685,21 +1690,6 @@
</SECTION>
<SECTION>
-<FILE>ianjuta-terminal</FILE>
-IANJUTA_TERMINAL_ERROR
-IAnjutaTerminal
-IAnjutaTerminalIface
-ianjuta_terminal_error_quark
-ianjuta_terminal_execute_command
-<SUBSECTION Standard>
-IANJUTA_TERMINAL
-IANJUTA_IS_TERMINAL
-IANJUTA_TYPE_TERMINAL
-ianjuta_terminal_get_type
-IANJUTA_TERMINAL_GET_IFACE
-</SECTION>
-
-<SECTION>
<FILE>ianjuta-todo</FILE>
IANJUTA_TODO_ERROR
IAnjutaTodo
@@ -1715,20 +1705,41 @@
</SECTION>
<SECTION>
+<FILE>ianjuta-terminal</FILE>
+IANJUTA_TERMINAL_ERROR
+IAnjutaTerminal
+IAnjutaTerminalIface
+ianjuta_terminal_error_quark
+ianjuta_terminal_execute_command
+<SUBSECTION Standard>
+IANJUTA_TERMINAL
+IANJUTA_IS_TERMINAL
+IANJUTA_TYPE_TERMINAL
+ianjuta_terminal_get_type
+IANJUTA_TERMINAL_GET_IFACE
+</SECTION>
+
+<SECTION>
<FILE>ianjuta-vcs</FILE>
+IANJUTA_TYPE_VCS_ERROR
IANJUTA_VCS_ERROR
IAnjutaVcs
IAnjutaVcsIface
+IAnjutaVcsError
+IAnjutaVcsStatusCallback
+IAnjutaVcsDiffCallback
ianjuta_vcs_error_quark
+ianjuta_vcs_get_type
ianjuta_vcs_add
-ianjuta_vcs_remove
-ianjuta_vcs_update
+ianjuta_vcs_checkout
ianjuta_vcs_diff
+ianjuta_vcs_query_status
+ianjuta_vcs_remove
<SUBSECTION Standard>
IANJUTA_VCS
IANJUTA_IS_VCS
IANJUTA_TYPE_VCS
-ianjuta_vcs_get_type
+ianjuta_vcs_error_get_type
IANJUTA_VCS_GET_IFACE
</SECTION>
@@ -1748,6 +1759,22 @@
</SECTION>
<SECTION>
+<FILE>ianjuta-environment</FILE>
+IANJUTA_ENVIRONMENT_ERROR
+IAnjutaEnvironment
+IAnjutaEnvironmentIface
+ianjuta_environment_error_quark
+ianjuta_environment_get_real_directory
+ianjuta_environment_override
+<SUBSECTION Standard>
+IANJUTA_ENVIRONMENT
+IANJUTA_IS_ENVIRONMENT
+IANJUTA_TYPE_ENVIRONMENT
+ianjuta_environment_get_type
+IANJUTA_ENVIRONMENT_GET_IFACE
+</SECTION>
+
+<SECTION>
<FILE>anjuta-plugin-description</FILE>
AnjutaPluginDescription
AnjutaPluginDescriptionSectionFunc
@@ -1770,6 +1797,7 @@
<SECTION>
<FILE>anjuta-debug</FILE>
DEBUG_PRINT
+anjuta_debug_init
</SECTION>
<SECTION>
@@ -1796,6 +1824,17 @@
</SECTION>
<SECTION>
+<FILE>anjuta-version</FILE>
+LIBANJUTA_MAJOR_VERSION
+LIBANJUTA_MINOR_VERSION
+LIBANJUTA_MICRO_VERSION
+LIBANJUTA_VERSION
+LIBANJUTA_VERSION_S
+LIBANJUTA_VERSION_HEX
+ANJUTA_CHECK_VERSION
+</SECTION>
+
+<SECTION>
<FILE>anjuta-encodings</FILE>
AnjutaEncoding
ANJUTA_TYPE_ENCODING
@@ -1812,17 +1851,6 @@
</SECTION>
<SECTION>
-<FILE>anjuta-version</FILE>
-LIBANJUTA_MAJOR_VERSION
-LIBANJUTA_MINOR_VERSION
-LIBANJUTA_MICRO_VERSION
-LIBANJUTA_VERSION
-LIBANJUTA_VERSION_S
-LIBANJUTA_VERSION_HEX
-ANJUTA_CHECK_VERSION
-</SECTION>
-
-<SECTION>
<FILE>anjuta-utils</FILE>
anjuta_util_copy_file
anjuta_util_diff
@@ -1863,6 +1891,7 @@
anjuta_util_replace_home_dir_with_tilde
anjuta_util_str_middle_truncate
anjuta_util_get_uri_mime_type
+anjuta_util_get_local_path_from_uri
anjuta_util_help_display
anjuta_util_get_user_data_file
anjuta_util_get_user_cache_file
@@ -1929,6 +1958,13 @@
</SECTION>
<SECTION>
+<FILE>anjuta-error</FILE>
+G_TYPE_ERROR
+NEED_G_ERROR_GET_TYPE
+g_error_get_type
+</SECTION>
+
+<SECTION>
<FILE>anjuta-utils-priv</FILE>
forkpty
</SECTION>
@@ -1943,13 +1979,6 @@
</SECTION>
<SECTION>
-<FILE>anjuta-error</FILE>
-G_TYPE_ERROR
-NEED_G_ERROR_GET_TYPE
-g_error_get_type
-</SECTION>
-
-<SECTION>
<FILE>anjuta-async-command</FILE>
ANJUTA_TYPE_ASYNC_COMMAND
ANJUTA_ASYNC_COMMAND
@@ -1968,10 +1997,6 @@
</SECTION>
<SECTION>
-<FILE>anjuta-widgets</FILE>
-</SECTION>
-
-<SECTION>
<FILE>libanjuta-iface-marshallers</FILE>
libanjuta_iface_cclosure_marshal_VOID__BOOLEAN
libanjuta_iface_cclosure_marshal_VOID__BOOLEAN_INT
Modified: trunk/plugins/gdb/Makefile.am
==============================================================================
--- trunk/plugins/gdb/Makefile.am (original)
+++ trunk/plugins/gdb/Makefile.am Sat Nov 29 18:05:45 2008
@@ -23,7 +23,8 @@
AM_CPPFLAGS= \
$(WARN_CFLAGS) \
$(DEPRECATED_FLAGS) \
- $(LIBANJUTA_CFLAGS)
+ $(LIBANJUTA_CFLAGS) \
+ -DG_LOG_DOMAIN=\"libanjuta-gdb\"
plugindir = $(anjuta_plugin_dir)
plugin_LTLIBRARIES = libanjuta-gdb.la
Modified: trunk/src/Makefile.am
==============================================================================
--- trunk/src/Makefile.am (original)
+++ trunk/src/Makefile.am Sat Nov 29 18:05:45 2008
@@ -26,7 +26,8 @@
-DPACKAGE_DOC_DIR=\"$(datadir)/doc/$(PACKAGE)\" \
-DPACKAGE_PIXMAPS_DIR=\"$(datadir)/pixmaps/$(PACKAGE)\" \
-DPACKAGE_PLUGIN_DIR=\"$(libdir)/$(PACKAGE)\" \
- -DPACKAGE_LOCALE_DIR=\"$(datadir)/locale\"
+ -DPACKAGE_LOCALE_DIR=\"$(datadir)/locale\" \
+ -DG_LOG_DOMAIN=\"Anjuta\"
include $(top_srcdir)/plugins/editor/scintilla/lexers.make
Modified: trunk/src/main.c
==============================================================================
--- trunk/src/main.c (original)
+++ trunk/src/main.c Sat Nov 29 18:05:45 2008
@@ -344,7 +344,10 @@
GNOME_PARAM_APP_DATADIR, data_dir,
GNOME_PARAM_NONE);
g_free (data_dir);
-
+
+ /* Init debug helpers */
+ anjuta_debug_init ();
+
/* Get the command line files */
get_command_line_args ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]