IRC log for #brlcad on 20130314

03:07.45 *** join/#brlcad cadman (~Adium@64.178.177.71)
03:08.03 *** join/#brlcad cadman (~Adium@64.178.177.71)
04:35.47 brlcad ``Erik: heh, oops, yeah 2GB mem .. that would be awesome
04:59.27 Notify 03BRL-CAD:brlcad * 54675 brlcad/trunk/src/libged/ged.c: dbip are returned to callers, so be consistent with librt and allocate via BU_ALLOC
05:01.09 Notify 03BRL-CAD:brlcad * 54676 brlcad/trunk/src/libged/joint.c: sync BU_PUT with respective BU_GET calls, except for animate structs since they get added to directory pointers and may be released by librt. convert bu_vls off the heap, put on the stack (should unleak memory too)
05:28.41 Notify 03BRL-CAD:brlcad * 54677 brlcad/trunk/src/libbu/list.c: damn type aliasing. looks like some elements are released through an aliased type so we cannot rely on BU_PUT for deallocation.
05:29.48 Notify 03BRL-CAD:brlcad * 54678 (brlcad/trunk/src/libged/make.c brlcad/trunk/src/libged/make_pnts.c and 3 others): more conversions to BU_ALLOC() or BU_PUT() where feasible
05:38.22 Notify 03BRL-CAD:brlcad * 54679 (brlcad/trunk/src/libged/typein.c brlcad/trunk/src/librt/primitives/pnts/pnts.c): allocate point containers consistently with BU_ALLOC
07:57.23 *** join/#brlcad cadman (~Adium@64.178.177.71)
08:45.41 *** join/#brlcad witness (uid10044@gateway/web/irccloud.com/x-aqlnawuyxbdkubhs)
11:11.00 *** join/#brlcad merzo (~merzo@user-94-45-58-138-1.skif.com.ua)
12:40.35 Notify 03BRL-CAD:indianlarry * 54680 (brlcad/trunk/src/other/poly2tri/poly2tri/common/utils.cc brlcad/trunk/src/other/poly2tri/poly2tri/sweep/sweep.cc): Added "_USE_MATH_DEFINES" define to get M_PI definition from math.h under visual studio. Also added missing copyright to utils.cc.
13:14.48 Notify 03BRL-CAD:starseeker * 54681 brlcad/trunk/include/brep.h: Export keys off of library name.
13:50.03 Notify 03BRL-CAD:bob1961 * 54682 brlcad/trunk/src/libtclcad/tclcad_obj.c: Add MouseWheel bindings for display window zoom.
14:23.06 Notify 03BRL-CAD:bob1961 * 54683 brlcad/trunk/include/brep.h: Change NURBS_DLL_EXPORTS to BREP_DLL_EXPORTS.
15:00.00 Notify 03BRL-CAD:brlcad * 54684 brlcad/trunk/include/vmath.h: simplify, a define shouldn't be harmful/recognized on non-WIN32 and we don't want platform checks anyways
15:27.33 *** join/#brlcad luca79 (~luca@host122-17-dynamic.4-87-r.retail.telecomitalia.it)
15:28.16 Notify 03BRL-CAD:brlcad * 54685 brlcad/trunk/include/bu.h: compelled to be consistent with the API. if we provide an alloc wrapper, we should provide a counterpart free wrapper. unlike bu_free(), has the nice property of being able to set the pointer to NULL.
15:31.16 Notify 03BRL-CAD:brlcad * 54686 (brlcad/trunk/src/conv/patch/patch-g.c brlcad/trunk/src/conv/patch/patch-g.h): increase the processing limits on FASTGEN patch files substantially. a large file was encountered that exceeded several of these lame hard limits. simplify their setting and the moment by just making them all be bigger than they were (20k) and so there's only a single limit we need to concern ourselves with.
15:42.40 Notify 03BRL-CAD:brlcad * 54687 brlcad/trunk/src/conv/patch/patch-g.h: very easy to blow out 16 characters when we put object and grouping counts into the name. jack it up to 256 (10 times what was recently encountered).
15:43.55 Notify 03BRL-CAD:brlcad * 54688 brlcad/trunk/src/conv/patch/patch-g.c: fix a bug where we try to open the patch file with read/write perms for ug and read perms for o. this caused a cryptic unable to open patchfile message when a file was clearly readable.
16:01.17 Notify 03BRL-CAD:brlcad * 54689 brlcad/trunk/TODO: patch-g was observed to be misbehaving on windows when given files with unexpected line endings. should be going through bu_fgets() consistently to be portable/flexible.
16:01.37 Notify 03BRL-CAD:brlcad * 54690 brlcad/trunk/src/conv/patch/patch-g.c: comment on at least two places where the tool is assuming unix line endings
16:09.50 Notify 03BRL-CAD:brlcad * 54691 (brlcad/trunk/src/conv/patch/patch-g.c brlcad/trunk/src/conv/patch/patch-g.h and 2 others): source style ws consistency cleanup
16:15.11 *** join/#brlcad cadman (~Adium@64.178.177.71)
16:46.04 Notify 03BRL-CAD:brlcad * 54692 (brlcad/trunk/src/conv/patch/patch-g.c brlcad/trunk/src/conv/patch/patch-g.h): change several of the arrays from being global allocations to getting allocated dynamically on the heap. not the best, but slightly better memory-management and debugging properties. also make usage dynamic and give the user some feedback that the tool did anything.
17:16.00 Notify 03BRL-CAD:brlcad * 54693 (brlcad/trunk/src/conv/patch/patch-g.c brlcad/trunk/src/conv/patch/patch-g.h): convert the two remaining affarys to heap allocations and document roughly how much memory we're allocating as a hard-coded limit.
17:22.00 maths22 brlcad: how do those specs compare to the old ones?
17:22.31 Notify 03BRL-CAD:brlcad * 54694 brlcad/trunk/NEWS: helped a navy user (roles) with a fastgen patch file conversion that uncovered a variety of issues that have been improved upon in patch-g. the tool would cryptically fail if the file wasn't (unnecessarily) read/write. it also had numerous hard-coded limits (like 500 materials, 1500 of this, 1000 of that) that would cause memory corruption and cascading bad behavior.
17:22.33 Notify limits increased nearly two orders of magnitude, but still hard-coded for now since that requires a lot more data and testing to implement safely.
17:24.08 brlcad maths22: crit is around 2x-3x faster than .bz
17:24.24 brlcad new server should be about 3x-4x faster than crit
17:24.58 brlcad 8 cores will be really nice for the varied load
18:17.02 Notify 03BRL-CAD:brlcad * 54695 (brlcad/trunk/src/libged/rmap.c brlcad/trunk/src/libged/rt.c and 2 others): pair BU_PUT() with BU_GET() calls where we can
18:22.55 Notify 03BRL-CAD:brlcad * 54696 brlcad/trunk/src/libged/rtwizard.c: no benefit to the explicit init since they go out of scope, call BU_VLS_INIT_ZERO
18:24.52 Notify 03BRL-CAD:brlcad * 54697 brlcad/trunk/src/libged/search.c: these are released within the depths of librt so call BU_ALLOC()
18:29.49 Notify 03BRL-CAD:n_reed * 54698 (brlcad/trunk/src/archer/CMakeLists.txt brlcad/trunk/src/archer/plugins/Utility/Makefile.am and 6 others): add an LOD configuration dialog (hooks not yet implemented) and plug it in as an Archer utility
18:30.45 Notify 03BRL-CAD:brlcad * 54699 brlcad/trunk/src/libged/simulate/simrt.c: ws indent style cleanup
18:42.17 Notify 03BRL-CAD:brlcad * 54700 (brlcad/trunk/src/libged/track.c brlcad/trunk/src/libged/vdraw.c and 7 others): convert to BU_PUT() where we call BU_GET(), except punt on the old wdb_ routines where this just convert them to BU_ALLOC().
18:43.04 Notify 03BRL-CAD:brlcad * 54701 brlcad/trunk/src/libmultispectral/sh_temp.c: convert freeing of the specific to BU_PUT() and clean up formatting
18:43.13 *** join/#brlcad caen23 (~cezar@92.81.215.30)
19:10.01 Notify 03BRL-CAD:brlcad * 54702 (brlcad/trunk/src/liboptical/photonmap.c brlcad/trunk/src/liboptical/sh_air.c and 27 others): looks like we can cleanly pool all of the shader specific allocations, so convert their releases to BU_PUT(). curious to see if this makes any blip on prep performance when there are lots of objects/shaders.
19:16.22 *** join/#brlcad cadman (~Adium@mwg-w05.infosec.fedex.com)
20:15.59 Notify 03BRL-CAD:carlmoore * 54703 (brlcad/trunk/doc/docbook/system/man1/en/bwmod.xml brlcad/trunk/src/util/bwrect.c): change capital T to small t (part of longer sentence) and try NOT to underscore a period
20:29.04 Notify 03BRL-CAD:n_reed * 54704 (brlcad/trunk/src/tclscripts/archer/LODUtility.tcl brlcad/trunk/src/tclscripts/lod/LODDialog.tcl): implement lod dialog widget callbacks
20:57.46 Notify 03BRL-CAD:n_reed * 54705 brlcad/trunk/src/libtclcad/tclcad_obj.c: extend archer support for lod 'redraw on zoom' to zoom command (affects +/- key zoom and scrollwheel zoom)
21:21.39 Notify 03BRL-CAD:n_reed * 54706 brlcad/trunk/src/tclscripts/lod/LODDialog.tcl: add a checkbutton for toggling live update
21:28.17 Notify 03BRL-CAD:brlcad * 54707 brlcad/trunk/src/libpc/pc_main.c: use libbu for memory management and call BU_PUT() accordingly for BU_GET() items.
22:14.54 *** part/#brlcad cadman (~Adium@mwg-w05.infosec.fedex.com)
23:10.44 Notify 03BRL-CAD:brlcad * 54708 brlcad/trunk/src/liboptical/sh_treetherm.c: save then commit, BU_PUT
23:16.03 *** join/#brlcad crdueck (~cdk@24.212.219.10)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.