From: <ai...@us...> - 2010-10-29 20:48:29
|
Revision: 11290 http://plplot.svn.sourceforge.net/plplot/?rev=11290&view=rev Author: airwin Date: 2010-10-29 20:48:22 +0000 (Fri, 29 Oct 2010) Log Message: ----------- Convert non-standard "horizontal rule" comment made with "=" to standard form of "horizontal rule" comment. Modified Paths: -------------- trunk/examples/c/extXdrawable_demo.c trunk/examples/c/x01c.c trunk/examples/c/x14c.c trunk/examples/c/x27c.c trunk/examples/tk/xtk01.c trunk/examples/tk/xtk02.c trunk/include/gcw.h trunk/scripts/convert_comment.py Modified: trunk/examples/c/extXdrawable_demo.c =================================================================== --- trunk/examples/c/extXdrawable_demo.c 2010-10-29 20:44:17 UTC (rev 11289) +++ trunk/examples/c/extXdrawable_demo.c 2010-10-29 20:48:22 UTC (rev 11290) @@ -50,7 +50,7 @@ App app; -// ======================================================================== +//-------------------------------------------------------------------------- void setup_plot_drawable( App *app ) { @@ -83,7 +83,7 @@ plline( 3, x, y ); plend(); } -// ======================================================================== +//-------------------------------------------------------------------------- static gint ev_plotwindow_conf( GtkWidget *widget, GdkEventConfigure *ev, gpointer *data ) { @@ -129,7 +129,7 @@ return ( TRUE ); } -// ======================================================================== +//-------------------------------------------------------------------------- void init_app( App *app ) { @@ -191,7 +191,7 @@ gtk_widget_show_all( app->rootwindow ); } -// ======================================================================== +//-------------------------------------------------------------------------- int main( int argc, char *argv[] ) { @@ -200,4 +200,4 @@ gtk_main(); return 0; } -// ======================================================================== +//-------------------------------------------------------------------------- Modified: trunk/examples/c/x01c.c =================================================================== --- trunk/examples/c/x01c.c 2010-10-29 20:44:17 UTC (rev 11289) +++ trunk/examples/c/x01c.c 2010-10-29 20:48:22 UTC (rev 11290) @@ -220,7 +220,7 @@ exit( 0 ); } -// =============================================================== +//-------------------------------------------------------------------------- void plot1( int do_test ) @@ -291,7 +291,7 @@ } } -// =============================================================== +//-------------------------------------------------------------------------- void plot2( void ) @@ -325,7 +325,7 @@ plwid( 1 ); } -// =============================================================== +//-------------------------------------------------------------------------- void plot3( void ) Modified: trunk/examples/c/x14c.c =================================================================== --- trunk/examples/c/x14c.c 2010-10-29 20:44:17 UTC (rev 11289) +++ trunk/examples/c/x14c.c 2010-10-29 20:48:22 UTC (rev 11290) @@ -173,7 +173,7 @@ exit( 0 ); } -// =============================================================== +//-------------------------------------------------------------------------- void plot1( void ) @@ -221,7 +221,7 @@ } -// =============================================================== +//-------------------------------------------------------------------------- void plot2( void ) @@ -254,7 +254,7 @@ plflush(); } -// =============================================================== +//-------------------------------------------------------------------------- void plot3( void ) @@ -299,7 +299,7 @@ plflush(); } -// =============================================================== +//-------------------------------------------------------------------------- void plot4( void ) @@ -371,7 +371,7 @@ plflush(); } -// =============================================================== +//-------------------------------------------------------------------------- // Demonstration of contour plotting Modified: trunk/examples/c/x27c.c =================================================================== --- trunk/examples/c/x27c.c 2010-10-29 20:44:17 UTC (rev 11289) +++ trunk/examples/c/x27c.c 2010-10-29 20:48:22 UTC (rev 11290) @@ -97,7 +97,7 @@ exit( 0 ); } -// =============================================================== +//-------------------------------------------------------------------------- void cycloid( void ) @@ -105,7 +105,7 @@ // TODO } -// =============================================================== +//-------------------------------------------------------------------------- void spiro( PLFLT params[] ) Modified: trunk/examples/tk/xtk01.c =================================================================== --- trunk/examples/tk/xtk01.c 2010-10-29 20:44:17 UTC (rev 11289) +++ trunk/examples/tk/xtk01.c 2010-10-29 20:48:22 UTC (rev 11290) @@ -116,7 +116,7 @@ return TCL_OK; } -// =============================================================== +//-------------------------------------------------------------------------- // Taken from: // x01c.c @@ -174,7 +174,7 @@ plot3(); } -// =============================================================== +//-------------------------------------------------------------------------- void plot1( void ) @@ -220,7 +220,7 @@ plline( 60, x, y ); } -// =============================================================== +//-------------------------------------------------------------------------- void plot2( void ) @@ -252,7 +252,7 @@ plline( 100, x, y ); } -// =============================================================== +//-------------------------------------------------------------------------- void plot3( void ) @@ -296,7 +296,7 @@ plline( 101, x, y ); } -// =============================================================== +//-------------------------------------------------------------------------- // Taken from: // x16c.c @@ -479,7 +479,7 @@ } } } -// =============================================================== +//-------------------------------------------------------------------------- int myplotCmd( ClientData cd, Tcl_Interp *interp, int argc, char **argv ) { Modified: trunk/examples/tk/xtk02.c =================================================================== --- trunk/examples/tk/xtk02.c 2010-10-29 20:44:17 UTC (rev 11289) +++ trunk/examples/tk/xtk02.c 2010-10-29 20:48:22 UTC (rev 11290) @@ -210,7 +210,7 @@ plot3(); } -// =============================================================== +//-------------------------------------------------------------------------- void plot1( void ) @@ -256,7 +256,7 @@ plline( 60, x, y ); } -// =============================================================== +//-------------------------------------------------------------------------- void plot2( void ) @@ -288,7 +288,7 @@ plline( 100, x, y ); } -// =============================================================== +//-------------------------------------------------------------------------- void plot3( void ) Modified: trunk/include/gcw.h =================================================================== --- trunk/include/gcw.h 2010-10-29 20:44:17 UTC (rev 11289) +++ trunk/include/gcw.h 2010-10-29 20:48:22 UTC (rev 11290) @@ -45,7 +45,7 @@ // #define ASSERT_GCW -//========================================================================= +//-------------------------------------------------------------------------- // GcwPLdev - the PLplot device structure for the GCW driver typedef struct @@ -89,7 +89,7 @@ } GcwPLdev; -//========================================================================= +//-------------------------------------------------------------------------- // Physical dimension constants used by the driver // Virtual coordinate scaling parameter, used to do calculations at @@ -122,7 +122,7 @@ #define ZOOMSTEP ( 1.25 ) -//========================================================================= +//-------------------------------------------------------------------------- // GCW "Gnome Canvas Widget" Library prototypes (see gcw-lib.c) // Public_functions Modified: trunk/scripts/convert_comment.py =================================================================== --- trunk/scripts/convert_comment.py 2010-10-29 20:44:17 UTC (rev 11289) +++ trunk/scripts/convert_comment.py 2010-10-29 20:48:22 UTC (rev 11290) @@ -174,7 +174,7 @@ # Remove "*\" from end of comment lines line = re.sub(r'^//(.*)\*\\$', "//\\1", line) # Convert long "horizontal line" comment forms to standard form. - line = re.sub(r'^// *[-* ]{50,200}$', "//--------------------------------------------------------------------------", line) + line = re.sub(r'^// *[-*= ]{50,200}$', "//--------------------------------------------------------------------------", line) # Look for trailing continuation after comment lines and # complain if you find any. start_special = line.rfind("\\") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |