anjuta r4368 - in trunk: . libanjuta libanjuta/interfaces manuals/reference/libanjuta plugins/symbol-db
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4368 - in trunk: . libanjuta libanjuta/interfaces manuals/reference/libanjuta plugins/symbol-db
- Date: Sun, 2 Nov 2008 17:40:00 +0000 (UTC)
Author: jhs
Date: Sun Nov 2 17:40:00 2008
New Revision: 4368
URL: http://svn.gnome.org/viewvc/anjuta?rev=4368&view=rev
Log:
/* Appends the text in buffer. Flushes the buffer where a newline is found.
* by emiiting buffer_flushed signal. The string is expected to be utf8.
*/
Modified:
trunk/ChangeLog
trunk/libanjuta/anjuta-vcs-status.h
trunk/libanjuta/interfaces/anjuta-idl-compiler.pl
trunk/libanjuta/interfaces/libanjuta.idl
trunk/manuals/reference/libanjuta/libanjuta-sections.txt
trunk/plugins/symbol-db/plugin.c
Modified: trunk/libanjuta/anjuta-vcs-status.h
==============================================================================
--- trunk/libanjuta/anjuta-vcs-status.h (original)
+++ trunk/libanjuta/anjuta-vcs-status.h Sun Nov 2 17:40:00 2008
@@ -19,15 +19,15 @@
/**
* IAnjutaVcsStatus:
- * @IANJUTA_VCS_STATUS_NONE: File has unknown status
- * @IANJUTA_VCS_STATUS_MODIFIED: File was modified locally
- * @IANJUTA_VCS_STATUS_ADDED: File was added
- * @IANJUTA_VCS_STATUS_DELETED: File was deleted
- * @IANJUTA_VCS_STATUS_CONFLICTED: File has unresolved conflict
- * @IANJUTA_VCS_STATUS_OUTDATED: File is not up-to-date
- * @IANJUTA_VCS_STATUS_LOCKED: File is locked
- * @IANJUTA_VCS_STATUS_MISSING: File is missing
- * @IANJUTA_VCS_STATUS_UNVERSIONED: File is ignored by VCS system
+ * @ANJUTA_VCS_STATUS_NONE: File has unknown status
+ * @ANJUTA_VCS_STATUS_MODIFIED: File was modified locally
+ * @ANJUTA_VCS_STATUS_ADDED: File was added
+ * @ANJUTA_VCS_STATUS_DELETED: File was deleted
+ * @ANJUTA_VCS_STATUS_CONFLICTED: File has unresolved conflict
+ * @ANJUTA_VCS_STATUS_OUTDATED: File is not up-to-date
+ * @ANJUTA_VCS_STATUS_LOCKED: File is locked
+ * @ANJUTA_VCS_STATUS_MISSING: File is missing
+ * @ANJUTA_VCS_STATUS_UNVERSIONED: File is ignored by VCS system
*
* This enumeration is used to specify the status of a file. A file can
* have multiple status flags assigned (MODIFIED and CONFLICT, for example)
Modified: trunk/libanjuta/interfaces/anjuta-idl-compiler.pl
==============================================================================
--- trunk/libanjuta/interfaces/anjuta-idl-compiler.pl (original)
+++ trunk/libanjuta/interfaces/anjuta-idl-compiler.pl Sun Nov 2 17:40:00 2008
@@ -1360,6 +1360,7 @@
foreach my $m (sort keys %$class_hr)
{
next if ($m =~ /^__/);
+ my $comments_out = $class_hr->{$m}->{'__comments'};
my $func = $class_hr->{$m}->{'function'};
my $rettype = normalize_namespace($class, $class_hr->{$m}->{'rettype'});
my $args = normalize_namespace($class, $class_hr->{$m}->{'args'});
@@ -1374,8 +1375,9 @@
$signal =~ s/_/-/g;
my $marshaller = construct_marshaller($rettype, $args);
- $answer .= "\t\t/* Signal */";
- $answer .="\n\t\tg_signal_new (\"$signal\",
+ $comments_out =~ s/\n/\n\t\t/g;
+ $answer .= "\n\t\t$comments_out";
+ $answer .="g_signal_new (\"$signal\",
$macro_type,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (${class}Iface, $func),
Modified: trunk/libanjuta/interfaces/libanjuta.idl
==============================================================================
--- trunk/libanjuta/interfaces/libanjuta.idl (original)
+++ trunk/libanjuta/interfaces/libanjuta.idl Sun Nov 2 17:40:00 2008
@@ -208,6 +208,16 @@
INVALID_LOCATION
}
+ /**
+ * IAnjutaMarkableMarker:
+ * @IANJUTA_MARKABLE_LINEMARKER: Mark a particular line
+ * @IANJUTA_MARKABLE_BOOKMARK: A bookmark
+ * @IANJUTA_MARKABLE_BREAKPOINT_DISABLED: a disabled breakpoint
+ * @IANJUTA_MARKABLE_BREAKPOINT_ENABLED: a enabled breakpoint
+ * @IANJUTA_MARKABLE_PROGRAM_COUNTER: Marks the program counter position
+ *
+ * This enumeration is used to specify the pixmap used for the marker
+ */
enum Marker
{
LINEMARKER,
@@ -216,7 +226,14 @@
BREAKPOINT_ENABLED,
PROGRAM_COUNTER
}
-
+ /**
+ * IAnjutaMarkable::marker-clicked:
+ * @obj: Self
+ * @double_click: whether the marker was double clicked
+ * @location: location of the clicked marker
+ *
+ * The signal is emitted when the user clicks on a marker
+ */
void ::marker_clicked (gboolean double_click, gint location);
/**
@@ -298,6 +315,16 @@
interface IAnjutaIndicable
{
#include <libanjuta/interfaces/ianjuta-iterable.h>
+
+ /**
+ * IAnjutaIndicableIndicator:
+ * @IANJUTA_INDICABLE_NONE: No indicator
+ * @IANJUTA_INDICABLE_IMPORTANT: Important indicator
+ * @IANJUTA_INDICABLE_WARNING: Warning indicator
+ * @IANJUTA_INDICABLE_CRITICAL: Critical indicator
+ *
+ * This enumeration is used to specify the appearance of the indicator
+ */
enum Indicator
{
NONE,
@@ -305,8 +332,28 @@
WARNING,
CRITICAL
}
-
+
+ /**
+ * ianjuta_indicable_set:
+ * @obj: Self
+ * @begin_location: Location where the indication should start
+ * @end_location: Location where the indication should end
+ * @indicator: the indicator to use
+ * @err: Error propagation and reporting
+ *
+ * Set an indicator
+ *
+ */
void set (IAnjutaIterable *begin_location, IAnjutaIterable *end_location, Indicator indicator);
+
+ /**
+ * ianjuta_indicable_clear:
+ * @obj: Self
+ * @err: Error propagation and reporting
+ *
+ * Clear all indicators
+ *
+ */
void clear ();
}
@@ -570,7 +617,20 @@
{
#include <libanjuta/anjuta-error.h>
- /* Types */
+ /**
+ * IAnjutaBuilderError:
+ * @IANJUTA_BUILDER_SUCCEED: Build succeeded
+ * @IANJUTA_BUILDER_FAILED: Build failed
+ * @IANJUTA_BUILDER_CANCELED: Build was canceld
+ * @IANJUTA_BUILDER_ABORTED: Build aborted
+ * @IANJUTA_BUILDER_INTERRUPTED: Build interruped
+ * @IANJUTA_BUILDER_TERMINATED: Build interruped
+ * @IANJUTA_BUILDER_UNKNOWN_TARGET: The specified target is unknown
+ * @IANJUTA_BUILDER_UNKNOWN_ERROR: Unknown Error
+ * @IANJUTA_BUILDER_OTHER_ERROR: Other Error (no unknown ;-))
+ *
+ * Possible build errors
+ */
enum Error
{
SUCCEED = 0,
@@ -702,6 +762,23 @@
*/
interface IAnjutaBuildable
{
+
+ /**
+ * IAnjutaBuildableCommand:
+ * @IANJUTA_BUILDABLE_COMMAND_COMPILE: Compile source
+ * @IANJUTA_BUILDABLE_COMMAND_BUILD: Build file (normally using make)
+ * @IANJUTA_BUILDABLE_COMMAND_BUILD_TARBALL: make dist
+ * @IANJUTA_BUILDABLE_COMMAND_INSTALL: make install
+ * @IANJUTA_BUILDABLE_COMMAND_CONFIGURE: ./configure
+ * @IANJUTA_BUILDABLE_COMMAND_GENERATE: ./autogen.sh
+ * @IANJUTA_BUILDABLE_COMMAND_CLEAN: make clean
+ * @IANJUTA_BUILDABLE_COMMAND_EXECUTE: ./hello
+ * @IANJUTA_BUILDABLE_COMMAND_IS_BUILT: check whether object files are up-to-date
+ * @IANJUTA_BUILDABLE_COMMAND_DISTCLEAN: make distclean
+ * @IANJUTA_BUILDABLE_N_COMMANDS: size of enum
+ *
+ * The enumeration is used to speficy the disered build operation
+ */
enum Command
{
COMMAND_COMPILE,
@@ -826,10 +903,10 @@
/**
* ianjuta_help_search:
* @obj: Self
- * @query: fixme
+ * @query: string to search in the help
* @err: Error propagation and reporting
*
- * fixme
+ * Search for string @query in the help and display the result
*/
void search (const gchar *query);
}
@@ -957,7 +1034,7 @@
interface IAnjutaDocument
{
/**
- * IAnjutaDocument::update_ui:
+ * IAnjutaDocument::update-ui:
* @obj: Self
*
* This signal is emitted when the document assumes the UI must be updated
@@ -1100,7 +1177,16 @@
{
DOESNT_EXIST
}
-
+ /**
+ * IAnjutaEditorAttribute:
+ * @IANJUTA_EDITOR_TEXT: Normal text
+ * @IANJUTA_EDITOR_KEYWORD: A keyword of the programming language
+ * @IANJUTA_EDITOR_COMMENT: A comment
+ * @IANJUTA_EDITOR_STRING: A string
+ *
+ * This enumeration is used to specify the type of text. Note that not all
+ * editors implement this.
+ */
enum Attribute
{
TEXT,
@@ -1110,7 +1196,7 @@
}
/**
- * IAnjutaEditor::char_added:
+ * IAnjutaEditor::char-added:
* @position: The iter position where @ch is added.
* @ch: The character that has been added.
* @obj: Self
@@ -1713,6 +1799,15 @@
*/
interface IAnjutaEditorLineMode
{
+ /**
+ * IAnjutaEditorLineModeType:
+ * @IANJUTA_EDITOR_LINE_MODE_LF: Line-Feed (Unix)
+ * @IANJUTA_EDITOR_LINE_MODE_CR: Carat return (Max)
+ * @IANJUTA_EDITOR_LINE_MODE_CRLF: Caret return + line-feed (Windows)
+ *
+ * This enumeration is used to specify the type of text. Note that not all
+ * editors implement this.
+ */
enum Type
{
LF,
@@ -1866,10 +1961,34 @@
interface IAnjutaEditorHover
{
#include <libanjuta/interfaces/ianjuta-iterable.h>
-
+
+ /* IAnjutaEditorAssist::hover-over:
+ * @obj: self
+ * @position: IAnjutaEditorCell specifying the position the mouse is over
+ *
+ * The mouse is held for a moment over @position. This can be used to show
+ * all tooltip.
+ */
void ::hover_over (GObject* position);
+
+ /* IAnjutaEditorAssist::hover-leave
+ * @obj: self
+ * @position: IAnjutaEditorCell specifying the position the mouse was over
+ *
+ * User moved the mouse away - can be used to clean up things done in
+ * #IAnjutaEditorHover::hover-over
+ */
void ::hover_leave (GObject* position);
+ /**
+ * ianjuta_editor_hover_display:
+ * @obj: Self
+ * @info: String to display
+ * @err: Error propagation and reporting
+ *
+ * Show @info as tooltip
+ *
+ */
void display (IAnjutaIterable* position, const gchar *info);
}
@@ -1884,6 +2003,12 @@
*/
interface IAnjutaEditorLanguage
{
+ /* IAnjutaEditorLanguage::language-changed:
+ * @obj: self
+ * @language: new language
+ *
+ * the language of the editor changed to @language
+ */
void ::language_changed (const gchar *language);
/**
@@ -1904,7 +2029,7 @@
* @obj: Self
* @err: Error propagation and reporting
*
- * FIXME
+ * Get a list of languages the editor can highlight
*
*/
@@ -2501,6 +2626,15 @@
*/
interface IAnjutaMessageView
{
+ /**
+ * IAnjutaMessageViewType:
+ * @IANJUTA_MESSAGE_VIEW_TYPE_NORMAL: Normal message
+ * @IANJUTA_MESSAGE_VIEW_TYPE_INFO: Info message (highlighed)
+ * @IANJUTA_MESSAGE_VIEW_TYPE_ERROR: Error message
+ * @IANJUTA_MESSAGE_VIEW_TYPE_WARNING: Warning message
+ *
+ * Speficy the type ot the message added to the message view
+ */
enum Type
{
TYPE_NORMAL,
@@ -2510,44 +2644,43 @@
}
/**
- * IAnjutaMessageView::message_clicked:
+ * IAnjutaMessageView::message-clicked:
* @obj: Self
- * @message: fixme
- * @err: Error propagation and reporting.
+ * @message: text of the clicked message
*
- * fixme
+ * Emitted when the user clicks on a message
*/
void ::message_clicked (const gchar *message);
/**
- * IAnjutaMessageView::buffer_flushed:
+ * IAnjutaMessageView::buffer-flushed:
* @obj: Self
- * @line: fixme
- * @err: Error propagation and reporting.
+ * @line: the current line
*
- * fixme
+ * Emitted when #ianjuta_message_view_buffer_append found a newline
*/
void ::buffer_flushed (const gchar *line);
/**
* ianjuta_message_view_buffer_append:
* @obj: Self
- * @text: fixme
+ * @text: text to show as message
* @err: Error propagation and reporting.
*
- * fixme
- */
+ * Appends the text in buffer. Flushes the buffer where a newline is found.
+ * by emiiting buffer_flushed signal. The string is expected to be utf8.
+ */
void buffer_append (const gchar *text);
/**
* ianjuta_message_view_append:
* @obj: Self
- * @type: fixme
- * @summary: fixme
- * @details: fixme
+ * @type: type of the message
+ * @summary: summary of the message
+ * @details: details of the message
* @err: Error propagation and reporting.
*
- * fixme
+ * Append the message with summary displayed and details displayed as tooltip
*/
void append (Type type, const gchar *summary, const gchar *details);
@@ -2556,7 +2689,7 @@
* @obj: Self
* @err: Error propagation and reporting.
*
- * fixme
+ * Clear all messages in buffer
*/
void clear ();
@@ -2565,7 +2698,7 @@
* @obj: Self
* @err: Error propagation and reporting.
*
- * fixme
+ * Select next message (of type INFO, WARNING or ERROR)
*/
void select_next ();
@@ -2574,7 +2707,7 @@
* @obj: Self
* @err: Error propagation and reporting.
*
- * fixme
+ * Select previous message
*/
void select_previous ();
@@ -2583,7 +2716,7 @@
* @obj: Self
* @err: Error propagation and reporting.
*
- * fixme
+ * Get the currently selected message
*/
const gchar* get_current_message ();
@@ -2592,7 +2725,7 @@
* @obj: Self
* @err: Error propagation and reporting.
*
- * fixme
+ * Get a list of all messages. The list has to be freed
*/
List<const gchar*> get_all_messages ();
}
@@ -2721,7 +2854,7 @@
#define SELECTED_FILE "file_manager_selected_file"
/**
- * IAnjutaFileManager::section_changed:
+ * IAnjutaFileManager::section-changed:
* @obj: Self
* @err: Error propagation and reporting.
*
@@ -3089,7 +3222,7 @@
* @obj: Self
* @err: Error propagation and reporting.
*
- * fixme
+ * Called when the wizard should start after some user action
*/
void activate();
}
@@ -4556,7 +4689,7 @@
void add(List<GFile*> files);
/**
- * ianjuta_cvs_remove:
+ * ianjuta_vcs_remove:
* @files: List of GFiles* to remove
* @obj: Self
* @err: Error propagation and reporting
@@ -4606,7 +4739,7 @@
*
* Returns: Id to cancel the request
*/
- void ianjuta_vcs_diff(GFile* file, DiffCallback callback, gpointer user_data, GCancellable* cancel);
+ void diff(GFile* file, DiffCallback callback, gpointer user_data, GCancellable* cancel);
}
/**
Modified: trunk/manuals/reference/libanjuta/libanjuta-sections.txt
==============================================================================
--- trunk/manuals/reference/libanjuta/libanjuta-sections.txt (original)
+++ trunk/manuals/reference/libanjuta/libanjuta-sections.txt Sun Nov 2 17:40:00 2008
@@ -1721,9 +1721,9 @@
IAnjutaVcsIface
ianjuta_vcs_error_quark
ianjuta_vcs_add
-ianjuta_vcs_commit
ianjuta_vcs_remove
ianjuta_vcs_update
+ianjuta_vcs_diff
<SUBSECTION Standard>
IANJUTA_VCS
IANJUTA_IS_VCS
Modified: trunk/plugins/symbol-db/plugin.c
==============================================================================
--- trunk/plugins/symbol-db/plugin.c (original)
+++ trunk/plugins/symbol-db/plugin.c Sun Nov 2 17:40:00 2008
@@ -1728,7 +1728,7 @@
if (ctags_path == NULL)
{
- g_warning ("ctags is not in preferences. Trying a default one %s",
+ DEBUG_PRINT ("ctags is not in preferences. Trying a default one %s",
CTAGS_PATH);
ctags_path = g_strdup (CTAGS_PATH);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]