anjuta r4211 - in trunk: . plugins/subversion
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4211 - in trunk: . plugins/subversion
- Date: Tue, 2 Sep 2008 07:14:00 +0000 (UTC)
Author: jhs
Date: Tue Sep 2 07:13:59 2008
New Revision: 4211
URL: http://svn.gnome.org/viewvc/anjuta?rev=4211&view=rev
Log:
2008-08-20 Ignacio Casal Quinteiro <nacho resa gmail com>
* plugins/subversion/svn-copy-command.h:
* plugins/subversion/svn-copy-command.c:
* plugins/subversion/svn-commit-command.c:
* plugins/subversion/svn-commit-command.h:
* plugins/subversion/svn-status-command.c:
* plugins/subversion/svn-status-command.h:
* plugins/subversion/svn-cat-command.c:
* plugins/subversion/svn-cat-command.h:
* plugins/subversion/svn-log-command.c:
* plugins/subversion/svn-log-command.h:
* plugins/subversion/svn-update-command.c:
* plugins/subversion/svn-update-command.h:
* plugins/subversion/svn-add-command.c:
* plugins/subversion/svn-add-command.h:
* plugins/subversion/svn-remove-command.c:
* plugins/subversion/svn-remove-command.h:
* plugins/subversion/svn-command.c:
* plugins/subversion/svn-command.h:
* plugins/subversion/svn-switch-command.h:
* plugins/subversion/svn-switch-command.c:
* plugins/subversion/svn-merge-command.c:
* plugins/subversion/svn-merge-command.h:
* plugins/subversion/svn-diff-command.c:
* plugins/subversion/svn-diff-command.h:
Added const attribute. (#548649)
Modified:
trunk/ChangeLog
trunk/plugins/subversion/svn-add-command.c
trunk/plugins/subversion/svn-add-command.h
trunk/plugins/subversion/svn-cat-command.c
trunk/plugins/subversion/svn-cat-command.h
trunk/plugins/subversion/svn-command.c
trunk/plugins/subversion/svn-command.h
trunk/plugins/subversion/svn-commit-command.c
trunk/plugins/subversion/svn-commit-command.h
trunk/plugins/subversion/svn-copy-command.c
trunk/plugins/subversion/svn-copy-command.h
trunk/plugins/subversion/svn-diff-command.c
trunk/plugins/subversion/svn-diff-command.h
trunk/plugins/subversion/svn-log-command.c
trunk/plugins/subversion/svn-log-command.h
trunk/plugins/subversion/svn-merge-command.c
trunk/plugins/subversion/svn-merge-command.h
trunk/plugins/subversion/svn-remove-command.c
trunk/plugins/subversion/svn-remove-command.h
trunk/plugins/subversion/svn-status-command.c
trunk/plugins/subversion/svn-status-command.h
trunk/plugins/subversion/svn-switch-command.c
trunk/plugins/subversion/svn-switch-command.h
trunk/plugins/subversion/svn-update-command.c
trunk/plugins/subversion/svn-update-command.h
Modified: trunk/plugins/subversion/svn-add-command.c
==============================================================================
--- trunk/plugins/subversion/svn-add-command.c (original)
+++ trunk/plugins/subversion/svn-add-command.c Tue Sep 2 07:13:59 2008
@@ -92,7 +92,7 @@
SvnAddCommand *
-svn_add_command_new (gchar *path, gboolean force, gboolean recursive)
+svn_add_command_new (const gchar *path, gboolean force, gboolean recursive)
{
SvnAddCommand *self;
Modified: trunk/plugins/subversion/svn-add-command.h
==============================================================================
--- trunk/plugins/subversion/svn-add-command.h (original)
+++ trunk/plugins/subversion/svn-add-command.h Tue Sep 2 07:13:59 2008
@@ -57,7 +57,7 @@
};
GType svn_add_command_get_type (void) G_GNUC_CONST;
-SvnAddCommand * svn_add_command_new (gchar *path, gboolean force, gboolean recursive);
+SvnAddCommand * svn_add_command_new (const gchar *path, gboolean force, gboolean recursive);
void svn_add_command_destroy (SvnAddCommand *self);
G_END_DECLS
Modified: trunk/plugins/subversion/svn-cat-command.c
==============================================================================
--- trunk/plugins/subversion/svn-cat-command.c (original)
+++ trunk/plugins/subversion/svn-cat-command.c Tue Sep 2 07:13:59 2008
@@ -143,7 +143,7 @@
SvnCatCommand *
-svn_cat_command_new (gchar *path, glong revision)
+svn_cat_command_new (const gchar *path, glong revision)
{
SvnCatCommand *self;
Modified: trunk/plugins/subversion/svn-cat-command.h
==============================================================================
--- trunk/plugins/subversion/svn-cat-command.h (original)
+++ trunk/plugins/subversion/svn-cat-command.h Tue Sep 2 07:13:59 2008
@@ -54,7 +54,7 @@
};
GType svn_cat_command_get_type (void) G_GNUC_CONST;
-SvnCatCommand * svn_cat_command_new (gchar *path, glong revision);
+SvnCatCommand * svn_cat_command_new (const gchar *path, glong revision);
void svn_cat_command_destroy (SvnCatCommand *self);
GQueue *svn_cat_command_get_output (SvnCatCommand *self);
Modified: trunk/plugins/subversion/svn-command.c
==============================================================================
--- trunk/plugins/subversion/svn-command.c (original)
+++ trunk/plugins/subversion/svn-command.c Tue Sep 2 07:13:59 2008
@@ -527,7 +527,7 @@
void
-svn_command_push_info (SvnCommand *self, gchar *message)
+svn_command_push_info (SvnCommand *self, const gchar *message)
{
anjuta_async_command_lock (ANJUTA_ASYNC_COMMAND (self));
g_queue_push_tail (self->priv->info_messages, g_strdup (message));
@@ -600,7 +600,7 @@
}
gchar *
-svn_command_make_canonical_path (SvnCommand *self, gchar *path)
+svn_command_make_canonical_path (SvnCommand *self, const gchar *path)
{
const gchar *canonical_path;
@@ -610,7 +610,7 @@
}
svn_opt_revision_t *
-svn_command_get_revision (gchar *revision)
+svn_command_get_revision (const gchar *revision)
{
svn_opt_revision_t* svn_revision;
Modified: trunk/plugins/subversion/svn-command.h
==============================================================================
--- trunk/plugins/subversion/svn-command.h (original)
+++ trunk/plugins/subversion/svn-command.h Tue Sep 2 07:13:59 2008
@@ -59,17 +59,17 @@
};
GType svn_command_get_type (void) G_GNUC_CONST;
-void svn_command_push_info (SvnCommand *self, gchar *message);
+void svn_command_push_info (SvnCommand *self, const gchar *message);
GQueue * svn_command_get_info_queue (SvnCommand *self);
void svn_command_set_error (SvnCommand *self, svn_error_t *error);
svn_client_ctx_t *svn_command_get_client_context (SvnCommand *self);
apr_pool_t *svn_command_get_pool (SvnCommand *self);
void svn_command_lock_ui (SvnCommand *self);
void svn_command_unlock_ui (SvnCommand *self);
-gchar *svn_command_make_canonical_path (SvnCommand *self, gchar *path);
+gchar *svn_command_make_canonical_path (SvnCommand *self, const gchar *path);
/* Static methods */
-svn_opt_revision_t *svn_command_get_revision (gchar *revision);
+svn_opt_revision_t *svn_command_get_revision (const gchar *revision);
GList *svn_command_copy_path_list (GList *list);
void svn_command_free_path_list (GList *list);
Modified: trunk/plugins/subversion/svn-commit-command.c
==============================================================================
--- trunk/plugins/subversion/svn-commit-command.c (original)
+++ trunk/plugins/subversion/svn-commit-command.c Tue Sep 2 07:13:59 2008
@@ -141,7 +141,7 @@
}
SvnCommitCommand *
-svn_commit_command_new (GList *paths, gchar *log_message,
+svn_commit_command_new (GList *paths, const gchar *log_message,
gboolean recursive)
{
SvnCommitCommand *self;
Modified: trunk/plugins/subversion/svn-commit-command.h
==============================================================================
--- trunk/plugins/subversion/svn-commit-command.h (original)
+++ trunk/plugins/subversion/svn-commit-command.h Tue Sep 2 07:13:59 2008
@@ -57,7 +57,7 @@
};
GType svn_commit_command_get_type (void) G_GNUC_CONST;
-SvnCommitCommand * svn_commit_command_new (GList *paths, gchar *log_message,
+SvnCommitCommand * svn_commit_command_new (GList *paths, const gchar *log_message,
gboolean recursive);
void svn_commit_command_destroy (SvnCommitCommand *self);
Modified: trunk/plugins/subversion/svn-copy-command.c
==============================================================================
--- trunk/plugins/subversion/svn-copy-command.c (original)
+++ trunk/plugins/subversion/svn-copy-command.c Tue Sep 2 07:13:59 2008
@@ -142,8 +142,8 @@
}
SvnCopyCommand *
-svn_copy_command_new (gchar *source_path, glong source_revision,
- gchar *dest_path, gchar *log_message)
+svn_copy_command_new (const gchar *source_path, glong source_revision,
+ const gchar *dest_path, const gchar *log_message)
{
SvnCopyCommand *self;
Modified: trunk/plugins/subversion/svn-copy-command.h
==============================================================================
--- trunk/plugins/subversion/svn-copy-command.h (original)
+++ trunk/plugins/subversion/svn-copy-command.h Tue Sep 2 07:13:59 2008
@@ -61,8 +61,8 @@
};
GType svn_copy_command_get_type (void) G_GNUC_CONST;
-SvnCopyCommand *svn_copy_command_new (gchar *source_path, glong source_revision,
- gchar *dest_path, gchar *log_message);
+SvnCopyCommand *svn_copy_command_new (const gchar *source_path, glong source_revision,
+ const gchar *dest_path, const gchar *log_message);
void svn_copy_command_destroy (SvnCopyCommand *self);
G_END_DECLS
Modified: trunk/plugins/subversion/svn-diff-command.c
==============================================================================
--- trunk/plugins/subversion/svn-diff-command.c (original)
+++ trunk/plugins/subversion/svn-diff-command.c Tue Sep 2 07:13:59 2008
@@ -110,7 +110,6 @@
gchar file_template[] = "anjuta-svn-diffXXXXXX";
gchar *line;
svn_error_t *error;
- apr_status_t apr_error;
apr_off_t offset;
self = SVN_DIFF_COMMAND (command);
@@ -208,7 +207,7 @@
}
SvnDiffCommand *
-svn_diff_command_new (gchar *path, glong revision1, glong revision2,
+svn_diff_command_new (const gchar *path, glong revision1, glong revision2,
gboolean recursive)
{
SvnDiffCommand *self;
Modified: trunk/plugins/subversion/svn-diff-command.h
==============================================================================
--- trunk/plugins/subversion/svn-diff-command.h (original)
+++ trunk/plugins/subversion/svn-diff-command.h Tue Sep 2 07:13:59 2008
@@ -61,7 +61,7 @@
};
GType svn_diff_command_get_type (void) G_GNUC_CONST;
-SvnDiffCommand *svn_diff_command_new (gchar *path, glong revision1,
+SvnDiffCommand *svn_diff_command_new (const gchar *path, glong revision1,
glong revision2, gboolean recursive);
void svn_diff_command_destroy (SvnDiffCommand *self);
Modified: trunk/plugins/subversion/svn-log-command.c
==============================================================================
--- trunk/plugins/subversion/svn-log-command.c (original)
+++ trunk/plugins/subversion/svn-log-command.c Tue Sep 2 07:13:59 2008
@@ -170,7 +170,7 @@
}
SvnLogCommand *
-svn_log_command_new (gchar *path)
+svn_log_command_new (const gchar *path)
{
SvnLogCommand *self;
Modified: trunk/plugins/subversion/svn-log-command.h
==============================================================================
--- trunk/plugins/subversion/svn-log-command.h (original)
+++ trunk/plugins/subversion/svn-log-command.h Tue Sep 2 07:13:59 2008
@@ -56,7 +56,7 @@
};
GType svn_log_command_get_type (void) G_GNUC_CONST;
-SvnLogCommand *svn_log_command_new (gchar *path);
+SvnLogCommand *svn_log_command_new (const gchar *path);
void svn_log_command_destroy (SvnLogCommand *self);
GQueue *svn_log_command_get_entry_queue (SvnLogCommand *self);
Modified: trunk/plugins/subversion/svn-merge-command.c
==============================================================================
--- trunk/plugins/subversion/svn-merge-command.c (original)
+++ trunk/plugins/subversion/svn-merge-command.c Tue Sep 2 07:13:59 2008
@@ -121,11 +121,11 @@
}
SvnMergeCommand *
-svn_merge_command_new (gchar *path1,
- gchar *path2,
+svn_merge_command_new (const gchar *path1,
+ const gchar *path2,
glong start_revision,
glong end_revision,
- gchar *target_path,
+ const gchar *target_path,
gboolean recursive,
gboolean ignore_ancestry,
gboolean force,
Modified: trunk/plugins/subversion/svn-merge-command.h
==============================================================================
--- trunk/plugins/subversion/svn-merge-command.h (original)
+++ trunk/plugins/subversion/svn-merge-command.h Tue Sep 2 07:13:59 2008
@@ -59,11 +59,11 @@
};
GType svn_merge_command_get_type (void) G_GNUC_CONST;
-SvnMergeCommand *svn_merge_command_new (gchar *path1,
- gchar *path2,
+SvnMergeCommand *svn_merge_command_new (const gchar *path1,
+ const gchar *path2,
glong start_revision,
glong end_revision,
- gchar *target_path,
+ const gchar *target_path,
gboolean recursive,
gboolean ignore_ancestry,
gboolean force,
Modified: trunk/plugins/subversion/svn-remove-command.c
==============================================================================
--- trunk/plugins/subversion/svn-remove-command.c (original)
+++ trunk/plugins/subversion/svn-remove-command.c Tue Sep 2 07:13:59 2008
@@ -134,7 +134,7 @@
}
SvnRemoveCommand *
-svn_remove_command_new (gchar *path, gchar *log_message, gboolean force)
+svn_remove_command_new (const gchar *path, const gchar *log_message, gboolean force)
{
SvnRemoveCommand *self;
Modified: trunk/plugins/subversion/svn-remove-command.h
==============================================================================
--- trunk/plugins/subversion/svn-remove-command.h (original)
+++ trunk/plugins/subversion/svn-remove-command.h Tue Sep 2 07:13:59 2008
@@ -57,7 +57,7 @@
};
GType svn_remove_command_get_type (void) G_GNUC_CONST;
-SvnRemoveCommand * svn_remove_command_new (gchar *path, gchar *log_message,
+SvnRemoveCommand * svn_remove_command_new (const gchar *path, const gchar *log_message,
gboolean force);
void svn_remove_command_destroy (SvnRemoveCommand *self);
gchar *svn_remove_command_get_path (SvnRemoveCommand *self);
Modified: trunk/plugins/subversion/svn-status-command.c
==============================================================================
--- trunk/plugins/subversion/svn-status-command.c (original)
+++ trunk/plugins/subversion/svn-status-command.c Tue Sep 2 07:13:59 2008
@@ -141,7 +141,7 @@
}
SvnStatusCommand *
-svn_status_command_new (gchar *path, gboolean recursive, gboolean get_all_items)
+svn_status_command_new (const gchar *path, gboolean recursive, gboolean get_all_items)
{
SvnStatusCommand *self;
Modified: trunk/plugins/subversion/svn-status-command.h
==============================================================================
--- trunk/plugins/subversion/svn-status-command.h (original)
+++ trunk/plugins/subversion/svn-status-command.h Tue Sep 2 07:13:59 2008
@@ -55,7 +55,7 @@
};
GType svn_status_command_get_type (void) G_GNUC_CONST;
-SvnStatusCommand *svn_status_command_new (gchar *path, gboolean recursive,
+SvnStatusCommand *svn_status_command_new (const gchar *path, gboolean recursive,
gboolean get_all_items);
void svn_status_command_destroy (SvnStatusCommand *self);
GQueue *svn_status_command_get_status_queue (SvnStatusCommand *self);
Modified: trunk/plugins/subversion/svn-switch-command.c
==============================================================================
--- trunk/plugins/subversion/svn-switch-command.c (original)
+++ trunk/plugins/subversion/svn-switch-command.c Tue Sep 2 07:13:59 2008
@@ -109,7 +109,7 @@
}
SvnSwitchCommand *
-svn_switch_command_new (gchar *working_copy_path, gchar *branch_url,
+svn_switch_command_new (const gchar *working_copy_path, const gchar *branch_url,
glong revision, gboolean recursive)
{
SvnSwitchCommand *self;
Modified: trunk/plugins/subversion/svn-switch-command.h
==============================================================================
--- trunk/plugins/subversion/svn-switch-command.h (original)
+++ trunk/plugins/subversion/svn-switch-command.h Tue Sep 2 07:13:59 2008
@@ -59,8 +59,8 @@
};
GType svn_switch_command_get_type (void) G_GNUC_CONST;
-SvnSwitchCommand * svn_switch_command_new (gchar *working_copy_path,
- gchar *branch_url, glong revision,
+SvnSwitchCommand * svn_switch_command_new (const gchar *working_copy_path,
+ const gchar *branch_url, glong revision,
gboolean recursive);
void svn_switch_command_destroy (SvnSwitchCommand *self);
Modified: trunk/plugins/subversion/svn-update-command.c
==============================================================================
--- trunk/plugins/subversion/svn-update-command.c (original)
+++ trunk/plugins/subversion/svn-update-command.c Tue Sep 2 07:13:59 2008
@@ -113,7 +113,7 @@
SvnUpdateCommand *
-svn_update_command_new (gchar *path, gchar *revision, gboolean recursive)
+svn_update_command_new (const gchar *path, const gchar *revision, gboolean recursive)
{
SvnUpdateCommand *self;
Modified: trunk/plugins/subversion/svn-update-command.h
==============================================================================
--- trunk/plugins/subversion/svn-update-command.h (original)
+++ trunk/plugins/subversion/svn-update-command.h Tue Sep 2 07:13:59 2008
@@ -59,7 +59,7 @@
};
GType svn_update_command_get_type (void) G_GNUC_CONST;
-SvnUpdateCommand * svn_update_command_new (gchar *path, gchar *revision,
+SvnUpdateCommand * svn_update_command_new (const gchar *path, const gchar *revision,
gboolean recursive);
void svn_update_command_destroy (SvnUpdateCommand *self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]