00:08.33 | *** join/#brlcad ibot (~ibot@rikers.org) |
00:08.33 | *** topic/#brlcad is BRL-CAD Open Source Solid Modeling || http://brlcad.org || logs: http://ibot.rikers.org/%23brlcad/ || BRL-CAD release 7.22.0 is forthcoming || fixing all our Coverity Scan Initiative defects |
01:59.05 | *** join/#brlcad kanzure (~kanzure@131.252.130.248) |
02:08.27 | *** join/#brlcad n_reed (~molto_cre@BZ.BZFLAG.BZ) |
02:08.27 | *** join/#brlcad brlcad (~sean@BZ.BZFLAG.BZ) |
02:08.27 | *** join/#brlcad starseeker (~starseeke@BZ.BZFLAG.BZ) |
02:08.27 | *** join/#brlcad archivist (~archivist@host81-149-189-98.in-addr.btopenworld.com) |
02:12.41 | *** join/#brlcad ``Erik (~erik@BZ.BZFLAG.BZ) |
02:16.49 | *** join/#brlcad Maloeran (~maloeran@mail.catchgamer.no) |
02:20.00 | *** join/#brlcad Maloeran (~maloeran@mail.catchgamer.no) |
02:20.00 | *** join/#brlcad ``Erik (~erik@BZ.BZFLAG.BZ) |
02:20.00 | *** join/#brlcad archivist (~archivist@host81-149-189-98.in-addr.btopenworld.com) |
02:20.00 | *** join/#brlcad starseeker (~starseeke@BZ.BZFLAG.BZ) |
02:20.00 | *** join/#brlcad brlcad (~sean@BZ.BZFLAG.BZ) |
02:20.00 | *** join/#brlcad n_reed (~molto_cre@BZ.BZFLAG.BZ) |
02:20.00 | *** join/#brlcad kanzure (~kanzure@131.252.130.248) |
02:20.00 | *** join/#brlcad packrat (~packrator@c-98-209-146-133.hsd1.mi.comcast.net) |
02:20.00 | *** join/#brlcad Yoshi47 (~jan@64.235.102.210) |
02:20.00 | *** join/#brlcad yiyus_ (1242712427@je.je.je) |
02:20.00 | *** join/#brlcad dtidrow (~dtidrow@c-68-84-167-135.hsd1.mi.comcast.net) |
02:20.00 | *** join/#brlcad KimK (~Kim__@209.248.147.2.nw.nuvox.net) |
02:20.00 | *** join/#brlcad DarkCalf (DC@173.231.40.98) |
02:20.00 | *** join/#brlcad cvds_ (~leila@e255180.upc-e.chello.nl) |
02:20.00 | *** join/#brlcad piksi (piksi@pi-xi.net) |
02:20.00 | *** join/#brlcad CIA-48 (~CIA@cia.atheme.org) |
02:20.00 | *** join/#brlcad ChanServ (ChanServ@services.) |
02:20.00 | *** mode/#brlcad [+o ChanServ] by verne.freenode.net |
05:37.16 | *** join/#brlcad kanzure_ (~kanzure@131.252.130.248) |
06:50.05 | *** join/#brlcad jordisayol (~jordisayo@unaffiliated/jordisayol) |
07:05.59 | CIA-48 | BRL-CAD: 03brlcad * r49322 10/brlcad/trunk/src/libged/putmat.c: replace fixed-size name1/name2 char buffers to be bu_vls strings. avoids the direct stncpy() command and has better bounds checking and nul termination. |
07:30.14 | CIA-48 | BRL-CAD: 03brlcad * r49323 10/brlcad/trunk/regress/repository.sh: db.h uses strncpy() in NAMEMOVE() and memcpy() is usually slower so leave it be for now. also vls.c uses strncpy as an alternative to strlcpy() for platforms that don't provide it. |
07:33.25 | CIA-48 | BRL-CAD: 03brlcad * r49324 10/brlcad/trunk/src/libbu/vls.c: |
07:33.25 | CIA-48 | BRL-CAD: use a bu_vls string instead of a fixed-size buffer for the format string. this |
07:33.25 | CIA-48 | BRL-CAD: allows us to simplify the code some since we don't need to nul-terminate the |
07:33.26 | CIA-48 | BRL-CAD: string (due to bu_vls_strncpy()) and we don't have to worry about the buffer |
07:33.26 | CIA-48 | BRL-CAD: limit. |
07:43.47 | CIA-48 | BRL-CAD: 03brlcad * r49325 10/brlcad/trunk/src/libbu/parse.c: replace call to strncpy() with call to bu_vls_strncpy(). simplifies the code some since we can just let the bu func do the nul-termination and heap copy for us. |
07:45.51 | CIA-48 | BRL-CAD: 03brlcad * r49326 10/brlcad/trunk/regress/repository.sh: now that they're all fixed or accounted for, go ahead and make any future additions that are supposed to be avoided fail regression |
11:10.26 | *** join/#brlcad drjolo (~chatzilla@user-31-175-141-144.play-internet.pl) |
11:46.50 | *** join/#brlcad juanman (~quassel@unaffiliated/juanman) |
12:48.52 | drjolo | hi everyone |
12:49.26 | drjolo | I opened castle.g from /usr/brlcad/share/db |
12:49.31 | drjolo | but i don |
12:49.45 | drjolo | i don't know which object to draw in mged |
12:50.16 | drjolo | anybody can help? this is my first day with brlcad |
12:50.55 | drjolo | ok, i've got it |
12:51.00 | drjolo | it was simple |
12:51.02 | drjolo | :-) |
12:54.27 | CIA-48 | BRL-CAD: 03erikgreenwald * r49327 10/brlcad/trunk/src/libged/dg_obj.c: only close fdout if it's been opened. Cov2073 |
12:57.51 | CIA-48 | BRL-CAD: 03erikgreenwald * r49328 10/brlcad/trunk/src/libged/xpush.c: check return value of db_delete. Cov2072 |
13:02.03 | CIA-48 | BRL-CAD: 03erikgreenwald * r49329 10/brlcad/trunk/src/libged/wdb_obj.c: check return value of db_delete. Cov2072 |
13:02.12 | drjolo | draw * |
13:12.34 | *** join/#brlcad juan_man (~quassel@201.255.61.123) |
13:12.40 | *** join/#brlcad juan_man (~quassel@unaffiliated/juanman) |
13:25.32 | starseeker | drjolo: try the tops command |
13:25.48 | starseeker | the output from that will give you a list of things to try drawing |
13:28.14 | CIA-48 | BRL-CAD: 03erikgreenwald * r49330 10/brlcad/trunk/src/conv/ply-g.c: test for overflow, return DBL_MAX if an overflow on double occurs. Cov325 |
13:32.23 | CIA-48 | BRL-CAD: 03erikgreenwald * r49331 10/brlcad/trunk/src/conv/ply-g.c: massage double through floor() and cast instead of blindly assigning to int. Cov326 (I hope) |
13:35.12 | drjolo | starseeker: thanks, that's better way |
13:38.35 | CIA-48 | BRL-CAD: 03erikgreenwald * r49332 10/brlcad/trunk/src/liboptical/sh_toyota.c: test for double overflow, return DBL_MAX if coeff does overflow. Cov328 |
13:41.14 | CIA-48 | BRL-CAD: 03erikgreenwald * r49333 10/brlcad/trunk/src/liboptical/sh_toyota.c: add missing parameter to bu_log. Clean up air_mass() a little. |
14:02.08 | *** join/#brlcad juanman (~quassel@unaffiliated/juanman) |
14:19.37 | drjolo | it uses opengl acceleration, but it is very slow when rotating in wireframe view |
14:19.52 | drjolo | do i do sth wrong? |
14:41.56 | ``Erik | no, OpenGL isn't appreciably faster than X for the line drawing |
14:51.27 | CIA-48 | BRL-CAD: 03erikgreenwald * r49334 10/brlcad/trunk/src/libbu/ (7 files): quell format warnings |
14:54.38 | CIA-48 | BRL-CAD: 03erikgreenwald * r49335 10/brlcad/trunk/src/libbn/mat.c: change mat.clf to mat.cg on bad input info bu_logs (%lf is not c90) |
14:57.11 | CIA-48 | BRL-CAD: 03erikgreenwald * r49336 10/brlcad/trunk/src/libbn/bntester.c: Change usage to #define to prevent "format not a string literal and no format arguments" warning. |
15:00.27 | brlcad | drjolo: heh, yeah you don't necessarily want "draw *" ... will work in some sense but it will display things multiple times |
15:00.44 | brlcad | run "geometree" for a graphical view |
15:17.45 | brlcad | ``Erik: another trick for the string literal is just inject a "%s" and the usage var becomes the first arg |
15:17.52 | brlcad | less typing ;) |
15:29.47 | drjolo | brlcad: thanks |
15:51.49 | ``Erik | thought about it, but went with the define |
15:59.54 | *** join/#brlcad ibot (~ibot@rikers.org) |
15:59.54 | *** topic/#brlcad is BRL-CAD Open Source Solid Modeling || http://brlcad.org || logs: http://ibot.rikers.org/%23brlcad/ || BRL-CAD release 7.22.0 is forthcoming || fixing all our Coverity Scan Initiative defects |
18:47.57 | CIA-48 | BRL-CAD: 03n_reed * r49337 10/brlcad/trunk/src/libgcv/wfobj/obj_parser.cpp: wrap bu_malloc and bu_free so lemon can use them |
19:15.16 | CIA-48 | BRL-CAD: 03brlcad * r49338 10/brlcad/trunk/src/libgcv/wfobj/ (5 files): rename the arl::obj_parser::detail namespaces to cad::gcv::obj for better generality, simplicity, and (hopefully) improved clarity |
19:17.42 | CIA-48 | BRL-CAD: 03brlcad * r49339 10/brlcad/trunk/src/libgcv/wfobj/ (6 files): eliminate trailing ws |
19:17.47 | CIA-48 | BRL-CAD: 03bob1961 * r49340 10/brlcad/trunk/src/librt/globals.c: Add more commands to rt_vlist_cmd_descriptions[] |
19:29.51 | CIA-48 | BRL-CAD: 03brlcad * r49341 10/brlcad/trunk/src/fbed/fbed.c: looks like a false positive, assuming the default case is reasonable for EOF, but it's still probably quellable. fix for CHECKED_RETURN cid 2071. |
19:49.34 | CIA-48 | BRL-CAD: 03brlcad * r49342 10/brlcad/trunk/src/libged/nmg_simplify.c: remove the hack since it's a non-fix when a feature gets removed. otherwise, r48606 should get reverted. (cov DEADCODE cid 2067) |
19:51.20 | CIA-48 | BRL-CAD: 03brlcad * r49343 10/brlcad/trunk/src/libged/ (20 files): eliminate trailing ws, empty lines |
20:18.19 | CIA-48 | BRL-CAD: 03n_reed * r49344 10/brlcad/trunk/src/libbu/ (sscanf.c test_sscanf.c): Changed supported vls conversions; new syntax and semantics. Updated related tests. |
20:49.37 | CIA-48 | BRL-CAD: 03brlcad * r49345 10/brlcad/trunk/src/vdeck/vdeck.c: TGC is the default case and cgtype can't be anything else so eliminate the insanity case. (cov DEADCODE cid 233) |
20:52.32 | CIA-48 | BRL-CAD: 03brlcad * r49346 10/brlcad/trunk/src/vdeck/vdeck.c: same for ell, deadcode default switch case. (cid 232) |
20:53.20 | CIA-48 | BRL-CAD: 03bob1961 * r49347 10/brlcad/trunk/src/libdm/ (dm-ogl.c dm-wgl.c): Disable GL_BLEND before leaving drawVList. |
20:54.49 | CIA-48 | BRL-CAD: 03bob1961 * r49348 10/brlcad/trunk/ (include/tclcad.h src/libtclcad/tclcad_obj.c): This fixes the problem with using the framebuffer while drawing things in shaded mode. |
20:58.42 | CIA-48 | BRL-CAD: 03brlcad * r49349 10/brlcad/trunk/src/tab/tabinterp.c: looks like i>=1 was intended given the test for i==1 inside the conditional. fixes cov cid 230. |
21:08.36 | CIA-48 | BRL-CAD: 03brlcad * r49350 10/brlcad/trunk/src/sig/dfft.c: calculate the window size based on the data buffer instead of relying on them to sync. remove dead code detected by cov cid 229. |
21:16.46 | *** join/#brlcad KimK (~Kim__@209.248.147.2.nw.nuvox.net) |
21:21.27 | CIA-48 | BRL-CAD: 03brlcad * r49351 10/brlcad/trunk/src/shapes/wire.c: looks like bad logic? should intended an '&&' but simpler to just check the next range |
21:25.00 | CIA-48 | BRL-CAD: 03brlcad * r49352 10/brlcad/trunk/src/shapes/wire.c: ahh, there are more of these buggers. simplify for cov cid 228 and 229 DEADCODE |
21:27.11 | *** join/#brlcad ricoRacer (~rico@static-67-62-98-162.t1.cavtel.net) |
21:28.24 | CIA-48 | BRL-CAD: 03brlcad * r49353 10/brlcad/trunk/src/rt/opt.c: eliminate dead code. cannot reach EOF here because we're while-looping until EOF. (cid 226) |
21:30.54 | CIA-48 | BRL-CAD: 03brlcad * r49354 10/brlcad/trunk/src/proc-db/surfaceintersect.cpp: what? looks like meant &, not &&. deadcode detected cov cid 225. |
21:32.26 | CIA-48 | BRL-CAD: 03brlcad * r49355 10/brlcad/trunk/src/proc-db/spltest.c: deadcode quellage. add some interior points (cid 224) |
21:33.59 | CIA-48 | BRL-CAD: 03brlcad * r49356 10/brlcad/trunk/src/proc-db/brepintersect.cpp: looks like another & != && snafu. (cid 223) |
21:41.52 | CIA-48 | BRL-CAD: 03brlcad * r49357 10/brlcad/trunk/src/proc-db/brepintersect.cpp: the Triangulate() function doesn't seem to be used or very useful in its current state. remove outright. |
22:04.55 | CIA-48 | BRL-CAD: 03brlcad * r49358 10/brlcad/trunk/src/librt/cut.c: looks like a bcopy->memcpy bug introduced in 28321. the third had the args flipped correctly, but not the first two for some reason. |
22:06.55 | CIA-48 | BRL-CAD: 03n_reed * r49359 10/brlcad/trunk/src/libbu/sscanf.c: Return error for C/S/q conversions, which are neither standard nor portable. |
22:12.59 | CIA-48 | BRL-CAD: 03brlcad * r49360 10/brlcad/trunk/src/librt/cut.c: remove dead code, no longer in sync |
22:15.59 | CIA-48 | BRL-CAD: 03n_reed * r49361 10/brlcad/trunk/src/libbu/sscanf.c: make lack of support for wchar_t* clear by returning error for %lc %ls %l[ |
22:53.45 | CIA-48 | BRL-CAD: 03brlcad * r49362 10/brlcad/trunk/src/librt/cut.c: |
22:53.45 | CIA-48 | BRL-CAD: call bu_calloc() instead of bu_malloc() since there are several places in the |
22:53.45 | CIA-48 | BRL-CAD: code that just access the memory assuming zero-initialization. the nugrid |
22:53.45 | CIA-48 | BRL-CAD: spatial partitioning was getting non-null piecelist counts due to this, fixed |
22:53.45 | CIA-48 | BRL-CAD: and working with zero'd memory. any time impact should be negligible and during |
22:53.45 | CIA-48 | BRL-CAD: prep |
22:59.28 | CIA-48 | BRL-CAD: 03brlcad * r49363 10/brlcad/trunk/src/rt/opt.c: wow. the "new" nugrid spatial partitioning method actually works and is looking to be about 10% faster for some renderings. guess the code might actually be worth keeping around a lil while longer afterall. |
23:10.24 | CIA-48 | BRL-CAD: 03brlcad * r49364 10/brlcad/trunk/src/librt/primitives/nmg/nmg_misc.c: jra modified nmg_find_top_face to look in more than just the z direction in 1995, presumably lets us eliminate the 'bottommost' cases that flip testing since it was always false. |