[brlcad-commits] SF.net SVN: brlcad:[46310] brlcad/trunk/src/libged/simulate.c

2011-08-22 Thread erikgreenwald
Revision: 46310
  http://brlcad.svn.sourceforge.net/brlcad/?rev=46310view=rev
Author:   erikgreenwald
Date: 2011-08-22 13:54:02 + (Mon, 22 Aug 2011)

Log Message:
---
#if 0 out some unused code

Modified Paths:
--
brlcad/trunk/src/libged/simulate.c

Modified: brlcad/trunk/src/libged/simulate.c
===
--- brlcad/trunk/src/libged/simulate.c  2011-08-21 21:42:36 UTC (rev 46309)
+++ brlcad/trunk/src/libged/simulate.c  2011-08-22 13:54:02 UTC (rev 46310)
@@ -49,6 +49,7 @@
 /**
  * Duplicate existing objects : Unused for now as shape duplicated using copy 
command
  */
+#if 0
 static int
 duplicate_objects(struct ged *gedp, int argc, const char *argv[])
 {
@@ -82,8 +83,8 @@
   
 return GED_OK;
 }
+#endif
 
-
 /**
  * How to use simulate.Blissfully simple interface, more options will be added 
soon
  */


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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:[46311] brlcad/trunk/src/mged/cmd.c

2011-08-22 Thread erikgreenwald
Revision: 46311
  http://brlcad.svn.sourceforge.net/brlcad/?rev=46311view=rev
Author:   erikgreenwald
Date: 2011-08-22 13:54:36 + (Mon, 22 Aug 2011)

Log Message:
---
remove unused variable

Modified Paths:
--
brlcad/trunk/src/mged/cmd.c

Modified: brlcad/trunk/src/mged/cmd.c
===
--- brlcad/trunk/src/mged/cmd.c 2011-08-22 13:54:02 UTC (rev 46310)
+++ brlcad/trunk/src/mged/cmd.c 2011-08-22 13:54:36 UTC (rev 46311)
@@ -159,7 +159,7 @@
 int
 cmd_ged_simulate_wrapper(ClientData clientData, Tcl_Interp *interpreter, int 
argc, const char *argv[])
 {
-int i, ret;
+int ret;
 const char *av[3];
 struct cmdtab *ctp = (struct cmdtab *)clientData;
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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:[46312] brlcad/trunk/src/librt

2011-08-22 Thread d_rossberg
Revision: 46312
  http://brlcad.svn.sourceforge.net/brlcad/?rev=46312view=rev
Author:   d_rossberg
Date: 2011-08-22 15:33:34 + (Mon, 22 Aug 2011)

Log Message:
---
For the Windows build: MSVC is not C99
moved variable declarations upwards

Modified Paths:
--
brlcad/trunk/src/librt/bbox.c
brlcad/trunk/src/librt/primitives/rpc/rpc.c

Modified: brlcad/trunk/src/librt/bbox.c
===
--- brlcad/trunk/src/librt/bbox.c   2011-08-22 13:54:36 UTC (rev 46311)
+++ brlcad/trunk/src/librt/bbox.c   2011-08-22 15:33:34 UTC (rev 46312)
@@ -297,9 +297,10 @@
  struct directory *dp,
  genptr_t ptr)
 {
+struct rt_db_internal *intern = NULL;
+
 bu_log(rt_bound_internal: comb_func called\n);
-
-struct rt_db_internal *intern = NULL;
+
 if (rt_db_get_internal(intern, dp, dbip, ptr, rt_uniresource)  0){
 bu_log(rt_bound_internal: comb_func : rt_db_get_internal('%s') 
failed\n, dp-d_namep);   
 }
@@ -322,9 +323,10 @@
  struct directory *dp,
  genptr_t ptr)
 {
+struct rt_db_internal *intern = NULL;
+
 bu_log(rt_bound_internal: leaf_func called\n);
-
-struct rt_db_internal *intern = NULL;
+
 if (rt_db_get_internal(intern, dp, dbip, ptr, rt_uniresource)  0){
 bu_log(rt_bound_internal: leaf_func : rt_db_get_internal('%s') 
failed\n, dp-d_namep);
 }   

Modified: brlcad/trunk/src/librt/primitives/rpc/rpc.c
===
--- brlcad/trunk/src/librt/primitives/rpc/rpc.c 2011-08-22 13:54:36 UTC (rev 
46311)
+++ brlcad/trunk/src/librt/primitives/rpc/rpc.c 2011-08-22 15:33:34 UTC (rev 
46312)
@@ -202,10 +202,10 @@
 int
 rt_rpc_bbox(struct rt_db_internal *ip, point_t *min, point_t *max) {
 struct rt_rpc_internal *xip;
+vect_t rinv, rvect, rv2, working;
 RT_CK_DB_INTERNAL(ip);
 xip = (struct rt_rpc_internal *)ip-idb_ptr;
 RT_RPC_CK_MAGIC(xip);
-vect_t rinv, rvect, rv2, working;
 
 VSETALL((*min), MAX_FASTF);
 VSETALL((*max), -MAX_FASTF);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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:[46313] brlcad/trunk/src/tclscripts/archer

2011-08-22 Thread bob1961
Revision: 46313
  http://brlcad.svn.sourceforge.net/brlcad/?rev=46313view=rev
Author:   bob1961
Date: 2011-08-22 15:43:04 + (Mon, 22 Aug 2011)

Log Message:
---
The rectangle used for selection was no longer being drawn due to a previous 
modification (i.e. not drawing rectangle if its lwidth is 0). This restores the 
desired behavior in Archer.

Modified Paths:
--
brlcad/trunk/src/tclscripts/archer/Archer.tcl
brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl

Modified: brlcad/trunk/src/tclscripts/archer/Archer.tcl
===
--- brlcad/trunk/src/tclscripts/archer/Archer.tcl   2011-08-22 15:33:34 UTC 
(rev 46312)
+++ brlcad/trunk/src/tclscripts/archer/Archer.tcl   2011-08-22 15:43:04 UTC 
(rev 46313)
@@ -6305,6 +6305,8 @@
 
bind $win ButtonRelease-1 [::itcl::code $this endObjRotate $dname 
$obj]; break
 }
+
+$itk_component(ged) rect lwidth 0
 }
 
 
