SF.net SVN: geany-plugins:[2015] trunk/geany-plugins/geanyvc/src
frlan at users.sourceforge.net
frlan at xxxxx
Sat Apr 9 15:09:50 UTC 2011
Revision: 2015
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2015&view=rev
Author: frlan
Date: 2011-04-09 15:09:50 +0000 (Sat, 09 Apr 2011)
Log Message:
-----------
GeanyVC: Make usage of /* */ in favor of //
Modified Paths:
--------------
trunk/geany-plugins/geanyvc/src/geanyvc.c
trunk/geany-plugins/geanyvc/src/geanyvc.h
trunk/geany-plugins/geanyvc/src/vc_cvs.c
trunk/geany-plugins/geanyvc/src/vc_svk.c
trunk/geany-plugins/geanyvc/src/vc_svn.c
Modified: trunk/geany-plugins/geanyvc/src/geanyvc.c
===================================================================
--- trunk/geany-plugins/geanyvc/src/geanyvc.c 2011-04-09 15:09:22 UTC (rev 2014)
+++ trunk/geany-plugins/geanyvc/src/geanyvc.c 2011-04-09 15:09:50 UTC (rev 2015)
@@ -466,8 +466,8 @@
g_error_free(error);
}
- // need to convert output text from the encoding of the original file into
- // UTF-8 because internally Geany always needs UTF-8
+ /* need to convert output text from the encoding of the original file into
+ UTF-8 because internally Geany always needs UTF-8 */
if (std_out && *std_out)
{
tmp = g_string_new(*std_out);
@@ -1783,7 +1783,7 @@
}
else
{
- // write config to file
+ /* write config to file */
data = g_key_file_to_data(config, NULL, NULL);
utils_write_file(config_file, data);
g_free(data);
@@ -1942,7 +1942,7 @@
lang = g_key_file_get_string(config, "VC", "spellchecking_language", &error);
if (error != NULL)
{
- // Set default value. Using system standard language.
+ /* Set default value. Using system standard language. */
lang = NULL;
g_error_free(error);
error = NULL;
Modified: trunk/geany-plugins/geanyvc/src/geanyvc.h
===================================================================
--- trunk/geany-plugins/geanyvc/src/geanyvc.h 2011-04-09 15:09:22 UTC (rev 2014)
+++ trunk/geany-plugins/geanyvc/src/geanyvc.h 2011-04-09 15:09:50 UTC (rev 2015)
@@ -114,7 +114,8 @@
const VC_COMMAND *commands;
const gchar *program;
gchar *(*get_base_dir) (const gchar * path);
- gboolean(*in_vc) (const gchar * path); // check if file in VC
+ /* check if file in VC */
+ gboolean(*in_vc) (const gchar * path);
GSList *(*get_commit_files) (const gchar * dir);
} VC_RECORD;
@@ -141,4 +142,4 @@
gchar *get_relative_path(const gchar * location, const gchar * path);
-#endif // __GEANYVC_HEADER__
+#endif /* __GEANYVC_HEADER__ */
Modified: trunk/geany-plugins/geanyvc/src/vc_cvs.c
===================================================================
--- trunk/geany-plugins/geanyvc/src/vc_cvs.c 2011-04-09 15:09:22 UTC (rev 2014)
+++ trunk/geany-plugins/geanyvc/src/vc_cvs.c 2011-04-09 15:09:50 UTC (rev 2015)
@@ -3,9 +3,9 @@
* Copyright 2007-2009 Enrico Tröger <enrico.troeger at uvena.de>
* Copyright 2007 Nick Treleaven <nick.treleaven at btinternet.com>
* Copyright 2007-2009 Yura Siamashka <yurand2 at gmail.com>
- * Copyright 2010 Jean-Paul Iribarren <jeanpaul.Iribarren at free.fr>
- *
+ * Copyright 2010 Jean-Paul Iribarren <jeanpaul.Iribarren at 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
@@ -190,7 +190,7 @@
if (!status || *(p + 1) != ' ')
{
- // skip unknown status line
+ /* skip unknown status line */
while (*p)
{
p++;
Modified: trunk/geany-plugins/geanyvc/src/vc_svk.c
===================================================================
--- trunk/geany-plugins/geanyvc/src/vc_svk.c 2011-04-09 15:09:22 UTC (rev 2014)
+++ trunk/geany-plugins/geanyvc/src/vc_svk.c 2011-04-09 15:09:50 UTC (rev 2015)
@@ -112,7 +112,7 @@
static gchar *
get_base_dir(const gchar * path)
{
- // NOT IMPLEMENTED
+ /* NOT IMPLEMENTED */
return g_path_get_dirname(path);
}
@@ -201,7 +201,7 @@
if (!status || *(p + 1) != ' ')
{
- // skip unknown status line
+ /* skip unknown status line */
while (*p)
{
p++;
Modified: trunk/geany-plugins/geanyvc/src/vc_svn.c
===================================================================
--- trunk/geany-plugins/geanyvc/src/vc_svn.c 2011-04-09 15:09:22 UTC (rev 2014)
+++ trunk/geany-plugins/geanyvc/src/vc_svn.c 2011-04-09 15:09:50 UTC (rev 2015)
@@ -135,7 +135,7 @@
base_prev = base;
base = g_path_get_dirname(base);
- // check for svn layout
+ /* check for svn layout */
test_dir = g_build_filename(base, "trunk", NULL);
if (!g_file_test(test_dir, G_FILE_TEST_IS_DIR))
{
@@ -242,7 +242,7 @@
if (!status || *(p + 1) != ' ')
{
- // skip unknown status line
+ /* skip unknown status line */
while (*p)
{
p++;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list