00:03.40 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/libfb/tcl.c:
use bu_malloc and bu_free instead of malloc |
00:05.10 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/libfb/fbserv_obj.c: use bu_malloc and bu_free instead
of malloc |
00:08.09 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/libfb/fb_obj.c: use bu_calloc and bu_free instead of
calloc |
00:22.28 |
*** join/#brlcad DTRemenak
(n=DTRemena@DHCP-170-143.caltech.edu) |
00:35.32 |
brlcad |
pra5ad: yeah, you'll want to make a
dirtree |
00:35.40 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/liboptical/
(27 files): include stddef.h for bu_offset's usage of
offset |
00:36.52 |
brlcad |
there are several different ways to walk a
geometry graph |
00:37.29 |
brlcad |
db_functree() is probably the most simple,
with a callback for leaf nodes (primitives) and for non-leaf nodes
(combinations) |
00:37.58 |
brlcad |
src/gtools/g_transfer.c has a simple example
using that |
00:39.23 |
brlcad |
db_walk_tree() is a little more powerful, with
a region start and end callback in addition to the leaf
callback |
00:39.38 |
brlcad |
most of the converters in src/conv use that
routine |
00:42.23 |
brlcad |
if you only want to walk over the leaf nodes,
db_tree_funcleaf() exists |
00:43.51 |
brlcad |
the iges converter and mged have examples that
use that one |
01:02.07 |
*** join/#brlcad DTRemenak
(n=DTRemena@DHCP-170-143.caltech.edu) |
01:07.19 |
pra5ad |
how do u determine if a primitive is a
bot |
01:24.35 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/conv/comgeom/solid.c: convert to libbu memory
management, removing the need for the memory allocation failure
checking/handling |
01:44.27 |
brlcad |
if you have an internal pointer you can check
if ip->idb_type == ID_BOT |
01:44.36 |
brlcad |
if you have a raw internal pointer, you can
check ip->idb_minor_type != ID_BOT |
02:00.29 |
brlcad |
here, an easier way: |
02:00.45 |
brlcad |
FOR_ALL_DIRECTORY_START(dp, rtip->rti_dbip)
{ |
02:00.48 |
brlcad |
<PROTECTED> |
02:00.59 |
brlcad |
<PROTECTED> |
02:01.12 |
brlcad |
<PROTECTED> |
02:01.14 |
brlcad |
<PROTECTED> |
02:01.15 |
brlcad |
} |
02:08.29 |
brlcad |
FOR_ALL_DIRECTORY_END |
02:52.09 |
*** join/#brlcad DTRemenak
(n=DTRemena@DHCP-170-143.caltech.edu) |
02:57.30 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/conv/jack/jack-g.c: convert to libbu memory
management |
03:04.35 |
``Erik |
have you fixed the tesselator so if it tries
to tesselate a bot, it just hands the geometry back? |
03:14.52 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/conv/
(g-vrml.c g-x3d.c): include stddef.h for bu_offset's usage of
offset |
03:15.22 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/conv/
(asc-nmg.c asc2g.c dxf-g.c euclid-g.c g-adrt.c): convert to libbu
memory management |
03:28.39 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/conv/g-adrt.c: how in the world did struct "vu_vls"
compile? |
03:45.26 |
*** join/#brlcad DTRemenak
(n=DTRemena@DHCP-170-143.caltech.edu) |
03:58.35 |
brlcad |
nope |
04:06.30 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/rt/ (rtshot.c
sh_tcl.c viewweight.c worker.c): convert to libbu memory
management |
04:07.24 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/librtserver/rtserver.c: convert to libbu memory
management |
04:29.17 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/libdm/clip.c:
don't use INFINITY as it's a publicly defined macro usually,
regardless, it's used as a clipping plane distance so call it that.
increase it one order to a billion while we're at it. |
04:37.04 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/libdm/
(dm-X.c dm-glx.c dm-ogl.c dm-ogl_win.c dm-pex.c): need stdlib.h for
getenv() |
04:45.31 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/libdm/dm_obj.c: convert to bu_malloc for all but one
section so that it may fail gracefully |
04:45.51 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/libmultispectral/sh_temp.c: include stddef.h for
bu_offsetof |
05:02.34 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/fb/pl-fb.c:
stdlib.h for malloc and friends, not using libbu management as
there is failure recovery code |
05:04.14 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/fb/cat-fb.c:
convert to libbu memory management |
05:11.30 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/halftone/
(main.c tone_floyd.c): convert to libbu memory management |
05:40.19 |
*** join/#brlcad PrezKennedy
(n=Apathy@pcp010175pcs.dover01.de.comcast.net) |
06:05.08 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/libdm/clip.c:
update to use GED_MIN and GED_MAX |
06:20.59 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/mged/cad_boundp.c: stdlib.h |
06:32.42 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/mged/
(Makefile.am clip.c): clip.c removed, being used from libdm like it
should be |
06:33.09 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/mged/ (dm-X.c
dm-ogl.c setup.c tedit.c): stdlib.h for alloc/getenv
funcs |
07:06.22 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/proc-db/
(molecule.c pipe.c rawbot.c torii.c vegitation.c): use libbu memory
allocation management, get rid of null checks |
07:07.01 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/nirt/parse_fmt.c: s/rt_malloc/bu_malloc |
07:07.13 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/nirt/if.c:
ws |
07:07.46 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/nirt/command.c: stdlib.h |
07:08.54 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/anim/
(anim_fly.c anim_track.c): libbu for memory management |
07:09.39 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/lgt/trie.c:
stdlib.h |
07:10.30 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/lgt/
(texture.c reflect.c mat_db.c lgt_db.c): libbu for memory
management |
07:11.34 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/lgt/ (ir.c
octree.c execshell.c): stdlib.h |
07:11.44 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/lgt/hmenu.c:
use bu_malloc |
07:13.51 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/irprep/showtherm.c: use M_PI instead of PI,
VUNITIZE_TOL instead of TOL, and libbu memory management |
07:15.20 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/irprep/
(secpass.c firpass.c): libbu memory allocation management |
07:16.25 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/irprep/all_sf.c: use M_PI instead of PI, VDIVIDE_TOL
instead of ZTOL, and libbu memory management |
07:18.09 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/librtserver/rtserver.c: quell some warnings |
07:21.25 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/anim/anim_track.c: s/nmu/num/ transpose |
07:24.09 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/fb/pl-fb.c:
STATIC to static |
07:26.44 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/irprep/firpass.c: missing arg to bu_free |
07:29.35 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/nirt/parse_fmt.c: stdlib.h for getenv |
07:31.57 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/remrt/protocol.h: header protection, use
bu_offsetof |
07:32.21 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/remrt/remrt.c: add stddef.h for bu_offsetof |
07:35.37 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/rttherm/ssampview.c: stdlib.h for atoi() |
07:36.04 |
*** join/#brlcad clock_
(n=clock@84-72-63-231.dclient.hispeed.ch) |
07:38.09 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/util/pix-ppm.c: libbu for allocations |
07:39.10 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/util/pix-yuv.c: libbu for allocations |
07:42.22 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/util/pixbgstrip.c: libbu for allocations |
07:43.27 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/util/pixborder.c: libbu for allocations |
07:44.36 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/util/pixcut.c: libbu for allocations |
07:46.15 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/util/pixpaste.c: libbu for allocations |
07:48.31 |
CIA-13 |
BRL-CAD: 03brlcad * 10brlcad/src/util/
(terrain.c texturescale.c yuv-pix.c): libbu for
allocations |
07:52.11 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/util/pix-ppm.c: missing end quote |
07:54.35 |
CIA-13 |
BRL-CAD: 03brlcad *
10brlcad/src/rttherm/ssampview.c: use atol instaed of
atoi |
10:53.03 |
*** join/#brlcad clock_
(n=clock@zux221-122-143.adsl.green.ch) |
11:30.45 |
*** join/#brlcad phcoder
(n=phcoder@pcp0011650294pcs.aberdn01.md.comcast.net) |
14:58.53 |
*** join/#brlcad Twingy
(n=justin@pcp0011649600pcs.aberdn01.md.comcast.net) |
15:17.08 |
*** join/#brlcad pra5ad_work
(n=803f2049@bz.bzflag.bz) |
15:17.21 |
pra5ad_work |
brlcad |
15:21.26 |
*** join/#brlcad kaol
(n=kari@sammakko.yok.utu.fi) |
16:32.52 |
pra5ad_work |
if gcc -DHAVE_CONFIG_H -I. -I. -I../../include
-I/usr/X11R6/include -I/usr/local/include -I../../include
-DBEHIND_ME_TOL=0.05 -pipe -fno-strict-aliasing -fno-common -g -O3
-MT lgt-texture.o -MD -MP -MF ".deps/lgt-texture.Tpo" -c -o
lgt-texture.o `test -f 'texture.c' || echo './'`texture.c; \then mv
-f ".deps/lgt-texture.Tpo" ".deps/lgt-texture.Po"; else rm -f
".deps/lgt-texture.Tpo"; exit 1; fitexture.c: In function
`init_Icon_Texture':texture.c:133: |
17:44.59 |
CIA-13 |
BRL-CAD: 03bob1961 *
10brlcad/misc/win32-msvc7/librt/librt.vcproj: Added the following
new files: db_flags.c and db_inmem.c |
17:47.10 |
CIA-13 |
BRL-CAD: 03bob1961 *
10brlcad/misc/win32-msvc7/fbserv/fbserv.vcproj: Added
server.c |
17:50.47 |
CIA-13 |
BRL-CAD: 03bob1961 *
10brlcad/misc/win32-msvc7/libfb/libfb.vcproj: Removed
server.c |
17:54.56 |
CIA-13 |
BRL-CAD: 03bob1961 *
10brlcad/src/fbserv/fbserv_win.c: Include fbmsg.h instead of
libfb/pkgtypes.h. Provide declarations for routines that live in
server.c |
17:57.19 |
CIA-13 |
BRL-CAD: 03bob1961 *
10brlcad/src/fbserv/fbserv.c: Provide declarations for variables
that live in server.c |
18:02.46 |
CIA-13 |
BRL-CAD: 03bob1961 * 10brlcad/include/fb.h:
Removed declaration of variables from server.c |
18:04.02 |
CIA-13 |
BRL-CAD: 03bob1961 *
10brlcad/src/librt/db_inmem.c: Declare
db5_export_attributes(). |
20:11.53 |
CIA-13 |
BRL-CAD: 03lbutler *
10brlcad/src/lgt/texture.c: call to malloc() had the signature of a
call to bu_malloc(). Fixed to call bu_malloc(). |
20:28.07 |
*** join/#brlcad DTRemenak
(n=DTRemena@DHCP-170-143.caltech.edu) |
20:28.19 |
*** join/#brlcad clock_
(n=clock@84-72-60-74.dclient.hispeed.ch) |
20:44.21 |
*** join/#brlcad pier
(n=pier@151.56.213.202) |
21:05.59 |
*** part/#brlcad pier
(n=pier@151.56.213.202) |
21:48.08 |
*** join/#brlcad PrezKennedy
(n=Apathy@pcp010175pcs.dover01.de.comcast.net) |
22:01.32 |
*** join/#brlcad clock_
(n=clock@84-72-60-74.dclient.hispeed.ch) |
23:38.38 |
CIA-13 |
BRL-CAD: 03lbutler *
10brlcad/src/mged/typein.c: include stdlib.h so that atof is known
to return a double |