@@ -6334,6 +6336,8 @@
 
bind $win ButtonRelease-1 [::itcl::code $this endObjScale $dname 
$obj]; break
 }
+
+$itk_component(ged) rect lwidth 0
 }
 
 
@@ -6364,6 +6368,8 @@
 
bind $win ButtonRelease-1 [::itcl::code $this endObjTranslate $dname 
$obj %x %y]; break
 }
+
+$itk_component(ged) rect lwidth 0
 }
 
 
@@ -6388,6 +6394,8 @@
bind $win 1 [::itcl::code $this handleObjCenter $dname $obj %x %y]; 
break
bind $win ButtonRelease-1 [::itcl::code $this endObjCenter $obj]; 
break
 }
+
+$itk_component(ged) rect lwidth 0
 }
 
 

Modified: brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl
===
--- brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl   2011-08-22 15:33:34 UTC 
(rev 46312)
+++ brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl   2011-08-22 15:43:04 UTC 
(rev 46313)
@@ -2554,6 +2554,8 @@
 ::itcl::body ArcherCore::beginViewRotate {} {
 $itk_component(ged) init_view_rotate 1
 $itk_component(ged) init_button_no_op 2
+
+$itk_component(ged) rect lwidth 0
 }
 
 ::itcl::body ArcherCore::endViewRotate {_pane} {
@@ -2566,6 +2568,8 @@
 ::itcl::body ArcherCore::beginViewScale {} {
 $itk_component(ged) init_view_scale 1
 $itk_component(ged) init_button_no_op 2
+
+$itk_component(ged) rect lwidth 0
 }
 
 ::itcl::body ArcherCore::endViewScale {_pane} {
@@ -2578,6 +2582,8 @@
 ::itcl::body ArcherCore::beginViewTranslate {} {
 $itk_component(ged) init_view_translate 1
 $itk_component(ged) init_button_no_op 2
+
+$itk_component(ged) rect lwidth 0
 }
 
 ::itcl::body ArcherCore::endViewTranslate {_pane} {
@@ -2594,6 +2600,8 @@
 $itk_component(ged) clear_mouse_ray_callback_list
 $itk_component(ged) add_mouse_ray_callback [::itcl::code $this 
mrayCallback_cvo]
 $itk_component(ged) init_comp_pick 2
+
+$itk_component(ged) rect lwidth 0
 }
 
 ::itcl::body ArcherCore::initCompErase {} {
@@ -2601,6 +2609,8 @@
 $itk_component(ged) add_mouse_ray_callback [::itcl::code $this 
mrayCallback_erase]
 $itk_component(ged) init_comp_pick 1
 $itk_component(ged) init_button_no_op 2
+
+$itk_component(ged) rect lwidth 0
 }
 
 ::itcl::body ArcherCore::initCompPick {} {
@@ -2608,6 +2618,8 @@
 $itk_component(ged) add_mouse_ray_callback [::itcl::code $this 
mrayCallback_pick]
 $itk_component(ged) init_comp_pick 1
 $itk_component(ged) init_button_no_op 2
+
+$itk_component(ged) rect lwidth 0
 }
 
 ::itcl::body ArcherCore::initCompSelect {} {
@@ -2615,6 +2627,9 @@
 $itk_component(ged) add_view_rect_callback [::itcl::code $this 
compSelectCallback]
 $itk_component(ged) init_view_rect 1
 $itk_component(ged) init_button_no_op 2
+
+# The rect lwidth should be a preference
+$itk_component(ged) rect lwidth 1
 }
 
 ::itcl::body ArcherCore::compSelectCallback {_mstring} {
@@ -2692,6 +2707,8 @@
 $itk_component(ged) add_view_measure_callback [::itcl::code $this 
endViewMeasure]
 $itk_component(ged) init_view_measure
 $itk_component(ged) init_button_no_op 2
+
+$itk_component(ged) rect lwidth 0
 }
 
 ::itcl::body ArcherCore::endViewMeasure {_mstring} {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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:[46314] brlcad/trunk/src/tclscripts/archer/ArcherCore. tcl

2011-08-22 Thread bob1961
Revision: 46314
  http://brlcad.svn.sourceforge.net/brlcad/?rev=46314view=rev
Author:   bob1961
Date: 2011-08-22 20:37:48 + (Mon, 22 Aug 2011)

Log Message:
---
Updated ArcherCore::selectTreePath to make the selected tree item visible.

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-08-22 15:43:04 UTC 
(rev 46313)
+++ brlcad/trunk/src/tclscripts/archer/ArcherCore.tcl   2011-08-22 20:37:48 UTC 
(rev 46314)
@@ -4081,6 +4081,7 @@
set mSelectedObj $obj
set mSelectObjPath $obj
$itk_component(newtree) selection set [lindex [lindex $mText2Node($obj) 
0] 0]
+   $itk_component(newtree) see [lindex [lindex $mText2Node($obj) 0] 0]
 } else {
getTreeNode $_path 1
set snode [$itk_component(newtree) focus]
@@ -4092,6 +4093,7 @@
} else {
set mSelectedObj $obj
$itk_component(newtree) selection set $snode
+   $itk_component(newtree) see $snode
foreach pnode [lreverse [findTreeParentNodes $snode]] {
append mSelectedObjPath $mNode2Text($pnode) /
}


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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:[46315] brlcad/trunk/src/libged/edit.c

2011-08-22 Thread brlcad
Revision: 46315
  http://brlcad.svn.sourceforge.net/brlcad/?rev=46315view=rev
Author:   brlcad
Date: 2011-08-22 23:28:46 + (Mon, 22 Aug 2011)
Log Message:
---
quellage, may be unitialized

Modified Paths:
--
brlcad/trunk/src/libged/edit.c

Modified: brlcad/trunk/src/libged/edit.c
===
--- brlcad/trunk/src/libged/edit.c  2011-08-22 20:37:48 UTC (rev 46314)
+++ brlcad/trunk/src/libged/edit.c  2011-08-22 23:28:46 UTC (rev 46315)
@@ -1959,8 +1959,8 @@
 const char *const cmd_name = argv[0];
 union edit_cmd subcmd;
 const char *subcmd_name = NULL;
-struct edit_arg *cur_arg;
-struct edit_arg *keypoint;
+struct edit_arg *cur_arg = NULL;
+struct edit_arg *keypoint = NULL;
 static const char *const usage = [subcommand] [args];
 int idx_cur_opt = 0; /* pos in options array for current arg */
 int conv_flags = 0; /* for edit_strs_to_arg */

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
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:[46316] brlcad/trunk

2011-08-22 Thread starseeker
Revision: 46316
  http://brlcad.svn.sourceforge.net/brlcad/?rev=46316view=rev
Author:   starseeker
Date: 2011-08-23 00:59:47 + (Tue, 23 Aug 2011)

Log Message:
---
Stub in a way for view information to be passed to plot routines.  Inactive at 
the moment, and the struct being passed in just has a single token value - this 
is setting up the path through which information can be passed, not actually 
doing it (yet).  This will introduce a binary compatibility, so it may need to 
be reverted, but I'm committing it at this time to preserve the information for 
future use; the commit diff is a good starting point when determing what 
routines in which files will need to be tweaked (obviously if some of them are 
going to pass anything other than NULL more routines will be altered up the 
chain).  Eventually level-of-detail wireframes (better spheres, for example, 
when zoomed in close) will require some form of view information be passed to 
the plotting routines.

Modified Paths:
--
brlcad/trunk/include/raytrace.h
brlcad/trunk/src/libged/dg_obj.c
brlcad/trunk/src/libged/draw.c
brlcad/trunk/src/librt/prep.c
brlcad/trunk/src/librt/primitives/arb8/arb8.c
brlcad/trunk/src/librt/primitives/arbn/arbn.c
brlcad/trunk/src/librt/primitives/ars/ars.c
brlcad/trunk/src/librt/primitives/bot/bot.c
brlcad/trunk/src/librt/primitives/brep/brep.cpp
brlcad/trunk/src/librt/primitives/bspline/bspline.cpp
brlcad/trunk/src/librt/primitives/cline/cline.c
brlcad/trunk/src/librt/primitives/dsp/dsp.c
brlcad/trunk/src/librt/primitives/ebm/ebm.c
brlcad/trunk/src/librt/primitives/ehy/ehy.c
brlcad/trunk/src/librt/primitives/ell/ell.c
brlcad/trunk/src/librt/primitives/epa/epa.c
brlcad/trunk/src/librt/primitives/eto/eto.c
brlcad/trunk/src/librt/primitives/extrude/extrude.c
brlcad/trunk/src/librt/primitives/grip/grip.c
brlcad/trunk/src/librt/primitives/half/half.c
brlcad/trunk/src/librt/primitives/hf/hf.c
brlcad/trunk/src/librt/primitives/hyp/hyp.c
brlcad/trunk/src/librt/primitives/metaball/metaball.c
brlcad/trunk/src/librt/primitives/nmg/nmg.c
brlcad/trunk/src/librt/primitives/obj_plot.c
brlcad/trunk/src/librt/primitives/part/part.c
brlcad/trunk/src/librt/primitives/pipe/pipe.c
brlcad/trunk/src/librt/primitives/pnts/pnts.c
brlcad/trunk/src/librt/primitives/poly/poly.c
brlcad/trunk/src/librt/primitives/revolve/revolve.c
brlcad/trunk/src/librt/primitives/rhc/rhc.c
brlcad/trunk/src/librt/primitives/rpc/rpc.c
brlcad/trunk/src/librt/primitives/sketch/sketch.c
brlcad/trunk/src/librt/primitives/submodel/submodel.c
brlcad/trunk/src/librt/primitives/superell/superell.c
brlcad/trunk/src/librt/primitives/table.c
brlcad/trunk/src/librt/primitives/tgc/tgc.c
brlcad/trunk/src/librt/primitives/tor/tor.c
brlcad/trunk/src/librt/primitives/vol/vol.c
brlcad/trunk/src/librt/primitives/xxx/xxx.c
brlcad/trunk/src/mged/dodraw.c

Modified: brlcad/trunk/include/raytrace.h
===
--- brlcad/trunk/include/raytrace.h 2011-08-22 23:28:46 UTC (rev 46315)
+++ brlcad/trunk/include/raytrace.h 2011-08-23 00:59:47 UTC (rev 46316)
@@ -1967,6 +1967,21 @@
 struct rt_pt_node *next;   /** @brief  ptr to next pt */
 };
 
+/**
+ * R T _ V I E W _ I N F O
+ *
+ * Normally, librt doesn't have a concept of a display
+ * of the geometry.  However for at least the plotting routines,
+ * view information is sometimes needed to produce more intelligent
+ * output.  In those situations, the application should
+ * populate and pass an rt_view_info struct.
+ *
+ * **TODO** this structure is NOT in final form and should not
+ * be relied upon.
+ */
+struct rt_view_info {
+fastf_t scale; /** *brief view scale */
+};
 
 /**
  * R T _ F U N C T A B
@@ -2023,7 +2038,8 @@
 int (*ft_plot)(struct bu_list * /*vhead*/,
   struct rt_db_internal * /*ip*/,
   const struct rt_tess_tol * /*ttol*/,
-  const struct bn_tol * /*tol*/);
+  const struct bn_tol * /*tol*/,
+  const struct rt_view_info * /*view info*/);
 void (*ft_vshot)(struct soltab * /*stp*/[],
 struct xray *[] /*rp*/,
 struct seg * /*segp*/,
@@ -3476,7 +3492,8 @@
 RT_EXPORT extern int rt_pg_plot(struct bu_list *vhead,
struct rt_db_internal   *ip,
const struct rt_tess_tol *ttol,
-   const struct bn_tol *tol);
+   const struct bn_tol *tol,
+   const struct rt_view_info *info);
 RT_EXPORT extern int rt_pg_plot_poly(struct bu_list*vhead,
 struct rt_db_internal  *ip,
 const struct rt_tess_tol   

[brlcad-commits] SF.net SVN: brlcad:[46317] brlcad/trunk/doc/docbook/system/mann/en/Makefile .am

2011-08-22 Thread brlcad
Revision: 46317
  http://brlcad.svn.sourceforge.net/brlcad/?rev=46317view=rev
Author:   brlcad
Date: 2011-08-23 04:03:43 + (Tue, 23 Aug 2011)
Log Message:
---
file was renamed to edit_translate.xml

Modified Paths:
--
brlcad/trunk/doc/docbook/system/mann/en/Makefile.am

Modified: brlcad/trunk/doc/docbook/system/mann/en/Makefile.am
===
--- brlcad/trunk/doc/docbook/system/mann/en/Makefile.am 2011-08-23 00:59:47 UTC 
(rev 46316)
+++ brlcad/trunk/doc/docbook/system/mann/en/Makefile.am 2011-08-23 04:03:43 UTC 
(rev 46317)
@@ -70,7 +70,7 @@
system/mann/en/edcomb.xml \
system/mann/en/edgedir.xml \
system/mann/en/edit.xml \
-   system/mann/en/edit-translate.xml \
+   system/mann/en/edit_translate.xml \
system/mann/en/edmater.xml \
system/mann/en/em.xml \
system/mann/en/eqn.xml \

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
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:[46318] brlcad/trunk/include

2011-08-22 Thread brlcad
Revision: 46318
  http://brlcad.svn.sourceforge.net/brlcad/?rev=46318view=rev
Author:   brlcad
Date: 2011-08-23 04:26:22 + (Tue, 23 Aug 2011)

Log Message:
---
if NO_BOMBING_MACROS is enabled, then it will leave empty if-statements 
throughout the code making the compiler unhappy.  sacrifice a no-opish 
((void)0) to keep the compilation gods happy.

Modified Paths:
--
brlcad/trunk/include/bu.h
brlcad/trunk/include/magic.h
brlcad/trunk/include/raytrace.h

Modified: brlcad/trunk/include/bu.h
===
--- brlcad/trunk/include/bu.h   2011-08-23 04:03:43 UTC (rev 46317)
+++ brlcad/trunk/include/bu.h   2011-08-23 04:26:22 UTC (rev 46318)
@@ -273,7 +273,7 @@
  * Example: BU_ASSERT_LONG(j+7, , 42);
  */
 #ifdef NO_BOMBING_MACROS
-#  define BU_ASSERT(_equation)
+#  define BU_ASSERT(_equation) ((void)0)
 #else
 #  define BU_ASSERT(_equation) \
 if (UNLIKELY(!(_equation))) { \
@@ -284,7 +284,7 @@
 #endif
 
 #ifdef NO_BOMBING_MACROS
-#  define BU_ASSERT_PTR(_lhs, _relation, _rhs)
+#  define BU_ASSERT_PTR(_lhs, _relation, _rhs) ((void)0)
 #else
 #  define BU_ASSERT_PTR(_lhs, _relation, _rhs) \
 if (UNLIKELY(!((_lhs) _relation (_rhs { \
@@ -297,7 +297,7 @@
 
 
 #ifdef NO_BOMBING_MACROS
-#  define BU_ASSERT_LONG(_lhs, _relation, _rhs)
+#  define BU_ASSERT_LONG(_lhs, _relation, _rhs) ((void)0)
 #else
 #  define BU_ASSERT_LONG(_lhs, _relation, _rhs)\
 if (UNLIKELY(!((_lhs) _relation (_rhs { \
@@ -310,7 +310,7 @@
 
 
 #ifdef NO_BOMBING_MACROS
-#  define BU_ASSERT_SIZE_T(_lhs, _relation, _rhs)
+#  define BU_ASSERT_SIZE_T(_lhs, _relation, _rhs) ((void)0)
 #else
 #  define BU_ASSERT_SIZE_T(_lhs, _relation, _rhs)  \
 if (UNLIKELY(!((_lhs) _relation (_rhs { \
@@ -323,7 +323,7 @@
 
 
 #ifdef NO_BOMBING_MACROS
-#  define BU_ASSERT_SSIZE_T(_lhs, _relation, _rhs)
+#  define BU_ASSERT_SSIZE_T(_lhs, _relation, _rhs) ((void)0)
 #else
 #  define BU_ASSERT_SSIZE_T(_lhs, _relation, _rhs) \
 if (UNLIKELY(!((_lhs) _relation (_rhs { \
@@ -336,7 +336,7 @@
 
 
 #ifdef NO_BOMBING_MACROS
-#  define BU_ASSERT_DOUBLE(_lhs, _relation, _rhs)
+#  define BU_ASSERT_DOUBLE(_lhs, _relation, _rhs) ((void)0)
 #else
 #  define BU_ASSERT_DOUBLE(_lhs, _relation, _rhs)  \
 if (UNLIKELY(!((_lhs) _relation (_rhs { \
@@ -1351,7 +1351,7 @@
 
 /* This is not done by default for performance reasons */
 #ifdef NO_BOMBING_MACROS
-#  define BU_BITV_BITNUM_CHECK(_bv, _bit)
+#  define BU_BITV_BITNUM_CHECK(_bv, _bit) ((void)0)
 #else
 #  define BU_BITV_BITNUM_CHECK(_bv, _bit)  /* Validate bit number */ \
 if (UNLIKELY(((unsigned)(_bit)) = (_bv)-nbits)) {\
@@ -1362,7 +1362,7 @@
 #endif
 
 #ifdef NO_BOMBING_MACROS
-#  define BU_BITV_NBITS_CHECK(_bv, _nbits)
+#  define BU_BITV_NBITS_CHECK(_bv, _nbits) ((void)0)
 #else
 #  define BU_BITV_NBITS_CHECK(_bv, _nbits) /* Validate number of bits */ \
 if (UNLIKELY(((unsigned)(_nbits))  (_bv)-nbits)) {\

Modified: brlcad/trunk/include/magic.h
===
--- brlcad/trunk/include/magic.h2011-08-23 04:03:43 UTC (rev 46317)
+++ brlcad/trunk/include/magic.h2011-08-23 04:26:22 UTC (rev 46318)
@@ -224,8 +224,8 @@
  * first entry in the structure is a magic number.
  */
 #ifdef NO_BOMBING_MACROS
-#  define BU_CKMAG(_ptr, _magic, _str)
-#  define BU_CKMAG_TCL(_interp, _ptr, _magic, _str)
+#  define BU_CKMAG(_ptr, _magic, _str) ((void)0)
+#  define BU_CKMAG_TCL(_interp, _ptr, _magic, _str) ((void)0)
 #else
 #  define BU_CKMAG(_ptr, _magic, _str) { \
uintptr_t _ptrval = (uintptr_t)(_ptr); \

Modified: brlcad/trunk/include/raytrace.h
===
--- brlcad/trunk/include/raytrace.h 2011-08-23 04:03:43 UTC (rev 46317)
+++ brlcad/trunk/include/raytrace.h 2011-08-23 04:26:22 UTC (rev 46318)
@@ -1733,7 +1733,7 @@
 
 
 #ifdef NO_BOMBING_MACROS
-#  define RT_AP_CHECK(_ap)
+#  define RT_AP_CHECK(_ap) ((void)0)
 #else
 #  define RT_AP_CHECK(_ap) \
 {if ((_ap)-a_zero1||(_ap)-a_zero2) \
@@ -2220,7 +2220,7 @@
 
 
 #ifdef NO_BOMBING_MACROS
-#  define NMG_CK_HITMISS(hm)
+#  define NMG_CK_HITMISS(hm) ((void)0)
 #else
 #  define NMG_CK_HITMISS(hm) \
 {\
@@ -2248,7 +2248,7 @@
 #endif
 
 #ifdef NO_BOMBING_MACROS
-#  define NMG_CK_HITMISS_LISTS(rd)
+#  define NMG_CK_HITMISS_LISTS(rd) ((void)0)
 #else
 #  define NMG_CK_HITMISS_LISTS(rd) \
 { \
@@ -2351,7 +2351,7 @@
 
 
 #ifdef NO_BOMBING_MACROS
-#  define nmg_bu_bomb(rd, str)
+#  define nmg_bu_bomb(rd, str) ((void)0)
 #else
 #  define nmg_bu_bomb(rd, str) { \
bu_log(%s, str); \


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration 

[brlcad-commits] SF.net SVN: brlcad:[46319] brlcad/trunk/src/libged/Makefile.am

2011-08-22 Thread brlcad
Revision: 46319
  http://brlcad.svn.sourceforge.net/brlcad/?rev=46319view=rev
Author:   brlcad
Date: 2011-08-23 05:15:23 + (Tue, 23 Aug 2011)

Log Message:
---
update Makefile.am at the same time as CMakeLists.txt, add simulate.c and 
simphysics.cpp to unbreak autotools build.

Modified Paths:
--
brlcad/trunk/src/libged/Makefile.am

Modified: brlcad/trunk/src/libged/Makefile.am
===
--- brlcad/trunk/src/libged/Makefile.am 2011-08-23 04:26:22 UTC (rev 46318)
+++ brlcad/trunk/src/libged/Makefile.am 2011-08-23 05:15:23 UTC (rev 46319)
@@ -215,6 +215,8 @@
shader.c \
shells.c \
showmats.c \
+   simulate.c \
+   simphysics.cpp \
size.c \
slew.c \
solids_on_ray.c \


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
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:[46320] brlcad/trunk/src/tclscripts/mged/CMakeLists.txt

2011-08-22 Thread brlcad
Revision: 46320
  http://brlcad.svn.sourceforge.net/brlcad/?rev=46320view=rev
Author:   brlcad
Date: 2011-08-23 05:16:06 + (Tue, 23 Aug 2011)
Log Message:
---
no packages presently exist in mged dir

Modified Paths:
--
brlcad/trunk/src/tclscripts/mged/CMakeLists.txt

Modified: brlcad/trunk/src/tclscripts/mged/CMakeLists.txt
===
--- brlcad/trunk/src/tclscripts/mged/CMakeLists.txt 2011-08-23 05:15:23 UTC 
(rev 46319)
+++ brlcad/trunk/src/tclscripts/mged/CMakeLists.txt 2011-08-23 05:16:06 UTC 
(rev 46320)
@@ -81,7 +81,8 @@
xclone.tcl
 )
 BRLCAD_ADDDATA(mged_TCLSCRIPTS tclscripts/mged)
-pkgIndex_BUILD(mged tclscripts/mged)
+# no packages in here (so far)
+# pkgIndex_BUILD(mged tclscripts/mged)
 tclIndex_BUILD(mged tclscripts/mged)
 
 SET(mged_tcl_DATA

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
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:[46322] brlcad/tags

2011-08-22 Thread brlcad
Revision: 46322
  http://brlcad.svn.sourceforge.net/brlcad/?rev=46322view=rev
Author:   brlcad
Date: 2011-08-23 05:57:57 + (Tue, 23 Aug 2011)
Log Message:
---
similarly no reason to keep around the old cvs branch tags that were useful for 
tracking branch start points, end points, and branch termination.  relegated 
the legacy into svn history.

Removed Paths:
-
brlcad/tags/ansi-20040316-freeze/
brlcad/tags/ansi-20040405-merged/
brlcad/tags/autoconf-freeze/
brlcad/tags/bobWinPort-20051223-freeze/
brlcad/tags/ctj-4-5-post/
brlcad/tags/ctj-4-5-pre/
brlcad/tags/hartley-6-0-post/
brlcad/tags/hartley-6-0-pre/
brlcad/tags/offsite-5-3-pre/
brlcad/tags/opensource-post/
brlcad/tags/opensource-pre/
brlcad/tags/windows-20040315-freeze/

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
___
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits