[brlcad-commits] SF.net SVN: brlcad:[42887] brlcad/trunk/TODO
Revision: 42887 http://brlcad.svn.sourceforge.net/brlcad/?rev=42887view=rev Author: brlcad Date: 2011-02-02 15:28:38 + (Wed, 02 Feb 2011) Log Message: --- two release issues being worked on now, opendb failure and strict failures on fbsd Modified Paths: -- brlcad/trunk/TODO Modified: brlcad/trunk/TODO === --- brlcad/trunk/TODO 2011-02-02 15:24:14 UTC (rev 42886) +++ brlcad/trunk/TODO 2011-02-02 15:28:38 UTC (rev 42887) @@ -17,13 +17,17 @@ THESE TASKS SHOULD HAPPEN BEFORE THE NEXT RELEASE - -* upgrade source repository back-end to the latest SVN 1.5 so we can - benefit from proper merge tracking. +* opendb is mishandling the trailing 'y'/'n' +* strict failures on 32-bit fbsd + THESE TASKS SHOULD HAPPEN WITHIN TWO RELEASE ITERATIONS --- +* upgrade source repository back-end to the latest SVN 1.5 so we can + benefit from proper merge tracking. + * annotation primitive. specifically a means to create an object in the database that can optionally be associated with an object and/or location that a label refers to. there are various styles such as This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42888] brlcad/trunk/src/libtclcad/tkImgFmtPIX.c
Revision: 42888 http://brlcad.svn.sourceforge.net/brlcad/?rev=42888view=rev Author: erikgreenwald Date: 2011-02-02 15:29:38 + (Wed, 02 Feb 2011) Log Message: --- more size_t fixing Modified Paths: -- brlcad/trunk/src/libtclcad/tkImgFmtPIX.c Modified: brlcad/trunk/src/libtclcad/tkImgFmtPIX.c === --- brlcad/trunk/src/libtclcad/tkImgFmtPIX.c2011-02-02 15:28:38 UTC (rev 42887) +++ brlcad/trunk/src/libtclcad/tkImgFmtPIX.c2011-02-02 15:29:38 UTC (rev 42888) @@ -139,7 +139,7 @@ use those. Otherwise, guess from the file size. */ char *formatString; int len; -unsigned long int width, height; +size_t width, height; if (format == NULL || interp == NULL) return 0; @@ -197,7 +197,7 @@ /* Coordinates of top-left pixel to be used * in image being read. */ { -unsigned long int fileWidth, fileHeight; +size_t fileWidth, fileHeight; int nBytes, h, count; unsigned char *pixelPtr; Tk_PhotoImageBlock block; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42889] brlcad/trunk/src/conv
Revision: 42889 http://brlcad.svn.sourceforge.net/brlcad/?rev=42889view=rev Author: erikgreenwald Date: 2011-02-02 15:40:42 + (Wed, 02 Feb 2011) Log Message: --- casts/changes to cope with size_t vs vprintf Modified Paths: -- brlcad/trunk/src/conv/asc/asc2g.c brlcad/trunk/src/conv/bot_shell-vtk.c brlcad/trunk/src/conv/dxf/bot-bldxf.c brlcad/trunk/src/conv/g-var.c brlcad/trunk/src/conv/g-vrml.c brlcad/trunk/src/conv/g-x3d.c Modified: brlcad/trunk/src/conv/asc/asc2g.c === --- brlcad/trunk/src/conv/asc/asc2g.c 2011-02-02 15:29:38 UTC (rev 42888) +++ brlcad/trunk/src/conv/asc/asc2g.c 2011-02-02 15:40:42 UTC (rev 42889) @@ -1379,9 +1379,9 @@ { char my_name[NAME_LEN]; char type; -intmode, orientation, error_mode; -size_t num_vertices, num_faces; -size_t i, j; +intmode, orientation, error_mode; +unsigned long int num_vertices, num_faces; +unsigned long int i, j; double a[3]; fastf_t*vertices; fastf_t*thick=NULL; Modified: brlcad/trunk/src/conv/bot_shell-vtk.c === --- brlcad/trunk/src/conv/bot_shell-vtk.c 2011-02-02 15:29:38 UTC (rev 42888) +++ brlcad/trunk/src/conv/bot_shell-vtk.c 2011-02-02 15:40:42 UTC (rev 42889) @@ -571,7 +571,7 @@ database_index++; } fprintf( fd_out, \nASCII\n\nDATASET POLYDATA\n ); -fprintf( fd_out, POINTS %ld float\n, verts-curr_vert ); +fprintf( fd_out, POINTS %ld float\n, (long int)verts-curr_vert ); for ( i=0; i(size_t)verts-curr_vert; i++ ) { if ( use_normals ) { fprintf( fd_out, %g %g %g\n, V3ARGS( verts-the_array[i*6] ) ); @@ -584,7 +584,7 @@ fprintf( fd_out, 3 %ld %ld %ld\n, V3ARGS( faces[i*3] ) ); } if ( use_normals ) { - fprintf( fd_out, POINT_DATA %ld\n, verts-curr_vert ); + fprintf( fd_out, POINT_DATA %ld\n, (long int)verts-curr_vert ); fprintf( fd_out, NORMALS default float\n ); for ( i=0; i(size_t)verts-curr_vert; i++ ) { fprintf( fd_out, %g %g %g\n, V3ARGS( verts-the_array[i*6+3] ) ); Modified: brlcad/trunk/src/conv/dxf/bot-bldxf.c === --- brlcad/trunk/src/conv/dxf/bot-bldxf.c 2011-02-02 15:29:38 UTC (rev 42888) +++ brlcad/trunk/src/conv/dxf/bot-bldxf.c 2011-02-02 15:40:42 UTC (rev 42889) @@ -124,7 +124,7 @@ point_t A, B, C, N1, N2; vect_t vAB, vAC; fastf_t *v = bot-vertices; -size_t i, tmp; +long unsigned int i, tmp; RT_BOT_CK_MAGIC(bot); @@ -135,7 +135,7 @@ if (debugDEBUG_QUAD) { fprintf(stderr, tris_are_planar_quad()\n); for (i=0; i 6;i++) { - fprintf(stderr, %lu: %lu %7g %7g %7g\n, i, (size_t)vnum[i], + fprintf(stderr, %lu: %d %7g %7g %7g\n, i, vnum[i], V3ARGS(v[3* vnum[i]])); } } @@ -145,7 +145,7 @@ * this is probably a bogus face, and something bad has happened */ if ((size_t)vnum[0] bot-num_vertices-1) { - fprintf(stderr, Bounds error %lu %lu\n, (size_t)vnum[0], bot-num_vertices-1); + fprintf(stderr, Bounds error %lu %lu\n, (long unsigned int)vnum[0], (long unsigned int)bot-num_vertices-1); abort(); } @@ -186,9 +186,9 @@ } if (debugDEBUG_QUAD) { - fprintf(stderr, numv %lu\n, bot-num_vertices); + fprintf(stderr, numv %lu\n, (long unsigned int)bot-num_vertices); fprintf(stderr, possible quad %lu %lu %lu %lu %lu %lu\n, - (size_t)vnum[0], (size_t)vnum[1], (size_t)vnum[2], (size_t)vnum[3], (size_t)vnum[4], (size_t)vnum[5]); + (long unsigned int)vnum[0], (long unsigned int)vnum[1], (long unsigned int)vnum[2], (long unsigned int)vnum[3], (long unsigned int)vnum[4], (long unsigned int)vnum[5]); } /* find adjacent/matching verticies */ @@ -201,7 +201,7 @@ if (vnum[t[0]] == vnum[t[2]] vnum[t[1]] == vnum[t[3]]) { if (debugDEBUG_QUAD) fprintf(stderr, matched %lu, %lu and %lu, %lu, (%d/%d %d/%d)\n, - (size_t)vnum[t[0]], (size_t)vnum[t[2]], (size_t)vnum[t[1]], (size_t)vnum[t[3]], + (long unsigned int)vnum[t[0]], (long unsigned int)vnum[t[2]], (long unsigned int)vnum[t[1]], (long unsigned int)vnum[t[3]], t[0], t[2], t[1], t[3]); vidx[0] = vnum[t[4]]; @@ -232,7 +232,7 @@ } if (debugDEBUG_STATS) - fprintf(stderr, %lu quads\n, count); + fprintf(stderr, %lu quads\n, (long unsigned int)count); return count; } @@ -289,17 +289,17 @@ fprintf(FH, 64\n);
[brlcad-commits] SF.net SVN: brlcad:[42890] brlcad/trunk/src/libbu/booleanize.c
Revision: 42890 http://brlcad.svn.sourceforge.net/brlcad/?rev=42890view=rev Author: brlcad Date: 2011-02-02 15:49:22 + (Wed, 02 Feb 2011) Log Message: --- bu_booleanize() FAIL. several problems: 1) \!str == 0 means we return false for all non-null strings, 2) strtol() will return 0 if there are no numbers (boo, hiss), and 3) it wasn't taking whitespace into consideration. stash the input into a vls, trim whitespace, then perform our tests. Modified Paths: -- brlcad/trunk/src/libbu/booleanize.c Modified: brlcad/trunk/src/libbu/booleanize.c === --- brlcad/trunk/src/libbu/booleanize.c 2011-02-02 15:40:42 UTC (rev 42889) +++ brlcad/trunk/src/libbu/booleanize.c 2011-02-02 15:49:22 UTC (rev 42890) @@ -31,31 +31,44 @@ int bu_booleanize(const char *str) { -long val; size_t len; +struct bu_vls vls; +const char *newstr; +bu_log(BOOLEANIZING %s\n, str); /* no string */ -if (!str == 0) +if (!str) return 0; +bu_vls_init(vls); +bu_vls_strcpy(vls, str); +bu_vls_trimspace(vls); +newstr = bu_vls_addr(vls); + /* empty string */ -len = strlen(str); -if (len == 0) +len = strlen(newstr); +if (len == 0) { + bu_vls_free(vls); return 0; +} /* starts with 'n', [nN]* looks like 'no' */ -if (str[0] == 'n' || str[0] == 'N') +if (newstr[0] == 'n' || newstr[0] == 'N') { + bu_vls_free(vls); return 0; +} /* exactly 0 */ -if (BU_STR_EQUAL(str, 0)) +if (BU_STR_EQUAL(newstr, 0)) { + bu_vls_free(vls); return 0; +} -/* variant of 0 (e.g., 000) */ -val = strtol(str, NULL, 10); -if (val == 0 errno != EINVAL) - return 0; +/* done with our string */ +bu_vls_free(vls); +bu_log(RETURNING TRUE!\n); + /* anything else */ return 1; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42891] brlcad/trunk/src/libbu/booleanize.c
Revision: 42891 http://brlcad.svn.sourceforge.net/brlcad/?rev=42891view=rev Author: brlcad Date: 2011-02-02 15:50:43 + (Wed, 02 Feb 2011) Log Message: --- remove debug statements Modified Paths: -- brlcad/trunk/src/libbu/booleanize.c Modified: brlcad/trunk/src/libbu/booleanize.c === --- brlcad/trunk/src/libbu/booleanize.c 2011-02-02 15:49:22 UTC (rev 42890) +++ brlcad/trunk/src/libbu/booleanize.c 2011-02-02 15:50:43 UTC (rev 42891) @@ -35,7 +35,6 @@ struct bu_vls vls; const char *newstr; -bu_log(BOOLEANIZING %s\n, str); /* no string */ if (!str) return 0; @@ -67,8 +66,6 @@ /* done with our string */ bu_vls_free(vls); -bu_log(RETURNING TRUE!\n); - /* anything else */ return 1; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42892] brlcad/trunk/src/mged/mged.c
Revision: 42892 http://brlcad.svn.sourceforge.net/brlcad/?rev=42892view=rev Author: brlcad Date: 2011-02-02 15:53:11 + (Wed, 02 Feb 2011) Log Message: --- logic is reversed. if NOT true, i.e. the user responded 'n', then report that no database is open. Modified Paths: -- brlcad/trunk/src/mged/mged.c Modified: brlcad/trunk/src/mged/mged.c === --- brlcad/trunk/src/mged/mged.c2011-02-02 15:50:43 UTC (rev 42891) +++ brlcad/trunk/src/mged/mged.c2011-02-02 15:53:11 UTC (rev 42892) @@ -2665,7 +2665,7 @@ if (classic_mged) { bu_log(Create new database (y|n)[n]? ); (void)bu_fgets(line, sizeof(line), stdin); - if (bu_booleanize(line)) { + if (!bu_booleanize(line)) { bu_log(Warning: no database is currently open!\n); bu_vls_free(msg); return TCL_OK; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42893] brlcad/trunk/src/libbu/booleanize.c
Revision: 42893 http://brlcad.svn.sourceforge.net/brlcad/?rev=42893view=rev Author: starseeker Date: 2011-02-02 15:54:40 + (Wed, 02 Feb 2011) Log Message: --- Can still use strtol, but need to make sure endptr is '\0' (i.e., that a valid number was actually processed). Modified Paths: -- brlcad/trunk/src/libbu/booleanize.c Modified: brlcad/trunk/src/libbu/booleanize.c === --- brlcad/trunk/src/libbu/booleanize.c 2011-02-02 15:53:11 UTC (rev 42892) +++ brlcad/trunk/src/libbu/booleanize.c 2011-02-02 15:54:40 UTC (rev 42893) @@ -34,6 +34,7 @@ size_t len; struct bu_vls vls; const char *newstr; +char *endptr; /* no string */ if (!str) @@ -63,6 +64,11 @@ return 0; } +/* variant of 0 (e.g., 000) */ +val = strtol(newstr, endptr, 10); +if (val == 0 errno != EINVAL endptr == '\0') + return 0; + /* done with our string */ bu_vls_free(vls); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42895] brlcad/trunk/src/libbu/booleanize.c
Revision: 42895 http://brlcad.svn.sourceforge.net/brlcad/?rev=42895view=rev Author: starseeker Date: 2011-02-02 16:03:55 + (Wed, 02 Feb 2011) Log Message: --- Let's stay consistent - long, not int Modified Paths: -- brlcad/trunk/src/libbu/booleanize.c Modified: brlcad/trunk/src/libbu/booleanize.c === --- brlcad/trunk/src/libbu/booleanize.c 2011-02-02 15:58:30 UTC (rev 42894) +++ brlcad/trunk/src/libbu/booleanize.c 2011-02-02 16:03:55 UTC (rev 42895) @@ -32,7 +32,7 @@ bu_booleanize(const char *str) { size_t len; -int val; +long val; struct bu_vls vls; const char *newstr; char *endptr; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42896] brlcad/trunk/src/adrt/libtie/tie.c
Revision: 42896 http://brlcad.svn.sourceforge.net/brlcad/?rev=42896view=rev Author: starseeker Date: 2011-02-02 16:07:12 + (Wed, 02 Feb 2011) Log Message: --- tie.h includes common.h, so don't need to include it twice - fixes regress common.h inclusion order error. Modified Paths: -- brlcad/trunk/src/adrt/libtie/tie.c Modified: brlcad/trunk/src/adrt/libtie/tie.c === --- brlcad/trunk/src/adrt/libtie/tie.c 2011-02-02 16:03:55 UTC (rev 42895) +++ brlcad/trunk/src/adrt/libtie/tie.c 2011-02-02 16:07:12 UTC (rev 42896) @@ -24,8 +24,6 @@ #include tie.h -#include common.h - #include math.h #include stdlib.h #include string.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42897] brlcad/trunk/include/cmd.h
Revision: 42897 http://brlcad.svn.sourceforge.net/brlcad/?rev=42897view=rev Author: starseeker Date: 2011-02-02 16:18:48 + (Wed, 02 Feb 2011) Log Message: --- grab the relevant part of bio.h's windows.h inclusion logic and put it in cmd.h, rather than including bio.h (should fix regression test failure. Modified Paths: -- brlcad/trunk/include/cmd.h Modified: brlcad/trunk/include/cmd.h === --- brlcad/trunk/include/cmd.h 2011-02-02 16:07:12 UTC (rev 42896) +++ brlcad/trunk/include/cmd.h 2011-02-02 16:18:48 UTC (rev 42897) @@ -44,8 +44,20 @@ # include sys/time.h #endif #include time.h -#include bio.h /* for timeval via windows.h */ +/* for timeval via windows.h */ +#if defined(_WIN32) !defined(__CYGWIN__) +# define NOMINMAX +# include windows.h +# include io.h + +# undef rad1 /* Win32 radio button 1 */ +# undef rad2 /* Win32 radio button 2 */ +# undef small /* defined as part of the Microsoft Interface Definition Language (MIDL) */ +# undef IN +# undef OUT +#endif + #include bu.h #define CMD_NULL (int (*)(ClientData, Tcl_Interp *, int, const char **))NULL This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42899] brlcad/branches/cmake
Revision: 42899 http://brlcad.svn.sourceforge.net/brlcad/?rev=42899view=rev Author: starseeker Date: 2011-02-02 16:23:53 + (Wed, 02 Feb 2011) Log Message: --- Update cmake branch to trunk r42898 - need to do some manual checking, probably missed a few things earlier when working in both trees at once. Modified Paths: -- brlcad/branches/cmake/HACKING brlcad/branches/cmake/INSTALL brlcad/branches/cmake/TODO brlcad/branches/cmake/configure.ac brlcad/branches/cmake/doc/docbook/Makefile.am brlcad/branches/cmake/include/bu.h brlcad/branches/cmake/include/cmd.h brlcad/branches/cmake/misc/Makefile.am brlcad/branches/cmake/src/adrt/libtie/tie.c brlcad/branches/cmake/src/conv/asc/asc2g.c brlcad/branches/cmake/src/conv/bot_shell-vtk.c brlcad/branches/cmake/src/conv/dxf/bot-bldxf.c brlcad/branches/cmake/src/conv/g-var.c brlcad/branches/cmake/src/conv/g-vrml.c brlcad/branches/cmake/src/conv/g-x3d.c brlcad/branches/cmake/src/halftone/main.c brlcad/branches/cmake/src/libbu/booleanize.c brlcad/branches/cmake/src/libged/vdraw.c brlcad/branches/cmake/src/libged/wdb_vdraw.c brlcad/branches/cmake/src/libtclcad/tkImgFmtPIX.c brlcad/branches/cmake/src/mged/mged.c Property Changed: brlcad/branches/cmake/src/other/step/ Modified: brlcad/branches/cmake/HACKING === --- brlcad/branches/cmake/HACKING 2011-02-02 16:21:38 UTC (rev 42898) +++ brlcad/branches/cmake/HACKING 2011-02-02 16:23:53 UTC (rev 42899) @@ -341,65 +341,65 @@ under src/, see the src/README file for more details on subdirectories not covered here. -bench/ + bench/ The BRL-CAD Benchmark Suite -db/ + db/ Example geometry databases -doc/ + doc/ Documentation -include/ + include/ Public headers -m4/ + m4/ Autoconf compilation resource files -misc/ + misc/ Anything not categorized or is sufficiently en masse -pix/ + pix/ Sample raytrace images, includes benchmark reference images -regress/ + regress/ Scripts and resources for regression testing -sh/ + sh/ Utility scripts, used primarily by the build system -src/ + src/ Sources, see src/README for more details -src/adrt + src/adrt Advanced Distributed Ray Tracer -src/conv/ + src/conv/ Various geometry converters -src/conv/iges/ + src/conv/iges/ IGES converter -src/fb/ + src/fb/ Tools for displaying data to or reading from framebuffers -src/fbserv/ + src/fbserv/ Framebuffer server -src/java/ + src/java/ Java geometry server interface to librt -src/libbn/ + src/libbn/ BRL-CAD numerics library -src/libbu + src/libbu BRL-CAD utility library -src/libfb/ + src/libfb/ BRL-CAD Framebuffer library -src/libfft/ + src/libfft/ Fast Fourier transform library -src/libged/ + src/libged/ Geometry editing library -src/libpkg/ + src/libpkg/ Network package library -src/librt/ + src/librt/ BRL-CAD Ray-trace library -src/libwdb/ + src/libwdb/ Write database library -src/mged/ + src/mged/ Multi-device geometry editor -src/other/ + src/other/ External frameworks (Tcl/Tk, libpng, zlib, etc) -src/proc-db/ + src/proc-db/ Procedural geometry tools, create models programmatically -src/remrt/ + src/remrt/ Distributed raytrace support -src/rt/ + src/rt/ Raytracers, various -src/util/ + src/util/ Various image processing utilities @@ -421,16 +421,17 @@ removed outright. It's okay to make modifications that assume compiler conformance with the ANSI C standard (c89). -There is currently no C++ interface to the core BRL-CAD libraries. There -are a few tools and enhancements to libraries that are implemented in -C++ (the new BREP object type in librt, for example), but there are -presently no C++ bindings available beyond experimental developments. -While C++ as an implementation language of new tools and new library -interfaces is not prohibited, the mixing of C++ semantics and C++ code -(including simple // style comments) in the existing C files is not -allowed. As new interfaces are developed, new contributors become -involved, and C++ code integration becomes more prevalent, the -contributor guidelines will become reinforced with more details. +There is currently no C++ interface to the core BRL-CAD libraries. +There are a few tools and enhancements to libraries that are +implemented in C++ (the new BREP object type in librt, for example), +but there are presently no C++ bindings available beyond experimental +developments. While C++ as an implementation language of new tools +and new library interfaces is not prohibited, the mixing of C++ +semantics and C++ code (including simple // style comments) in the +existing C files is not allowed. As new
[brlcad-commits] SF.net SVN: brlcad:[42900] brlcad/trunk/regress/repository.sh
Revision: 42900 http://brlcad.svn.sourceforge.net/brlcad/?rev=42900view=rev Author: starseeker Date: 2011-02-02 16:42:06 + (Wed, 02 Feb 2011) Log Message: --- have repository.sh look in TOPSRC for the INSTALL file too, not just configure.ac. Modified Paths: -- brlcad/trunk/regress/repository.sh Modified: brlcad/trunk/regress/repository.sh === --- brlcad/trunk/regress/repository.sh 2011-02-02 16:23:53 UTC (rev 42899) +++ brlcad/trunk/regress/repository.sh 2011-02-02 16:42:06 UTC (rev 42900) @@ -100,7 +100,7 @@ # make sure every configure option is documented FOUND= for i in `grep ARG_ENABLE ${TOPSRC}/configure.ac | sed 's/[^,]*,\([^,]*\).*/\1/' | awk '{print $1}' | sed 's/\[\(.*\)\]/\1/g'` ; do -if test x`grep enable-$i INSTALL` = x ; then +if test x`grep enable-$i ${TOPSRC}/INSTALL` = x ; then echo --enable-$i is not documented in INSTALL FOUND=1 fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42901] brlcad/trunk/INSTALL
Revision: 42901 http://brlcad.svn.sourceforge.net/brlcad/?rev=42901view=rev Author: starseeker Date: 2011-02-02 16:43:38 + (Wed, 02 Feb 2011) Log Message: --- blt is no more Modified Paths: -- brlcad/trunk/INSTALL Modified: brlcad/trunk/INSTALL === --- brlcad/trunk/INSTALL2011-02-02 16:42:06 UTC (rev 42900) +++ brlcad/trunk/INSTALL2011-02-02 16:43:38 UTC (rev 42901) @@ -434,14 +434,6 @@ --enable-iwidgets --enable-iwidgets-build ---enable-blt-build turns on compilation of the Blt library that is -provided in a BRL-CAD source distribution. Default is auto, meaning -that libblt will be compiled and installed only if a suitable system -Blt library is not found. Aliases: - --enable-blt - --enable-libblt - --enable-libblt-build - --enable-tkhtml3-build turns on compilation of the tkhtml3 library that is provided in a BRL-CAD source distribution. Default is yes. Aliases: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42902] brlcad/trunk/src/tclscripts/archer/ArcherCore. tcl
Revision: 42902 http://brlcad.svn.sourceforge.net/brlcad/?rev=42902view=rev Author: bob1961 Date: 2011-02-02 16:44:12 + (Wed, 02 Feb 2011) Log Message: --- Modified ArcherCore::updateRtControl to call rtcntrl's updateControlPanel instead of configuring -size. Modified Paths: -- brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl Modified: brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl === --- brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl 2011-02-02 16:43:38 UTC (rev 42901) +++ brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl 2011-02-02 16:44:12 UTC (rev 42902) @@ -322,6 +322,7 @@ variable mShowADC 0 # variables for preference state + variable mWindowGeometry variable mEnableAffectedNodeHighlight 0 variable mEnableAffectedNodeHighlightPref variable mEnableListView 0 @@ -1792,7 +1793,7 @@ ::itcl::body ArcherCore::updateRtControl {} { ::update if {[info exists itk_component(rtcntrl)]} { - $itk_component(rtcntrl) configure -size Size of Pane + $itk_component(rtcntrl) updateControlPanel } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42903] brlcad/trunk
Revision: 42903 http://brlcad.svn.sourceforge.net/brlcad/?rev=42903view=rev Author: starseeker Date: 2011-02-02 16:45:18 + (Wed, 02 Feb 2011) Log Message: --- It's just tkhtml now Modified Paths: -- brlcad/trunk/INSTALL brlcad/trunk/configure.ac Modified: brlcad/trunk/INSTALL === --- brlcad/trunk/INSTALL2011-02-02 16:44:12 UTC (rev 42902) +++ brlcad/trunk/INSTALL2011-02-02 16:45:18 UTC (rev 42903) @@ -434,9 +434,10 @@ --enable-iwidgets --enable-iwidgets-build ---enable-tkhtml3-build turns on compilation of the tkhtml3 library that is +--enable-tkhtml-build turns on compilation of the tkhtml library that is provided in a BRL-CAD source distribution. Default is yes. Aliases: + --enable-tkhtml --enable-tkhtml3 --enable-tkimg-build turns on compilation of the tkimg library that is Modified: brlcad/trunk/configure.ac === --- brlcad/trunk/configure.ac 2011-02-02 16:44:12 UTC (rev 42902) +++ brlcad/trunk/configure.ac 2011-02-02 16:45:18 UTC (rev 42903) @@ -518,8 +518,7 @@ # aliases to force building tkhtml (help uses tkhtml-build) BC_ARG_ALIAS([build_tkhtml], [tkhtml]) -BC_ARG_ALIAS([build_tkhtml], [tkhtml3]) -BC_ARG_ALIAS([build_tkhtml], [tkhtml3-build]) +BC_ARG_ALIAS([build_tkhtml], [tkhtml-build]) # aliases to force building tktable (help uses tktable-build) BC_ARG_ALIAS([build_tktable], [tktable]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42904] brlcad/trunk/src/tclscripts/archer/Archer.tcl
Revision: 42904 http://brlcad.svn.sourceforge.net/brlcad/?rev=42904view=rev Author: bob1961 Date: 2011-02-02 16:46:50 + (Wed, 02 Feb 2011) Log Message: --- Added code to remember Archer's window size. Modified Paths: -- brlcad/trunk/src/tclscripts/archer/Archer.tcl Modified: brlcad/trunk/src/tclscripts/archer/Archer.tcl === --- brlcad/trunk/src/tclscripts/archer/Archer.tcl 2011-02-02 16:45:18 UTC (rev 42903) +++ brlcad/trunk/src/tclscripts/archer/Archer.tcl 2011-02-02 16:46:50 UTC (rev 42904) @@ -307,6 +307,7 @@ method doAboutArcher {} method doarcherHelp {} method doarcherMan {} + method handleConfigure {} method launchDisplayMenuBegin {_dm _m _x _y} method launchDisplayMenuEnd {} method fbActivePaneCallback {_pane} @@ -558,8 +559,11 @@ $itk_component(primaryToolbar) itemconfigure new -state normal $itk_component(primaryToolbar) itemconfigure preferences -state normal + ::update Load + +bind [namespace tail $this] Configure [::itcl::code $this handleConfigure] } @@ -4644,7 +4648,14 @@ } +::itcl::body Archer::handleConfigure {} { +if {$mWindowGeometry != } { + wm geometry [namespace tail $this] $mWindowGeometry +} +bind [namespace tail $this] Configure {} +} + ::itcl::body Archer::launchDisplayMenuBegin {_dm _m _x _y} { set mCurrentPaneName $_dm tk_popup $_m $_x $_y @@ -8725,6 +8736,8 @@ puts $_pfile set mVPaneToggle1 $mVPaneToggle1 puts $_pfile set mVPaneToggle3 $mVPaneToggle3 puts $_pfile set mVPaneToggle5 $mVPaneToggle5 + +puts $_pfile set mWindowGeometry [winfo geometry [namespace tail $this]] } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42905] brlcad/trunk/INSTALL
Revision: 42905 http://brlcad.svn.sourceforge.net/brlcad/?rev=42905view=rev Author: starseeker Date: 2011-02-02 16:47:45 + (Wed, 02 Feb 2011) Log Message: --- tkimg - tkpng Modified Paths: -- brlcad/trunk/INSTALL Modified: brlcad/trunk/INSTALL === --- brlcad/trunk/INSTALL2011-02-02 16:46:50 UTC (rev 42904) +++ brlcad/trunk/INSTALL2011-02-02 16:47:45 UTC (rev 42905) @@ -438,15 +438,14 @@ provided in a BRL-CAD source distribution. Default is yes. Aliases: --enable-tkhtml - --enable-tkhtml3 ---enable-tkimg-build turns on compilation of the tkimg library that is +--enable-tkpng-build turns on compilation of the tkpng library that is provided in a BRL-CAD source distribution. Default is auto, meaning -that libtkimg will be compiled and installed only if a suitable system -tkimg library is not found. Aliases: - --enable-tkimg - --enable-libtkimg - --enable-libtkimg-build +that libtkpng will be compiled and installed only if a suitable system +tkpng library is not found. Aliases: + --enable-tkpng + --enable-libtkpng + --enable-libtkpng-build --enable-tnt-install turns on installation of the Template Numerical Toolkit that is provided in a BRL-CAD source distribution. Default is This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42906] brlcad/trunk/configure.ac
Revision: 42906 http://brlcad.svn.sourceforge.net/brlcad/?rev=42906view=rev Author: starseeker Date: 2011-02-02 16:49:39 + (Wed, 02 Feb 2011) Log Message: --- remove togl logic from configure.ac altogether - togl CMake logic is succeeding, and it is unlikely we will go back to do autotools version. Modified Paths: -- brlcad/trunk/configure.ac Modified: brlcad/trunk/configure.ac === --- brlcad/trunk/configure.ac 2011-02-02 16:47:45 UTC (rev 42905) +++ brlcad/trunk/configure.ac 2011-02-02 16:49:39 UTC (rev 42906) @@ -313,9 +313,6 @@ # tkhtml BC_ARG_ENABLE([build_tkhtml], [tkhtml-build], [Build the included tkhtml], [yes]) -# togl -#BC_ARG_ENABLE([build_togl], [togl-build], [Build the included togl], [no]) - # tkpng BC_ARG_ENABLE([build_tkpng], [tkpng-build], [Build the included tkpng], [auto]) @@ -523,9 +520,6 @@ # aliases to force building tktable (help uses tktable-build) BC_ARG_ALIAS([build_tktable], [tktable]) -# aliases to force building togl (help uses togl-build) -#BC_ARG_ALIAS([build_togl], [togl]) - # aliases to force building tkpng(help uses tkpng-build) BC_ARG_ALIAS([build_tkpng], [tkpng]) BC_ARG_ALIAS([build_tkpng], [libtkpng]) @@ -698,9 +692,6 @@ if test x$bc_build_tkpng_set = xno ; then bc_build_tkpng=$set_everything fi - #if test x$bc_build_togl = xno ; then - # bc_build_togl=$set_everything - #fi if test x$bc_build_tktable = xno ; then bc_build_tktable=$set_everything fi @@ -834,9 +825,6 @@ AC_MSG_CHECKING(whether to build the tktable library) AC_MSG_RESULT($bc_build_tktable) -#AC_MSG_CHECKING(whether to build the togl library) -#AC_MSG_RESULT($bc_build_togl) - AC_MSG_CHECKING(whether to build the tkpng library) AC_MSG_RESULT($bc_build_tkpng) @@ -3254,22 +3242,6 @@ AC_MSG_RESULT(no) fi -dnl *** togl *** -dnl figure out whether we need to build togl -#TOGL_VERSION=2.1 -#AC_SUBST(TOGL_VERSION) -#TOGL_CPPFLAGS= -#AC_MSG_CHECKING(whether to build togl) -#if test ! x$bc_build_togl = xno ; then -#build_brlcad_togl=yes -#TOGL_CPPFLAGS='-I${top_srcdir}/src/other/togl -I${top_builddir}/src/other/togl' -#AC_MSG_RESULT(yes) -#else -#build_brlcad_togl=no -#AC_MSG_RESULT(no) -#fi -#AC_SUBST(TOGL_CPPFLAGS) - dnl *** tktable *** dnl figure out whether we need to build tktable TKTABLE_VERSION=2.10 @@ -3942,7 +3914,6 @@ AM_CONDITIONAL(BUILD_IWIDGETS, [test x$build_brlcad_iwidgets = xyes]) AM_CONDITIONAL(BUILD_TKHTML, [test x$build_brlcad_tkhtml = xyes]) AM_CONDITIONAL(BUILD_TKTABLE, [test x$build_brlcad_tktable = xyes]) -#AM_CONDITIONAL(BUILD_TOGL, [test x$build_brlcad_togl = xyes__disabled__]) AM_CONDITIONAL(BUILD_TKPNG, [test x$build_brlcad_tkpng = xyes]) AM_CONDITIONAL(BUILD_PNG, [test x$build_brlcad_png = xyes]) AM_CONDITIONAL(BUILD_REGEX, [test x$build_brlcad_regex = xyes]) @@ -4240,15 +4211,6 @@ AC_CONFIG_SUBDIRS([src/other/tkhtml]) fi -#dnl configure togl -#if test x$build_brlcad_togl = xyes ; then -#ac_configure_args=$ac_configure_args --exec-prefix=\$bc_prefix\ -#if test ! x$TKINCDIR = x ; then -# ac_configure_args=$ac_configure_args --with-tkinclude=$TKINCDIR -#fi -#AC_CONFIG_SUBDIRS([src/other/togl]) -#fi - dnl configure tktable if test x$build_brlcad_tktable = xyes ; then ac_configure_args=$ac_configure_args --exec-prefix=\$bc_prefix\ @@ -4556,7 +4518,6 @@ AC_MSG_RESULT([Build Template Numerical Toolkit..: $build_brlcad_tnt]) AC_MSG_RESULT([Build openNURBS...: $build_brlcad_opennurbs]) AC_MSG_RESULT([Build NIST STEP Class Libraries...: $build_brlcad_step]) -#AC_MSG_RESULT([Build TOGL: $build_brlcad_togl]) AC_MSG_RESULT([]) AC_MSG_RESULT([X11 support (optional): $build_against_x11]) AC_MSG_RESULT([OpenGL support (optional).: $build_against_opengl]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42907] brlcad/trunk/configure.ac
Revision: 42907 http://brlcad.svn.sourceforge.net/brlcad/?rev=42907view=rev Author: starseeker Date: 2011-02-02 16:52:18 + (Wed, 02 Feb 2011) Log Message: --- add alias for tktable Modified Paths: -- brlcad/trunk/configure.ac Modified: brlcad/trunk/configure.ac === --- brlcad/trunk/configure.ac 2011-02-02 16:49:39 UTC (rev 42906) +++ brlcad/trunk/configure.ac 2011-02-02 16:52:18 UTC (rev 42907) @@ -519,6 +519,7 @@ # aliases to force building tktable (help uses tktable-build) BC_ARG_ALIAS([build_tktable], [tktable]) +BC_ARG_ALIAS([build_tktable], [tktable-build]) # aliases to force building tkpng(help uses tkpng-build) BC_ARG_ALIAS([build_tkpng], [tkpng]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42908] brlcad/trunk
Revision: 42908 http://brlcad.svn.sourceforge.net/brlcad/?rev=42908view=rev Author: starseeker Date: 2011-02-02 16:53:58 + (Wed, 02 Feb 2011) Log Message: --- add tkpng-build alias Modified Paths: -- brlcad/trunk/INSTALL brlcad/trunk/configure.ac Modified: brlcad/trunk/INSTALL === --- brlcad/trunk/INSTALL2011-02-02 16:52:18 UTC (rev 42907) +++ brlcad/trunk/INSTALL2011-02-02 16:53:58 UTC (rev 42908) @@ -438,15 +438,22 @@ provided in a BRL-CAD source distribution. Default is yes. Aliases: --enable-tkhtml + --enable-tkhtml-build --enable-tkpng-build turns on compilation of the tkpng library that is provided in a BRL-CAD source distribution. Default is auto, meaning that libtkpng will be compiled and installed only if a suitable system tkpng library is not found. Aliases: --enable-tkpng + --enable-tkpng-build --enable-libtkpng --enable-libtkpng-build +--enable-tktable-build turns on compilation of the tktable library that is +provided in a BRL-CAD source distribution. Default is yes. Aliases: + --enable-tktable + --enable-tktable-build + --enable-tnt-install turns on installation of the Template Numerical Toolkit that is provided in a BRL-CAD source distribution. Default is auto, meaning that the TNT headers will be installed only if Modified: brlcad/trunk/configure.ac === --- brlcad/trunk/configure.ac 2011-02-02 16:52:18 UTC (rev 42907) +++ brlcad/trunk/configure.ac 2011-02-02 16:53:58 UTC (rev 42908) @@ -523,6 +523,7 @@ # aliases to force building tkpng(help uses tkpng-build) BC_ARG_ALIAS([build_tkpng], [tkpng]) +BC_ARG_ALIAS([build_tkpng], [tkpng-build]) BC_ARG_ALIAS([build_tkpng], [libtkpng]) BC_ARG_ALIAS([build_tkpng], [libtkpng-build]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42909] brlcad/trunk/configure.ac
Revision: 42909 http://brlcad.svn.sourceforge.net/brlcad/?rev=42909view=rev Author: starseeker Date: 2011-02-02 17:03:13 + (Wed, 02 Feb 2011) Log Message: --- remove unneeded alias lines Modified Paths: -- brlcad/trunk/configure.ac Modified: brlcad/trunk/configure.ac === --- brlcad/trunk/configure.ac 2011-02-02 16:53:58 UTC (rev 42908) +++ brlcad/trunk/configure.ac 2011-02-02 17:03:13 UTC (rev 42909) @@ -515,15 +515,12 @@ # aliases to force building tkhtml (help uses tkhtml-build) BC_ARG_ALIAS([build_tkhtml], [tkhtml]) -BC_ARG_ALIAS([build_tkhtml], [tkhtml-build]) # aliases to force building tktable (help uses tktable-build) BC_ARG_ALIAS([build_tktable], [tktable]) -BC_ARG_ALIAS([build_tktable], [tktable-build]) # aliases to force building tkpng(help uses tkpng-build) BC_ARG_ALIAS([build_tkpng], [tkpng]) -BC_ARG_ALIAS([build_tkpng], [tkpng-build]) BC_ARG_ALIAS([build_tkpng], [libtkpng]) BC_ARG_ALIAS([build_tkpng], [libtkpng-build]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42910] brlcad/trunk/configure.ac
Revision: 42910 http://brlcad.svn.sourceforge.net/brlcad/?rev=42910view=rev Author: starseeker Date: 2011-02-02 17:17:29 + (Wed, 02 Feb 2011) Log Message: --- I imagine there are more of these issues, but it looks like rtgl should be a 'with', not an 'enable' in the build logic. Modified Paths: -- brlcad/trunk/configure.ac Modified: brlcad/trunk/configure.ac === --- brlcad/trunk/configure.ac 2011-02-02 17:03:13 UTC (rev 42909) +++ brlcad/trunk/configure.ac 2011-02-02 17:17:29 UTC (rev 42910) @@ -361,9 +361,6 @@ # build progress status BC_ARG_ENABLE([build_progress], [progress], [Enable verbose compilation progress], [no]) -BC_ARG_ENABLE([rtgl], [rtgl], [Enable compilation of experimental Ray Trace OpenGL display manager], [no]) - - dnl *** with options *** # provides convenience argument handlers for specifying CFLAGS, @@ -379,6 +376,9 @@ # use opengl BC_ARG_WITH([with_opengl], [ogl], [Specify use of or path to OpenGL (optional)], [no]) +# use rtgl display manager (experimental) +BC_ARG_WITH([with_rtgl], [rtgl], [Enable compilation of experimental Ray Trace OpenGL display manager], [no]) + # use Apple opengl BC_ARG_WITH([with_agl], [agl], [Specify use of or path to Apple OpenGL (optional)], [no]) @@ -614,6 +614,9 @@ # with opengl aliases (help uses ogl) BC_ARG_WITH_ALIAS([with_opengl], [opengl]) +# with rtgl aliases (help uses rtgl) +BC_ARG_WITH_ALIAS([with_rtgl], [rtgl]) + # with agl aliases (help uses agl) BC_ARG_WITH_ALIAS([with_agl], [agl]) @@ -875,6 +878,9 @@ AC_MSG_CHECKING(whether to compile the OpenGL interfaces) AC_MSG_RESULT($bc_with_opengl) +AC_MSG_CHECKING(whether to compile the RTGL interfaces) +AC_MSG_RESULT($bc_with_rtgl) + AC_MSG_CHECKING(whether to compile the AGL interfaces) AC_MSG_RESULT($bc_with_agl) @@ -884,10 +890,7 @@ AC_MSG_CHECKING(whether to compile the Pro/ENGINEER plugin) AC_MSG_RESULT($bc_with_proe) -AC_MSG_CHECKING(whether to compile experimental RTGL display manager) -AC_MSG_RESULT($bc_rtgl) - dnl ** dnl *** Check for programs *** dnl ** @@ -3801,7 +3804,7 @@ dnl *** RTGL interface compilation *** build_rtgl=no -if test x$bc_rtgl = xyes ; then +if test x$bc_with_rtgl = xyes ; then if test x$build_against_opengl = xno ; then AC_MSG_NOTICE([RTGL was requested, but no system OpenGL libraries were found]) AC_MSG_NOTICE([}}]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42911] brlcad/trunk/INSTALL
Revision: 42911 http://brlcad.svn.sourceforge.net/brlcad/?rev=42911view=rev Author: starseeker Date: 2011-02-02 17:19:53 + (Wed, 02 Feb 2011) Log Message: --- remainder of INSTALL documentation options - repository-regress should now succeed. Modified Paths: -- brlcad/trunk/INSTALL Modified: brlcad/trunk/INSTALL === --- brlcad/trunk/INSTALL2011-02-02 17:17:29 UTC (rev 42910) +++ brlcad/trunk/INSTALL2011-02-02 17:19:53 UTC (rev 42911) @@ -385,6 +385,15 @@ --enable-open-nurbs --enable-open-nurbs-build +--enable-step-build turns on compilation of the NIST Step Class +Libraries that are provided in a BRL-CAD source distribution. Default +is auto, meaning that step will be compiled and installed only if a +suitable system NIST SCL libraries are not found. Aliases: + --enable-step + --enable-steplibs + --enable-libstep + --enable-libstep-build + --enable-termlib-build turns on compilation of the termlib library that is provided in a BRL-CAD source distribution. Default is auto, meaning that libtermlib will be compiled and installed only if a @@ -413,6 +422,15 @@ --enable-libtk --enable-libtk-build +--enable-aquatk-build turns on compilation of the Aqua Tk options for +the Tk library on Mac OSX. Default is off. Aliases: + --enable-aquatk + --enable-aqua-tk + --enable-aqua-tk-build + --enable-tkaqua + --enable-tkaqua-build + --enable-tk-aqua-build + --enable-itcl-build turns on compilation of the Incr Tcl/Tk library that is provided in a BRL-CAD source distribution. Default is auto, meaning that libitcl and libitk will be compiled and installed only if @@ -482,7 +500,7 @@ --enable-endgame-framework --enable-endgame-framework-build ---enable-ug-build turns on compilation of the Unigraphics (NX) +--enable-unigraphics-build turns on compilation of the Unigraphics (NX) importer used to provide conversion support from Unigraphics format to a tessellated BRL-CAD geometry format. Default is no. Aliases: --enable-unigraphics @@ -499,6 +517,13 @@ --enable-geometry-build --enable-geometry-install +--enable-documentation turns on documentation requiring Docbook based +compilation. Default is auto, meaning it will build the documentation +if suitable tools to do so are found. Aliases: + --enable-documentation-install + --enable-docs + --enable-docs-install + --enable-optimized turns on optimized compilation. Note that optimized compilation may potentially change the warnings produced by the compiler. You may also need to specify --disable-strict or This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42913] brlcad/branches/cmake/regress/CMakeLists.txt
Revision: 42913 http://brlcad.svn.sourceforge.net/brlcad/?rev=42913view=rev Author: starseeker Date: 2011-02-02 17:35:28 + (Wed, 02 Feb 2011) Log Message: --- Ah right, DEPENDS can't tell if the target's done anything if it's set up this way - just have regress run 'em all. Regression test fully succeeded. Modified Paths: -- brlcad/branches/cmake/regress/CMakeLists.txt Modified: brlcad/branches/cmake/regress/CMakeLists.txt === --- brlcad/branches/cmake/regress/CMakeLists.txt2011-02-02 17:22:13 UTC (rev 42912) +++ brlcad/branches/cmake/regress/CMakeLists.txt2011-02-02 17:35:28 UTC (rev 42913) @@ -54,7 +54,20 @@ DEPENDS rt ) ADD_CUSTOM_TARGET(regress - DEPENDS mged-regress moss-regress lights-regress solids-regress shaders-regress spdi-regress iges-regress weight-regress gqa-regress fastgen-regress bots-regress flawfinder-regress repository-regress + COMMAND ${SH_EXEC} ${CMAKE_SOURCE_DIR}/regress/mged.sh ${CMAKE_SOURCE_DIR} + COMMAND ${SH_EXEC} ${CMAKE_SOURCE_DIR}/regress/moss.sh ${CMAKE_SOURCE_DIR} + COMMAND ${SH_EXEC} ${CMAKE_SOURCE_DIR}/regress/lights.sh ${CMAKE_SOURCE_DIR} + COMMAND ${SH_EXEC} ${CMAKE_SOURCE_DIR}/regress/solids.sh ${CMAKE_SOURCE_DIR} + COMMAND ${SH_EXEC} ${CMAKE_SOURCE_DIR}/regress/shaders.sh ${CMAKE_SOURCE_DIR} + COMMAND ${SH_EXEC} ${CMAKE_SOURCE_DIR}/regress/spdi.sh ${CMAKE_SOURCE_DIR} + COMMAND ${SH_EXEC} ${CMAKE_SOURCE_DIR}/regress/iges.sh ${CMAKE_SOURCE_DIR} + COMMAND ${SH_EXEC} ${CMAKE_SOURCE_DIR}/regress/weight.sh ${CMAKE_SOURCE_DIR} + COMMAND ${SH_EXEC} ${CMAKE_SOURCE_DIR}/regress/gqa.sh ${CMAKE_SOURCE_DIR} + COMMAND ${SH_EXEC} ${CMAKE_SOURCE_DIR}/regress/fastgen.sh ${CMAKE_SOURCE_DIR} + COMMAND ${SH_EXEC} ${CMAKE_SOURCE_DIR}/regress/bots.sh ${CMAKE_SOURCE_DIR} + COMMAND ${SH_EXEC} ${CMAKE_SOURCE_DIR}/regress/flawfinder.sh ${CMAKE_SOURCE_DIR} + COMMAND ${SH_EXEC} ${CMAKE_SOURCE_DIR}/regress/repository.sh ${CMAKE_SOURCE_DIR} + DEPENDS rt mged pixdiff fast4-g g_diff g_qa rtweight iges-g g-iges asc2pix gencolor pix-png png-pix ) ENDIF(SH_EXEC) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42914] brlcad/trunk/configure.ac
Revision: 42914 http://brlcad.svn.sourceforge.net/brlcad/?rev=42914view=rev Author: brlcad Date: 2011-02-02 17:53:07 + (Wed, 02 Feb 2011) Log Message: --- rtgl was okay as an --enable flag. enable/disable for inward code selection, with/without for outward system selection. Modified Paths: -- brlcad/trunk/configure.ac Modified: brlcad/trunk/configure.ac === --- brlcad/trunk/configure.ac 2011-02-02 17:35:28 UTC (rev 42913) +++ brlcad/trunk/configure.ac 2011-02-02 17:53:07 UTC (rev 42914) @@ -361,6 +361,9 @@ # build progress status BC_ARG_ENABLE([build_progress], [progress], [Enable verbose compilation progress], [no]) +BC_ARG_ENABLE([rtgl], [rtgl], [Enable compilation of experimental Ray Trace OpenGL display manager], [no]) + + dnl *** with options *** # provides convenience argument handlers for specifying CFLAGS, @@ -376,9 +379,6 @@ # use opengl BC_ARG_WITH([with_opengl], [ogl], [Specify use of or path to OpenGL (optional)], [no]) -# use rtgl display manager (experimental) -BC_ARG_WITH([with_rtgl], [rtgl], [Enable compilation of experimental Ray Trace OpenGL display manager], [no]) - # use Apple opengl BC_ARG_WITH([with_agl], [agl], [Specify use of or path to Apple OpenGL (optional)], [no]) @@ -614,9 +614,6 @@ # with opengl aliases (help uses ogl) BC_ARG_WITH_ALIAS([with_opengl], [opengl]) -# with rtgl aliases (help uses rtgl) -BC_ARG_WITH_ALIAS([with_rtgl], [rtgl]) - # with agl aliases (help uses agl) BC_ARG_WITH_ALIAS([with_agl], [agl]) @@ -878,9 +875,6 @@ AC_MSG_CHECKING(whether to compile the OpenGL interfaces) AC_MSG_RESULT($bc_with_opengl) -AC_MSG_CHECKING(whether to compile the RTGL interfaces) -AC_MSG_RESULT($bc_with_rtgl) - AC_MSG_CHECKING(whether to compile the AGL interfaces) AC_MSG_RESULT($bc_with_agl) @@ -890,7 +884,10 @@ AC_MSG_CHECKING(whether to compile the Pro/ENGINEER plugin) AC_MSG_RESULT($bc_with_proe) +AC_MSG_CHECKING(whether to compile experimental RTGL display manager) +AC_MSG_RESULT($bc_rtgl) + dnl ** dnl *** Check for programs *** dnl ** @@ -3804,7 +3801,7 @@ dnl *** RTGL interface compilation *** build_rtgl=no -if test x$bc_with_rtgl = xyes ; then +if test x$bc_rtgl = xyes ; then if test x$build_against_opengl = xno ; then AC_MSG_NOTICE([RTGL was requested, but no system OpenGL libraries were found]) AC_MSG_NOTICE([}}]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42915] brlcad/trunk/bench/pixcmp.c
Revision: 42915 http://brlcad.svn.sourceforge.net/brlcad/?rev=42915view=rev Author: erikgreenwald Date: 2011-02-02 18:04:28 + (Wed, 02 Feb 2011) Log Message: --- break help message into two strings to bring it under 509 characters (ISO C90) Modified Paths: -- brlcad/trunk/bench/pixcmp.c Modified: brlcad/trunk/bench/pixcmp.c === --- brlcad/trunk/bench/pixcmp.c 2011-02-02 17:53:07 UTC (rev 42914) +++ brlcad/trunk/bench/pixcmp.c 2011-02-02 18:04:28 UTC (rev 42915) @@ -56,13 +56,14 @@ if (!name) { name = unknown; } +/* this must be split, ISO C90 has a max static string length of 509 */ bu_log(Usage: %s [OPTIONS] FILE1 [FILE2 [SKIP1 [SKIP2]]]\n%s, name, Compare two PIX image files pixel by pixel.\n\n -l List pixel numbers and values for all pixels that differ.\n -b Output and process by bytes instead of pixels.\n -i SKIP\n - Skip the first SKIP pixels of input (for FILE1 and FILE2)\n --i SKIP1:SKIP2\n + Skip the first SKIP pixels of input (for FILE1 and FILE2)\n); +bu_log( -i SKIP1:SKIP2\n Skip the first SKIP1 pixels in FILE1 and SKIP2 pixels in FILE2.\n -s Silent output. Only return an exit status.\n\n If FILE is `-' or is missing, then input is read from standard input.\n This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42916] brlcad/trunk/INSTALL
Revision: 42916 http://brlcad.svn.sourceforge.net/brlcad/?rev=42916view=rev Author: brlcad Date: 2011-02-02 18:10:25 + (Wed, 02 Feb 2011) Log Message: --- document rtgl and expand the explanation of configuration options to detail what is different between the enable and with options. reword a little for clarity too. Modified Paths: -- brlcad/trunk/INSTALL Modified: brlcad/trunk/INSTALL === --- brlcad/trunk/INSTALL2011-02-02 18:04:28 UTC (rev 42915) +++ brlcad/trunk/INSTALL2011-02-02 18:10:25 UTC (rev 42916) @@ -241,27 +241,37 @@ CONFIGURATION OPTIONS - -Variables can be set in the environment passed to `configure'. -However, the build may run configure again during the build, and the -customized values of these variables may be lost. In order to avoid -this problem, you should set them in the `configure' command line, -using `VAR=value'. For example: +The `configure' build script is used to set compilation options and +supports a wide selection of compilation directives. See the ENABLE +OPTIONS and WITH OPTIONS lists below for the arguments presently +available to configure in more descriptive detail. The brief summary +is that enable options focus INWARD and with options focus +OUTWARD. There are various --enable-* flags that toggle how BRL-CAD +code is compiled. There are various --with-* flags that toggle what +system services are used and how to find them. +In order to avoid compilation problems, you should set all compilation +options on the `configure' command line, using `VAR=value'. For +example: + ./configure CC=/usr/ucb/bin/cc will cause the specified executable program to be used as the C -compiler. +compiler. The most common configuration tested is a default +debuggable build intended for installation into /usr/brlcad with no +external dependencies assumed: +./configure --enable-all --disable-strict + By default, BRL-CAD is configured to build the entire package and will install completely isolated into the /usr/brlcad directory. Configuration will prepare the build for an unoptimized compilation by default and will attempt to utilize required system libraries if they are available, otherwise compiling the required library dependencies as needed. Run `./configure --help' for a list of all of the possible -configuration options. See the ENABLE OPTIONS and WITH OPTIONS lists -below for the arguments presently available to configure in more -descriptive detail. +configuration options. + ENABLE OPTIONS: The below --enable-* options can be used to enable or disable aspects @@ -579,6 +589,12 @@ --enable-build-progress --enable-progress-build +--enable-rtgl turns on compilation of an experimental Ray Trace OpenGL +display manager, providing shaded displays within MGED. Default is +no. Aliases: + None + + WITH OPTIONS: The below --with-* options enable/disable/locate OPTIONAL SYSTEM This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42917] brlcad/trunk/configure.ac
Revision: 42917 http://brlcad.svn.sourceforge.net/brlcad/?rev=42917view=rev Author: brlcad Date: 2011-02-02 18:10:49 + (Wed, 02 Feb 2011) Log Message: --- comment on rtgl option Modified Paths: -- brlcad/trunk/configure.ac Modified: brlcad/trunk/configure.ac === --- brlcad/trunk/configure.ac 2011-02-02 18:10:25 UTC (rev 42916) +++ brlcad/trunk/configure.ac 2011-02-02 18:10:49 UTC (rev 42917) @@ -361,6 +361,8 @@ # build progress status BC_ARG_ENABLE([build_progress], [progress], [Enable verbose compilation progress], [no]) +# build libdm/mged's rtgl interface (presently the only dm interface +# directly toggled instead of passively via --with options) BC_ARG_ENABLE([rtgl], [rtgl], [Enable compilation of experimental Ray Trace OpenGL display manager], [no]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42918] brlcad/trunk/src/libged/vdraw.c
Revision: 42918 http://brlcad.svn.sourceforge.net/brlcad/?rev=42918view=rev Author: brlcad Date: 2011-02-02 18:30:07 + (Wed, 02 Feb 2011) Log Message: --- scanning into a coerced pointer probably isn't a good idea, so revert back down to unsigned long for the scan and upconvert the comparisons accordingly Modified Paths: -- brlcad/trunk/src/libged/vdraw.c Modified: brlcad/trunk/src/libged/vdraw.c === --- brlcad/trunk/src/libged/vdraw.c 2011-02-02 18:10:49 UTC (rev 42917) +++ brlcad/trunk/src/libged/vdraw.c 2011-02-02 18:30:07 UTC (rev 42918) @@ -193,7 +193,7 @@ ged_vdraw_write(struct ged *gedp, int argc, const char *argv[]) { size_t idx; -size_t uind; +unsigned long uind = 0; struct bn_vlist *vp, *cp; static const char *usage = i|next c x y z; @@ -235,7 +235,7 @@ } cp = vp; idx = vp-nused; -} else if (sscanf(argv[2], %lu, (long unsigned int *)uind) 1) { +} else if (sscanf(argv[2], %lu, uind) 1) { bu_vls_printf(gedp-ged_result_str, vdraw: write index not an integer\n); return GED_ERROR; } else { @@ -243,7 +243,7 @@ /* only allow one past the end */ for (BU_LIST_FOR(vp, bn_vlist, (gedp-ged_gdp-gd_currVHead-vdc_vhd))) { - if (uind BN_VLIST_CHUNK) { + if ((size_t)uind BN_VLIST_CHUNK) { /* this is the right vlist */ break; } @@ -261,7 +261,7 @@ RT_GET_VLIST(vp); BU_LIST_INSERT((gedp-ged_gdp-gd_currVHead-vdc_vhd), (vp-l)); } - if (uind vp-nused) { + if ((size_t)uind vp-nused) { bu_vls_printf(gedp-ged_result_str, vdraw: write out of range\n); return GED_ERROR; } @@ -301,7 +301,7 @@ struct bn_vlist *vp, *cp, *wp; size_t i; size_t idx; -size_t uind; +unsigned long uind = 0; static const char *usage = i c x y z; /* must be wanting help */ @@ -318,14 +318,14 @@ bu_vls_printf(gedp-ged_result_str, vdraw: not enough args); return GED_ERROR; } -if (sscanf(argv[2], %lu, (long unsigned int *)uind) 1) { +if (sscanf(argv[2], %lu, uind) 1) { bu_vls_printf(gedp-ged_result_str, vdraw: insert index not an integer\n); return GED_ERROR; } /* uinds hold user specified index */ for (BU_LIST_FOR(vp, bn_vlist, (gedp-ged_gdp-gd_currVHead-vdc_vhd))) { - if (uind BN_VLIST_CHUNK) { + if ((size_t)uind BN_VLIST_CHUNK) { /* this is the right vlist */ break; } @@ -343,7 +343,7 @@ RT_GET_VLIST(vp); BU_LIST_INSERT((gedp-ged_gdp-gd_currVHead-vdc_vhd), (vp-l)); } -if (uind vp-nused) { +if ((size_t)uind vp-nused) { bu_vls_printf(gedp-ged_result_str, vdraw: insert out of range\n); return GED_ERROR; } @@ -390,7 +390,7 @@ { struct bn_vlist *vp, *wp; size_t i; -size_t uind; +unsigned long uind = 0; static const char *usage = i|last|all; /* must be wanting help */ @@ -424,13 +424,13 @@ } return GED_OK; } -if (sscanf(argv[2], %lu, (long unsigned int *)uind) 1) { +if (sscanf(argv[2], %lu, uind) 1) { bu_vls_printf(gedp-ged_result_str, %s %s: delete index not an integer\n, argv[0], argv[1]); return GED_ERROR; } for (BU_LIST_FOR(vp, bn_vlist, (gedp-ged_gdp-gd_currVHead-vdc_vhd))) { - if (uind BN_VLIST_CHUNK) { + if ((size_t)uind BN_VLIST_CHUNK) { /* this is the right vlist */ break; } @@ -441,12 +441,12 @@ uind -= vp-nused; } -if (uind = vp-nused) { +if ((size_t)uind = vp-nused) { bu_vls_printf(gedp-ged_result_str, %s %s: delete out of range\n, argv[0], argv[1]); return GED_ERROR; } -for (i = uind; i vp-nused - 1; i++) { +for (i = (size_t)uind; i vp-nused - 1; i++) { vp-cmd[i] = vp-cmd[i+1]; VMOVE(vp-pt[i], vp-pt[i+1]); } @@ -486,7 +486,7 @@ ged_vdraw_read(struct ged *gedp, int argc, const char *argv[]) { struct bn_vlist *vp; -size_t uind; +unsigned long uind = 0; int length; static const char *usage = read i|color|length|name; @@ -525,13 +525,13 @@ bu_vls_printf(gedp-ged_result_str, %d, length); return GED_OK; } -if (sscanf(argv[2], %lu, (long unsigned int *)uind) 1) { +if (sscanf(argv[2], %lu, uind) 1) { bu_vls_printf(gedp-ged_result_str, %s %s: read index not an integer\n, argv[0], argv[1]); return GED_ERROR; } for (BU_LIST_FOR(vp, bn_vlist, (gedp-ged_gdp-gd_currVHead-vdc_vhd))) { - if (uind BN_VLIST_CHUNK) { + if ((size_t)uind BN_VLIST_CHUNK) { /* this is the right vlist */ break; } @@ -542,7 +542,7 @@ uind -= vp-nused; } -if (uind =
[brlcad-commits] SF.net SVN: brlcad:[42919] brlcad/trunk/src/libged/wdb_vdraw.c
Revision: 42919 http://brlcad.svn.sourceforge.net/brlcad/?rev=42919view=rev Author: brlcad Date: 2011-02-02 18:32:40 + (Wed, 02 Feb 2011) Log Message: --- this duplication of effort really sucks. fix the same size_t uind issues that were in vdraw.c Modified Paths: -- brlcad/trunk/src/libged/wdb_vdraw.c Modified: brlcad/trunk/src/libged/wdb_vdraw.c === --- brlcad/trunk/src/libged/wdb_vdraw.c 2011-02-02 18:30:07 UTC (rev 42918) +++ brlcad/trunk/src/libged/wdb_vdraw.c 2011-02-02 18:32:40 UTC (rev 42919) @@ -167,7 +167,8 @@ vdraw_write_tcl(ClientData clientData, Tcl_Interp *interp, int argc, char *argv[]) { struct dg_obj *dgop = (struct dg_obj *)clientData; -size_t idx, uind; +size_t idx; +unsigned long uind = 0; struct bn_vlist *vp, *cp; if (!dgop-dgo_currVHead) { @@ -202,7 +203,7 @@ } cp = vp; idx = vp-nused; -} else if (sscanf(argv[1], %lu, (long unsigned int *)uind) 1) { +} else if (sscanf(argv[1], %lu, uind) 1) { Tcl_AppendResult(interp, vdraw: write index not an integer\n, (char *)NULL); return TCL_ERROR; } else { @@ -210,7 +211,7 @@ /* only allow one past the end */ for (BU_LIST_FOR(vp, bn_vlist, (dgop-dgo_currVHead-vdc_vhd))) { - if (uind BN_VLIST_CHUNK) { + if ((size_t)uind BN_VLIST_CHUNK) { /* this is the right vlist */ break; } @@ -228,7 +229,7 @@ RT_GET_VLIST(vp); BU_LIST_INSERT((dgop-dgo_currVHead-vdc_vhd), (vp-l)); } - if (uind vp-nused) { + if ((size_t)uind vp-nused) { Tcl_AppendResult(interp, vdraw: write out of range\n, (char *)NULL); return TCL_ERROR; } @@ -270,7 +271,7 @@ struct bn_vlist *vp, *cp, *wp; int i; int idx; -size_t uind; +unsigned long uind = 0; if (!dgop-dgo_currVHead) { Tcl_AppendResult(interp, vdraw: no vlist is currently open., (char *)NULL); @@ -280,14 +281,14 @@ Tcl_AppendResult(interp, vdraw: not enough args, (char *)NULL); return TCL_ERROR; } -if (sscanf(argv[1], %lu, (long unsigned int *)uind) 1) { +if (sscanf(argv[1], %lu, uind) 1) { Tcl_AppendResult(interp, vdraw: insert index not an integer\n, (char *)NULL); return TCL_ERROR; } /* uinds hold user specified index */ for (BU_LIST_FOR(vp, bn_vlist, (dgop-dgo_currVHead-vdc_vhd))) { - if (uind BN_VLIST_CHUNK) { + if ((size_t)uind BN_VLIST_CHUNK) { /* this is the right vlist */ break; } @@ -305,7 +306,7 @@ RT_GET_VLIST(vp); BU_LIST_INSERT((dgop-dgo_currVHead-vdc_vhd), (vp-l)); } -if (uind vp-nused) { +if ((size_t)uind vp-nused) { Tcl_AppendResult(interp, vdraw: insert out of range\n, (char *)NULL); return TCL_ERROR; } @@ -353,7 +354,7 @@ struct dg_obj *dgop = (struct dg_obj *)clientData; struct bn_vlist *vp, *wp; size_t i; -size_t uind; +unsigned long uind = 0; if (!dgop-dgo_currVHead) { Tcl_AppendResult(interp, vdraw: no vlist is currently open., (char *)NULL); @@ -380,13 +381,13 @@ } return TCL_OK; } -if (sscanf(argv[1], %lu, (long unsigned int *)uind) 1) { +if (sscanf(argv[1], %lu, uind) 1) { Tcl_AppendResult(interp, vdraw: delete index not an integer\n, (char *)NULL); return TCL_ERROR; } for (BU_LIST_FOR(vp, bn_vlist, (dgop-dgo_currVHead-vdc_vhd))) { - if (uind BN_VLIST_CHUNK) { + if ((size_t)uind BN_VLIST_CHUNK) { /* this is the right vlist */ break; } @@ -397,7 +398,7 @@ uind -= vp-nused; } -if (uind = vp-nused) { +if ((size_t)uind = vp-nused) { Tcl_AppendResult(interp, vdraw: delete out of range\n, (char *)NULL); return TCL_ERROR; } @@ -444,7 +445,7 @@ struct dg_obj *dgop = (struct dg_obj *)clientData; struct bn_vlist *vp; struct bu_vls vls; -size_t uind; +unsigned long uind = 0; int length; if (!dgop-dgo_currVHead) { @@ -485,13 +486,13 @@ bu_vls_free(vls); return TCL_OK; } -if (sscanf(argv[1], %lu, (long unsigned int *)uind) 1) { +if (sscanf(argv[1], %lu, uind) 1) { Tcl_AppendResult(interp, vdraw: read index not an integer\n, (char *)NULL); return TCL_ERROR; } for (BU_LIST_FOR(vp, bn_vlist, (dgop-dgo_currVHead-vdc_vhd))) { - if (uind BN_VLIST_CHUNK) { + if ((size_t)uind BN_VLIST_CHUNK) { /* this is the right vlist */ break; } @@ -502,7 +503,7 @@ uind -= vp-nused; } -if (uind = vp-nused) { +if ((size_t)uind = vp-nused) { Tcl_AppendResult(interp, vdraw: read out of range\n, (char *)NULL); return
[brlcad-commits] SF.net SVN: brlcad:[42920] brlcad/trunk/HACKING
Revision: 42920 http://brlcad.svn.sourceforge.net/brlcad/?rev=42920view=rev Author: tbrowder2 Date: 2011-02-02 18:35:52 + (Wed, 02 Feb 2011) Log Message: --- stick with rough English translation--rest is covered in later parts Modified Paths: -- brlcad/trunk/HACKING Modified: brlcad/trunk/HACKING === --- brlcad/trunk/HACKING2011-02-02 18:32:40 UTC (rev 42919) +++ brlcad/trunk/HACKING2011-02-02 18:35:52 UTC (rev 42920) @@ -904,12 +904,7 @@ expectations. To summarize some of the expected responsibilities: 0) Primum non nocere. All contributors are expected in good faith to -help, or at least to do no harm. In part, this means that changes -should be tested to avoid commits that break existing code, and -contributors should not make commits that prevent the package from -building. Committing code that is in process is acceptable for -collaborative reasons as long as the previous sentence is is not -violated. +help, or at least to do no harm. 1) Developers are expected to uphold the quality, functionality, maintainability, and portability of the source code at all times. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42921] brlcad/trunk/HACKING
Revision: 42921 http://brlcad.svn.sourceforge.net/brlcad/?rev=42921view=rev Author: brlcad Date: 2011-02-02 18:56:57 + (Wed, 02 Feb 2011) Log Message: --- split the difference. emphasize build breaking and maintainability concern in the second point as developer mantra. also, add a brief hint to the first point that it's speaking to people's character and the community, not just the code. Modified Paths: -- brlcad/trunk/HACKING Modified: brlcad/trunk/HACKING === --- brlcad/trunk/HACKING2011-02-02 18:35:52 UTC (rev 42920) +++ brlcad/trunk/HACKING2011-02-02 18:56:57 UTC (rev 42921) @@ -904,10 +904,14 @@ expectations. To summarize some of the expected responsibilities: 0) Primum non nocere. All contributors are expected in good faith to -help, or at least to do no harm. +help, or at least to do no harm. Be helpful and respectful. 1) Developers are expected to uphold the quality, functionality, -maintainability, and portability of the source code at all times. +maintainability, and portability of the source code at all times. In +part, this means that changes should be tested to avoid breaking the +build and short-term fixes are discouraged. Committing code that is +actively being worked on is encouraged but care should be taken to +minimize impact on others and to respond quickly when an issue arises. 2) Bugs, typos, and compilation errors are to be expected as part of the process of active software development and documentation, but it This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42922] brlcad/trunk/HACKING
Revision: 42922 http://brlcad.svn.sourceforge.net/brlcad/?rev=42922view=rev Author: brlcad Date: 2011-02-02 19:50:20 + (Wed, 02 Feb 2011) Log Message: --- set jordi up as the .deb maintainer Modified Paths: -- brlcad/trunk/HACKING Modified: brlcad/trunk/HACKING === --- brlcad/trunk/HACKING2011-02-02 18:56:57 UTC (rev 42921) +++ brlcad/trunk/HACKING2011-02-02 19:50:20 UTC (rev 42922) @@ -1235,6 +1235,9 @@ Gentoo portage maintainer http://packages.gentoo.org/package/sci-misc/brlcad + Ubuntu/Debian .deb maintaner + Jordi Sayol g.sa...@yahoo.es + Debian apt package maintainer http://git.debian.org/?p=debian-science/packages/brlcad.git This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42926] brlcad/trunk/src
Revision: 42926 http://brlcad.svn.sourceforge.net/brlcad/?rev=42926view=rev Author: bob1961 Date: 2011-02-02 21:08:21 + (Wed, 02 Feb 2011) Log Message: --- Call dm_draw_rect() only if grs_draw and grs_line width are not zero. Modified Paths: -- brlcad/trunk/src/libged/rect.c brlcad/trunk/src/libtclcad/ged_obj.c Modified: brlcad/trunk/src/libged/rect.c === --- brlcad/trunk/src/libged/rect.c 2011-02-02 20:46:29 UTC (rev 42925) +++ brlcad/trunk/src/libged/rect.c 2011-02-02 21:08:21 UTC (rev 42926) @@ -274,7 +274,7 @@ i = (int)user_pt[X]; if (i = 0) - gedp-ged_gvp-gv_rect.grs_line_width = 1; + gedp-ged_gvp-gv_rect.grs_line_width = 0; else gedp-ged_gvp-gv_rect.grs_line_width = i; Modified: brlcad/trunk/src/libtclcad/ged_obj.c === --- brlcad/trunk/src/libtclcad/ged_obj.c2011-02-02 20:46:29 UTC (rev 42925) +++ brlcad/trunk/src/libtclcad/ged_obj.c2011-02-02 21:08:21 UTC (rev 42926) @@ -8948,7 +8948,7 @@ dm_draw_grid(gdvp-gdv_dmp, gdvp-gdv_view-gv_grid, gdvp-gdv_view, gdvp-gdv_gop-go_gedp-ged_wdbp-dbip-dbi_base2local); /* Draw rect */ -if (gdvp-gdv_view-gv_rect.grs_draw) +if (gdvp-gdv_view-gv_rect.grs_draw gdvp-gdv_view-gv_rect.grs_line_width) dm_draw_rect(gdvp-gdv_dmp, gdvp-gdv_view-gv_rect); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42927] brlcad/branches/cmake/src/other/step/CMake/ SCL_Utils.cmake
Revision: 42927 http://brlcad.svn.sourceforge.net/brlcad/?rev=42927view=rev Author: starseeker Date: 2011-02-02 21:30:53 + (Wed, 02 Feb 2011) Log Message: --- Make the SCL install commands more generic Modified Paths: -- brlcad/branches/cmake/src/other/step/CMake/SCL_Utils.cmake Modified: brlcad/branches/cmake/src/other/step/CMake/SCL_Utils.cmake === --- brlcad/branches/cmake/src/other/step/CMake/SCL_Utils.cmake 2011-02-02 21:08:21 UTC (rev 42926) +++ brlcad/branches/cmake/src/other/step/CMake/SCL_Utils.cmake 2011-02-02 21:30:53 UTC (rev 42927) @@ -15,7 +15,7 @@ STRING(REGEX REPLACE ; libslist ${libs}) add_executable(${execname} ${srcslist}) target_link_libraries(${execname} ${libslist}) - INSTALL(TARGETS ${execname} RUNTIME DESTINATION bin) + INSTALL(TARGETS ${execname} DESTINATION bin) # Enable extra compiler flags if local executables and/or global options dictate SET(LOCAL_COMPILE_FLAGS ) FOREACH(extraarg ${ARGN}) @@ -39,7 +39,7 @@ target_link_libraries(${libname} ${libslist}) endif(NOT ${libs} MATCHES NONE) SET_TARGET_PROPERTIES(${libname} PROPERTIES VERSION ${SCL_VERSION_MAJOR}.${SCL_VERSION_MINOR} SOVERSION ${SCL_VERSION_MAJOR} ) - INSTALL(TARGETS ${libname} LIBRARY DESTINATION lib) + INSTALL(TARGETS ${libname} DESTINATION lib) ENDIF(BUILD_SHARED_LIBS) IF(BUILD_STATIC_LIBS AND NOT MSVC) add_library(${libname}-static STATIC ${srcslist}) @@ -55,7 +55,7 @@ # http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_make_my_shared_and_static_libraries_have_the_same_root_name.2C_but_different_suffixes.3F SET_TARGET_PROPERTIES(${libname}-static PROPERTIES PREFIX lib) ENDIF(WIN32) - INSTALL(TARGETS ${libname}-static ARCHIVE DESTINATION lib) + INSTALL(TARGETS ${libname}-static DESTINATION lib) ENDIF(BUILD_STATIC_LIBS AND NOT MSVC) # Enable extra compiler flags if local libraries and/or global options dictate SET(LOCAL_COMPILE_FLAGS ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42928] brlcad/trunk/NEWS
Revision: 42928 http://brlcad.svn.sourceforge.net/brlcad/?rev=42928view=rev Author: starseeker Date: 2011-02-02 21:37:16 + (Wed, 02 Feb 2011) Log Message: --- nirt units command was reporting all units as invalid - fixed Modified Paths: -- brlcad/trunk/NEWS Modified: brlcad/trunk/NEWS === --- brlcad/trunk/NEWS 2011-02-02 21:30:53 UTC (rev 42927) +++ brlcad/trunk/NEWS 2011-02-02 21:37:16 UTC (rev 42928) @@ -13,7 +13,7 @@ --- 2010-12-XX Release 7.18.2 --- -- -* fixed nirt units command reporting invalid units - Cliff Yapp +* fixed nirt units command reporting all units as invalid - Cliff Yapp * dbupgrade support for binary-incompatible v4 files - Sean Morrison * new opendb -f endianness flip option for corrupt v4 - Sean Morrison * new mime-type geometry association for Debian platform - Jordi Sayol This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42929] brlcad/trunk/src/libbu/brlcad_path.c
Revision: 42929 http://brlcad.svn.sourceforge.net/brlcad/?rev=42929view=rev Author: brlcad Date: 2011-02-02 21:54:42 + (Wed, 02 Feb 2011) Log Message: --- there's no need to perror() on realpath failure Modified Paths: -- brlcad/trunk/src/libbu/brlcad_path.c Modified: brlcad/trunk/src/libbu/brlcad_path.c === --- brlcad/trunk/src/libbu/brlcad_path.c2011-02-02 21:37:16 UTC (rev 42928) +++ brlcad/trunk/src/libbu/brlcad_path.c2011-02-02 21:54:42 UTC (rev 42929) @@ -91,10 +91,10 @@ pwd = getenv(PWD); /* not our memory to free */ if (pwd strlen(pwd) 0) { #ifdef HAVE_REALPATH - ipwd = realpath(pwd, buffer); - if (ipwd) { - return ipwd; - } + ipwd = realpath(pwd, buffer); + if (ipwd) { + return ipwd; + } #endif ipwd = pwd; return ipwd; @@ -104,7 +104,7 @@ #ifdef HAVE_REALPATH ipwd = realpath(., buffer); if (ipwd strlen(ipwd) 0) { - return ipwd; + return ipwd; } #endif @@ -461,8 +461,9 @@ char real_path[MAXPATHLEN] = {0}; char *dirpath; #ifdef HAVE_REALPATH - if (realpath(lhs, real_path) == NULL) { - perror(realpath); + dirpath = realpath(lhs, real_path); + if (!dirpath) { + /* if path lookup failed, resort to simple copy */ bu_strlcpy(real_path, lhs, (size_t)MAXPATHLEN); } #else This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42930] brlcad/trunk/src/gtools/g_diff.c
Revision: 42930 http://brlcad.svn.sourceforge.net/brlcad/?rev=42930view=rev Author: starseeker Date: 2011-02-02 21:56:46 + (Wed, 02 Feb 2011) Log Message: --- By the time g_diff was doing Tcl_FindExecutable, argv[0] referred to the first file supplied and not the executable name. Instead, use the 'invoked_as' string Modified Paths: -- brlcad/trunk/src/gtools/g_diff.c Modified: brlcad/trunk/src/gtools/g_diff.c === --- brlcad/trunk/src/gtools/g_diff.c2011-02-02 21:54:42 UTC (rev 42929) +++ brlcad/trunk/src/gtools/g_diff.c2011-02-02 21:56:46 UTC (rev 42930) @@ -947,7 +947,7 @@ bu_exit(1, %s and %s are the same file\n, file1, file2); } -Tcl_FindExecutable(argv[0]); +Tcl_FindExecutable(invoked_as); interp = Tcl_CreateInterp(); tclcad_auto_path(interp); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42931] brlcad/trunk/configure.ac
Revision: 42931 http://brlcad.svn.sourceforge.net/brlcad/?rev=42931view=rev Author: brlcad Date: 2011-02-02 21:57:36 + (Wed, 02 Feb 2011) Log Message: --- comment tweak Modified Paths: -- brlcad/trunk/configure.ac Modified: brlcad/trunk/configure.ac === --- brlcad/trunk/configure.ac 2011-02-02 21:56:46 UTC (rev 42930) +++ brlcad/trunk/configure.ac 2011-02-02 21:57:36 UTC (rev 42931) @@ -361,8 +361,8 @@ # build progress status BC_ARG_ENABLE([build_progress], [progress], [Enable verbose compilation progress], [no]) -# build libdm/mged's rtgl interface (presently the only dm interface -# directly toggled instead of passively via --with options) +# build libdm/mged's rtgl interface. this is presently the only dm +# interface directly toggled instead of passively via --with options. BC_ARG_ENABLE([rtgl], [rtgl], [Enable compilation of experimental Ray Trace OpenGL display manager], [no]) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42932] brlcad/branches/cmake
Revision: 42932 http://brlcad.svn.sourceforge.net/brlcad/?rev=42932view=rev Author: starseeker Date: 2011-02-02 23:47:18 + (Wed, 02 Feb 2011) Log Message: --- MFC r42931 Modified Paths: -- brlcad/branches/cmake/HACKING brlcad/branches/cmake/INSTALL brlcad/branches/cmake/NEWS brlcad/branches/cmake/bench/pixcmp.c brlcad/branches/cmake/configure.ac brlcad/branches/cmake/src/gtools/g_diff.c brlcad/branches/cmake/src/libbu/brlcad_path.c brlcad/branches/cmake/src/libged/rect.c brlcad/branches/cmake/src/libged/vdraw.c brlcad/branches/cmake/src/libged/wdb_vdraw.c brlcad/branches/cmake/src/libtclcad/ged_obj.c brlcad/branches/cmake/src/nirt/command.c Property Changed: brlcad/branches/cmake/ brlcad/branches/cmake/src/other/step/ brlcad/branches/cmake/src/other/tkhtml/ Property changes on: brlcad/branches/cmake ___ Modified: svn:mergeinfo - /brlcad/trunk:37932-39894,41673-41706,41994-41998,42011-42052,42060-42120,42240-42327,42329-42333,42350-42352,42372-42376,42378-42380,42384-42397,42399,42401-42539,42610-42616,42618-42631,42635-42645,42671-42761,42763-42767 + /brlcad/trunk:37932-39894,41673-41706,41994-41998,42011-42052,42060-42120,42240-42327,42329-42333,42350-42352,42372-42376,42378-42380,42384-42397,42399,42401-42539,42610-42616,42618-42631,42635-42645,42671-42761,42763-42767,42912-42931 Modified: brlcad/branches/cmake/HACKING === --- brlcad/branches/cmake/HACKING 2011-02-02 21:57:36 UTC (rev 42931) +++ brlcad/branches/cmake/HACKING 2011-02-02 23:47:18 UTC (rev 42932) @@ -904,15 +904,14 @@ expectations. To summarize some of the expected responsibilities: 0) Primum non nocere. All contributors are expected in good faith to -help, or at least to do no harm. In part, this means that changes -should be tested to avoid commits that break existing code, and -contributors should not make commits that prevent the package from -building. Committing code that is in process is acceptable for -collaborative reasons as long as the previous sentence is is not -violated. +help, or at least to do no harm. Be helpful and respectful. 1) Developers are expected to uphold the quality, functionality, -maintainability, and portability of the source code at all times. +maintainability, and portability of the source code at all times. In +part, this means that changes should be tested to avoid breaking the +build and short-term fixes are discouraged. Committing code that is +actively being worked on is encouraged but care should be taken to +minimize impact on others and to respond quickly when an issue arises. 2) Bugs, typos, and compilation errors are to be expected as part of the process of active software development and documentation, but it @@ -1236,6 +1235,9 @@ Gentoo portage maintainer http://packages.gentoo.org/package/sci-misc/brlcad + Ubuntu/Debian .deb maintaner + Jordi Sayol g.sa...@yahoo.es + Debian apt package maintainer http://git.debian.org/?p=debian-science/packages/brlcad.git Modified: brlcad/branches/cmake/INSTALL === --- brlcad/branches/cmake/INSTALL 2011-02-02 21:57:36 UTC (rev 42931) +++ brlcad/branches/cmake/INSTALL 2011-02-02 23:47:18 UTC (rev 42932) @@ -241,27 +241,37 @@ CONFIGURATION OPTIONS - -Variables can be set in the environment passed to `configure'. -However, the build may run configure again during the build, and the -customized values of these variables may be lost. In order to avoid -this problem, you should set them in the `configure' command line, -using `VAR=value'. For example: +The `configure' build script is used to set compilation options and +supports a wide selection of compilation directives. See the ENABLE +OPTIONS and WITH OPTIONS lists below for the arguments presently +available to configure in more descriptive detail. The brief summary +is that enable options focus INWARD and with options focus +OUTWARD. There are various --enable-* flags that toggle how BRL-CAD +code is compiled. There are various --with-* flags that toggle what +system services are used and how to find them. +In order to avoid compilation problems, you should set all compilation +options on the `configure' command line, using `VAR=value'. For +example: + ./configure CC=/usr/ucb/bin/cc will cause the specified executable program to be used as the C -compiler. +compiler. The most common configuration tested is a default +debuggable build intended for installation into /usr/brlcad with no +external dependencies assumed: +./configure --enable-all --disable-strict + By default, BRL-CAD is configured to build the entire package and will install completely isolated into the
[brlcad-commits] SF.net SVN: brlcad:[42933] brlcad/branches/cmake
Revision: 42933 http://brlcad.svn.sourceforge.net/brlcad/?rev=42933view=rev Author: starseeker Date: 2011-02-02 23:49:53 + (Wed, 02 Feb 2011) Log Message: --- mergeinfo property is annoying, not using it - remove from cmake branch Property Changed: brlcad/branches/cmake/ brlcad/branches/cmake/src/other/step/ brlcad/branches/cmake/src/other/tkhtml/ Property changes on: brlcad/branches/cmake ___ Deleted: svn:mergeinfo - /brlcad/trunk:37932-39894,41673-41706,41994-41998,42011-42052,42060-42120,42240-42327,42329-42333,42350-42352,42372-42376,42378-42380,42384-42397,42399,42401-42539,42610-42616,42618-42631,42635-42645,42671-42761,42763-42767,42912-42931 Property changes on: brlcad/branches/cmake/src/other/step ___ Deleted: svn:mergeinfo - /brlcad/trunk/src/other/step:37932-39894,41673-41706,41994-41998,42011-42052,42060-42120,42240-42327,42329-42333,42350-42352,42372-42376,42378-42380,42384-42397,42399,42401-42539,42610-42616,42618-42631,42635-42645,42671-42672,42675-42761,42763-42767,42773-42833,42875-42898,42912-42931 Property changes on: brlcad/branches/cmake/src/other/tkhtml ___ Deleted: svn:mergeinfo - /brlcad/trunk/src/other/tkhtml:37932-39894,40417,41673-41706,42011-42052,42060-42120,42240-42327,42329-42333,42350-42352,42372-42376,42378-42380,42384-42397,42399,42401-42539,42610-42616,42618-42631,42635-42645,42671-42761,42763-42767,42912-42931 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42934] brlcad/trunk/m4/patch.m4
Revision: 42934 http://brlcad.svn.sourceforge.net/brlcad/?rev=42934view=rev Author: brlcad Date: 2011-02-03 00:40:59 + (Thu, 03 Feb 2011) Log Message: --- sigh, no response from the libtool mailing list on this issue so restore the hack that makes libtool binary wrapper scripts work on Mac OS X. we sneak in paths to the Tcl/Tk compile-time lib directories so that they'll get automatically added to DYLD_LIBRARY_PATH. due to suck in the way temp_rpath is handled, the trailing ':' is required otherwise the path will get munged with the next pathlist incorrectly. document why this oddity is even in here, why it's needed in order for make test and apps like mged to work prior to make install. Modified Paths: -- brlcad/trunk/m4/patch.m4 Modified: brlcad/trunk/m4/patch.m4 === --- brlcad/trunk/m4/patch.m42011-02-02 23:49:53 UTC (rev 42933) +++ brlcad/trunk/m4/patch.m42011-02-03 00:40:59 UTC (rev 42934) @@ -56,14 +56,27 @@ if test -w ${libtoolscript} ; then case $host_os in - # remove any -all_load option. + # 1) remove any -all_load option. # provokes libtool linker bug with noinst libraries. + # + # 2) add src/other/tcl and src/other/tk to search + # paths so wrapper scripts will run and find the + # bundled Tcl/Tk before the system Tcl/Tk frameworks. + # darwin*) sed 's/-all_load.*convenience//g' $libtoolscript ${libtoolscript}.sed - if test ! x`cat ${libtoolscript}` = x`cat ${libtoolscript}.sed2` ; then + if test ! x`cat ${libtoolscript}` = x`cat ${libtoolscript}.sed` ; then AC_MSG_RESULT([Found -all_load in libtool script, removing]) - cp ${libtoolscript}.sed2 ${libtoolscript} + cp ${libtoolscript}.sed ${libtoolscript} + rm -f ${libtoolscript}.sed fi + # trailing ':' is REQUIRED so it prepends paths correctly + sed s/temp_rpath=\$/temp_rpath=$TCL_PATH:$TK_PATH:/g $libtoolscript ${libtoolscript}.sed + if test ! x`cat ${libtoolscript}` = x`cat ${libtoolscript}.sed` ; then + AC_MSG_RESULT([Added Tcl/Tk to temp_rpath for libtool wrapper scripts]) + cp ${libtoolscript}.sed ${libtoolscript} + rm -f ${libtoolscript}.sed + fi rm -f ${libtoolscript}.sed ${libtoolscript}.sed2 ;; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42935] brlcad/trunk/regress/fastgen.sh
Revision: 42935 http://brlcad.svn.sourceforge.net/brlcad/?rev=42935view=rev Author: brlcad Date: 2011-02-03 01:34:45 + (Thu, 03 Feb 2011) Log Message: --- add diagnostic 'command prompts' to let you know what the important steps being taken are Modified Paths: -- brlcad/trunk/regress/fastgen.sh Modified: brlcad/trunk/regress/fastgen.sh === --- brlcad/trunk/regress/fastgen.sh 2011-02-03 00:40:59 UTC (rev 42934) +++ brlcad/trunk/regress/fastgen.sh 2011-02-03 01:34:45 UTC (rev 42935) @@ -87,6 +87,7 @@ EOF rm -f fastgen_unix.g +echo \$ $F4G fastgen_box.fast4 fastgen_unix.g $F4G fastgen_box.fast4 fastgen_unix.g if test $? -ne 0 ; then echo ERROR running $F4G fastgen_box.fast4 fastgen_unix.g @@ -106,6 +107,7 @@ cp $PATH_TO_THIS/fastgen_dos.fast4 fastgen_box.fast4 rm -f fastgen_dos.g +echo \$ $F4G fastgen_box.fast4 fastgen_dos.g $F4G fastgen_box.fast4 fastgen_dos.g if test $? -ne 0 ; then echo ERROR running $F4G fastgen_box.fast4 fastgen_dos.g @@ -117,6 +119,7 @@ fi echo Comparing geometry files from sources with DOS and UNIX line endings. +echo \$ $G_DIFF fastgen_unix.g fastgen_dos.g $G_DIFF fastgen_unix.g fastgen_dos.g if test $? -ne 0 ; then echo ERROR running $G_DIFF fastgen_unix.g fastgen_dos.g This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42936] brlcad/trunk/include/raytrace.h
Revision: 42936 http://brlcad.svn.sourceforge.net/brlcad/?rev=42936view=rev Author: brlcad Date: 2011-02-03 02:29:29 + (Thu, 03 Feb 2011) Log Message: --- note the three unused debug bits remaining Modified Paths: -- brlcad/trunk/include/raytrace.h Modified: brlcad/trunk/include/raytrace.h === --- brlcad/trunk/include/raytrace.h 2011-02-03 01:34:45 UTC (rev 42935) +++ brlcad/trunk/include/raytrace.h 2011-02-03 02:29:29 UTC (rev 42936) @@ -109,6 +109,10 @@ #define DEBUG_EBM 0x0200 /** @brief 26 Extruded bit-map solids */ #define DEBUG_HF 0x0400 /** @brief 27 Height Field solids */ +#define DEBUG_UNUSED1 0x0800 /** @brief 28 unused */ +#define DEBUG_UNUSED2 0x1000 /** @brief 29 unused */ +#define DEBUG_UNUSED3 0x2000 /** @brief 30 unused */ + /* Options which will cause the library to write binary debugging output */ #define DEBUG_PLOTSOLIDS 0x4000/** @brief 31 plot all solids */ #define DEBUG_PLOTBOX 0x8000 /** @brief 32 Plot(3) bounding boxes and cuts */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42937] brlcad/trunk/src/lgt/lgt.h
Revision: 42937 http://brlcad.svn.sourceforge.net/brlcad/?rev=42937view=rev Author: brlcad Date: 2011-02-03 02:34:16 + (Thu, 03 Feb 2011) Log Message: --- lgt should not replicate raytrace.h debug values Modified Paths: -- brlcad/trunk/src/lgt/lgt.h Modified: brlcad/trunk/src/lgt/lgt.h === --- brlcad/trunk/src/lgt/lgt.h 2011-02-03 02:29:29 UTC (rev 42936) +++ brlcad/trunk/src/lgt/lgt.h 2011-02-03 02:34:16 UTC (rev 42937) @@ -72,36 +72,6 @@ #define B_LINE 2 /* Line-buffered I/O (DMA). */ #define Rotate( f )(f) = (f) + 1 2 ? 0 : (f) + 1 -/* !!! rely on raytrace.h */ -#ifndef DEBUG_OFF -#define DEBUG_OFF 0 /* No debugging */ - -/* These definitions are each for one bit */ - -/* Options useful for debugging applications */ -#define DEBUG_ALLRAYS 0x0001 /* Print calls to shootray() */ -#define DEBUG_SHOOT0x0002 /* Info about shootray() processing */ - -/* Options useful for debugging the database */ -#define DEBUG_DB 0x0010 /* Database debugging */ -#define DEBUG_SOLIDS 0x0020 /* Print prep'ed solids */ -#define DEBUG_REGIONS 0x0040 /* Print regions boolean trees */ -#define DEBUG_ARB8 0x0080 /* Print voluminus ARB8 details */ -#define DEBUG_SPLINE 0x0100 /* Splines */ - -/* Options useful for debugging the library */ -#define DEBUG_ROOTS0x1000 /* Print rootfinder details */ -#define DEBUG_PARTITION0x2000 /* Info about bool_weave() */ -#define DEBUG_CUT 0x4000 /* Print space cutting details */ -#define DEBUG_BOXING 0x8000 /* Object/box checking details */ -#define DEBUG_MEM 0x0001 /* Debug dynamic memory operations */ -#define DEBUG_TESTING 0x0002 /* One-shot debugging flag */ -#define DEBUG_FDIFF0x0004 /* bool/fdiff debugging */ - -/* These will cause binary debugging output */ -#define DEBUG_PLOTBOX 0x8000 /* Plot(3) bounding boxes to stdout */ -#endif - /* Application debugging flags. */ #define DEBUG_RGB 0x8 #define DEBUG_REFRACT 0x10 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42938] brlcad/trunk
Revision: 42938 http://brlcad.svn.sourceforge.net/brlcad/?rev=42938view=rev Author: brlcad Date: 2011-02-03 02:35:28 + (Thu, 03 Feb 2011) Log Message: --- rename DEBUG_PLOTSOLIDS and DEBUG_PLOTBOX to DEBUG_PL_SOLIDS and DEBUG_PL_BOX respectively just because it's 1-char shorter and matches nmg.h Modified Paths: -- brlcad/trunk/include/raytrace.h brlcad/trunk/src/librt/cut.c brlcad/trunk/src/librt/prep.c Modified: brlcad/trunk/include/raytrace.h === --- brlcad/trunk/include/raytrace.h 2011-02-03 02:34:16 UTC (rev 42937) +++ brlcad/trunk/include/raytrace.h 2011-02-03 02:35:28 UTC (rev 42938) @@ -114,8 +114,8 @@ #define DEBUG_UNUSED3 0x2000 /** @brief 30 unused */ /* Options which will cause the library to write binary debugging output */ -#define DEBUG_PLOTSOLIDS 0x4000/** @brief 31 plot all solids */ -#define DEBUG_PLOTBOX 0x8000 /** @brief 32 Plot(3) bounding boxes and cuts */ +#define DEBUG_PL_SOLIDS 0x4000 /** @brief 31 plot all solids */ +#define DEBUG_PL_BOX 0x8000 /** @brief 32 Plot(3) bounding boxes and cuts */ /** Format string for bu_printb() */ #define DEBUG_FORMAT \ Modified: brlcad/trunk/src/librt/cut.c === --- brlcad/trunk/src/librt/cut.c2011-02-03 02:34:16 UTC (rev 42937) +++ brlcad/trunk/src/librt/cut.c2011-02-03 02:35:28 UTC (rev 42938) @@ -948,7 +948,7 @@ rt_pr_cut(rtip-rti_CutHead, 0); } -if (RT_G_DEBUGDEBUG_PLOTBOX) { +if (RT_G_DEBUGDEBUG_PL_BOX) { /* Debugging code to plot cuts */ if ((plotfp=fopen(rtcut.pl, wb))!=NULL) { pdv_3space(plotfp, rtip-rti_pmin, rtip-rti_pmax); Modified: brlcad/trunk/src/librt/prep.c === --- brlcad/trunk/src/librt/prep.c 2011-02-03 02:34:16 UTC (rev 42937) +++ brlcad/trunk/src/librt/prep.c 2011-02-03 02:35:28 UTC (rev 42938) @@ -405,7 +405,7 @@ } RT_VISIT_ALL_SOLTABS_END; /* Plot bounding RPPs */ -if ((RT_G_DEBUGDEBUG_PLOTBOX)) { +if ((RT_G_DEBUGDEBUG_PL_BOX)) { FILE *plotfp; plotfp = fopen(rtrpp.plot, wb); @@ -418,7 +418,7 @@ } /* Plot solid outlines */ -if ((RT_G_DEBUGDEBUG_PLOTSOLIDS)) { +if ((RT_G_DEBUGDEBUG_PL_SOLIDS)) { FILE *plotfp; plotfp = fopen(rtsolids.pl, wb); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42939] brlcad/trunk/src/librt
Revision: 42939 http://brlcad.svn.sourceforge.net/brlcad/?rev=42939view=rev Author: brlcad Date: 2011-02-03 02:51:41 + (Thu, 03 Feb 2011) Log Message: --- the user needs SOME mechansim to override automatic behavior in case there is some pressing need, so provide for a LIBRT_V4FLIP boolean environment variable. if set, the value will be interpreted as an override to enable or disable flipping so you can flip a file irrespective of the automatic detection. setting the flag to false will revert to old behavior. setting to true will flip even if the application provided no override and automatic detection would have failed Modified Paths: -- brlcad/trunk/src/librt/db_corrupt.c brlcad/trunk/src/librt/librt.3 Modified: brlcad/trunk/src/librt/db_corrupt.c === --- brlcad/trunk/src/librt/db_corrupt.c 2011-02-03 02:35:28 UTC (rev 42938) +++ brlcad/trunk/src/librt/db_corrupt.c 2011-02-03 02:51:41 UTC (rev 42939) @@ -118,6 +118,7 @@ rt_db_flip_endian(struct db_i *dbip) { struct counter cnt = {0, 0}; +char *v4flip; RT_CK_DBI(dbip); @@ -125,6 +126,11 @@ if (db_version(dbip) 4) return 0; +/* provide the user some means to override this automatic behavior */ +v4flip = getenv(LIBRT_V4FLIP); +if (v4flip) + return bu_str_true(v4flip); + /* iterate over all database objects looking for signs of * corruption keeping a tally of whether fliping the record fixed * the problem. Modified: brlcad/trunk/src/librt/librt.3 === --- brlcad/trunk/src/librt/librt.3 2011-02-03 02:35:28 UTC (rev 42938) +++ brlcad/trunk/src/librt/librt.3 2011-02-03 02:51:41 UTC (rev 42939) @@ -436,9 +436,19 @@ is called more than once. ``rt_prep: no solids to prep'' when there are no valid solids in the model. - -The LIBRT_DEBUG environment variable may be set to the hexadecimal -bit vector as descibed by raytrace.h. +.PP +The LIBRT_DEBUG environment variable may be set to the hexadecimal bit +vector as described by the DEBUG_* flags listed in the raytrace.h +header. Similarly, many LIBRT applications provide a ``-x #'' +command-line option which will take precendence over the environment +variable. +.PP +The LIBRT_V4FLIP environment variable may be set to a true or false +value to respectively force or disable endianness interpretation of v4 +geometry database files. The default behavior is to automatically +detect whether flipping the endian interpretation will help LIBRT read +a binary-incompatible v4 geometry database file. Setting LIBRT_V4FLIP +will override automatic detection. .SH BUGS On a VAX, the rootfinder detects ``hard'' cases by taking a SIGFPE and retrying This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42940] brlcad/branches/cmake/CMakeLists.txt
Revision: 42940 http://brlcad.svn.sourceforge.net/brlcad/?rev=42940view=rev Author: starseeker Date: 2011-02-03 02:54:26 + (Thu, 03 Feb 2011) Log Message: --- Remove the benchmark and rtserver-only options - benchmark is handled by proper dependencies for make benchmark. rtserver will also build minimally due to dependencies. Modified Paths: -- brlcad/branches/cmake/CMakeLists.txt Modified: brlcad/branches/cmake/CMakeLists.txt === --- brlcad/branches/cmake/CMakeLists.txt2011-02-03 02:51:41 UTC (rev 42939) +++ brlcad/branches/cmake/CMakeLists.txt2011-02-03 02:54:26 UTC (rev 42940) @@ -546,14 +546,6 @@ OPTION(BUILD_STATIC_LIBS Build static libraries ON) ENDIF(CMAKE_BUILD_TYPE) -# Turn on just the benchmark build. This is not an exclusive flag - -# enabling this does not force off other explicitly enabled targets. -OPTION(BRLCAD-ENABLE_BENCHMARK_ONLY Enable just the benchmark target and its requirements. OFF) -#MARK_AS_ADVANCED(BRLCAD-ENABLE_BENCHMARK_ONLY) - -# Enable the librtserver build -OPTION(BRLCAD-ENABLE_RTSERVER Enable the rtserver target. ON) - # Enable data build targets - this will result in the build logic # being aware of changes in tclscripts, documentation files, and # other data and re-copying them to the build directory. This @@ -562,13 +554,8 @@ # of build targets OPTION(BRLCAD-ENABLE_DATA_TARGETS Enable the data build targets. OFF) -# Turn on just the librtserver build. This is not an exclusive flag - -# enabling this does not force off other explicitly enabled targets. -OPTION(BRLCAD-ENABLE_RTSERVER_ONLY Enable just the rtserver target and its requirements. OFF) -#MARK_AS_ADVANCED(BRLCAD-ENABLE_RTSERVER_ONLY) -IF(BRLCAD-ENABLE_RTSERVER_ONLY) - SET(BRLCAD-ENABLE_RTSERVER ON) -ENDIF(BRLCAD-ENABLE_RTSERVER_ONLY) +# Turn on librtserver build. +OPTION(BRLCAD-ENABLE_RTSERVER Enable the librtserver target. ON) # Global third party controls - these options enable and disable ALL # local copies of libraries in src/other. Forcing all local @@ -851,6 +838,7 @@ IF(NOT HAVE_JNI_H AND NOT HAVE_JAVAVM_JNI_H) SET(BRLCAD-ENABLE_RTSERVER OFF) MESSAGE(librtserver build requested, but JNI header not found - disabling) + MARK_AS_ADVANCED(BRLCAD-ENABLE_RTSERVER) ENDIF(NOT HAVE_JNI_H AND NOT HAVE_JAVAVM_JNI_H) # Find X11 if it is enabled @@ -1260,8 +1248,6 @@ SET(BUILD_SHARED_LIBS_LABEL Build dynamic libraries ) SET(BRLCAD-ENABLE_COMPILER_WARNINGS_LABEL Print verbose compilation warnings ) SET(BRLCAD-ENABLE_VERBOSE_PROGRESS_LABEL Print verbose compilation progress ) - SET(BRLCAD-ENABLE_BENCHMARK_ONLY_LABEL Only build benchmark suite ) - SET(BRLCAD-ENABLE_RTSERVER_ONLY_LABEL Only build librtserver ) SET(BRLCAD-INSTALL_EXAMPLE_GEOMETRY_LABEL Install example geometry models ) if (BRLCAD-BUILD_EXTRADOCS) if (BRLCAD-BUILD_EXTRADOCS_PDF) @@ -1276,7 +1262,7 @@ SET(SETTINGLIST1 BRLCAD_BUILD_LOCAL_TCL BRLCAD_BUILD_LOCAL_TK BRLCAD_BUILD_LOCAL_INCRTCL BRLCAD_BUILD_LOCAL_IWIDGETS BRLCAD_BUILD_LOCAL_TKHTML BRLCAD_BUILD_LOCAL_TKPNG BRLCAD_BUILD_LOCAL_TKTABLE BRLCAD_BUILD_LOCAL_PNG BRLCAD_BUILD_LOCAL_REGEX BRLCAD_BUILD_LOCAL_ZLIB BRLCAD_BUILD_LOCAL_TERMLIB BRLCAD_BUILD_LOCAL_UTAHRLE BRLCAD_BUILD_LOCAL_OPENNURBS BRLCAD_BUILD_LOCAL_SCL) SET(SETTINGLIST2 BRLCAD-ENABLE_X11 BRLCAD-ENABLE_OPENGL BRLCAD-ENABLE_RTSERVER BRLCAD-ENABLE_RUNTIME_DEBUG ) - SET(SETTINGLIST3 BRLCAD_ARCH_BITSETTING BRLCAD-ENABLE_OPTIMIZED_BUILD BRLCAD-ENABLE_DEBUG_BUILD BRLCAD-ENABLE_PROFILING BRLCAD-ENABLE_SMP BUILD_STATIC_LIBS BUILD_SHARED_LIBS BRLCAD-ENABLE_COMPILER_WARNINGS BRLCAD-ENABLE_VERBOSE_PROGRESS BRLCAD-ENABLE_BENCHMARK_ONLY BRLCAD-ENABLE_RTSERVER_ONLY BRLCAD-INSTALL_EXAMPLE_GEOMETRY BRLCAD-BUILD_DOCBUILD_MSG) + SET(SETTINGLIST3 BRLCAD_ARCH_BITSETTING BRLCAD-ENABLE_OPTIMIZED_BUILD BRLCAD-ENABLE_DEBUG_BUILD BRLCAD-ENABLE_PROFILING BRLCAD-ENABLE_SMP BUILD_STATIC_LIBS BUILD_SHARED_LIBS BRLCAD-ENABLE_COMPILER_WARNINGS BRLCAD-ENABLE_VERBOSE_PROGRESS BRLCAD-INSTALL_EXAMPLE_GEOMETRY BRLCAD-BUILD_DOCBUILD_MSG) SET(ARRAYLIST SETTINGLIST1 SETTINGLIST2 SETTINGLIST3) SET(SETTINGLABELLENGTH 0) FOREACH(setting_array ${ARRAYLIST}) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list
[brlcad-commits] SF.net SVN: brlcad:[42941] brlcad/branches/cmake/src/CMakeLists.txt
Revision: 42941 http://brlcad.svn.sourceforge.net/brlcad/?rev=42941view=rev Author: starseeker Date: 2011-02-03 03:10:57 + (Thu, 03 Feb 2011) Log Message: --- Without the build options for benchmark and framework, the src/CMakeLists.txt logic simplifies down nicely Modified Paths: -- brlcad/branches/cmake/src/CMakeLists.txt Modified: brlcad/branches/cmake/src/CMakeLists.txt === --- brlcad/branches/cmake/src/CMakeLists.txt2011-02-03 02:54:26 UTC (rev 42940) +++ brlcad/branches/cmake/src/CMakeLists.txt2011-02-03 03:10:57 UTC (rev 42941) @@ -107,34 +107,18 @@ ### # put it all together # ### +FOREACH(subdir ${benchmark_dirs}) + ADD_SUBDIRECTORY(${subdir}) +ENDFOREACH(subdir ${benchmark_dirs}) +IF(BRLCAD-ENABLE_RTSERVER) + ADD_SUBDIRECTORY(librtserver) +ENDIF(BRLCAD-ENABLE_RTSERVER) +FOREACH(subdir ${remaining_dirs}) + ADD_SUBDIRECTORY(${subdir}) +ENDFOREACH(subdir ${remaining_dirs}) +IF(NOT WIN32) + FOREACH(subdir ${non_win32_dirs}) + ADD_SUBDIRECTORY(${subdir}) + ENDFOREACH(subdir ${non_win32_dirs}) +ENDIF(NOT WIN32) -IF(BRLCAD-ENABLE_BENCHMARK_ONLY) - FOREACH(subdir ${benchmark_dirs}) -ADD_SUBDIRECTORY(${subdir}) - ENDFOREACH(subdir ${benchmark_dirs}) - IF(BRLCAD-ENABLE_RTSERVER_ONLY AND BRLCAD-ENABLE_RTSERVER) -ADD_SUBDIRECTORY(librtserver) - ENDIF(BRLCAD-ENABLE_RTSERVER_ONLY AND BRLCAD-ENABLE_RTSERVER) -ENDIF(BRLCAD-ENABLE_BENCHMARK_ONLY) - -IF(BRLCAD-ENABLE_RTSERVER_ONLY AND BRLCAD-ENABLE_RTSERVER) - ADD_SUBDIRECTORY(librtserver) -ENDIF(BRLCAD-ENABLE_RTSERVER_ONLY AND BRLCAD-ENABLE_RTSERVER) - -IF(NOT BRLCAD-ENABLE_BENCHMARK_ONLY AND NOT BRLCAD-ENABLE_RTSERVER_ONLY) - FOREACH(subdir ${benchmark_dirs}) -ADD_SUBDIRECTORY(${subdir}) - ENDFOREACH(subdir ${benchmark_dirs}) - IF(BRLCAD-ENABLE_RTSERVER) -ADD_SUBDIRECTORY(librtserver) - ENDIF(BRLCAD-ENABLE_RTSERVER) - FOREACH(subdir ${remaining_dirs}) -ADD_SUBDIRECTORY(${subdir}) - ENDFOREACH(subdir ${remaining_dirs}) - IF(NOT WIN32) - FOREACH(subdir ${non_win32_dirs}) -ADD_SUBDIRECTORY(${subdir}) - ENDFOREACH(subdir ${non_win32_dirs}) - ENDIF(NOT WIN32) -ENDIF(NOT BRLCAD-ENABLE_BENCHMARK_ONLY AND NOT BRLCAD-ENABLE_RTSERVER_ONLY) - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42942] brlcad/branches/cmake
Revision: 42942 http://brlcad.svn.sourceforge.net/brlcad/?rev=42942view=rev Author: starseeker Date: 2011-02-03 03:13:43 + (Thu, 03 Feb 2011) Log Message: --- Add a mechanism to print out the compilation time for CMake build. Works only for make (e.g. make all) which appears to be consistent with autotools. Summary information isn't as elaborate as the autotools output, but that can be added if it's needed. Modified Paths: -- brlcad/branches/cmake/CMakeLists.txt brlcad/branches/cmake/misc/CMake/test_srcs/timedelta_end.c.in Added Paths: --- brlcad/branches/cmake/misc/CMake/test_srcs/builddelta_end.c.in brlcad/branches/cmake/misc/CMake/test_srcs/builddelta_start.c.in Modified: brlcad/branches/cmake/CMakeLists.txt === --- brlcad/branches/cmake/CMakeLists.txt2011-02-03 03:10:57 UTC (rev 42941) +++ brlcad/branches/cmake/CMakeLists.txt2011-02-03 03:13:43 UTC (rev 42942) @@ -554,7 +554,7 @@ # of build targets OPTION(BRLCAD-ENABLE_DATA_TARGETS Enable the data build targets. OFF) -# Turn on librtserver build. +# Turn on librtserver build. OPTION(BRLCAD-ENABLE_RTSERVER Enable the librtserver target. ON) # Global third party controls - these options enable and disable ALL @@ -1289,8 +1289,30 @@ endif(BRLCAD_PRINT_VERBOSE_SUMMARY) # Set up rules to print a timestamp string during build +SET(BUILD_DELTA_FILE ${CMAKE_BINARY_DIR}/CMakeTmp/BUILD_DELTA_FILE) +SET(BUILD_DELTA_START ${CMAKE_BINARY_DIR}/CMakeTmp/BUILD_DELTA_START) +SET(BUILD_DELTA_END ${CMAKE_BINARY_DIR}/CMakeTmp/BUILD_DELTA_END) +configure_file(${BRLCAD_CMAKE_DIR}/test_srcs/builddelta_start.c.in + ${CMAKE_BINARY_DIR}/CMakeTmp/builddelta_start.c) +configure_file(${BRLCAD_CMAKE_DIR}/test_srcs/builddelta_end.c.in + ${CMAKE_BINARY_DIR}/CMakeTmp/builddelta_end.c) ADD_EXECUTABLE(printtimestamp ${BRLCAD_CMAKE_DIR}/test_srcs/print_timestamp.c) -ADD_CUSTOM_TARGET(timestamp ALLCOMMAND printtimestamp) +ADD_EXECUTABLE(buildtimestart ${CMAKE_BINARY_DIR}/CMakeTmp/builddelta_start.c) +ADD_EXECUTABLE(buildtimeend ${CMAKE_BINARY_DIR}/CMakeTmp/builddelta_end.c) +ADD_CUSTOM_COMMAND( + OUTPUT ${BUILD_DELTA_FILE} + COMMAND buildtimestart + COMMENT + ) +ADD_CUSTOM_TARGET(timestamp ALL + COMMAND printtimestamp + COMMAND ${CMAKE_COMMAND} -E rename ${BUILD_DELTA_FILE} ${BUILD_DELTA_START} + DEPENDS ${BUILD_DELTA_FILE} + ) +ADD_CUSTOM_TARGET(buildtimedelta ALL + COMMAND buildtimeend + COMMAND ${CMAKE_COMMAND} -E remove ${BUILD_DELTA_START} + ) # Some of the BRL-CAD targets need to depend on the local # tcl/tk targets if they are present @@ -1309,6 +1331,7 @@ # We want the timestamp to come first, so make ALL library, # exec and external targets depend on timestamp (except for # the exec target printtimestamp, which is needed by timestamp) +# Similarly, buildtimedelta needs to depend on every target. get_property(CMAKE_LIBRARY_TARGET_LIST GLOBAL PROPERTY CMAKE_LIBRARY_TARGET_LIST) get_property(CMAKE_EXEC_TARGET_LIST GLOBAL PROPERTY CMAKE_EXEC_TARGET_LIST) get_property(CMAKE_CUSTOM_TARGET_LIST GLOBAL PROPERTY CMAKE_CUSTOM_TARGET_LIST) @@ -1325,25 +1348,35 @@ get_target_property(target_location ${libtarget} LOCATION) if(target_location) ADD_DEPENDENCIES(${libtarget} timestamp) + ADD_DEPENDENCIES(buildtimedelta ${libtarget}) endif(target_location) ENDFOREACH(libtarget ${CMAKE_LIBRARY_TARGET_LIST}) FOREACH(exectarget ${CMAKE_EXEC_TARGET_LIST}) get_target_property(target_location ${exectarget} LOCATION) if(target_location) - IF(NOT ${exectarget} MATCHES printtimestamp) + IF(NOT ${exectarget} MATCHES printtimestamp + AND NOT ${custtarget} MATCHES buildtimestart) ADD_DEPENDENCIES(${exectarget} timestamp) - ENDIF(NOT ${exectarget} MATCHES printtimestamp) + ENDIF() + ADD_DEPENDENCIES(buildtimedelta ${exectarget}) endif(target_location) ENDFOREACH(exectarget ${CMAKE_EXEC_TARGET_LIST}) FOREACH(custtarget ${CMAKE_CUSTOM_TARGET_LIST}) IF(NOT ${custtarget} MATCHES timestamp) ADD_DEPENDENCIES(${custtarget} timestamp) - ENDIF(NOT ${custtarget} MATCHES timestamp) + ENDIF() + IF(NOT ${custtarget} MATCHES buildtimedelta) + get_target_property(not_in_all ${custtarget} EXCLUDE_FROM_ALL) + IF(NOT not_in_all) + ADD_DEPENDENCIES(buildtimedelta ${custtarget}) + ENDIF(NOT not_in_all) + ENDIF(NOT ${custtarget} MATCHES buildtimedelta) ENDFOREACH(custtarget ${CMAKE_CUSTOM_TARGET_LIST}) FOREACH(externaltarget ${CMAKE_EXTERNAL_TARGET_LIST})
[brlcad-commits] SF.net SVN: brlcad:[42943] brlcad/trunk/configure.ac
Revision: 42943 http://brlcad.svn.sourceforge.net/brlcad/?rev=42943view=rev Author: brlcad Date: 2011-02-03 04:16:52 + (Thu, 03 Feb 2011) Log Message: --- still having woes with debugging, perhaps the flip was to gstabs+ for 10.4+? Modified Paths: -- brlcad/trunk/configure.ac Modified: brlcad/trunk/configure.ac === --- brlcad/trunk/configure.ac 2011-02-03 03:13:43 UTC (rev 42942) +++ brlcad/trunk/configure.ac 2011-02-03 04:16:52 UTC (rev 42943) @@ -2104,7 +2104,7 @@ AC_MSG_RESULT([$MACOSX_VERSION]) fi case x$MACOSX_VERSION in - x10.[1234]) + x10.[456]) BC_COMPILER_AND_LINKER_RECOGNIZES([-gstabs+], [debug_flag]) ;; *) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42944] brlcad/trunk/src/librt/db_open.c
Revision: 42944 http://brlcad.svn.sourceforge.net/brlcad/?rev=42944view=rev Author: brlcad Date: 2011-02-03 06:58:16 + (Thu, 03 Feb 2011) Log Message: --- past tense on endianness flippage Modified Paths: -- brlcad/trunk/src/librt/db_open.c Modified: brlcad/trunk/src/librt/db_open.c === --- brlcad/trunk/src/librt/db_open.c2011-02-03 04:16:52 UTC (rev 42943) +++ brlcad/trunk/src/librt/db_open.c2011-02-03 06:58:16 UTC (rev 42944) @@ -212,10 +212,10 @@ if (dbip-dbi_version 5) { if (rt_db_flip_endian(dbip)) { - bu_log(WARNING: Binary-incompatible v4 geometry database detected. Flipping endianness.\n); if (dbip-dbi_version 0) dbip-dbi_version *= -1; dbip-dbi_read_only = 1; + bu_log(WARNING: Binary-incompatible v4 geometry database detected. Endianness flipped.\n); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42945] brlcad/trunk/src/librt/db_corrupt.c
Revision: 42945 http://brlcad.svn.sourceforge.net/brlcad/?rev=42945view=rev Author: brlcad Date: 2011-02-03 07:03:20 + (Thu, 03 Feb 2011) Log Message: --- be a lot more eager to flip the endian interpretation of v4 files now that there's an environment variable override. if we merely detect that it'll help a majority of objects, let the flip occur. Moreover, report all objects containing matrices that are invalid regardless of flipping since they may just actually be invalid. summarize how many objects are like that. Modified Paths: -- brlcad/trunk/src/librt/db_corrupt.c Modified: brlcad/trunk/src/librt/db_corrupt.c === --- brlcad/trunk/src/librt/db_corrupt.c 2011-02-03 06:58:16 UTC (rev 42944) +++ brlcad/trunk/src/librt/db_corrupt.c 2011-02-03 07:03:20 UTC (rev 42945) @@ -98,7 +98,7 @@ || fabs(diskmat[4]) 1 || fabs(diskmat[5]) 1 || fabs(diskmat[6]) 1 || fabs(diskmat[8]) 1 || fabs(diskmat[9]) 1 || fabs(diskmat[10]) 1) { - /* flipping didn't help */ + bu_log(WARNING: Invalid matrix detected within %s\n, name); } else { /* flipping helped */ cnt-fixed++; @@ -137,8 +137,10 @@ */ db_scan(dbip, db_corrupt_handler, 0, cnt); -/* it's all or nothing */ -if (cnt.found 0 cnt.fixed == cnt.found) { +/* it has to help more than it hurts */ +if (cnt.found 0 (double)cnt.fixed ((double)cnt.found / 2.0)) { + if (cnt.fixed != cnt.found) + bu_log(%d of %d objects were NOT fixed by flipping endian interpretation. Manual inspection and repair required.\n, cnt.found - cnt.fixed, cnt.found); return 1; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42946] brlcad/trunk/TODO
Revision: 42946 http://brlcad.svn.sourceforge.net/brlcad/?rev=42946view=rev Author: brlcad Date: 2011-02-03 07:12:55 + (Thu, 03 Feb 2011) Log Message: --- confirmed that ARS has a problem importing because it manages its own b-record serialization of dbfloat_t data. looks like old POLY objects will have a similar problem too. opendb is now fixed. Modified Paths: -- brlcad/trunk/TODO Modified: brlcad/trunk/TODO === --- brlcad/trunk/TODO 2011-02-03 07:03:20 UTC (rev 42945) +++ brlcad/trunk/TODO 2011-02-03 07:12:55 UTC (rev 42946) @@ -17,11 +17,11 @@ THESE TASKS SHOULD HAPPEN BEFORE THE NEXT RELEASE - -* opendb is mishandling the trailing 'y'/'n' - * strict failures on 32-bit fbsd +* ars and poly need extra v4 flip import support + THESE TASKS SHOULD HAPPEN WITHIN TWO RELEASE ITERATIONS --- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42947] brlcad/trunk/src/librt/primitives/ars/ars.c
Revision: 42947 http://brlcad.svn.sourceforge.net/brlcad/?rev=42947view=rev Author: brlcad Date: 2011-02-03 07:18:47 + (Thu, 03 Feb 2011) Log Message: --- there is no reason for rt_ars_rd_curve() to be public api. rename sans rt_ prefix and mark HIDDEN. Modified Paths: -- brlcad/trunk/src/librt/primitives/ars/ars.c Modified: brlcad/trunk/src/librt/primitives/ars/ars.c === --- brlcad/trunk/src/librt/primitives/ars/ars.c 2011-02-03 07:12:55 UTC (rev 42946) +++ brlcad/trunk/src/librt/primitives/ars/ars.c 2011-02-03 07:18:47 UTC (rev 42947) @@ -93,14 +93,13 @@ /** - * R T _ A R S _ R D _ C U R V E + * A R S _ R D _ C U R V E * - * rt_ars_rd_curve() reads a set of ARS B records and returns a - * pointer to a malloc()'ed memory area of fastf_t's to hold the - * curve. + * reads a set of ARS B records and returns a pointer to memory + * allocated for holding the curve's fastf_t values. */ -fastf_t * -rt_ars_rd_curve(union record *rp, int npts) +HIDDEN fastf_t * +ars_rd_curve(union record *rp, int npts) { int lim; fastf_t *base; @@ -118,7 +117,7 @@ for (; npts 0; npts -= 8) { rr = rp[rec++]; if (rr-b.b_id != ID_ARS_B) { - bu_log(rt_ars_rd_curve(): non-ARS_B record!\n); + bu_log(ars_rd_curve(): non-ARS_B record!\n); break; } lim = (npts8) ? 8 : npts; @@ -179,7 +178,7 @@ currec = 1; for (i=0; i ari-ncurves; i++) { ari-curves[i] = - rt_ars_rd_curve(rp[currec], ari-pts_per_curve); + ars_rd_curve(rp[currec], ari-pts_per_curve); currec += (ari-pts_per_curve+7)/8; } @@ -760,7 +759,7 @@ /* * Compute planar faces. Will examine curves[i][pts_per_curve], - * provided by rt_ars_rd_curve. + * provided by ars_rd_curve. */ ncv = arip-ncurves-2; ntri = 0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42948] brlcad/trunk/include/db.h
Revision: 42948 http://brlcad.svn.sourceforge.net/brlcad/?rev=42948view=rev Author: brlcad Date: 2011-02-03 07:30:42 + (Thu, 03 Feb 2011) Log Message: --- B_solid records don't actually seem to be used anywhere anymore. should be safe to remove from the union. Modified Paths: -- brlcad/trunk/include/db.h Modified: brlcad/trunk/include/db.h === --- brlcad/trunk/include/db.h 2011-02-03 07:18:47 UTC (rev 42947) +++ brlcad/trunk/include/db.h 2011-02-03 07:30:42 UTC (rev 42948) @@ -261,13 +261,6 @@ charmd_material[100]; /* UNUSED now */ } md; -struct B_solid { - charB_id; /* = ID_BSOLID */ - charB_pad; - charB_name[NAMESIZE]; - short B_nsurf;/* # of surfaces in this solid */ - dbfloat_t B_resolution; /* resolution of flatness */ -} B; struct b_surf { chard_id; /* = ID_BSURF */ short d_order[2]; /* order of u and v directions */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42949] brlcad/trunk/include/db.h
Revision: 42949 http://brlcad.svn.sourceforge.net/brlcad/?rev=42949view=rev Author: brlcad Date: 2011-02-03 07:36:45 + (Thu, 03 Feb 2011) Log Message: --- apparently not true. nothing refers to struct B_solid, but the bspline primitive does refer to and use the B union record. revert. Modified Paths: -- brlcad/trunk/include/db.h Modified: brlcad/trunk/include/db.h === --- brlcad/trunk/include/db.h 2011-02-03 07:30:42 UTC (rev 42948) +++ brlcad/trunk/include/db.h 2011-02-03 07:36:45 UTC (rev 42949) @@ -261,6 +261,13 @@ charmd_material[100]; /* UNUSED now */ } md; +struct B_solid { + charB_id; /* = ID_BSOLID */ + charB_pad; + charB_name[NAMESIZE]; + short B_nsurf;/* # of surfaces in this solid */ + dbfloat_t B_resolution; /* resolution of flatness */ +} B; struct b_surf { chard_id; /* = ID_BSURF */ short d_order[2]; /* order of u and v directions */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42950] brlcad/trunk/include/db.h
Revision: 42950 http://brlcad.svn.sourceforge.net/brlcad/?rev=42950view=rev Author: brlcad Date: 2011-02-03 07:41:09 + (Thu, 03 Feb 2011) Log Message: --- rename the B_resolution confusion starting point as it doesn't look to be actually used (at least by bspline). update comment and name, however, instead of changing the struct size just in case that matters. Modified Paths: -- brlcad/trunk/include/db.h Modified: brlcad/trunk/include/db.h === --- brlcad/trunk/include/db.h 2011-02-03 07:36:45 UTC (rev 42949) +++ brlcad/trunk/include/db.h 2011-02-03 07:41:09 UTC (rev 42950) @@ -266,7 +266,7 @@ charB_pad; charB_name[NAMESIZE]; short B_nsurf;/* # of surfaces in this solid */ - dbfloat_t B_resolution; /* resolution of flatness */ + dbfloat_t B_unused; /* UNUSED (was resolution of flatness) */ } B; struct b_surf { chard_id; /* = ID_BSURF */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits
[brlcad-commits] SF.net SVN: brlcad:[42951] brlcad/trunk/TODO
Revision: 42951 http://brlcad.svn.sourceforge.net/brlcad/?rev=42951view=rev Author: brlcad Date: 2011-02-03 07:43:28 + (Thu, 03 Feb 2011) Log Message: --- that means bsplines won't auto-flip either Modified Paths: -- brlcad/trunk/TODO Modified: brlcad/trunk/TODO === --- brlcad/trunk/TODO 2011-02-03 07:41:09 UTC (rev 42950) +++ brlcad/trunk/TODO 2011-02-03 07:43:28 UTC (rev 42951) @@ -19,7 +19,7 @@ * strict failures on 32-bit fbsd -* ars and poly need extra v4 flip import support +* ars, poly, and bspline need extra v4 flip import support THESE TASKS SHOULD HAPPEN WITHIN TWO RELEASE ITERATIONS This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits